Merge "Adding Junit"
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / java / org / openecomp / mso / bpmn / infrastructure / workflow / serviceTask / client / entity / ServiceInformationEntity.java
index 7a79c9f..f1b1561 100644 (file)
@@ -22,26 +22,23 @@ package org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.client.entity
 
 import com.fasterxml.jackson.annotation.JsonProperty;
 
-/**
- * Created by 10112215 on 2017/9/20.
- */
 public class ServiceInformationEntity {
-    @JsonProperty("service-id")
+    @JsonProperty("GENERIC-RESOURCE-API:service-id")
     private String serviceId;
 
-    @JsonProperty("subscription-service-type")
+    @JsonProperty("GENERIC-RESOURCE-API:subscription-service-type")
     private String subscriptionServiceType;
 
-    @JsonProperty("ecomp-model-information")
-    private EcompModelInformationEntity ecompModelInformation;
+    @JsonProperty("GENERIC-RESOURCE-API:onap-model-information")
+    private OnapModelInformationEntity onapModelInformation;
 
-    @JsonProperty("service-instance-id")
+    @JsonProperty("GENERIC-RESOURCE-API:service-instance-id")
     private String serviceInstanceId;
 
-    @JsonProperty("global-customer-id")
+    @JsonProperty("GENERIC-RESOURCE-API:global-customer-id")
     private String globalCustomerId;
 
-    @JsonProperty("subscriber-name")
+    @JsonProperty("GENERIC-RESOURCE-API:subscriber-name")
     private String subscriberName;
 
     public String getServiceId() {
@@ -60,12 +57,12 @@ public class ServiceInformationEntity {
         this.subscriptionServiceType = subscriptionServiceType;
     }
 
-    public EcompModelInformationEntity getEcompModelInformation() {
-        return ecompModelInformation;
+    public OnapModelInformationEntity getOnapModelInformation() {
+        return onapModelInformation;
     }
 
-    public void setEcompModelInformation(EcompModelInformationEntity ecompModelInformation) {
-        this.ecompModelInformation = ecompModelInformation;
+    public void setOnapModelInformation(OnapModelInformationEntity onapModelInformation) {
+        this.onapModelInformation = onapModelInformation;
     }
 
     public String getServiceInstanceId() {