summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sdc-distribution-client/src/main/java/org/openecomp/sdc/api/notification/INotificationData.java4
-rw-r--r--sdc-distribution-client/src/main/java/org/openecomp/sdc/impl/NotificationDataImpl.java18
2 files changed, 19 insertions, 3 deletions
diff --git a/sdc-distribution-client/src/main/java/org/openecomp/sdc/api/notification/INotificationData.java b/sdc-distribution-client/src/main/java/org/openecomp/sdc/api/notification/INotificationData.java
index df314ea..74ebf65 100644
--- a/sdc-distribution-client/src/main/java/org/openecomp/sdc/api/notification/INotificationData.java
+++ b/sdc-distribution-client/src/main/java/org/openecomp/sdc/api/notification/INotificationData.java
@@ -64,4 +64,8 @@ public interface INotificationData {
* Invariant UUID
*/
String getServiceInvariantUUID();
+
+ String getWorkloadContext();
+
+ void setWorkloadContext(String workloadContext);
}
diff --git a/sdc-distribution-client/src/main/java/org/openecomp/sdc/impl/NotificationDataImpl.java b/sdc-distribution-client/src/main/java/org/openecomp/sdc/impl/NotificationDataImpl.java
index 7ad3987..c60e2fd 100644
--- a/sdc-distribution-client/src/main/java/org/openecomp/sdc/impl/NotificationDataImpl.java
+++ b/sdc-distribution-client/src/main/java/org/openecomp/sdc/impl/NotificationDataImpl.java
@@ -38,6 +38,7 @@ class NotificationDataImpl implements INotificationData {
private String serviceInvariantUUID;
private List<JsonContainerResourceInstance> resources;
private List<ArtifactInfoImpl> serviceArtifacts;
+ private String workloadContext;
@Override
public String getDistributionID() {
@@ -86,10 +87,21 @@ class NotificationDataImpl implements INotificationData {
}
@Override
+ public String getWorkloadContext() {
+ return workloadContext;
+ }
+
+ @Override
+ public void setWorkloadContext(String workloadContext) {
+ this.workloadContext = workloadContext;
+ }
+
+ @Override
public String toString() {
- return "NotificationDataImpl [distributionID=" + distributionID
- + ", serviceName=" + serviceName + ", serviceVersion="
- + serviceVersion + ", serviceUUID=" + serviceUUID+"]";
+ return "NotificationDataImpl [distributionID=" + distributionID + ", serviceName=" + serviceName
+ + ", serviceVersion=" + serviceVersion + ", serviceUUID=" + serviceUUID + ", serviceDescription="
+ + serviceDescription + ", serviceInvariantUUID=" + serviceInvariantUUID + ", resources=" + resources
+ + ", serviceArtifacts=" + serviceArtifacts + ", workloadContext=" + workloadContext + "]";
}
@Override