openlmis-template-service

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
OLMIS-970: The service will use converters from shared library

Change hyphens to camelCase for message keys in error handling doc

Updated the example in the doc to match our message key naming conventions

OLMIS-832 Update based on review feedback

Wordsmithing.

OLMIS-832 Add info about Transifex and the build

Add info about what happens in Transifex when the message source is modified.

OLMIS-1738, it's a fix to its

typos

OLMIS-1738, add flyway migrate strategy that cleans schema.

Introduces a profile named “production” that when active, will not clean the database before migrating it.

OLMIS-1605: Add @TypeName to Widget

JaVers' @TypeName annotation is optional, but recommended for use.

OLMIS-1605: Update WidgetController

Previously, the WidgetController was inconsistent in terms of how it returned ResponseEntity values. Sometimes it would instanciate a ResponseEntity, whereas other times it would rely on ResponseEntity’s static methods. This commit standardizes on the later.

OLMIS-1605: Update style guide

Fix checkstyle related errors.

OLMIS-1605: Add audit log support

This commit introduces support for basic audit logging. In order to show this feature, it associates WidgetRepository with JaVers so that changes persisted to Widgets are logged. It also adds an endpoint at /api/widgets/{id}/auditLog to retrieve a list of these changes.

    • -0
    • +102
    /src/main/java/org/openlmis/template/util/Pagination.java
    • -0
    • +101
    /src/main/resources/api-definition.yaml
    • -0
    • +91
    /src/main/resources/schemas/auditLogEntry.json
Add domain and repository layers

Add a Widget domain and repository, along with a controller to expose them. This will lay the foundation for things like auditing and paging which we may wish to illustrate within this service.

    • -0
    • +24
    /src/main/java/org/openlmis/template/domain/BaseEntity.java
    • -0
    • +23
    /src/main/java/org/openlmis/template/domain/Widget.java
OLMIS-1560, reword a few things for clarity

OLMIS-1560, add note on immutable migration script

OLMIS-1560, add note on not wanting if checks

OLMIS-1560, change minor wording of db guidelines

Added Slack and Scalyr

Minor update to the styleguide

Tweak the pagination section.

OLMIS-1560 Update Flyway document

Update after discussion and incorporation of review comments.

OLMIS-1512, add pagination to styleguide

OLMIS-1560 Document high level guide on writing schema migrations

Also linked from style guide.

Update style guide: UUID columns should end in id

moved right naming convention to it's own section

OLMIS-1599: Port the Swagger fix from requisitions to template-service

OLMIS-1504: Modify Dockerfile to use openlmis-service-base image

Update style guide with guidelines for right names

Establish a standardized pattern for right names.

change i18n guidelines to ban hyphens

* change i18n guidelines to ban hyphens

and use camelCase out of dev forum discussion.

* add explict ban of hyphens and other puncutation

* add highlight of keys

From dev forum discussion: https://groups.google.com/forum/#!topic/openlmis-dev/Z-e1J39QOm8

OLMIS-969 Add openlmis-service-util as a dependency

add highlight of keys

add explict ban of hyphens and other puncutation