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