From ade7fd243fe41b5056ba63d3584ea616ee8bf808 Mon Sep 17 00:00:00 2001 From: shrek2000 Date: Tue, 29 Jan 2019 13:04:42 +0200 Subject: Add dependent child service to service Add dependent child service to service Issue-ID: SDC-1987 Change-Id: Ic542fe1bc13f2b77df9944f05421a42b4b21c437 Signed-off-by: shrek2000 --- .../main/java/org/openecomp/sdc/be/dao/api/ActionStatus.java | 12 ++++++++++++ .../openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnum.java | 3 ++- .../openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnum.java | 3 ++- 3 files changed, 16 insertions(+), 2 deletions(-) (limited to 'catalog-dao/src/main/java') diff --git a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/api/ActionStatus.java b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/api/ActionStatus.java index fd6bace35e..8715e1d9c6 100644 --- a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/api/ActionStatus.java +++ b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/api/ActionStatus.java @@ -129,6 +129,18 @@ public enum ActionStatus { INTERFACE_OPERATION_INPUT_PROPERTY_NOT_FOUND_IN_COMPONENT, INTERFACE_OPERATION_INVALID_FOR_LOCAL_TYPE, INTERFACE_OPERATION_INVALID_FOR_GLOBAL_TYPE, + //NodeFilter + NODE_FILTER_NOT_FOUND, + UNSUPPORTED_VALUE_PROVIDED, + SELECTED_PROPERTY_NOT_PRESENT, + MAPPED_PROPERTY_NOT_FOUND, + UNSUPPORTED_OPERATOR_PROVIDED, + CONSTRAINT_FORMAT_INCORRECT, + SOURCE_TARGET_PROPERTY_TYPE_MISMATCH, + SOURCE_TARGET_SCHEMA_MISMATCH, + UNSUPPORTED_PROPERTY_TYPE, + + //InterfaceLifeCycleType INTERFACE_LIFECYCLE_TYPES_NOT_FOUND; } diff --git a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnum.java b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnum.java index c7a2f2eae7..119888b10e 100644 --- a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnum.java +++ b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnum.java @@ -63,7 +63,8 @@ public enum EdgeLabelEnum { PROXY_OF, ALLOTTED_OF, INTERFACE, - INTERFACE_OPERATION; + INTERFACE_OPERATION, + NODE_FILTER_TEMPLATE; /** * Returns EdgeLabelEnum according received name diff --git a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnum.java b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnum.java index aa4de11375..108d5e7201 100644 --- a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnum.java +++ b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnum.java @@ -60,7 +60,8 @@ public enum VertexTypeEnum { CATALOG_ROOT ("catalogRoot", null), ARCHIVE_ROOT ("archiveRoot", null), INTERFACE ("interface", InterfaceDataDefinition.class), - INTERFACE_OPERATION ("interfaceOperation", OperationDataDefinition.class); + INTERFACE_OPERATION ("interfaceOperation", OperationDataDefinition.class), + NODE_FILTER_TEMPLATE ("NodeTemplateFilter", CINodeFilterDataDefinition.class),; private String name; private Class classOfJson; -- cgit 1.2.3-korg