openlmis-template-service

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
OLMIS-1933 Change infrastructure/dev images from latest to 1

Moving away from latest to versioned image.

OLMIS-1939: Added Transifex vars

OLMIS-1939: Added database variables

OLMIS-1939: Mentioned that SSL is not required by default

OLMIS-1939: Fixed typos in README

OLMIS-1939: Emphasize var names

OLMIS-1939: Added an environment variable section

OLMIS-1933 Change postgres image from latest to 9.4

Moving away from latest to versioned image.

OLMIS-1741, correct link to ref-distro from blue

Repo blue is moving to ref-distro.

OLMIS-1686: Made the LICENSE-HEADER.md look better

Add "for example" to license header exampel text

OLMIS-1686: Information about adding the LICENSE-HEADER

OLMIS-1741 Rename blue to reference distribution

Blue is being deprecated in favor of reference distribution/ref distro.

OLMIS-1686: Added license header to java files

OLMIS-1686: Add checkstyle check for copyright header

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