summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorsaul.gill <saul.gill@est.tech>2022-01-27 13:30:01 +0000
committersaul.gill <saul.gill@est.tech>2022-01-27 13:41:38 +0000
commitb7b7064d7f1824bc0b573d4477a5a2c19ad8c44b (patch)
tree043647c5c2dd4528ecaf26c4a1355ce8802db711 /runtime
parent68d15b4d0241f03790bb0f5949e1f4abdeada428 (diff)
Fix for authorization error on clamp be
Issue where requests from policy-gui were intermittently rejected toscaControlLoop path was not registered cadi filter Issue-ID: CLAMP-1029 Change-Id: I142ecdc255b0b917202e4ec3471199bf7992928d Signed-off-by: saul.gill <saul.gill@est.tech>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/src/main/java/org/onap/policy/clamp/clds/config/AafConfiguration.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/src/main/java/org/onap/policy/clamp/clds/config/AafConfiguration.java b/runtime/src/main/java/org/onap/policy/clamp/clds/config/AafConfiguration.java
index 720a3f995..e8502b72a 100644
--- a/runtime/src/main/java/org/onap/policy/clamp/clds/config/AafConfiguration.java
+++ b/runtime/src/main/java/org/onap/policy/clamp/clds/config/AafConfiguration.java
@@ -4,6 +4,7 @@
* ================================================================================
* Copyright (C) 2017-2018, 2021 AT&T Intellectual Property. All rights
* reserved.
+ * Modified Copyright (C) 2022 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -60,6 +61,7 @@ public class AafConfiguration {
registration.addUrlPatterns("/restservices/clds/v2/policyToscaModels/*");
registration.addUrlPatterns("/restservices/clds/v2/policies/*");
registration.addUrlPatterns("/restservices/clds/v2/loop/*");
+ registration.addUrlPatterns("/restservices/clds/v2/toscaControlLoop/*");
registration.setName("cadiFilter");
registration.setOrder(0);
return registration;