summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/resources/config/search-data-service/appconfig/auth/search_policy.json
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-02-06 17:20:28 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-06 17:20:28 +0000
commit5b0d96fc56a21e340f394b0126bf91ba234a9f07 (patch)
tree7ed75244832ce11d9f1bb6ce6db19c7bda3bb3ad /kubernetes/aai/resources/config/search-data-service/appconfig/auth/search_policy.json
parentd1f7eb62115aa027e194486e496bf2257c490543 (diff)
parent28d3291692450445484c66807d5eb841443169c9 (diff)
Merge "config seg aai search data service"
Diffstat (limited to 'kubernetes/aai/resources/config/search-data-service/appconfig/auth/search_policy.json')
-rw-r--r--kubernetes/aai/resources/config/search-data-service/appconfig/auth/search_policy.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/kubernetes/aai/resources/config/search-data-service/appconfig/auth/search_policy.json b/kubernetes/aai/resources/config/search-data-service/appconfig/auth/search_policy.json
new file mode 100644
index 0000000000..72d8902fbe
--- /dev/null
+++ b/kubernetes/aai/resources/config/search-data-service/appconfig/auth/search_policy.json
@@ -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"
+ }
+ ]
+ }
+ ]
+}