From 417b3b46c64f965bed72793b3572ee89b73b22e6 Mon Sep 17 00:00:00 2001 From: Geora Barsky Date: Fri, 17 Aug 2018 13:31:36 -0400 Subject: Add Search Data Service to POMBA OOM Issue-ID: LOG-612 Change-Id: I3ef3707e332c44d3dbaee5a9601607063b99c3ea Signed-off-by: Geora Barsky --- .../resources/config/auth/search_policy.json | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json (limited to 'kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json') 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 -- cgit 1.2.3-korg