[POLICY-73] replace openecomp for policy-engine
[policy/engine.git] / PolicyEngineClient / input.testCases
index edb3740..a170fbe 100644 (file)
@@ -4,7 +4,7 @@
   "testCaseDescription": "test GetConfig String Not valid",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "fail",
+  "ONAPName": "fail",
   "ConfigName": null,
    "configAttributes": null,
   "expectedResult":[
@@ -16,7 +16,7 @@
   "testCaseDescription": "test Get ConfigString Valid JSON",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "JSON",
+  "ONAPName": "JSON",
   "ConfigName": null,
    "configAttributes": null,
   "expectedResult":[
@@ -28,7 +28,7 @@
   "testCaseDescription": "test Get ConfigString Valid XML",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "XML",
+  "ONAPName": "XML",
   "ConfigName": null,
    "configAttributes": null,
   "expectedResult":[
@@ -40,7 +40,7 @@
   "testCaseDescription": "test Get ConfigString Valid properties",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "Properties",
+  "ONAPName": "Properties",
   "ConfigName": null,
    "configAttributes": null,
   "expectedResult":[
@@ -52,7 +52,7 @@
   "testCaseDescription": "test Get ConfigString Valid other",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "Other",
+  "ONAPName": "Other",
   "ConfigName": null,
    "configAttributes": null,
   "expectedResult":[
   "testCaseDescription": "test GetConfig String String Fail",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": null,
+  "ONAPName": null,
   "ConfigName": null,
    "configAttributes": null,
   "expectedResult":[
-               "org.openecomp.policy.api.PolicyConfigException: No eCOMPComponentName given.",
+               "org.onap.policy.api.PolicyConfigException: No onapComponentName given.",
         ]
 },
 {
   "testCaseDescription": "test GetConfig String String Fail1",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": null,
+  "ONAPName": null,
   "ConfigName": null,
    "configAttributes": null,
   "expectedResult":[
-       "org.openecomp.policy.api.PolicyConfigException: No eCOMPComponentName given."
+       "org.onap.policy.api.PolicyConfigException: No onapComponentName given."
   
         ]
 },
@@ -89,7 +89,7 @@
   "testCaseDescription": "test GetConfig String String Valid ",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "fail",
+  "ONAPName": "fail",
   "ConfigName": "fail",
    "configAttributes": null,
   "expectedResult":[
   "testCaseDescription": "test GetConfig String String Valid JSON",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "JSON",
+  "ONAPName": "JSON",
   "ConfigName": "JSONconfig",
    "configAttributes": null,
   "expectedResult":[
   "testCaseDescription": "test GetConfig String String Valid XML",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "XML",
+  "ONAPName": "XML",
   "ConfigName": "XMLconfig",
    "configAttributes": null,
   "expectedResult":[
   "testCaseDescription": "test GetConfig String String Valid properties",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "Properties",
+  "ONAPName": "Properties",
   "ConfigName": "PropConfig",
    "configAttributes": null,
   "expectedResult":[
   "testCaseDescription": "test GetConfig String String Valid other",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "Other",
+  "ONAPName": "Other",
   "ConfigName": "OtherConfig",
    "configAttributes": null,
   "expectedResult":[
   "testCaseDescription": "test GetConfig String String String fail",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": null,
+  "ONAPName": null,
   "ConfigName": null,
    "configAttributes": null,
   "expectedResult":[
-       "org.openecomp.policy.api.PolicyConfigException: No eCOMPComponentName given."
+       "org.onap.policy.api.PolicyConfigException: No onapComponentName given."
        ]
 },
 {
   "testCaseDescription": "test GetConfig String String String fail1",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": null,
+  "ONAPName": null,
   "ConfigName": "testFail",
    "configAttributes": [
                {
                        },
                ],
   "expectedResult":[
-               "org.openecomp.policy.api.PolicyConfigException: No eCOMPComponentName given.",
+               "org.onap.policy.api.PolicyConfigException: No onapComponentName given.",
                ]
 },
 {
   "testCaseDescription": "test GetConfig String String String fail2",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "TestFail",
+  "ONAPName": "TestFail",
   "ConfigName": null,
    "configAttributes": [
                {
   "testCaseDescription": "test GetConfig String String String fail3",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "TestFail",
+  "ONAPName": "TestFail",
   "ConfigName": "configFail",
    "configAttributes": null,
   "expectedResult":[
   "testCaseDescription": "test GetConfig String String String fail4",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "TestFail",
+  "ONAPName": "TestFail",
   "ConfigName": "configFail",
    "configAttributes": [
                {
                },
        ],
   "expectedResult":[
-               "org.openecomp.policy.api.PolicyConfigException: Cannot have an empty Key",
+               "org.onap.policy.api.PolicyConfigException: Cannot have an empty Key",
 
         ]
 },
   "testCaseDescription": "test GetConfig String String String Valid",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "TestFail",
+  "ONAPName": "TestFail",
   "ConfigName": "configFail",
    "configAttributes": [
                {
   "testCaseDescription": "test GetConfig String String String Valid JSON",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "JSON",
+  "ONAPName": "JSON",
   "ConfigName": "JSONconfig",
    "configAttributes": [
        {
   "testCaseDescription": "test GetConfig String String String Valid XML",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "XML",
+  "ONAPName": "XML",
   "ConfigName": "XMLconfig",
    "configAttributes": [
        {
   "testCaseDescription": "test GetConfig String String String Valid properties",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "Properties",
+  "ONAPName": "Properties",
   "ConfigName": "PropConfig",
    "configAttributes": [
        {
   "testCaseDescription": "test GetConfig String String String Valid other",
   "testFor": "getConfig",
   "PDP_URLConfigFile":  "config.properties"
-  "ECOMPName": "Other",
+  "ONAPName": "Other",
   "ConfigName": "OtherConfig",
    "configAttributes": [
        {
   "PDP_URLConfigFile":  "config.properties",
   "eventAttributes": null,
  "expectedResult":[
-               "org.openecomp.policy.api.PolicyEventException: No EventAttributes Given.",
+               "org.onap.policy.api.PolicyEventException: No EventAttributes Given.",
  ]
 },
 {
     },
   ],
  "expectedResult":[
-               "org.openecomp.policy.api.PolicyEventException: Cannot have an empty Key",
+               "org.onap.policy.api.PolicyEventException: Cannot have an empty Key",
                
  ]
 },