From b369f78cc4c558b94d1192f8774ce5bb044f2cf0 Mon Sep 17 00:00:00 2001 From: RehanRaza Date: Fri, 29 Jan 2021 13:26:00 +0100 Subject: Upgrade springfox version to fix security issues Change-Id: I71b340cb63f3ea6f8814638517ad4482ed30c662 Issue-ID: CCSDK-3108 Signed-off-by: RehanRaza --- .../org/onap/ccsdk/oran/a1policymanagementservice/SwaggerConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'a1-policy-management/src/main/java') diff --git a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/SwaggerConfig.java b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/SwaggerConfig.java index 61c03ba8..1197cc35 100644 --- a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/SwaggerConfig.java +++ b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/SwaggerConfig.java @@ -82,9 +82,9 @@ public class SwaggerConfig extends WebMvcConfigurationSupport { .select() // .apis(RequestHandlerSelectors.any()) // .paths(PathSelectors.any()) // - .paths(Predicates.not(PathSelectors.regex("/error"))) // + .paths(PathSelectors.regex("/error").negate()) // // this endpoint is not implemented, but was visible for Swagger - .paths(Predicates.not(PathSelectors.regex("/actuator.*"))) // + .paths(PathSelectors.regex("/actuator.*").negate()) // // this endpoint is implemented by spring framework, exclude for now .build(); } -- cgit 1.2.3-korg