Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added base service classes

  1. … 83 more files in changeset.
OLMIS-1686: Added license header to java files

  1. … 12 more files in changeset.
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.

Fix checkstyle related errors.

  1. … 1 more file in changeset.
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
    • +139
    ./BaseController.java
  1. … 9 more files in changeset.
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
    • +97
    ./WidgetController.java
  1. … 4 more files in changeset.
OLMIS-969 Add openlmis-service-util as a dependency

  1. … 2 more files in changeset.
OLMIS-1184 Template Service needs strict checkstyle

  1. … 3 more files in changeset.
OLMIS-1105, refactor of how versioning works

Extending the pattern created in reference data.

  1. … 8 more files in changeset.
OLMIS-853: Changed way of reading version file content

  1. … 3 more files in changeset.
OLMIS-853: Added javadoc comments, fixed logger

  1. … 1 more file in changeset.
OLMIS-853: Added version file

    • -0
    • +19
    ./VersionController.java
  1. … 4 more files in changeset.
OLMIS-592 Fix i18n sample code and document

Add sample code for locales and messages. Remove unused MessageService. Move hello to MessageController, so ServiceNameController does not deal with messages. Change resolver to use cookies, to be more API-oriented. Add Portuguese sample message file.

Document how to do i18n in the code.

  1. … 4 more files in changeset.
OLMIS-592 Establish i18n conventions

Rename keys to fit i18n conventions documented in the STYLE-GUIDE.md.

  1. … 2 more files in changeset.
OLMIS-722 Add checkstyle checking to build

Add checkstyle checking to the gradle build. Fix some source code which does not fit Google Java code style.

  1. … 8 more files in changeset.
OLMIS-669 Add log level configuration for packages

Show how packages can override root log level. Change controller log statements to show difference.

  1. … 1 more file in changeset.
Add endpoint to get all i18n messages

Add support for getting all messages for i18n by adding a new REST endpoint. This new REST endpoint is necessary for clients, particularly for offline functionality.

For new implementation, the configuration requires basename to be classpath:messages, rather than simply messages.

    • -0
    • +26
    ./MessageController.java
  1. … 5 more files in changeset.
OLMIS-676 Add logging to syslog in Spring Boot app

Add logging to container's syslog in Spring Boot's logbook configuration. Add some test log statements using SLF4J.

  1. … 1 more file in changeset.
Add basic i18n support

Add i18n support to template. This simply defaults to English and shows how to use message source to get messages from the Java property file.

  1. … 2 more files in changeset.
Initial commit

    • -0
    • +14
    ./ServiceNameController.java
  1. … 7 more files in changeset.