Skip to content

Commit

Permalink
Small pom version fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pmanko authored Dec 23, 2022
1 parent dd6736d commit 29cf02a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ ADD src ./src
RUN mvn -DskipTests clean package

FROM openjdk:8-jdk as run
COPY --from=build /app/target/mediator-xds-1.0.4-jar-with-dependencies.jar /mediator-xds-1.0.4-jar-with-dependencies.jar
COPY --from=build /app/target/mediator-xds-1.0.5-jar-with-dependencies.jar /mediator-xds-1.0.5-jar-with-dependencies.jar
COPY --from=build /app/src/main/resources/mediator.properties /mediator.properties
ENTRYPOINT java -jar /mediator-xds-1.0.4-jar-with-dependencies.jar --conf /mediator.properties
ENTRYPOINT java -jar /mediator-xds-1.0.5-jar-with-dependencies.jar --conf /mediator.properties
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ ATNA auditing is supported for requests.

# Usage
* Ensure that a [Java Runtime Environment](http://java.com/en/) is installed on your system. At a minimum Java 7 is required.
* Download the latest release of the mediator: `curl -LO https://github.com/jembi/openhim-mediator-xds/releases/download/v1.0.4/openhim-mediator-xds-1.0.4.tar.gz`
* Extract the downloaded archive: `tar -xzf openhim-mediator-xds-1.0.4.tar.gz`
* Download the latest release of the mediator: `curl -LO https://github.com/jembi/openhim-mediator-xds/releases/download/v1.0.5/openhim-mediator-xds-1.0.5.tar.gz`
* Extract the downloaded archive: `tar -xzf openhim-mediator-xds-1.0.5.tar.gz`
* Edit the properties file `mediator.properties` and change it as required for your implementantion
* The mediator is packaged as a standalone jar and can be run as follows: `java -jar mediator-xds-1.0.4-jar-with-dependencies.jar --conf mediator.properties`
* The mediator is packaged as a standalone jar and can be run as follows: `java -jar mediator-xds-1.0.5-jar-with-dependencies.jar --conf mediator.properties`

# Compiling and running from source
* `git clone https://github.com/jembi/openhim-mediator-xds.git`
* `cd openhim-mediator-xds`
* `mvn install`
* `java -jar target/mediator-xds-1.0.4-jar-with-dependencies.jar`
* `java -jar target/mediator-xds-1.0.5-jar-with-dependencies.jar`
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ services:
volumes:
#data is the directory which you want to persist the generated parquet files
- ./src/main/resources/mediator.properties:/mediator.properties
entrypoint: 'java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=1044 -jar /mediator-xds-1.0.4-jar-with-dependencies.jar --conf /mediator.properties'
entrypoint: 'java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=1044 -jar /mediator-xds-1.0.5-jar-with-dependencies.jar --conf /mediator.properties'

0 comments on commit 29cf02a

Please sign in to comment.