openlmis-hapifhir

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adding instructions on WireMock usage

OLMIS-592 Establish i18n conventions

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

OPENLMIS-598: Fixed README

Merge pull request #8 from OpenLMIS/OLMIS-663

OLMIS-663 Adding gradle task for integration tests

OLMIS-663 Adding gradle task for integration tests

added table snake_case to style guide

OLMIS-669 Add support for configuring log level

Add support for configuring log level in a production environment. Configuring the level in a development environment is simple--just modify the configuration file. However, a production environment needs a way to override the configuration file by passing in a configuration file external to the JAR. Provide a way to pass this in.

Add a way to run a docker container in the docker compose file. The docker compose file assumes there is a custom logback.xml file in the parent folder.

Document in the README.

added quick blurb on Java and google style guide

added basic style guide

OLMIS-598: Added unit test exemplar and code coverage report

Shorten reference

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.

    • -0
    • +210
    /config/checkstyle/checkstyle.xml
Merge pull request #6 from OpenLMIS/readme-update

updating README

updating README

Merge pull request #5 from OpenLMIS/OLMIS-591

OLMIS-591: Adding WireMock test example

OLMIS-669 Add log level configuration for packages

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

OLMIS-591: Adding WireMock test example

    • -0
    • +64
    /src/test/java/org/openlmis/template/WireMockTest.java
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.

OLMIS-676 Remove rsyslog from image and reference external container

An alternative approach will be used. Instead of installing and running syslog within the container, the logging configuration will reference an external syslog container. Remove rsyslog installation and change logback configuration to the external container. Initialize logging container in docker compose file.

removed unneeded docker compose service

Allow Hibernate to auto-generate schema

For early development when forking this project. Set spring.jpa.hibernate.ddl-auto to none when using migration scripts.

OLMIS-676 Add rsyslog to image

Add rsyslog to image and use custom rsyslog config file. This custom config file enables listening remotely on UDP port and fixes a couple of bugs in original config file (disable loading imklog and change * to :omusrmsg:*).

In order to get rsyslog daemon to run with the Spring Boot app, need to execute both in a shell script.

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.

    • -0
    • +14
    /src/main/resources/logback.xml
Merge pull request #3 from pgesek/patch-1

README: Mentioned required Docker Compose version

README: Mentioned required Docker Compose version

Ran into https://github.com/docker/compose/issues/3209 - since compose syntax 2 is used, Compose 1.6 is required.

Source: https://blog.docker.com/2016/02/compose-1-6/.

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.

    • -0
    • +1
    /src/main/resources/messages_en.properties
Update README.md

explain new shell environment in quickstart

add explanation of docker related files to readme

Merge pull request #2 from OpenLMIS/docker-compose

First additions for docker-compose