Implement Sonar Nexus REST interface directly 85/44385/1
authorliamfallon <liam.fallon@ericsson.com>
Tue, 24 Apr 2018 14:29:41 +0000 (15:29 +0100)
committerliamfallon <liam.fallon@ericsson.com>
Tue, 24 Apr 2018 14:32:06 +0000 (15:32 +0100)
commit30b44d3e752d44f8f870594a05464c9e1c5158b6
treef6f1f1f76650dbde5c8416594d3ee36ab7734155
parentab8bc20cabdbdd104a69da321d69d49662e53b92
Implement Sonar Nexus REST interface directly

The BRMS gateway used the obsolete nexus-rest-client-java library
to query the Nexus repository. This change removes that dependency and
implements an interface directly to Nexus servers using the Nexus
REST interface.

This change is being submitted to ensure that the security issues with the
plugin are resolved. The unit test for the new code will be implemented
in a later submission.

Issue-ID: POLICY-700
Change-Id: Ia1044e432d370034fe13f42cf7ed55d75e21187a
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
BRMSGateway/pom.xml
BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java
BRMSGateway/src/main/java/org/onap/policy/brms/api/nexus/NexusRestSearchParameters.java [new file with mode: 0644]
BRMSGateway/src/main/java/org/onap/policy/brms/api/nexus/NexusRestWrapper.java [new file with mode: 0644]
BRMSGateway/src/main/java/org/onap/policy/brms/api/nexus/NexusRestWrapperException.java [new file with mode: 0644]
BRMSGateway/src/main/java/org/onap/policy/brms/api/nexus/pojo/NexusArtifact.java [new file with mode: 0644]
BRMSGateway/src/main/java/org/onap/policy/brms/api/nexus/pojo/NexusArtifactHit.java [new file with mode: 0644]
BRMSGateway/src/main/java/org/onap/policy/brms/api/nexus/pojo/NexusArtifactLink.java [new file with mode: 0644]
BRMSGateway/src/main/java/org/onap/policy/brms/api/nexus/pojo/NexusRepository.java [new file with mode: 0644]
BRMSGateway/src/main/java/org/onap/policy/brms/api/nexus/pojo/NexusSearchResult.java [new file with mode: 0644]
BRMSGateway/src/test/java/org/onap/policy/brms/api/nexus/NexusRestWrapperTest.java [new file with mode: 0644]