AAI 1.1 search-data-service config
[oom.git] / kubernetes / config / docker / init / src / config / aai / search-data-service / appconfig / auth / search_policy.json
diff --git a/kubernetes/config/docker/init/src/config/aai/search-data-service/appconfig/auth/search_policy.json b/kubernetes/config/docker/init/src/config/aai/search-data-service/appconfig/auth/search_policy.json
new file mode 100644 (file)
index 0000000..72d8902
--- /dev/null
@@ -0,0 +1,18 @@
+{
+       "roles": [
+               {
+                       "name": "admin",
+                       "functions": [
+                               {
+                                       "name": "search", "methods": [ { "name": "GET" },{ "name": "DELETE" }, { "name": "PUT" }, { "name": "POST" } ]
+                               }
+                       ],
+
+                       "users": [
+                               {
+                                       "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA"
+                               }
+                       ]
+               }               
+       ]
+}