diff options
author | Hector Anapan <ha076r@att.com> | 2017-08-16 14:56:54 -0400 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-08-16 22:09:46 +0000 |
commit | 249b2c06fb63e42efcfbb1a2c60004789b4f9c8d (patch) | |
tree | 7ec8de25a27070257e366500cad4654c7dcc72a5 /docker-compose | |
parent | dfdf6d89e3efe5b4244584909e51c039750ef5ee (diff) |
Changing AAIService Bundle to use AAI Properties
This code changes the docker-compose.yml's SDNC_CONFIG_DIR env.variable in the "appc" service that deploys the appc container to point to appc's aaiclient.properties instead of the sdnc's aiiclient.properties. In doing so, some properties had to be moved to the new SDNC_CONFIG_DIR's appc properties folder path so SDNC karaf features are installed correctly. Also, replacing the AAIClient p12 keystore by converting the validated jks file to this new p12 keystore certificate.
Change-Id: I6ee5bd56f4403cb575fdc93ded8eebc6a7a5cc4b
Signed-off-by: Hector Anapan <ha076r@att.com>
Issue: [APPC-129]
Diffstat (limited to 'docker-compose')
-rw-r--r-- | docker-compose/docker-compose.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index d431e66..11e4669 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -21,7 +21,9 @@ services: max-size: "30m" max-file: "5" - +# Tweaking SDNC_CONFIG_DIR temporarily from ../sdnc/.. to ../appc/.. since it may be needed in this script +# to map to SDN-C AAI Service Bundle's AAI Activator class inside the gerrit sdnc/adaptors repo, so that +# the AAI Service bundle loads APP-C's aaiclient.properties instead of SDN-C's aaiclient.properties. appc: image: "openecomp/appc-image:latest" depends_on : @@ -37,7 +39,7 @@ services: - db:sdnctldb02 environment: - MYSQL_ROOT_PASSWORD=openECOMP1.0 - - SDNC_CONFIG_DIR=/opt/openecomp/sdnc/data/properties + - SDNC_CONFIG_DIR=/opt/openecomp/appc/data/properties - APPC_CONFIG_DIR=/opt/openecomp/appc/data/properties - DMAAP_TOPIC_ENV=SUCCESS logging: @@ -66,9 +68,9 @@ services: environment: - MYSQL_ROOT_PASSWORD=openECOMP1.0 - SDNC_CONFIG_DIR=/opt/openecomp/sdnc/data/properties - - APPC_CONFIG_DIR=/opt/openecomp/appc/data/properties logging: driver: "json-file" options: max-size: "30m" max-file: "5" + |