Added activeMQ listeners to provisioner, and reordered initialization calls:
authormyrle-krantz <mkrantz@mifos.org>
Fri, 2 Jun 2017 20:01:14 +0000 (22:01 +0200)
committermyrle-krantz <mkrantz@mifos.org>
Fri, 2 Jun 2017 20:01:14 +0000 (22:01 +0200)
commitd7b6cf9225698681eeeb6c9d40840a62cb17758a
tree65bfa0c29db9a2b4fede1ea330904c3052d886c5
parentbf97a4a98bc1c5ced4771e6f1ead32e44c96ead9
Added activeMQ listeners to provisioner, and reordered initialization calls:
Now the permittable groups are passed to identity before further initialization, and the listeners are used to ensure that that's complete before proceeding to further initialize.
15 files changed:
api/src/test/java/io/mifos/provisioner/api/v1/domain/ApplicationTest.java
api/src/test/java/io/mifos/provisioner/api/v1/domain/AssignedApplicationTest.java
api/src/test/java/io/mifos/provisioner/api/v1/domain/TenantTest.java
component-test/src/main/java/io/mifos/provisioner/AbstractServiceTest.java
component-test/src/main/java/io/mifos/provisioner/tenant/TestTenantApplicationAssignment.java
service/build.gradle
service/src/main/java/io/mifos/provisioner/config/ProvisionerActiveMQProperties.java [new file with mode: 0644]
service/src/main/java/io/mifos/provisioner/config/ProvisionerServiceConfig.java
service/src/main/java/io/mifos/provisioner/internal/listener/EventExpectation.java [new file with mode: 0644]
service/src/main/java/io/mifos/provisioner/internal/listener/EventKey.java [new file with mode: 0644]
service/src/main/java/io/mifos/provisioner/internal/listener/IdentityListener.java [new file with mode: 0644]
service/src/main/java/io/mifos/provisioner/internal/service/TenantApplicationService.java
service/src/main/java/io/mifos/provisioner/internal/service/applications/IdentityServiceInitializer.java
service/src/test/java/io/mifos/provisioner/internal/service/applications/IdentityServiceInitializerTest.java
shared.gradle