Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bypass Portal Cookbook recipes
[policy/engine.git]
/
PolicyEngineClient
/
input.testCases
diff --git
a/PolicyEngineClient/input.testCases
b/PolicyEngineClient/input.testCases
index
edb3740
..
a170fbe
100644
(file)
--- a/
PolicyEngineClient/input.testCases
+++ b/
PolicyEngineClient/input.testCases
@@
-4,7
+4,7
@@
"testCaseDescription": "test GetConfig String Not valid",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String Not valid",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "fail",
+ "
ONA
PName": "fail",
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
@@
-16,7
+16,7
@@
"testCaseDescription": "test Get ConfigString Valid JSON",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test Get ConfigString Valid JSON",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "JSON",
+ "
ONA
PName": "JSON",
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
@@
-28,7
+28,7
@@
"testCaseDescription": "test Get ConfigString Valid XML",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test Get ConfigString Valid XML",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "XML",
+ "
ONA
PName": "XML",
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
@@
-40,7
+40,7
@@
"testCaseDescription": "test Get ConfigString Valid properties",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test Get ConfigString Valid properties",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "Properties",
+ "
ONA
PName": "Properties",
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
@@
-52,7
+52,7
@@
"testCaseDescription": "test Get ConfigString Valid other",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test Get ConfigString Valid other",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "Other",
+ "
ONA
PName": "Other",
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
@@
-64,11
+64,11
@@
"testCaseDescription": "test GetConfig String String Fail",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String Fail",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": null,
+ "
ONA
PName": null,
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
- "org.o
penecomp.policy.api.PolicyConfigException: No eCOMP
ComponentName given.",
+ "org.o
nap.policy.api.PolicyConfigException: No onap
ComponentName given.",
]
},
{
]
},
{
@@
-76,11
+76,11
@@
"testCaseDescription": "test GetConfig String String Fail1",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String Fail1",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": null,
+ "
ONA
PName": null,
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
- "org.o
penecomp.policy.api.PolicyConfigException: No eCOMP
ComponentName given."
+ "org.o
nap.policy.api.PolicyConfigException: No onap
ComponentName given."
]
},
]
},
@@
-89,7
+89,7
@@
"testCaseDescription": "test GetConfig String String Valid ",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String Valid ",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "fail",
+ "
ONA
PName": "fail",
"ConfigName": "fail",
"configAttributes": null,
"expectedResult":[
"ConfigName": "fail",
"configAttributes": null,
"expectedResult":[
@@
-101,7
+101,7
@@
"testCaseDescription": "test GetConfig String String Valid JSON",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String Valid JSON",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "JSON",
+ "
ONA
PName": "JSON",
"ConfigName": "JSONconfig",
"configAttributes": null,
"expectedResult":[
"ConfigName": "JSONconfig",
"configAttributes": null,
"expectedResult":[
@@
-113,7
+113,7
@@
"testCaseDescription": "test GetConfig String String Valid XML",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String Valid XML",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "XML",
+ "
ONA
PName": "XML",
"ConfigName": "XMLconfig",
"configAttributes": null,
"expectedResult":[
"ConfigName": "XMLconfig",
"configAttributes": null,
"expectedResult":[
@@
-125,7
+125,7
@@
"testCaseDescription": "test GetConfig String String Valid properties",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String Valid properties",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "Properties",
+ "
ONA
PName": "Properties",
"ConfigName": "PropConfig",
"configAttributes": null,
"expectedResult":[
"ConfigName": "PropConfig",
"configAttributes": null,
"expectedResult":[
@@
-137,7
+137,7
@@
"testCaseDescription": "test GetConfig String String Valid other",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String Valid other",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "Other",
+ "
ONA
PName": "Other",
"ConfigName": "OtherConfig",
"configAttributes": null,
"expectedResult":[
"ConfigName": "OtherConfig",
"configAttributes": null,
"expectedResult":[
@@
-149,11
+149,11
@@
"testCaseDescription": "test GetConfig String String String fail",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String String fail",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": null,
+ "
ONA
PName": null,
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
"ConfigName": null,
"configAttributes": null,
"expectedResult":[
- "org.o
penecomp.policy.api.PolicyConfigException: No eCOMP
ComponentName given."
+ "org.o
nap.policy.api.PolicyConfigException: No onap
ComponentName given."
]
},
{
]
},
{
@@
-161,7
+161,7
@@
"testCaseDescription": "test GetConfig String String String fail1",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String String fail1",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": null,
+ "
ONA
PName": null,
"ConfigName": "testFail",
"configAttributes": [
{
"ConfigName": "testFail",
"configAttributes": [
{
@@
-170,7
+170,7
@@
},
],
"expectedResult":[
},
],
"expectedResult":[
- "org.o
penecomp.policy.api.PolicyConfigException: No eCOMP
ComponentName given.",
+ "org.o
nap.policy.api.PolicyConfigException: No onap
ComponentName given.",
]
},
{
]
},
{
@@
-178,7
+178,7
@@
"testCaseDescription": "test GetConfig String String String fail2",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String String fail2",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "TestFail",
+ "
ONA
PName": "TestFail",
"ConfigName": null,
"configAttributes": [
{
"ConfigName": null,
"configAttributes": [
{
@@
-195,7
+195,7
@@
"testCaseDescription": "test GetConfig String String String fail3",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String String fail3",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "TestFail",
+ "
ONA
PName": "TestFail",
"ConfigName": "configFail",
"configAttributes": null,
"expectedResult":[
"ConfigName": "configFail",
"configAttributes": null,
"expectedResult":[
@@
-207,7
+207,7
@@
"testCaseDescription": "test GetConfig String String String fail4",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String String fail4",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "TestFail",
+ "
ONA
PName": "TestFail",
"ConfigName": "configFail",
"configAttributes": [
{
"ConfigName": "configFail",
"configAttributes": [
{
@@
-216,7
+216,7
@@
},
],
"expectedResult":[
},
],
"expectedResult":[
- "org.o
penecom
p.policy.api.PolicyConfigException: Cannot have an empty Key",
+ "org.o
na
p.policy.api.PolicyConfigException: Cannot have an empty Key",
]
},
]
},
@@
-225,7
+225,7
@@
"testCaseDescription": "test GetConfig String String String Valid",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String String Valid",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "TestFail",
+ "
ONA
PName": "TestFail",
"ConfigName": "configFail",
"configAttributes": [
{
"ConfigName": "configFail",
"configAttributes": [
{
@@
-242,7
+242,7
@@
"testCaseDescription": "test GetConfig String String String Valid JSON",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String String Valid JSON",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "JSON",
+ "
ONA
PName": "JSON",
"ConfigName": "JSONconfig",
"configAttributes": [
{
"ConfigName": "JSONconfig",
"configAttributes": [
{
@@
-267,7
+267,7
@@
"testCaseDescription": "test GetConfig String String String Valid XML",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String String Valid XML",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "XML",
+ "
ONA
PName": "XML",
"ConfigName": "XMLconfig",
"configAttributes": [
{
"ConfigName": "XMLconfig",
"configAttributes": [
{
@@
-292,7
+292,7
@@
"testCaseDescription": "test GetConfig String String String Valid properties",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String String Valid properties",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "Properties",
+ "
ONA
PName": "Properties",
"ConfigName": "PropConfig",
"configAttributes": [
{
"ConfigName": "PropConfig",
"configAttributes": [
{
@@
-317,7
+317,7
@@
"testCaseDescription": "test GetConfig String String String Valid other",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
"testCaseDescription": "test GetConfig String String String Valid other",
"testFor": "getConfig",
"PDP_URLConfigFile": "config.properties"
- "
ECOM
PName": "Other",
+ "
ONA
PName": "Other",
"ConfigName": "OtherConfig",
"configAttributes": [
{
"ConfigName": "OtherConfig",
"configAttributes": [
{
@@
-344,7
+344,7
@@
"PDP_URLConfigFile": "config.properties",
"eventAttributes": null,
"expectedResult":[
"PDP_URLConfigFile": "config.properties",
"eventAttributes": null,
"expectedResult":[
- "org.o
penecom
p.policy.api.PolicyEventException: No EventAttributes Given.",
+ "org.o
na
p.policy.api.PolicyEventException: No EventAttributes Given.",
]
},
{
]
},
{
@@
-359,7
+359,7
@@
},
],
"expectedResult":[
},
],
"expectedResult":[
- "org.o
penecom
p.policy.api.PolicyEventException: Cannot have an empty Key",
+ "org.o
na
p.policy.api.PolicyEventException: Cannot have an empty Key",
]
},
]
},