X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=models-pdp%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Fmodels%2Fpdp%2Fconcepts%2FPdpStateChange.java;h=6a7b7d53413b1432e9c4cb0ffae470eac71d3b12;hb=f2078f5fd455c02f615b33700e1b545e0055e2fe;hp=fe953cb65f93c489c2f5cf70ae27a213d81c88a3;hpb=33c54226a0463e8ed234177bc9b894dd6797ab74;p=policy%2Fmodels.git diff --git a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpStateChange.java b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpStateChange.java index fe953cb65..6a7b7d534 100644 --- a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpStateChange.java +++ b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpStateChange.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. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,11 @@ import org.onap.policy.models.pdp.enums.PdpState; @ToString(callSuper = true) public class PdpStateChange extends PdpMessage { + /** + * System from which the message originated. + */ + private String source; + private PdpState state; /** @@ -56,6 +61,7 @@ public class PdpStateChange extends PdpMessage { public PdpStateChange(PdpStateChange source) { super(source); + this.source = source.source; this.state = source.state; } }