summaryrefslogtreecommitdiffstats
path: root/champ-service/appconfig/auth/champ_policy.json
diff options
context:
space:
mode:
authorMichael Arrastia <MArrasti@amdocs.com>2018-03-05 13:33:35 +0000
committerMichael Arrastia <MArrasti@amdocs.com>2018-03-05 15:05:15 +0000
commit234a998a34c44e97533827076a32f8d972fc93da (patch)
tree950712dbbeeacc104708b90c305491db5b0eb689 /champ-service/appconfig/auth/champ_policy.json
parentdca9d698d15f7b2f53ad4941ee8d9306e6ddf17e (diff)
Add champ-service configuration
Define environment specific configuration in champ-beans.xml (test-config/champ-service/dynamic/conf/champ-beans.xml): Graph host: key="storage.hostname" value="aai.hbase.simpledemo.onap.org" Graph port: key="storage.hbase.ext.hbase.zookeeper.property.clientPort" value="2181" key="storage.port" value="2181" Event bus host: name="host" value="mr.api.simpledemo.openecomp.org:3904" Change-Id: I7c9c029047dd402dcd4a9d4023c33c532cf07e10 Issue-ID: AAI-815 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
Diffstat (limited to 'champ-service/appconfig/auth/champ_policy.json')
-rw-r--r--champ-service/appconfig/auth/champ_policy.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/champ-service/appconfig/auth/champ_policy.json b/champ-service/appconfig/auth/champ_policy.json
new file mode 100644
index 0000000..a39a146
--- /dev/null
+++ b/champ-service/appconfig/auth/champ_policy.json
@@ -0,0 +1,18 @@
+{
+ "roles": [
+ {
+ "name": "admin",
+ "functions": [
+ {
+ "name": "champ", "methods": [ { "name": "GET" },{ "name": "DELETE" }, { "name": "PUT" }, { "name": "POST" } ]
+ }
+ ],
+
+ "users": [
+ {
+ "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA"
+ }
+ ]
+ }
+ ]
+}