Clone
 

jakub kondrat <jkondrat@soldevelo.com> in openlmis-example

OLMIS-1107: Service comunication: allow SSL protocol

Using BASE_URL instead of hardcoded protocols.

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

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

OLMIS-1283 Remove X-Headers from RAML

    • -42
    • +0
    /src/main/resources/api-definition.yaml
OLMIS-1283 Add api definitions for existing endpoints, fix /docs/ 404 with blue

    • -1
    • +99
    /src/main/resources/api-definition.yaml
    • -122
    • +0
    /src/main/resources/static/docs/index.html
    • -0
    • +130
    /src/main/resources/static/example/docs/index.html
OLMIS-1283 Fix extensions not loading

OLMIS-1283 Possibility to add example service to openlmis-blue

So that we can demonstrate how extension points work with blue

    • -0
    • +14
    /consul/package.json
    • -0
    • +355
    /consul/registration.js
    • -0
    • +32
    /registration.gradle
  1. … 6 more files in changeset.
OLMIS-1283 Load extensions (and extensions.properties) from the named volume

OLMIS-1279 Fix archive signing configuration

There was an error when signing archives:

Unable to generate signature for '/app/build/poms/pom-default.xml' as no signatory is available to sign

OLMIS-1279 Remove jar{} section and set project properties instead

So its easier to copy this pattern to other services. Also refactored duplicate Version endpoint.

    • -0
    • +7
    /src/main/resources/version.properties
OLMIS-1279 Fix extensions not loading properly

The extension jars were not loading due to a typo in docker-compose.yml

OLMIS-1279 Make Dockerfile find the jar name itself, move project name and description to gradle properties

Previously the jar name was hardcoded in Dockerfile which would force us to change it every time we bump the version

OLMIS-1279 Change jar name in Dockerfile

OLMIS-1279 Change version to 0.0.1-SNAPSHOT

OLMIS-1279 Remove example url

OLMIS-1279 Skip signing archives unless signing.keyId and password are specified

We will only publish archives on jenkins so it's pointless for devs to sign archives

OLMIS-1279 Run uploadArchives at end of the build

If OSSRH credentials are defined, publish jars at end of the buid

OLMIS-1279 Fix Dockerfile trying to copy multiple jars into one file

Build image failed since there is more than one jar in build/libs

OLMIS-1279 Define signing and ossrh credentials via env variables

OLMIS-1279 Extension: Publish Example Service to Maven

Gradle task that generates and publishes the correct JAR to the Maven Central Repository using the versioning information (group, artifact, version)

OLMIS-1138 Minor fixes

    • -0
    • +1
    /src/main/resources/static/generated/.gitignore
Fixing build

OLMIS-1138 Remove Swagger sources from OpenLMIS repos

    • -0
    • +1
    /src/main/resources/static/docs/generated/.gitignore
    • -0
    • +124
    /src/main/resources/static/docs/index.html
    • -1362
    • +0
    /src/main/webapp/css/print.css
    • -1489
    • +0
    /src/main/webapp/css/screen.css
    • -14
    • +0
    /src/main/webapp/css/typography.css
    • binary
    /src/main/webapp/fonts/DroidSans-Bold.ttf
    • binary
    /src/main/webapp/fonts/DroidSans.ttf
    • binary
    /src/main/webapp/images/collapse.gif
  1. … 38 more files in changeset.
Checkstyle fixes

OLMIS-546 Adding authorization server

OLMIS-546 Example resource server

OLMIS-546 Adding authorization server

Adding posibility to logout

OLMIS-667 Add Spring Security to Service Example

    • -0
    • +70
    /src/main/java/org/openlmis/example/SecurityConfiguration.java
    • -0
    • +5
    /src/main/java/org/openlmis/example/domain/Role.java
    • -0
    • +65
    /src/main/java/org/openlmis/example/domain/User.java
Fixing majority of checkstyle warnings

  1. … 9 more files in changeset.