commit | e54e656ce881207d6e0fae759dffc4f0dd38f979 | [log] [tgz] |
---|---|---|
author | Liam Fallon <liam.fallon@est.tech> | Fri Mar 04 14:44:21 2022 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Fri Mar 04 14:44:21 2022 +0000 |
tree | a3f062f18c98ab10b5d9a7c4f6fd929563a0877f | |
parent | 1bb84ec45c0c066652d31762fa2f1805175fa611 [diff] | |
parent | 9d0262410b833d25b14a3c8afde75be98aa15c3f [diff] |
Merge "Enable console logging in policy-gui"
diff --git a/gui-server/src/main/java/org/onap/policy/gui/server/rest/ApexEditorRestController.java b/gui-server/src/main/java/org/onap/policy/gui/server/rest/ApexEditorRestController.java index a4b92ef..3d7b49f 100644 --- a/gui-server/src/main/java/org/onap/policy/gui/server/rest/ApexEditorRestController.java +++ b/gui-server/src/main/java/org/onap/policy/gui/server/rest/ApexEditorRestController.java
@@ -33,6 +33,7 @@ /** * Strip /apex-editor prefix from Apex Editor rest calls. */ + @SuppressWarnings("java:S3752") // Suppress warning about RequestMapping without HTTP method. @RequestMapping("/**") public ModelAndView forwardApexEditorRest(ModelMap model, HttpServletRequest request) { String targetUrl = request.getRequestURI().replaceFirst("^/apex-editor", "");
diff --git a/gui-server/src/main/java/org/onap/policy/gui/server/rest/ClampRestController.java b/gui-server/src/main/java/org/onap/policy/gui/server/rest/ClampRestController.java index 1975f37..b13003c 100644 --- a/gui-server/src/main/java/org/onap/policy/gui/server/rest/ClampRestController.java +++ b/gui-server/src/main/java/org/onap/policy/gui/server/rest/ClampRestController.java
@@ -51,6 +51,7 @@ /** * Proxy rest calls to clamp backend. */ + @SuppressWarnings("java:S3752") // Suppress warning about RequestMapping without HTTP method. @RequestMapping("/**") public ResponseEntity<String> mirrorRest(@RequestBody(required = false) String body, @RequestHeader HttpHeaders headers,