summaryrefslogtreecommitdiffstats
path: root/a1-policy-management/src/main/java
diff options
context:
space:
mode:
authorRehanRaza <muhammad.rehan.raza@est.tech>2021-01-29 13:26:00 +0100
committerRehanRaza <muhammad.rehan.raza@est.tech>2021-01-29 17:57:07 +0100
commitb369f78cc4c558b94d1192f8774ce5bb044f2cf0 (patch)
treee3e55e82873325b3527ba12ae2abf8959893da0d /a1-policy-management/src/main/java
parent81a18aa2833064448a66013b8842dbfffc73c056 (diff)
Upgrade springfox version to fix security issues
Change-Id: I71b340cb63f3ea6f8814638517ad4482ed30c662 Issue-ID: CCSDK-3108 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
Diffstat (limited to 'a1-policy-management/src/main/java')
-rw-r--r--a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/SwaggerConfig.java4
1 files changed, 2 insertions, 2 deletions
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();
}