Skip to content
Snippets Groups Projects
Commit e6abbeac authored by Deepa Kumari's avatar Deepa Kumari
Browse files

variablize configs

parent 66d75962
No related branches found
No related tags found
1 merge request!452Introduce Partition-Core-Plus
Pipeline #214349 failed
......@@ -68,6 +68,7 @@ core-plus-tests:
ENVIRONMENT: dev #if this is not specified, it just assumes that the service is running locally
PARTITION_BASE_URL: http://partition-service-image:8080/ #url where integration tests are hitting
#CI_DEBUG_SERVICES: "true" #flag for debugging the services in the runner
PARTITION_POSTGRES_URL: $PARTITION_POSTGRES_URL
script:
- echo "--- Install psql ---"
- apt-get update && apt-get install -y postgresql-client libpq-dev jq
......
......@@ -36,10 +36,10 @@ partition-property-kind=PartitionProperty
partition-namespace=partition
osmDriver=postgres
osm.postgres.url=jdbc:postgresql://172.17.0.2:5432/partition_db
osm.postgres.url=${PARTITION_POSTGRES_URL:jdbc:postgresql://127.0.0.1:5432/partition_db}
#Username and password to connect to the above url which contains the db name
#Has to be in sync with the user created using the bootstrapping scripts
osm.postgres.username=usr_partition_pg
osm.postgres.password=partition_pg
osm.postgres.username=${PARTITION_POSTGRESQL_USERNAME:usr_partition_pg}
osm.postgres.password=${PARTITION_POSTGRESQL_PASSWORD:partition_pg}
#property used only for mandatory bean creation, not actually used in partition service
dataPartitionId = test-partition
dataPartitionId = ${DATA_PARTITION_ID:test-partition}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment