summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2020-05-11 15:24:39 -0400
committerTaka Cho <takamune.cho@att.com>2020-05-11 15:26:25 -0400
commit1af20045ffa342ba00a0d757e8aebcd679d78b6e (patch)
treeb5383c89c1a4e3e28773a57d0ae4e20fec8aaa3b
parentbb3b3a39f5d5c68f3ae4ad1e7f6bf3f095fe9701 (diff)
add back ConfigModify
when selecting ConfigMofidy with Netconf xml protocol, DEVICE_INTERFACE_PROTOCOL table is empty Issue-ID: APPC-1879 Change-Id: I0d29caad47700ad5207ee1d1393aa246e775ea03 Signed-off-by: Taka Cho <takamune.cho@att.com>
-rw-r--r--appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNode.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNode.java b/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNode.java
index 5f26f512e..f16c61faa 100644
--- a/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNode.java
+++ b/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNode.java
@@ -662,10 +662,10 @@ public class ArtifactHandlerNode implements SvcLogicJavaPlugin {
throws SvcLogicException, SQLException, ConfigurationException, DBException {
if (contentsActionEquals(content, CONFIGURE_PARAM) || contentsActionEquals(content, CONFIG_SCALE_OUT_PARAM)
- || contentsActionEquals(content, CONFIG_SCALE_IN_PARAM)) {
+ || contentsActionEquals(content, CONFIG_MODIFY_PARAM) || contentsActionEquals(content, CONFIG_SCALE_IN_PARAM)) {
boolean isUpdateRequired = dbservice.isArtifactUpdateRequired(context, DB_DEVICE_INTERFACE_PROTOCOL);
if (contentsActionEquals(content, CONFIGURE_PARAM) || (contentsActionEquals(content, CONFIG_SCALE_OUT_PARAM)
- || contentsActionEquals(content, CONFIG_SCALE_IN_PARAM)
+ || contentsActionEquals(content, CONFIG_MODIFY_PARAM) || contentsActionEquals(content, CONFIG_SCALE_IN_PARAM)
&& !isUpdateRequired)) {
dbservice.processDeviceInterfaceProtocol(context, isUpdateRequired);