From 0e2cda138f35ee6a7a8a54c29a6c4edf07d51745 Mon Sep 17 00:00:00 2001 From: "Plummer, Brittany" Date: Fri, 5 Jul 2019 10:23:16 -0400 Subject: update bpmn to save extsystemerrorsource Added ext error source to workflow exception Updated all lines that create this exception with source Added unit tests and updated existing ones Change-Id: Id9b3b1e6e24368224214a6370ea2d450ae667bfb Issue-ID: SO-2092 Signed-off-by: Benjamin, Max (mb388a) --- .../java/org/onap/so/utils/TargetEntities.java | 25 ++++++++++++++++++++++ .../main/java/org/onap/so/utils/TargetEntity.java | 8 +++++-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 common/src/main/java/org/onap/so/utils/TargetEntities.java (limited to 'common/src/main/java/org/onap') diff --git a/common/src/main/java/org/onap/so/utils/TargetEntities.java b/common/src/main/java/org/onap/so/utils/TargetEntities.java new file mode 100644 index 0000000000..94385ec8ea --- /dev/null +++ b/common/src/main/java/org/onap/so/utils/TargetEntities.java @@ -0,0 +1,25 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP - SO + * ================================================================================ + * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ + +package org.onap.so.utils; + +public interface TargetEntities { + +} diff --git a/common/src/main/java/org/onap/so/utils/TargetEntity.java b/common/src/main/java/org/onap/so/utils/TargetEntity.java index 0f1fe51114..3a3ec91d2f 100644 --- a/common/src/main/java/org/onap/so/utils/TargetEntity.java +++ b/common/src/main/java/org/onap/so/utils/TargetEntity.java @@ -22,7 +22,7 @@ package org.onap.so.utils; import java.util.EnumSet; -public enum TargetEntity { +public enum TargetEntity implements TargetEntities { OPENSTACK_ADAPTER, BPMN, GRM, @@ -37,7 +37,11 @@ public enum TargetEntity { SDC, EXTERNAL, MULTICLOUD, - OOF; + OOF, + SDNC, + SO, + UNKNOWN, + OPENSTACK; private static final String PREFIX = "SO"; -- cgit 1.2.3-korg