Fix sonar security issues in policy-gui

Suppress warnings regarding use of @RequestMapping without HTTP method.
It is intentional that these proxy methods handle all requests.

Issue-ID: POLICY-3638
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I79ce6ef994fcbac17d5d8226eedfd98885e2cdbf
2 files changed
tree: c5b8e1fdb57d2192cec3f2c120b24a1cbc3ceba4
  1. gui-clamp/
  2. gui-common/
  3. gui-editors/
  4. gui-server/
  5. packages/
  6. releases/
  7. .gitignore
  8. .gitreview
  9. INFO.yaml
  10. LICENSE.txt
  11. pom.xml
  12. README.md
  13. version.properties
README.md

Summary

Copyright 2017-2018 AT&T Intellectual Property. All rights reserved. Copyright (C) 2021-2022 Nordix Foundation. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode

This source repository contains the ONAP Policy GUI code.

To build it using Maven 3, run: mvn clean install -P docker

Docker image

Maven produces a single docker image containing the policy GUIs. These are exposed on the same port (2443) using different URLs:

Building

You can use the following command to build the policy-gui docker image:

mvn clean install -P docker

Running

The gui-server module contains a server that hosts the GUIs. There are helper scripts for running the gui-server JAR and Docker image. They may be found under gui/gui-server/extra/bin-for-dev/

These scripts assume the clamp backend is running at https://localhost:8443

Client Credentials

For integration with AAF, gui-server requests client SSL cert.

A certificate must be added in the browser and is required to log in properly:

org.onap.clamp.p12 (from clamp master) (Password: "China in the Spring")

See onap/clamp repo README for details.