diff options
author | Xin Miao <xin.miao@huawei.com> | 2018-10-01 18:09:24 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2018-10-05 11:32:44 -0400 |
commit | 4498fc2617e0003b7d2f53a6b09051fd216c840e (patch) | |
tree | 70238cb07b5bde82625e63f2aa3b337a05438f29 /controlloop/common/msb/src | |
parent | 8c87163466a4eb5a010a9977adf8a365faec8631 (diff) |
Add new actor SDNC to support CCVPN Closed Loop
Issue-ID: POLICY-1183
Change-Id: I1b77b5b9cefca104382d9d84dd00bbd63b20e0f2
Signed-off-by: Xin Miao <xin.miao@huawei.com>
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'controlloop/common/msb/src')
-rw-r--r-- | controlloop/common/msb/src/main/java/org/onap/policy/msb/client/MsbServiceFactory.java | 3 | ||||
-rw-r--r-- | controlloop/common/msb/src/main/java/org/onap/policy/msb/client/MsbServiceManager.java | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/controlloop/common/msb/src/main/java/org/onap/policy/msb/client/MsbServiceFactory.java b/controlloop/common/msb/src/main/java/org/onap/policy/msb/client/MsbServiceFactory.java index 91e36c01d..c2868a263 100644 --- a/controlloop/common/msb/src/main/java/org/onap/policy/msb/client/MsbServiceFactory.java +++ b/controlloop/common/msb/src/main/java/org/onap/policy/msb/client/MsbServiceFactory.java @@ -99,6 +99,9 @@ public class MsbServiceFactory implements Serializable { case "VFC": node = this.build("nfvo-nslcm", "v1"); return node; + case "SDNC": + node = this.build("sdnc-nslcm", "v10"); //... ??? + return node; default: logger.info("MSBServiceManager: policy has an unknown actor."); } diff --git a/controlloop/common/msb/src/main/java/org/onap/policy/msb/client/MsbServiceManager.java b/controlloop/common/msb/src/main/java/org/onap/policy/msb/client/MsbServiceManager.java index aca3ff28f..b94992c28 100644 --- a/controlloop/common/msb/src/main/java/org/onap/policy/msb/client/MsbServiceManager.java +++ b/controlloop/common/msb/src/main/java/org/onap/policy/msb/client/MsbServiceManager.java @@ -37,7 +37,7 @@ public class MsbServiceManager implements Serializable { /** * Get the IP and port of the components registered in the MSB. * - * @param actor AAI or SO or VFC + * @param actor AAI or SO or VFC or SNDC * @return the node */ public Node getNode(String actor) { |