summaryrefslogtreecommitdiffstats
path: root/appc-inbound/appc-design-services/provider/src/test
diff options
context:
space:
mode:
authormojahidi <mojahidul.islam@amdocs.com>2017-08-29 18:20:26 +0530
committerMarcus Williams <marcus.williams@intel.com>2017-08-31 18:56:59 +0000
commit3df3182a7badeef662f743bfc8d67cea805b1ef4 (patch)
tree20e41c1f971de4c21ddd62e6c087d7a5d7ea5ae9 /appc-inbound/appc-design-services/provider/src/test
parentdc2344fc5754dee739f1db69cc6c16dfe0522ab8 (diff)
Update ASDC References to SDC 1/2
This patch changes ASDC to SDC in APPC code, bundle names and other pertinent places. This change sanitizes SDC for Open Source. It is the first in a two part change, the first updates code mentions and artifacts. The second will update database references. Change-Id: Iffd73480cc325172b5d8969fe839728f1c88ef78 Issue-ID:APPC-179 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
Diffstat (limited to 'appc-inbound/appc-design-services/provider/src/test')
-rw-r--r--appc-inbound/appc-design-services/provider/src/test/java/org/openecomp/appc/design/validator/TestDBService.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/appc-inbound/appc-design-services/provider/src/test/java/org/openecomp/appc/design/validator/TestDBService.java b/appc-inbound/appc-design-services/provider/src/test/java/org/openecomp/appc/design/validator/TestDBService.java
index d14abceb6..d1a899d14 100644
--- a/appc-inbound/appc-design-services/provider/src/test/java/org/openecomp/appc/design/validator/TestDBService.java
+++ b/appc-inbound/appc-design-services/provider/src/test/java/org/openecomp/appc/design/validator/TestDBService.java
@@ -175,13 +175,13 @@ public class TestDBService {
}
@Test
- public void testGetASDCReferenceID() {
+ public void testGetSDCReferenceID() {
try {
String content = FileUtils.readFileToString(new File("src/test/resources/uploadArtifact"));
String payload = " { \"userID\": \"0000\",\"status\":\"Test\", \"vnf-type\" : \"DesigTest-VNF\", \"action\" : \"Configure\", \"artifact-name\":\"DesignRestArtifact_reference\",\"artifact-version\" :\"0.01\",\"artifact-type\" :\"DESIGNTOOL-TEST\",\"artifact-status\":\"\",\"artifact-contents\": "+ content + " } ";
DesignDBService design = DesignDBService.initialise();
- Whitebox.invokeMethod(design, "getASDCReferenceID", payload);
+ Whitebox.invokeMethod(design, "getSDCReferenceID", payload);
} catch (Exception e) {
}
}
@@ -209,12 +209,12 @@ public class TestDBService {
}
@Test
- public void testGetASDCArtifactIDbyRequestID() {
+ public void testGetSDCArtifactIDbyRequestID() {
try {
String content = FileUtils.readFileToString(new File("src/test/resources/uploadArtifact"));
String payload = " { \"userID\": \"0000\",\"status\":\"Test\", \"vnf-type\" : \"DesigTest-VNF\", \"action\" : \"Configure\", \"artifact-name\":\"DesignRestArtifact_reference\",\"artifact-version\" :\"0.01\",\"artifact-type\" :\"DESIGNTOOL-TEST\",\"artifact-status\":\"\",\"artifact-contents\": "+ content + " } ";
DesignDBService design = DesignDBService.initialise();
- Whitebox.invokeMethod(design, "getASDCArtifactIDbyRequestID", "0");
+ Whitebox.invokeMethod(design, "getSDCArtifactIDbyRequestID", "0");
} catch (Exception e) {
}
}