Add PLAN artifact type to configuration 61/16761/1
authorIdan Amit <ia096e@intl.att.com>
Sun, 1 Oct 2017 11:53:27 +0000 (14:53 +0300)
committerIdan Amit <ia096e@intl.att.com>
Sun, 1 Oct 2017 11:53:27 +0000 (14:53 +0300)
Added the PLAN artifact type to the configuration and to the enum

Change-Id: I1a0b075bf4132b92859cbb3705facec2b319de05
Issue-Id: SDC-420
Signed-off-by: Idan Amit <ia096e@intl.att.com>
catalog-be/src/main/resources/config/configuration.yaml
common-app-api/src/main/java/org/openecomp/sdc/common/api/ArtifactTypeEnum.java

index 5242652..d3f513f 100644 (file)
@@ -322,6 +322,12 @@ serviceDeploymentArtifacts:
             - xml 
     OTHER:
         acceptedTypes:
+        
+#PLAN
+    PLAN:
+        acceptedTypes:
+            - xml
+                       
 
 resourceDeploymentArtifacts:
     HEAT:
@@ -439,6 +445,11 @@ resourceDeploymentArtifacts:
     SNMP_TRAP:
         acceptedTypes:
         validForResourceTypes: *allResourceTypes
+        
+#PLAN
+    PLAN:
+        acceptedTypes:
+            - xml
 
 resourceInstanceDeploymentArtifacts:
     HEAT_ENV:
@@ -476,6 +487,11 @@ resourceInstanceDeploymentArtifacts:
     SNMP_TRAP:
         acceptedTypes:
         validForResourceTypes: *allResourceTypes
+        
+#PLAN
+    PLAN:
+        acceptedTypes:
+            - xml
 
 resourceInformationalArtifacts:
     CHEF:
index f13984b..6beec9d 100644 (file)
@@ -37,8 +37,10 @@ public enum ArtifactTypeEnum {
        DCAE_INVENTORY_POLICY("DCAE_INVENTORY_POLICY"), DCAE_INVENTORY_DOC("DCAE_INVENTORY_DOC"), DCAE_INVENTORY_BLUEPRINT("DCAE_INVENTORY_BLUEPRINT"), DCAE_INVENTORY_EVENT("DCAE_INVENTORY_EVENT"),
        // AAI Artifacts
        AAI_SERVICE_MODEL("AAI_SERVICE_MODEL"), AAI_VF_MODEL("AAI_VF_MODEL"), AAI_VF_MODULE_MODEL("AAI_VF_MODULE_MODEL"), AAI_VF_INSTANCE_MODEL("AAI_VF_INSTANCE_MODEL"),
-       // MIB artifacts
-       SNMP_POLL ("SNMP_POLL"), SNMP_TRAP("SNMP_TRAP"), GUIDE("GUIDE");
+       // MIB Artifacts
+       SNMP_POLL ("SNMP_POLL"), SNMP_TRAP("SNMP_TRAP"), GUIDE("GUIDE"),
+       // PLAN Artifacts
+       PLAN("PLAN");
        
        ArtifactTypeEnum(String type) {
                this.type = type;