Removing AJSC and moving to SpringBoot
[aai/search-data-service.git] / src / test / resources / json / search_policy.json
index ab8d0e3..63c6785 100644 (file)
@@ -1,5 +1,6 @@
 {\r
-  "roles": [{\r
+  "roles": [\r
+    {\r
     "name": "testRole",\r
     "functions": [{\r
       "name": "testFunction",\r
     "users": [{\r
       "username": "testUser"\r
     }\r
+\r
     ]\r
-  }, {\r
+  },\r
+\r
+    {\r
+      "name": "devRole",\r
+      "functions": [{\r
+        "name": "search",\r
+        "methods": [{\r
+          "name": "GET"\r
+        }, {\r
+          "name": "DELETE"\r
+        }, {\r
+          "name": "PUT"\r
+        }\r
+        ]\r
+      }\r
+      ],\r
+      "users": [\r
+        {\r
+          "username": "cn=onap, ou=onap, o=onap, l=ottawa, st=ontario, c=ca"\r
+        }\r
+\r
+      ]\r
+    },\r
+\r
+    {\r
     "name": "testBasicAuth",\r
     "functions": [{\r
       "name": "testBasicAuthFuncyion",\r