aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorvrvarma <vv8305@att.com>2019-04-09 09:31:42 -0400
committervrvarma <vv8305@att.com>2019-04-09 09:31:53 -0400
commit4cfb2d4827156cd4dd64a09ada3214415a8a7fdd (patch)
treecc78a1be4f0c47ab01d299b2cfc7dbdf39572031 /config
parent2d59800cf61a90e2a80902186bdce3b28e5ae14d (diff)
Reduce AAF auth permission cache time to 5 mins
Refactor code smell issues found in sonar Change-Id: I819a91e374609224561afa7ddb6878fab37feaf2 Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-471
Diffstat (limited to 'config')
-rwxr-xr-xconfig/osdf_config.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/osdf_config.yaml b/config/osdf_config.yaml
index 8c6d9f1..53c9ef9 100755
--- a/config/osdf_config.yaml
+++ b/config/osdf_config.yaml
@@ -31,10 +31,13 @@ sdcONAPInstanceID: NA
# AAF Authentication config
is_aaf_enabled: False
-aaf_cache_expiry_hrs: 3
+aaf_cache_expiry_mins: 5
aaf_url: https://aaftest.simpledemo.onap.org:8095
aaf_user_roles:
- /api/oof/v1/placement:org.onap.osdf.access|*|read ALL
+ - /api/oof/placement/v1:org.onap.osdf.access|*|read ALL
+ - /api/oof/v1/pci:org.onap.osdf.access|*|read ALL
+ - /api/oof/pci/v1:org.onap.osdf.access|*|read ALL
# Secret Management Service from AAF
aaf_sms_url: https://aaf-sms.onap:10443