X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=models-pdp%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Fmodels%2Fpdp%2Fconcepts%2FPdpUpdate.java;h=aa2b85d2925546a5a805d704e2a7ec16f08b5209;hb=f2078f5fd455c02f615b33700e1b545e0055e2fe;hp=19f79ee88bc28fc9d80953b7565afa10e3ebad51;hpb=33c54226a0463e8ed234177bc9b894dd6797ab74;p=policy%2Fmodels.git diff --git a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpUpdate.java b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpUpdate.java index 19f79ee88..aa2b85d29 100644 --- a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpUpdate.java +++ b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpUpdate.java @@ -1,7 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2019 Nordix Foundation. - * Modifications Copyright (C) 2019 AT&T Intellectual Property. + * Modifications Copyright (C) 2019, 2021 AT&T Intellectual Property. * Modifications Copyright (C) 2021 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); @@ -44,6 +44,11 @@ import org.onap.policy.models.tosca.authorative.concepts.ToscaPolicy; @ToString(callSuper = true) public class PdpUpdate extends PdpMessage { + /** + * System from which the message originated. + */ + private String source; + /** * Description of the PDP group. */ @@ -77,6 +82,7 @@ public class PdpUpdate extends PdpMessage { public PdpUpdate(PdpUpdate source) { super(source); + this.source = source.source; this.description = source.description; this.pdpHeartbeatIntervalMs = source.pdpHeartbeatIntervalMs; this.policiesToBeDeployed = (source.policiesToBeDeployed == null ? null