summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appc-inbound/appc-artifact-handler/provider/src/test/java/org/onap/appc/artifact/handler/dbservices/DBServiceTest.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/appc-inbound/appc-artifact-handler/provider/src/test/java/org/onap/appc/artifact/handler/dbservices/DBServiceTest.java b/appc-inbound/appc-artifact-handler/provider/src/test/java/org/onap/appc/artifact/handler/dbservices/DBServiceTest.java
index 9d4740356..2ca39bc73 100644
--- a/appc-inbound/appc-artifact-handler/provider/src/test/java/org/onap/appc/artifact/handler/dbservices/DBServiceTest.java
+++ b/appc-inbound/appc-artifact-handler/provider/src/test/java/org/onap/appc/artifact/handler/dbservices/DBServiceTest.java
@@ -381,5 +381,26 @@ public class DBServiceTest {
assertTrue(result);
}
+ @Test
+ public void testProcessConfigureActionDg() throws SvcLogicException {
+ MockDBService dbService = MockDBService.initialise(true);
+ SvcLogicContext ctx = new SvcLogicContext();
+ dbService.processConfigureActionDg(ctx, true);
+ }
+
+ @Test
+ public void testUpdateProtocolReference() throws SvcLogicException {
+ MockDBService dbService = MockDBService.initialise();
+ SvcLogicContext ctx = new SvcLogicContext();
+ ctx.setAttribute("test", "test");
+ String vnfType = "testVnf";
+ String protocol = "testProtocol";
+ String action = "testAction";
+ String actionLevel = "testActionLevel";
+ String template = "testTemplateData";
+ dbService.updateProtocolReference(ctx, vnfType, protocol, action, actionLevel, template);
+
+ }
+
}