diff options
author | Marcin Migdal <marcin.migdal@nokia.com> | 2019-06-25 11:37:14 +0200 |
---|---|---|
committer | Marcin Migdal <marcin.migdal@nokia.com> | 2019-06-25 12:18:50 +0200 |
commit | fd23e32552ed9500f62f335ddcd198c00b9a77aa (patch) | |
tree | 455074004154715219b3f60f6e58d37a0ad111e5 | |
parent | ffe51aaf7b04f7f8be60b3b4c2e9cedb011439fe (diff) |
Adding logs in BBSActionTaskImpl
Change-Id: I3a21021427eb75964c88542a68838ccb443c60e5
Issue-ID: DCAEGEN2-1636
Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
-rw-r--r-- | prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/BbsActionsTaskImpl.java | 4 |
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)); } |