summaryrefslogtreecommitdiffstats
path: root/kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json
diff options
context:
space:
mode:
authorGeora Barsky <georab@amdocs.com>2018-08-17 13:31:36 -0400
committerGeora Barsky <georab@amdocs.com>2018-08-29 10:17:20 -0400
commit417b3b46c64f965bed72793b3572ee89b73b22e6 (patch)
treede9d6d45bd5a61be9f9d96ce62624c4454797b0b /kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json
parent86da5e3720ecdad23d435c043d7d13d3a42188dd (diff)
Add Search Data Service to POMBA OOM
Issue-ID: LOG-612 Change-Id: I3ef3707e332c44d3dbaee5a9601607063b99c3ea Signed-off-by: Geora Barsky <georab@amdocs.com>
Diffstat (limited to 'kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json')
-rw-r--r--kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json b/kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json
new file mode 100644
index 0000000000..a83422753d
--- /dev/null
+++ b/kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json
@@ -0,0 +1,31 @@
+{
+ "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"
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file