Skip to content

Commit 3f211e5

Browse files
committed
Merge remote-tracking branch 'origin/main' into openhim-prometheus-monitoring
2 parents 1ec4232 + 5ab967d commit 3f211e5

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
projectName: platform
2-
image: jembi/platform:2.4.0
2+
image: jembi/platform:2.4.1
33
logPath: /tmp/logs
44

55
packages:

interoperability-layer-openhim/swarm.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,13 @@ function initialize_package() {
5151
(
5252
docker::deploy_service $STACK "${COMPOSE_FILE_PATH}" "docker-compose-mongo.yml" "$mongo_cluster_compose_filename" "$mongo_dev_compose_filename"
5353

54-
if [[ "${CLUSTERED_MODE}" == "true" ]] && [[ "${ACTION}" == "init" ]]; then
55-
try "${COMPOSE_FILE_PATH}/initiate-replica-set.sh $STACK" throw "Fatal: Initiate Mongo replica set failed"
56-
else
57-
try "docker exec -i $(docker ps -q -f name=openhim_mongo) mongo --eval \"rs.initiate()\"" throw "Could not initiate replica set for the single mongo instance. Some services use \
58-
mongo event listeners which only work with a replica set"
54+
if [[ "${ACTION}" == "init" ]]; then
55+
if [[ "${CLUSTERED_MODE}" == "true" ]]; then
56+
try "${COMPOSE_FILE_PATH}/initiate-replica-set.sh $STACK" throw "Fatal: Initiate Mongo replica set failed"
57+
else
58+
try "docker exec -i $(docker ps -q -f name=openhim_mongo) mongo --eval \"rs.initiate()\"" throw "Could not initiate replica set for the single mongo instance. Some services use \
59+
mongo event listeners which only work with a replica set"
60+
fi
5961
fi
6062

6163
docker::deploy_service $STACK "${COMPOSE_FILE_PATH}" "docker-compose.yml" "$openhim_dev_compose_filename"

openhim-mapping-mediator/docker-compose.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.9'
22

33
services:
44
openhim-mapping-mediator:
5-
image: jembi/openhim-mediator-mapping:v3.1.0
5+
image: jembi/openhim-mediator-mapping:v3.2.0
66
environment:
77
OPENHIM_REGISTER: ${OPENHIM_REGISTER}
88
MONGO_URL: ${OPENHIM_MONGO_URL}
@@ -16,6 +16,7 @@ services:
1616
openhim:
1717
mongo:
1818
kafka:
19+
public:
1920

2021
networks:
2122
openhim:
@@ -28,4 +29,5 @@ networks:
2829
name: kafka_public
2930
external: true
3031
public:
31-
name: openhim_mapping_mediator
32+
name: openhim_mapping_mediator_public
33+
external: true

0 commit comments

Comments
 (0)