From 7fb3dbed4c2450f600d4fdecabd09da51c03ef12 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Thu, 19 Nov 2020 16:42:57 -0500 Subject: Remove hard-coded credentials from application.properties Remove hard-coded credentials from application.properties and use env variables instead. Note: we still have hard-coded credentials in dblib.properties and svclogic.properties that should be changed, but this will require coordinated changes in sli/core to be able to interpret env variables within properties files. Change-Id: I5a31fae6f81233682bee20a5cb531b7f0a21a3a7 Issue-ID: SDNC-1411 Signed-off-by: Dan Timoney --- ms/generic-resource-api/pom.xml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'ms/generic-resource-api/pom.xml') diff --git a/ms/generic-resource-api/pom.xml b/ms/generic-resource-api/pom.xml index cc6471d..d73024d 100644 --- a/ms/generic-resource-api/pom.xml +++ b/ms/generic-resource-api/pom.xml @@ -34,6 +34,10 @@ ${project.artifactId}-${project.version}.jar deploy true + gradb + itsASecret + gra + test123 true @@ -500,10 +504,10 @@ gradb - itsASecret - sdnc - abc123 - sdnctl + ${gratest.mysql.root.password} + ${gratest.mysql.user} + ${gratest.mysql.password} + ${gratest.mysql.database} custom @@ -523,9 +527,10 @@ gra-container - sdnc - abc123 - sdnctl + ${gratest.mysql.user} + ${gratest.mysql.password} + ${gratest.mysql.database} + TRACE /opt/onap/sdnc/config -- cgit 1.2.3-korg