Skip to content

Commit b20c801

Browse files
authored
Add the missing properties for 1097_Preprod (#153)
* fix: add the missing properties * fix: update db url
1 parent c8e7c94 commit b20c801

4 files changed

Lines changed: 35 additions & 1 deletion

File tree

src/main/environment/1097_ci.properties

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,14 @@ fhir-url=@env.FHIR_API@
2323
spring.redis.host=@env.REDIS_HOST@
2424

2525
cors.allowed-origins=@env.CORS_ALLOWED_ORIGINS@
26+
27+
# Elasticsearch Configuration
28+
elasticsearch.host=@env.ELASTICSEARCH_HOST@
29+
elasticsearch.port=@env.ELASTICSEARCH_PORT@
30+
elasticsearch.username=@env.ELASTICSEARCH_USERNAME@
31+
elasticsearch.password=@env.ELASTICSEARCH_PASSWORD@
32+
elasticsearch.index.beneficiary=@env.ELASTICSEARCH_INDEX_BENEFICIARY@
33+
34+
# Enable/Disable ES (for gradual rollout)
35+
elasticsearch.enabled=@env.ELASTICSEARCH_ENABLED@
36+

src/main/environment/1097_docker.properties

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,15 @@ fhir-url=${FHIR_API}
2222
spring.redis.host=${REDIS_HOST}
2323

2424
cors.allowed-origins=${CORS_ALLOWED_ORIGINS}
25+
26+
27+
# Elasticsearch Configuration
28+
elasticsearch.host=${ELASTICSEARCH_HOST}
29+
elasticsearch.port=${ELASTICSEARCH_PORT}
30+
elasticsearch.username=${ELASTICSEARCH_USERNAME}
31+
elasticsearch.password=${ELASTICSEARCH_PASSWORD}
32+
elasticsearch.index.beneficiary=${ELASTICSEARCH_INDEX_BENEFICIARY}
33+
34+
# Enable/Disable ES (for gradual rollout)
35+
elasticsearch.enabled=${ELASTICSEARCH_ENABLED}
36+

src/main/environment/1097_example.properties

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,14 @@ fhir-url=http://localhost:8093/
1919
# Redis Config
2020
spring.redis.host=localhost
2121
cors.allowed-origins=http://localhost:*
22+
23+
# Elasticsearch Configuration
24+
elasticsearch.host=localhost
25+
elasticsearch.port=9200
26+
elasticsearch.username=elastic
27+
elasticsearch.password=piramalES
28+
elasticsearch.index.beneficiary=beneficiary_index
29+
30+
# Enable/Disable ES (for gradual rollout)
31+
elasticsearch.enabled=true
32+

src/main/environment/common_example.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
server.port=8094
22
# DataSource settings: set here your own configurations for the database
3-
spring.datasource.url=jdbc:mysql://localhost:3306/db_iemr
3+
spring.datasource.url=jdbc:mysql://localhost:3306/db_identity
44
spring.datasource.username=root
55
spring.datasource.password=1234
66
spring.datasource.driver-class-name=com.mysql.jdbc.Driver

0 commit comments

Comments
 (0)