summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}")