From 1af20045ffa342ba00a0d757e8aebcd679d78b6e Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Mon, 11 May 2020 15:24:39 -0400 Subject: 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 --- .../java/org/onap/appc/artifact/handler/node/ArtifactHandlerNode.java | 4 ++-- 1 file 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); -- cgit 1.2.3-korg