From b7b7064d7f1824bc0b573d4477a5a2c19ad8c44b Mon Sep 17 00:00:00 2001 From: "saul.gill" Date: Thu, 27 Jan 2022 13:30:01 +0000 Subject: 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 --- .../main/java/org/onap/policy/clamp/clds/config/AafConfiguration.java | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit 1.2.3-korg