summaryrefslogtreecommitdiffstats
path: root/prh-app-server/src/main
diff options
context:
space:
mode:
authorPiotr Wielebski <piotr.wielebski@nokia.com>2019-06-25 10:44:58 +0000
committerGerrit Code Review <gerrit@onap.org>2019-06-25 10:44:58 +0000
commit3e9dc9c5421fe2997e2e5032c6c587c389d9f483 (patch)
treed4d490690a81dc5254629195bc642ad32b6df2cf /prh-app-server/src/main
parentc82790891dfdfade5a48e41c29959632fb492525 (diff)
parentfd23e32552ed9500f62f335ddcd198c00b9a77aa (diff)
Merge "Adding logs in BBSActionTaskImpl"
Diffstat (limited to 'prh-app-server/src/main')
-rw-r--r--prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/BbsActionsTaskImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/BbsActionsTaskImpl.java b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/BbsActionsTaskImpl.java
index 9b9e9b5c..8b893211 100644
--- a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/BbsActionsTaskImpl.java
+++ b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/BbsActionsTaskImpl.java
@@ -30,8 +30,6 @@ import static org.onap.dcaegen2.services.sdk.rest.services.adapters.http.HttpMet
import com.google.gson.JsonObject;
import io.vavr.collection.HashMap;
import io.vavr.collection.Map;
-import java.util.function.Function;
-import org.jetbrains.annotations.NotNull;
import org.onap.dcaegen2.services.prh.configuration.Config;
import org.onap.dcaegen2.services.prh.exceptions.AaiFailureException;
import org.onap.dcaegen2.services.prh.model.AaiPnfResultModel;
@@ -121,12 +119,14 @@ public class BbsActionsTaskImpl implements BbsActionsTask {
private Mono<HttpResponse> createLogicalLinkInAai(String linkName, String pnfName) {
ImmutableHttpRequest request = buildLogicalLinkPutRequest(linkName, pnfName);
+ LOGGER.debug("Creating logical link in AAI {} ", request);
return httpClient.call(request)
.flatMap(response -> handleResponse(response, "PUT LogicalLink request. Link name: " + linkName));
}
private Mono<HttpResponse> deleteLogicalLinkInAai(String linkName, String resourceVersion) {
ImmutableHttpRequest request = buildLogicalLinkDeleteRequest(linkName, resourceVersion);
+ LOGGER.debug("Deleting logical link in AAI {} ", request);
return httpClient.call(request)
.flatMap(response -> handleResponse(response, "DELETE LogicalLink request. Link name: " + linkName));
}