aboutsummaryrefslogtreecommitdiffstats
path: root/common-be/src
diff options
context:
space:
mode:
Diffstat (limited to 'common-be/src')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinition.java10
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ResourceTypeEnum.java3
2 files changed, 12 insertions, 1 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinition.java
index cf35f5d387..b8cc269bdf 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinition.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinition.java
@@ -23,6 +23,8 @@ package org.openecomp.sdc.be.datatypes.components;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.openecomp.sdc.be.datatypes.enums.JsonPresentationFieldsExtractor;
+import org.openecomp.sdc.be.datatypes.enums.ResourceTypeEnum;
+
@Data
@NoArgsConstructor
@@ -53,11 +55,19 @@ public class ServiceMetadataDataDefinition extends ComponentMetadataDataDefiniti
private String environmentContext;
+ private String serviceVendorModelNumber;
+ public Boolean isAbstract;
+ private ResourceTypeEnum importServiceType = ResourceTypeEnum.SERVICE;
+ private String toscaServiceName;
+ private String vendorName;
+ private String vendorRelease;
public ServiceMetadataDataDefinition(ServiceMetadataDataDefinition other) {
super(other);
serviceType = other.getServiceType();
serviceRole = other.getServiceRole();
+ this.importServiceType = other.getImportServiceType();
+ this.toscaServiceName = other.getToscaServiceName();
serviceFunction = other.getServiceFunction();
}
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ResourceTypeEnum.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ResourceTypeEnum.java
index 4201b79d6a..2af43dcf78 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ResourceTypeEnum.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ResourceTypeEnum.java
@@ -35,7 +35,8 @@ public enum ResourceTypeEnum {
Configuration("Configuration", true),
ServiceProxy("ServiceProxy", true),
//Generic VFC/VF/PNF/Service Type
- ABSTRACT("Abstract", true);
+ ABSTRACT("Abstract", true),
+ SERVICE("Service"/*(Network Service)"*/,false);
private final String value;
private final boolean isAtomicType;