summaryrefslogtreecommitdiffstats
path: root/graph-inventory
diff options
context:
space:
mode:
authorLukasz Muszkieta <lukasz.muszkieta@nokia.com>2021-01-07 08:57:46 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-07 08:57:46 +0000
commit67160220ddd1463696f3d56fde035dc4f3949f73 (patch)
treef95a4bd07492077ee3a7df46bc3f02a8d01bd2be /graph-inventory
parenta7822286a4a1631d446c30c8ccd7ede3d3f2ff4f (diff)
parent0a43a2a9fdbf7a524122384fdfea698d8eb9f523 (diff)
Merge "Fix for globalSubscriberId and requestId"
Diffstat (limited to 'graph-inventory')
-rw-r--r--graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIRestClientI.java2
-rw-r--r--graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIRestClientImpl.java6
2 files changed, 4 insertions, 4 deletions
diff --git a/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIRestClientI.java b/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIRestClientI.java
index 3b08761568..0e404e138b 100644
--- a/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIRestClientI.java
+++ b/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIRestClientI.java
@@ -45,6 +45,6 @@ public interface AAIRestClientI {
Optional<ServiceInstance> getServiceInstanceById(String serviceInstanceId, String serviceType,
String globalSubscriberId);
- void updateServiceInstance(String globalSubscriberId, String serviceType, String serviceInstanceId,
+ void updateServiceInstance(String serviceInstanceId, String serviceType, String globalSubscriberId,
ServiceInstance serviceInstance);
}
diff --git a/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIRestClientImpl.java b/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIRestClientImpl.java
index c31d393b36..bf9ad56da7 100644
--- a/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIRestClientImpl.java
+++ b/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIRestClientImpl.java
@@ -106,8 +106,8 @@ public class AAIRestClientImpl implements AAIRestClientI {
}
@Override
- public Optional<ServiceInstance> getServiceInstanceById(String globalSubscriberId, String serviceType,
- String serviceInstanceId) {
+ public Optional<ServiceInstance> getServiceInstanceById(String serviceInstanceId, String serviceType,
+ String globalSubscriberId) {
Response response = new AAIResourcesClient().getFullResponse(
AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business().customer(globalSubscriberId)
.serviceSubscription(serviceType).serviceInstance(serviceInstanceId)));
@@ -115,7 +115,7 @@ public class AAIRestClientImpl implements AAIRestClientI {
}
@Override
- public void updateServiceInstance(String globalSubscriberId, String serviceType, String serviceInstanceId,
+ public void updateServiceInstance(String serviceInstanceId, String serviceType, String globalSubscriberId,
ServiceInstance serviceInstance) {
try {
new AAIResourcesClient().update(AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business()