Support common-dataservice 2.2.x 15/4115/5
authorAndrew Gauld <agauld@att.com>
Wed, 27 Mar 2019 13:20:09 +0000 (13:20 +0000)
committerAndrew Gauld <agauld@att.com>
Tue, 16 Apr 2019 13:35:39 +0000 (13:35 +0000)
commit871b824054f57e96a04cab44b8d51e28f428741c
treeeda4ff6a696d8ea5c12aed937d2aaeb4e7e4ecf1
parente969b63d345bcd00717ba28c20153d8f125cde8e
Support common-dataservice 2.2.x

Also fix all Sonar vulnerability warnings and many Sonar code smells

Change-Id: Ia5d362ecd15c9056a2199b812b19dcc3ca3c2bfc
Issue-ID: ACUMOS-2732
Signed-off-by: Andrew Gauld <agauld@att.com>
101 files changed:
docs/config.rst
docs/developer-guide.rst
docs/release-notes.rst
docs/selectors.rst
gateway/pom.xml
gateway/src/main/java/org/acumos/federation/gateway/adapter/PeerGateway.java
gateway/src/main/java/org/acumos/federation/gateway/adapter/onap/ONAP.java
gateway/src/main/java/org/acumos/federation/gateway/adapter/onap/sdc/ASDC.java
gateway/src/main/java/org/acumos/federation/gateway/cds/AccessType.java [deleted file]
gateway/src/main/java/org/acumos/federation/gateway/cds/Catalog.java
gateway/src/main/java/org/acumos/federation/gateway/cds/CodeNames.java
gateway/src/main/java/org/acumos/federation/gateway/cds/Mapper.java
gateway/src/main/java/org/acumos/federation/gateway/cds/PeerSubscription.java
gateway/src/main/java/org/acumos/federation/gateway/cds/Reference.java
gateway/src/main/java/org/acumos/federation/gateway/cds/RevCatDescription.java [moved from gateway/src/main/java/org/acumos/federation/gateway/cds/RevisionDescription.java with 78% similarity]
gateway/src/main/java/org/acumos/federation/gateway/cds/Solution.java
gateway/src/main/java/org/acumos/federation/gateway/cds/SolutionRevision.java
gateway/src/main/java/org/acumos/federation/gateway/cds/SolutionRevisionBuilder.java
gateway/src/main/java/org/acumos/federation/gateway/cds/SubscriptionScope.java [deleted file]
gateway/src/main/java/org/acumos/federation/gateway/cds/ValidationStatus.java [deleted file]
gateway/src/main/java/org/acumos/federation/gateway/common/API.java
gateway/src/main/java/org/acumos/federation/gateway/common/FederationClient.java
gateway/src/main/java/org/acumos/federation/gateway/common/JsonResponse.java
gateway/src/main/java/org/acumos/federation/gateway/config/DockerConfiguration.java
gateway/src/main/java/org/acumos/federation/gateway/config/FederationConfiguration.java
gateway/src/main/java/org/acumos/federation/gateway/config/InterfaceConfiguration.java
gateway/src/main/java/org/acumos/federation/gateway/config/LocalConfiguration.java
gateway/src/main/java/org/acumos/federation/gateway/controller/AbstractController.java
gateway/src/main/java/org/acumos/federation/gateway/controller/CatalogController.java
gateway/src/main/java/org/acumos/federation/gateway/controller/ControllerContext.java
gateway/src/main/java/org/acumos/federation/gateway/controller/PeerCatalogController.java
gateway/src/main/java/org/acumos/federation/gateway/controller/PeerPeersController.java
gateway/src/main/java/org/acumos/federation/gateway/controller/PeerPingController.java
gateway/src/main/java/org/acumos/federation/gateway/controller/PeerRegistrationController.java
gateway/src/main/java/org/acumos/federation/gateway/controller/PeerSubscriptionController.java
gateway/src/main/java/org/acumos/federation/gateway/controller/PeersController.java
gateway/src/main/java/org/acumos/federation/gateway/controller/PingController.java
gateway/src/main/java/org/acumos/federation/gateway/controller/RegistrationController.java
gateway/src/main/java/org/acumos/federation/gateway/security/AuthenticationConfiguration.java
gateway/src/main/java/org/acumos/federation/gateway/security/FederationMethodSecurityConfiguration.java
gateway/src/main/java/org/acumos/federation/gateway/security/FederationMethodSecurityExpressionRoot.java
gateway/src/main/java/org/acumos/federation/gateway/security/Tools.java
gateway/src/main/java/org/acumos/federation/gateway/service/CatalogService.java
gateway/src/main/java/org/acumos/federation/gateway/service/CatalogServiceConfiguration.java
gateway/src/main/java/org/acumos/federation/gateway/service/ContentService.java
gateway/src/main/java/org/acumos/federation/gateway/service/LocalWatchService.java
gateway/src/main/java/org/acumos/federation/gateway/service/PeerService.java
gateway/src/main/java/org/acumos/federation/gateway/service/ServiceContext.java
gateway/src/main/java/org/acumos/federation/gateway/service/impl/CatalogServiceImpl.java
gateway/src/main/java/org/acumos/federation/gateway/service/impl/CatalogServiceLocalImpl.java
gateway/src/main/java/org/acumos/federation/gateway/service/impl/CodeNamesServiceLocalImpl.java
gateway/src/main/java/org/acumos/federation/gateway/service/impl/ContentServiceImpl.java
gateway/src/main/java/org/acumos/federation/gateway/service/impl/ContentServiceLocalImpl.java
gateway/src/main/java/org/acumos/federation/gateway/service/impl/PeerServiceImpl.java
gateway/src/main/java/org/acumos/federation/gateway/service/impl/PeerServiceLocalImpl.java
gateway/src/main/java/org/acumos/federation/gateway/service/impl/ServiceImpl.java [deleted file]
gateway/src/main/java/org/acumos/federation/gateway/task/PeerSubscriptionTaskScheduler.java
gateway/src/main/java/org/acumos/federation/gateway/util/Action.java [deleted file]
gateway/src/main/java/org/acumos/federation/gateway/util/Future.java [deleted file]
gateway/src/main/java/org/acumos/federation/gateway/util/FutureHandler.java [deleted file]
gateway/src/main/java/org/acumos/federation/gateway/util/Futures.java [deleted file]
gateway/src/main/java/org/acumos/federation/gateway/util/JSONHttpMessageConverter.java
gateway/src/main/java/org/acumos/federation/gateway/util/ListBuilder.java [deleted file]
gateway/src/main/java/org/acumos/federation/gateway/util/MapBuilder.java [deleted file]
gateway/src/test/java/org/acumos/federation/gateway/test/AsdcTest.java
gateway/src/test/java/org/acumos/federation/gateway/test/AuthorizationTest.java
gateway/src/test/java/org/acumos/federation/gateway/test/CatalogServiceTest.java
gateway/src/test/java/org/acumos/federation/gateway/test/CdsTest.java
gateway/src/test/java/org/acumos/federation/gateway/test/ContentServiceTest.java
gateway/src/test/java/org/acumos/federation/gateway/test/ControllerTest.java
gateway/src/test/java/org/acumos/federation/gateway/test/LocalControllerTest.java
gateway/src/test/java/org/acumos/federation/gateway/test/PeerGatewayTest.java
gateway/src/test/java/org/acumos/federation/gateway/test/TestAdapter.java
gateway/src/test/java/org/acumos/federation/gateway/test/TestTemplates.java [new file with mode: 0644]
gateway/src/test/java/org/acumos/federation/gateway/test/UtilsTest.java
gateway/src/test/resources/acumosa-catalog.json
gateway/src/test/resources/acumosb-catalog.json
gateway/src/test/resources/mockCDSAddCatalogSolutionResponse.json [new file with mode: 0644]
gateway/src/test/resources/mockCDSAllowedResponse.json [new file with mode: 0644]
gateway/src/test/resources/mockCDSCreateCatalogResponse.json [new file with mode: 0644]
gateway/src/test/resources/mockCDSCreateRevisionDescriptionResponse.json
gateway/src/test/resources/mockCDSCreateSolutionRevisionResponse.json
gateway/src/test/resources/mockCDSForbiddenResponse.json [new file with mode: 0644]
gateway/src/test/resources/mockCDSForbiddenSolutionRevisionResponse.json [new file with mode: 0644]
gateway/src/test/resources/mockCDSNoSuchThingResponse.json [moved from gateway/src/test/resources/mockCDSNoSuchSolutionResponse.json with 100% similarity]
gateway/src/test/resources/mockCDSPeerSubscriptionResponse.json
gateway/src/test/resources/mockCDSPeerSubscriptionsResponse.json
gateway/src/test/resources/mockCDSPortalCatalogsResponse.json
gateway/src/test/resources/mockCDSPortalGetCatalogResponse.json [new file with mode: 0644]
gateway/src/test/resources/mockCDSPortalNoSolutionsResponse.json [new file with mode: 0644]
gateway/src/test/resources/mockCDSPortalPeerAccessCatalogIdsResponse.json [new file with mode: 0644]
gateway/src/test/resources/mockCDSPortalSolutionCountResponse.json [new file with mode: 0644]
gateway/src/test/resources/mockCDSSolutionRevisionDescriptionResponse.json
gateway/src/test/resources/mockCDSSolutionRevisionResponse.json
gateway/src/test/resources/mockCDSSolutionRevisionsResponse.json
gateway/src/test/resources/mockPeerGWCatalogsResponse.json [new file with mode: 0644]
gateway/src/test/resources/mockPeerSolutionResponse.json
gateway/src/test/resources/mockPeerSolutionRevisionResponse.json
gateway/src/test/resources/mockPeerSolutionRevisionsResponse.json
gateway/src/test/resources/task-test-catalog.json
gateway/src/test/resources/test-catalog.json