From 782081e16dd0ec584ece331ff639c587c9dcabe6 Mon Sep 17 00:00:00 2001 From: remillet Date: Mon, 20 Apr 2015 13:15:17 -0700 Subject: [PATCH] CSPACE-6531: Merging changes made for collectionspace-deployments/mmi-v4.1 that include env vars for instance_id and db_host id. --- build.properties | 9 +++++++-- pom.xml | 1 - services/account/client/pom.xml | 10 ++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/build.properties b/build.properties index 768c1dbcf..59c19ef8b 100644 --- a/build.properties +++ b/build.properties @@ -5,9 +5,13 @@ host=127.0.0.1 # multiple CollectionSpace servers all share a single database server. # The instance ID is blank by default. If it is added, by convention, # instance IDs should begin with an underscore (_). E.g.: _trs80 -cspace.instance.id= + release.version=4.2 cspace.release=${release.version}-SNAPSHOT +cspace.instance.id=${env.CSPACE_INSTANCE_ID} + + + cspace.services.release=cspace-services-${cspace.release} domain.cspace=cspace-services cspace.services.context=${domain.cspace} @@ -136,7 +140,8 @@ db.cspace.user.password=${env.DB_CSPACE_PASSWORD} db.reader.user=reader${cspace.instance.id} db.reader.user.password=${env.DB_READER_PASSWORD} -db.host=localhost +#db.host=localhost +db.host=${env.DB_HOST} db.jdbc.baseurl=jdbc:${db}://${db.host}:${db.port} # diff --git a/pom.xml b/pom.xml index 2c94a0cd0..d00294010 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,4 @@ - diff --git a/services/account/client/pom.xml b/services/account/client/pom.xml index 9b26d519b..25e50b85b 100644 --- a/services/account/client/pom.xml +++ b/services/account/client/pom.xml @@ -116,6 +116,16 @@ + + ../../../build.properties + + + + src/main/resources + true + + + -- 2.47.3