forked from SEDISH/openhim-mediator-xds
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build and publish docker image #8
Open
HerbertYiga
wants to merge
19
commits into
IsantePlus:7-build-and-publish-a-docker-image-for-xds-mediator-running-as-a-jar
Choose a base branch
from
HerbertYiga:7-build-and-publish-a-docker-image-for-xds-mediator-running-as-a-jar
base: 7-build-and-publish-a-docker-image-for-xds-mediator-running-as-a-jar
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d1533a8
build and publish docker image
HerbertYiga b91df07
update
HerbertYiga 31011db
update
HerbertYiga c54784c
update
HerbertYiga 11f8af7
update
HerbertYiga 56f32cf
update
HerbertYiga 9ce57ba
update
HerbertYiga 104e92d
update
HerbertYiga 23f2532
updated files
HerbertYiga d7bff76
update
HerbertYiga 3bab06b
updated
HerbertYiga 9957276
update
HerbertYiga ded15f7
update
HerbertYiga 76ff266
update
HerbertYiga 33999c8
update
HerbertYiga b81f4ed
update
HerbertYiga d85d8d0
update
HerbertYiga 8bb61f3
update
HerbertYiga 36acd41
update
HerbertYiga File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# build stage build the jar with all our resources | ||
FROM openjdk:8-jdk as build | ||
|
||
VOLUME /tmp | ||
WORKDIR / | ||
|
||
ADD . . | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y maven | ||
RUN mvn clean install -DskipTests | ||
|
||
COPY . /target/mediator-xds-1.0.3-jar-with-dependencies.jar / | ||
|
||
ENTRYPOINT java -jar mediator-xds-1.0.3-jar-with-dependencies.jar --conf mediator.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: '3.8' | ||
services: | ||
xds-mediator: | ||
container_name: xds-mediator | ||
hostname: xds-mediator | ||
image: xds-mediator:latest | ||
volumes: | ||
#data is the directory which you want to persist the generated parquet files | ||
- ../data:/tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Mediator Properties | ||
mediator.name=xds-mediator | ||
mediator.host=localhost | ||
mediator.port=8500 | ||
mediator.timeout=$SERVER_TIMEOUT | ||
mediator.mongo.host=mongodb | ||
mediator.mongo.port=27017 | ||
|
||
core.host=$SERVER_NAME | ||
core.api.port=8080 | ||
[email protected] | ||
core.api.password=$IL_PASSWORD | ||
|
||
# Assigning authorities to resolve to during transaction enrichment | ||
client.requestedAssigningAuthority=http://openclientregistry.org/fhir/sourceid | ||
client.requestedAssigningAuthorityId=http://openclientregistry.org/fhir/sourceid | ||
provider.requestedAssigningAuthority=EPID | ||
provider.requestedAssigningAuthorityId=EPID | ||
facility.requestedAssigningAuthority=ELID | ||
facility.requestedAssigningAuthorityId=ELID | ||
|
||
# == Workflow == | ||
pnr.patients.autoRegister=false | ||
pnr.providers.enrich=true | ||
pnr.facilities.enrich=true | ||
|
||
# == PIX Manager == | ||
pix.manager.host=ohie-cr | ||
pix.manager.port=3600 | ||
pix.manager.securePort=3600 | ||
pix.sendingApplication=openhim | ||
pix.sendingFacility=openhim-mediator-ohie-xds | ||
pix.receivingApplication=pix | ||
pix.receivingFacility=pix | ||
pix.secure=false | ||
|
||
# == CSD Infoman (interlinked registry) == | ||
ilr.host=ohie-ilr | ||
ilr.port=8984 | ||
ilr.csr.path=/CSD/csr/DHIS/careServicesRequest | ||
ilr.query.expression.provider=//CSD/providerDirectory/provider/otherID[@code='id'] | ||
ilr.query.expression.facility=//CSD/facilityDirectory/facility/otherID[@code='code'] | ||
|
||
# == Terminology Service == | ||
ts.host=localhost | ||
ts.port=8080 | ||
|
||
# == IHE XDS Registry == | ||
xds.registry.host=openxds | ||
xds.registry.port=8010 | ||
xds.registry.securePort=8011 | ||
xds.registry.path=/axis2/services/xdsregistryb | ||
xds.registry.secure=false | ||
|
||
# == IHE XDS Repository == | ||
xds.repository.host=openshr | ||
xds.repository.port=8080 | ||
xds.repository.securePort=8080 | ||
xds.repository.path=/openmrs/ms/xdsrepository | ||
xds.repository.UniqueId=1.3.6.1.4.1.21367.2010.1.2.1125 | ||
xds.repository.secure=false | ||
|
||
# == ATNA == | ||
# IHE syslog collector | ||
atna.host=localhost | ||
atna.useTcp=true | ||
atna.tcpPort=5052 | ||
atna.udpPort=5050 | ||
atna.secure=false | ||
|
||
# == IHE infrastructure security == | ||
# use absolute path | ||
ihe.keystore=/openhim-mediator-xds/src/main/resources/tls/ihe/keystore.jks | ||
ihe.keypassword=Jembi#123 | ||
ihe.storepassword=Jembi#123 | ||
# The OID that uniquely identifies this system | ||
ihe.systemSourceID=1.3.6.1.4.1.21367.2010.1.2.2045 | ||
|
||
# == FHIR MPI == | ||
# fhir.mpiUrl=http://ohie-il_demo:5001/OCR/fhir | ||
fhir.mpiUrl=http://sedish.net:5001/OCR/fhir | ||
fhir.mpiClientName=opencr | ||
fhir.mpiPassword=1234 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Introduced these changes for this file ie (DsubServiceImpl.java) so as to atleast have mvn clean install -DskipTests passing for the mean time cc @pmanko