summaryrefslogtreecommitdiffstats
path: root/kubernetes/pomba/charts/pomba-search-data/resources/config/auth
diff options
context:
space:
mode:
authorMandeep Khinda <mandeep.khinda@amdocs.com>2018-08-29 21:45:05 +0000
committerMandeep Khinda <mandeep.khinda@amdocs.com>2018-08-29 21:45:05 +0000
commit71bd84c0aa9d1c87a7e6a66ed9d9a40f4de72461 (patch)
tree668e799d9d8c27d1c188e5a1c50c159b0efa6e17 /kubernetes/pomba/charts/pomba-search-data/resources/config/auth
parent2eadea6daf3ec711a38e6c2bd72c6594c17da1af (diff)
fixing make error?
Issue-ID: LOG-612 Change-Id: I3a9fcbff2bf04a2d120ba3fdb0a3b0ada3083b1d Signed-off-by: Prudence Au <prudence.au@amdocs.com> Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com> Signed-off-by: Michael O'Brien <frank.obrien@amdocs.com>
Diffstat (limited to 'kubernetes/pomba/charts/pomba-search-data/resources/config/auth')
-rw-r--r--kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json43
1 files changed, 18 insertions, 25 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
index a83422753d..00a6de5f4a 100644
--- 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
@@ -1,31 +1,24 @@
{
- "roles": [
- {
- "name": "admin",
- "functions": [
+ "roles": [{
+ "name": "admin",
+ "functions": [{
+ "name": "search",
+ "methods": [{
+ "name": "GET"
+ },
{
- "name": "search",
- "methods": [
- {
- "name": "GET"
- },
- {
- "name": "DELETE"
- },
- {
- "name": "PUT"
- },
- {
- "name": "POST"
- }
- ]
- }
- ],
- "users": [
+ "name": "DELETE"
+ },
+ {
+ "name": "PUT"
+ },
{
- "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA"
+ "name": "POST"
}
]
- }
- ]
+ }],
+ "users": [{
+ "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA"
+ }]
+ }]
} \ No newline at end of file