diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2018-10-30 17:19:45 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2018-10-30 17:19:45 +0800 |
commit | 75b8475a3c9a55a154db8d5d2a05dd5f993907a0 (patch) | |
tree | b882d95b9f7ab043e7d1a0a817a5d61ed0f27b7f /holmes-actions/src/test/java | |
parent | a7d62526f2e0752bd1daf84844ed137158aa3cff (diff) |
Fixed the Request Path for AAI Queries1.2.4
Change-Id: I2a444c40cc9f4017159c137a8bd718e479a8f61c
Issue-ID: HOLMES-177
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'holmes-actions/src/test/java')
-rw-r--r-- | holmes-actions/src/test/java/org/onap/holmes/common/aai/AaiQueryTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/holmes-actions/src/test/java/org/onap/holmes/common/aai/AaiQueryTest.java b/holmes-actions/src/test/java/org/onap/holmes/common/aai/AaiQueryTest.java index 11dba54..c3407e6 100644 --- a/holmes-actions/src/test/java/org/onap/holmes/common/aai/AaiQueryTest.java +++ b/holmes-actions/src/test/java/org/onap/holmes/common/aai/AaiQueryTest.java @@ -97,7 +97,7 @@ public class AaiQueryTest { headers.put("X-FromAppId", AaiConfig.X_FROMAPP_ID); headers.put("Authorization", AaiConfig.getAuthenticationCredentials()); headers.put("Accept", "application/json"); - String url = "http://10.96.33.33:80/api/aai-cloudInfrastructure/v11"; + String url = "http://10.96.33.33:80/aai/v11/cloud-infrastructure"; HttpResponse httpResponse = PowerMock.createMock(HttpResponse.class); CloseableHttpClient httpClient = PowerMock.createMock(CloseableHttpClient.class); when(HttpsUtils.getHttpClient(30000)).thenReturn(httpClient); @@ -136,7 +136,7 @@ public class AaiQueryTest { headers.put("X-FromAppId", AaiConfig.X_FROMAPP_ID); headers.put("Authorization", AaiConfig.getAuthenticationCredentials()); headers.put("Accept", "application/json"); - String url = "http://10.96.33.33:80/api/aai-cloudInfrastructure/v11"; + String url = "http://10.96.33.33:80/aai/v11/cloud-infrastructure"; CloseableHttpClient httpClient = PowerMock.createMock(CloseableHttpClient.class); when(HttpsUtils.getHttpClient(30000)).thenReturn(httpClient); HttpGet httpGet = new HttpGet(url); |