From 594721c136abf0b1f203228bf946a286747ed34c Mon Sep 17 00:00:00 2001 From: Lukasz Muszkieta Date: Fri, 22 May 2020 14:50:26 +0200 Subject: use existing pnf - logging improvement Issue-ID: SO-2937 Signed-off-by: Lukasz Muszkieta Change-Id: Ic4832d7f6608b684d0b1c902a8a7b48f6639e6e1 --- .../main/java/org/onap/so/client/orchestration/AAIPnfResources.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bpmn/so-bpmn-tasks/src/main') diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/orchestration/AAIPnfResources.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/orchestration/AAIPnfResources.java index 7184bba377..3b22cd9d81 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/orchestration/AAIPnfResources.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/orchestration/AAIPnfResources.java @@ -98,7 +98,8 @@ public class AAIPnfResources { pnfFromAai.getPnfName()); } else { String errorMessage = String.format( - "pnf with name %s already exists with orchestration status %s, only status Inventoried allows to use existing pnf", + "pnf with name %s already exists with orchestration status %s, existing pnf can be used only " + + "if status is not set or set as Inventoried", pnfFromAai.getPnfName(), pnfFromAai.getOrchestrationStatus()); logger.error(errorMessage); throw new Exception(errorMessage); -- cgit 1.2.3-korg