Add local side REST API and fixes security config 39/1139/1
authorSerban Jora <sj2381@att.com>
Wed, 28 Feb 2018 21:18:59 +0000 (16:18 -0500)
committerSerban Jora <sj2381@att.com>
Wed, 28 Feb 2018 21:19:12 +0000 (16:19 -0500)
commitac9182fa83d49c5fb7896e1bf359757d9c038f69
tree7b4c9d8f54e0b4cf946b546bb50bb2063e4a4d19
parentf1c66246d3dcfa15ccbe0f93e3a607c25320b8d1
Add local side REST API and fixes security config

Also new work on unit tests

Change-Id: Idaf563d58dff963689c9d3e5689c4c47d43e923b
Signed-off-by: Serban Jora <sj2381@att.com>
Issue-ID: ACUMOS-276
22 files changed:
gateway/src/main/java/org/acumos/federation/gateway/adapter/PeerGateway.java
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/config/FederationConfiguration.java
gateway/src/main/java/org/acumos/federation/gateway/config/GatewayConfiguration.java
gateway/src/main/java/org/acumos/federation/gateway/config/RegistrationCondition.java [new file with mode: 0644]
gateway/src/main/java/org/acumos/federation/gateway/controller/CatalogController.java
gateway/src/main/java/org/acumos/federation/gateway/controller/PeerPeersController.java [new file with mode: 0644]
gateway/src/main/java/org/acumos/federation/gateway/controller/PeerRegistrationController.java [new file with mode: 0644]
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/Peer.java
gateway/src/main/java/org/acumos/federation/gateway/security/Priviledge.java
gateway/src/main/java/org/acumos/federation/gateway/security/Role.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/PeerSubscriptionServiceImpl.java
gateway/src/main/resources/logback.xml
gateway/src/test/java/org/acumos/federation/gateway/test/AuthorizationTest.java [new file with mode: 0644]
gateway/src/test/java/org/acumos/federation/gateway/test/ControllerTest.java
gateway/src/test/resources/acumosc.pkcs12 [new file with mode: 0644]
gateway/src/test/resources/docker-compose.yml