openlmis-hapifhir

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added empty .env file

Add environment file reference to docker compose builder file

So that the builder file knows about build environment variables.

OLMIS-656 hand database connection credentials to container

Instead of having db credentials hardcoded in the gradle build and Spring Boot app properties file, have those settings take it from the environment, which is passed in through an environment file during docker compose.

OLMIS-598: Updated STYLE-GUIDE.md (#9)

* OPENLMIS-598: Updated STYLE-GUIDE.md

* OPENLMIS-598: STYLE-GUIDE.md, fixed after review

* OLMIS-598: Fixed typo in STYLE-GUIDE.md

* OLMIS-598: Resolved conflicts in STYLE-GUIDE

* OLMIS-598: Resolved conflicts in STYLE-GUIDE 2

* OLMIS-598: Resolved conflicts in STYLE-GUIDE 3

* OLMIS-598: Resolved conflicts in STYLE-GUIDE 4

* OLMIS-598: Fixed STYLE-GUIDE.md

* OLMIS-598: Fixed STYLE-GUIDE after review

* OLMIS-598: Fixed typo in STYLE-GUIDE

Merge pull request #7 from lkukielka/OPENLMIS-598

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

Merge pull request #10 from OpenLMIS/OLMIS-591

OLMIS-591 Adding instructions on WireMock usage

OLMIS-598: Resolved conflits

OLMIS-657 Enable remote debugging

A Spring Boot application started with Gradle already has an option to enable debugging (--debug-jvm), using port 5005. Expose that port to the host for remote debugging.

Document how to enable and use debugging.

Fix Markdown heading

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.

    • -0
    • +2
    /src/main/resources/messages_pt.properties
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