aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeora Barsky <georab@amdocs.com>2018-08-28 23:20:25 -0400
committerGeora Barsky <georab@amdocs.com>2018-08-28 23:21:13 -0400
commitb266c8af1c0315e2260100c1c6f144aa19c23d5e (patch)
treeae2e8814a130aa9b1c4c536befed37f258d88816
parent4941e70b8bd9700be474d3ebe40def9d70d23693 (diff)
Fix the AAI connection issue
Issue-ID: LOG-633 Change-Id: I712e3fc26c50aeb1bc65defcc4805acbf1964f5a Signed-off-by: Geora Barsky <georab@amdocs.com>
-rw-r--r--config/application.properties4
-rw-r--r--src/main/java/org/onap/pomba/contextbuilder/aai/AAIConfiguration.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/config/application.properties b/config/application.properties
index 7af2ff3..c1645a2 100644
--- a/config/application.properties
+++ b/config/application.properties
@@ -14,8 +14,8 @@ server.tomcat.max-threads=200
server.tomcat.min-spare-threads=25
# AAI REST Client Configuration
-aai.host=10.147.57.139
-aai.port=8080
+aai.serviceName=10.147.57.139
+aai.servicePort=8080
aai.username=AAI
aai.password=OBF:1gfr1ev31gg7
aai.httpProtocol=http
diff --git a/src/main/java/org/onap/pomba/contextbuilder/aai/AAIConfiguration.java b/src/main/java/org/onap/pomba/contextbuilder/aai/AAIConfiguration.java
index b5f9266..98370bd 100644
--- a/src/main/java/org/onap/pomba/contextbuilder/aai/AAIConfiguration.java
+++ b/src/main/java/org/onap/pomba/contextbuilder/aai/AAIConfiguration.java
@@ -33,10 +33,10 @@ import org.springframework.stereotype.Component;
@ApplicationPath("/")
public class AAIConfiguration {
@Autowired
- @Value("${aai.host}")
+ @Value("${aai.serviceName}")
private String host;
@Autowired
- @Value("${aai.port}")
+ @Value("${aai.servicePort}")
private String port;
@Autowired
@Value("${aai.username}")