From b266c8af1c0315e2260100c1c6f144aa19c23d5e Mon Sep 17 00:00:00 2001 From: Geora Barsky Date: Tue, 28 Aug 2018 23:20:25 -0400 Subject: Fix the AAI connection issue Issue-ID: LOG-633 Change-Id: I712e3fc26c50aeb1bc65defcc4805acbf1964f5a Signed-off-by: Geora Barsky --- config/application.properties | 4 ++-- src/main/java/org/onap/pomba/contextbuilder/aai/AAIConfiguration.java | 4 ++-- 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}") -- cgit 1.2.3-korg