From 234a998a34c44e97533827076a32f8d972fc93da Mon Sep 17 00:00:00 2001 From: Michael Arrastia Date: Mon, 5 Mar 2018 13:33:35 +0000 Subject: 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 --- champ-service/appconfig/auth/champ_policy.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 champ-service/appconfig/auth/champ_policy.json (limited to 'champ-service/appconfig/auth/champ_policy.json') 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" + } + ] + } + ] +} -- cgit 1.2.3-korg