From d900241bdc399b828d115d057c16c36f43d16d36 Mon Sep 17 00:00:00 2001 From: Kai Date: Tue, 23 Feb 2021 13:51:18 +0800 Subject: fix bugs 1. Delete configuration of field in source code(for testing before). 2. Delete configuration which is not necessory in pom Issue-ID: DCAEGEN2-2640 Signed-off-by: Kai Lu Change-Id: I9695da9b8b1724905c854aa66ad3d7729fc26498 --- components/kpi-computation-ms/pom.xml | 3 +-- .../src/main/java/org/onap/dcaegen2/kpi/models/Configuration.java | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'components') diff --git a/components/kpi-computation-ms/pom.xml b/components/kpi-computation-ms/pom.xml index 535b4587..e9e315eb 100644 --- a/components/kpi-computation-ms/pom.xml +++ b/components/kpi-computation-ms/pom.xml @@ -334,9 +334,8 @@ ${project.artifactId}-${project.version}.jar - /app + /app ${project.basedir} - entry.sh diff --git a/components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/models/Configuration.java b/components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/models/Configuration.java index 94085146..930e631c 100644 --- a/components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/models/Configuration.java +++ b/components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/models/Configuration.java @@ -239,12 +239,6 @@ public class Configuration { }.getType(); dmaapServers = new Gson().fromJson(servers, listType); - port = jsonObject.get("mongo.port").getAsInt(); - host = jsonObject.get("mongo.host").getAsString(); -// username = jsonObject.get("mongo.username").getAsString(); -// password = jsonObject.get("mongo.password").getAsString(); - databasename = jsonObject.get("mongo.databasename").getAsString(); - if (jsonObject.get("aafUsername") == null) { aafUsername = null; } else { -- cgit 1.2.3-korg