4 "testCaseDescription": "test GetConfig String Not valid",
5 "testFor": "getConfig",
6 "PDP_URLConfigFile": "config.properties"
9 "configAttributes": null,
11 "Policy Name: null Policy version: null - not_found",
16 "testCaseDescription": "test Get ConfigString Valid JSON",
17 "testFor": "getConfig",
18 "PDP_URLConfigFile": "config.properties"
21 "configAttributes": null,
23 "Policy Name: null Policy version: null - not_found",
28 "testCaseDescription": "test Get ConfigString Valid XML",
29 "testFor": "getConfig",
30 "PDP_URLConfigFile": "config.properties"
33 "configAttributes": null,
35 "Policy Name: null Policy version: null - not_found",
40 "testCaseDescription": "test Get ConfigString Valid properties",
41 "testFor": "getConfig",
42 "PDP_URLConfigFile": "config.properties"
43 "ONAPName": "Properties",
45 "configAttributes": null,
47 "Policy Name: null Policy version: null - not_found",
52 "testCaseDescription": "test Get ConfigString Valid other",
53 "testFor": "getConfig",
54 "PDP_URLConfigFile": "config.properties"
57 "configAttributes": null,
59 "Policy Name: null Policy version: null - not_found",
64 "testCaseDescription": "test GetConfig String String Fail",
65 "testFor": "getConfig",
66 "PDP_URLConfigFile": "config.properties"
69 "configAttributes": null,
71 "org.onap.policy.api.PolicyConfigException: No onapComponentName given.",
76 "testCaseDescription": "test GetConfig String String Fail1",
77 "testFor": "getConfig",
78 "PDP_URLConfigFile": "config.properties"
81 "configAttributes": null,
83 "org.onap.policy.api.PolicyConfigException: No onapComponentName given."
89 "testCaseDescription": "test GetConfig String String Valid ",
90 "testFor": "getConfig",
91 "PDP_URLConfigFile": "config.properties"
94 "configAttributes": null,
96 "Policy Name: null Policy version: null - not_found",
101 "testCaseDescription": "test GetConfig String String Valid JSON",
102 "testFor": "getConfig",
103 "PDP_URLConfigFile": "config.properties"
105 "ConfigName": "JSONconfig",
106 "configAttributes": null,
108 "Policy Name: null Policy version: null - not_found",
113 "testCaseDescription": "test GetConfig String String Valid XML",
114 "testFor": "getConfig",
115 "PDP_URLConfigFile": "config.properties"
117 "ConfigName": "XMLconfig",
118 "configAttributes": null,
120 "Policy Name: null Policy version: null - not_found",
125 "testCaseDescription": "test GetConfig String String Valid properties",
126 "testFor": "getConfig",
127 "PDP_URLConfigFile": "config.properties"
128 "ONAPName": "Properties",
129 "ConfigName": "PropConfig",
130 "configAttributes": null,
132 "Policy Name: null Policy version: null - not_found",
137 "testCaseDescription": "test GetConfig String String Valid other",
138 "testFor": "getConfig",
139 "PDP_URLConfigFile": "config.properties"
141 "ConfigName": "OtherConfig",
142 "configAttributes": null,
144 "Policy Name: null Policy version: null - not_found",
149 "testCaseDescription": "test GetConfig String String String fail",
150 "testFor": "getConfig",
151 "PDP_URLConfigFile": "config.properties"
154 "configAttributes": null,
156 "org.onap.policy.api.PolicyConfigException: No onapComponentName given."
161 "testCaseDescription": "test GetConfig String String String fail1",
162 "testFor": "getConfig",
163 "PDP_URLConfigFile": "config.properties"
165 "ConfigName": "testFail",
166 "configAttributes": [
173 "org.onap.policy.api.PolicyConfigException: No onapComponentName given.",
178 "testCaseDescription": "test GetConfig String String String fail2",
179 "testFor": "getConfig",
180 "PDP_URLConfigFile": "config.properties"
181 "ONAPName": "TestFail",
183 "configAttributes": [
190 "Policy Name: null Policy version: null - not_found",
195 "testCaseDescription": "test GetConfig String String String fail3",
196 "testFor": "getConfig",
197 "PDP_URLConfigFile": "config.properties"
198 "ONAPName": "TestFail",
199 "ConfigName": "configFail",
200 "configAttributes": null,
202 "Policy Name: null Policy version: null - not_found",
207 "testCaseDescription": "test GetConfig String String String fail4",
208 "testFor": "getConfig",
209 "PDP_URLConfigFile": "config.properties"
210 "ONAPName": "TestFail",
211 "ConfigName": "configFail",
212 "configAttributes": [
219 "org.onap.policy.api.PolicyConfigException: Cannot have an empty Key",
225 "testCaseDescription": "test GetConfig String String String Valid",
226 "testFor": "getConfig",
227 "PDP_URLConfigFile": "config.properties"
228 "ONAPName": "TestFail",
229 "ConfigName": "configFail",
230 "configAttributes": [
232 "key": "Action:com.test.fail",
237 "Policy Name: null Policy version: null - not_found",
242 "testCaseDescription": "test GetConfig String String String Valid JSON",
243 "testFor": "getConfig",
244 "PDP_URLConfigFile": "config.properties"
246 "ConfigName": "JSONconfig",
247 "configAttributes": [
249 "key": "Resource.com:test:resource:json",
253 "key": "Action.com:test:action:json",
257 "key": "Subject.com:test:subject:json",
258 "value":"TestSubject",
262 "Policy Name: null Policy version: null - not_found",
267 "testCaseDescription": "test GetConfig String String String Valid XML",
268 "testFor": "getConfig",
269 "PDP_URLConfigFile": "config.properties"
271 "ConfigName": "XMLconfig",
272 "configAttributes": [
274 "key": "Resource.com:test:resource:json",
278 "key": "Action.com:test:action:json",
282 "key": "Subject.com:test:subject:json",
283 "value":"TestSubject",
287 "Policy Name: null Policy version: null - not_found",
292 "testCaseDescription": "test GetConfig String String String Valid properties",
293 "testFor": "getConfig",
294 "PDP_URLConfigFile": "config.properties"
295 "ONAPName": "Properties",
296 "ConfigName": "PropConfig",
297 "configAttributes": [
299 "key": "Resource.com:test:resource:json",
303 "key": "Action.com:test:action:json",
307 "key": "Subject.com:test:subject:json",
308 "value":"TestSubject",
312 "Policy Name: null Policy version: null - not_found",
317 "testCaseDescription": "test GetConfig String String String Valid other",
318 "testFor": "getConfig",
319 "PDP_URLConfigFile": "config.properties"
321 "ConfigName": "OtherConfig",
322 "configAttributes": [
324 "key": "Resource.com:test:resource:json",
328 "key": "Action.com:test:action:json",
332 "key": "Subject.com:test:subject:json",
333 "value":"TestSubject",
337 "Policy Name: null Policy version: null - not_found",
342 "testCaseDescription": "test SendEvent Fail",
343 "testFor": "getAction",
344 "PDP_URLConfigFile": "config.properties",
345 "eventAttributes": null,
347 "org.onap.policy.api.PolicyEventException: No EventAttributes Given.",
352 "testCaseDescription": "test SendEvent Fail null",
353 "testFor": "getAction",
354 "PDP_URLConfigFile": "config.properties",
362 "org.onap.policy.api.PolicyEventException: Cannot have an empty Key",
368 "testCaseDescription": "test SendEvent Not Valid",
369 "testFor": "getAction",
370 "PDP_URLConfigFile": "config.properties",
373 "key": "Action.fail",
378 "Decision not a Permit. : no_action",
383 "testCaseDescription": "test SendEvent Action Advised",
384 "testFor": "getAction",
385 "PDP_URLConfigFile": "config.properties",
397 "Decision not a Permit. : no_action",
402 "testCaseDescription": "test SendEvent Action Taken",
403 "testFor": "getAction",
404 "PDP_URLConfigFile": "config.properties",
416 "Decision not a Permit. : no_action",