aboutsummaryrefslogtreecommitdiffstats
path: root/aai-core/src/test
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-06-07 15:34:50 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-06-07 15:45:09 -0400
commitabc0603e008f2cbec37d6c2dcf03f27d2edf30f2 (patch)
tree954a3fd614dc18f388486f5e4532feb61fa9d257 /aai-core/src/test
parent2d917a2119d74679a23182a9f292bb25439620fc (diff)
[AAI-ONAP] Get the latest code and sync to onap
Change-Id: Ifd6e05a807b1bc5246cd2442cb54495b84100e83 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-core/src/test')
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/auth/aai_policy.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/auth/aai_policy.json b/aai-core/src/test/resources/bundleconfig-local/etc/auth/aai_policy.json
new file mode 100644
index 00000000..9706ce90
--- /dev/null
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/auth/aai_policy.json
@@ -0,0 +1,37 @@
+{
+ "roles": [{
+ "name": "testRole",
+ "functions": [{
+ "name": "testFunction",
+ "methods": [{
+ "name": "GET"
+ }, {
+ "name": "DELETE"
+ }, {
+ "name": "PUT"
+ }
+ ]
+ }
+ ],
+ "users": [{
+ "username": "testUser"
+ }
+ ]
+ }, {
+ "name": "testBasicAuth",
+ "functions": [{
+ "name": "testBasicAuthFuncyion",
+ "methods": [{
+ "name": "GET"
+ }
+ ]
+ }
+ ],
+ "users": [{
+ "user": "testBasicAuthUser",
+ "pass": "OBF:1ytc1vu91v2p1rxf1mqh1v8s1z0d1msn1san1mqf1z0h1v9u1msl1rvf1v1p1vv11yta"
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file