From 84792e755fccb8e8893d330d24ad4bcfff8000a5 Mon Sep 17 00:00:00 2001 From: Myrle Krantz Date: Mon, 16 Apr 2018 15:30:52 +0200 Subject: [PATCH] Adjusting to package name changes in upstream repositories. --- .../java/io/mifos/dev/ApplicationBuilder.java | 2 +- src/main/java/io/mifos/dev/ServiceRunner.java | 136 +++++++++--------- src/main/java/io/mifos/dev/TenantBuilder.java | 12 +- .../dev/listener/AccountingListener.java | 6 +- .../mifos/dev/listener/ChequesListener.java | 6 +- .../mifos/dev/listener/CustomerListener.java | 6 +- .../DepositAccountManagementListener.java | 6 +- .../io/mifos/dev/listener/GroupListener.java | 6 +- .../mifos/dev/listener/IdentityListener.java | 12 +- .../dev/listener/OrganizationListener.java | 6 +- .../mifos/dev/listener/PayrollListener.java | 6 +- .../mifos/dev/listener/PortfolioListener.java | 6 +- .../mifos/dev/listener/ReportingListener.java | 6 +- .../io/mifos/dev/listener/RhythmListener.java | 8 +- .../io/mifos/dev/listener/TellerListener.java | 6 +- 15 files changed, 115 insertions(+), 115 deletions(-) diff --git a/src/main/java/io/mifos/dev/ApplicationBuilder.java b/src/main/java/io/mifos/dev/ApplicationBuilder.java index b60e302..5bf65ee 100644 --- a/src/main/java/io/mifos/dev/ApplicationBuilder.java +++ b/src/main/java/io/mifos/dev/ApplicationBuilder.java @@ -18,7 +18,7 @@ */ package io.mifos.dev; -import io.mifos.provisioner.api.v1.domain.Application; +import org.apache.fineract.cn.provisioner.api.v1.domain.Application; class ApplicationBuilder { diff --git a/src/main/java/io/mifos/dev/ServiceRunner.java b/src/main/java/io/mifos/dev/ServiceRunner.java index 7d550ed..1ae7709 100644 --- a/src/main/java/io/mifos/dev/ServiceRunner.java +++ b/src/main/java/io/mifos/dev/ServiceRunner.java @@ -20,46 +20,46 @@ import ch.vorburger.mariadb4j.DB; import ch.vorburger.mariadb4j.DBConfigurationBuilder; -import io.mifos.accounting.api.v1.client.LedgerManager; -import io.mifos.accounting.importer.AccountImporter; -import io.mifos.accounting.importer.LedgerImporter; -import io.mifos.anubis.api.v1.domain.AllowedOperation; -import io.mifos.cheque.api.v1.client.ChequeManager; -import io.mifos.core.api.config.EnableApiFactory; -import io.mifos.core.api.context.AutoGuest; -import io.mifos.core.api.context.AutoSeshat; -import io.mifos.core.api.context.AutoUserContext; -import io.mifos.core.api.util.ApiConstants; -import io.mifos.core.api.util.ApiFactory; -import io.mifos.core.cassandra.util.CassandraConnectorConstants; -import io.mifos.core.lang.AutoTenantContext; -import io.mifos.core.mariadb.util.MariaDBConstants; -import io.mifos.core.test.env.ExtraProperties; -import io.mifos.core.test.listener.EnableEventRecording; -import io.mifos.core.test.listener.EventRecorder; -import io.mifos.core.test.servicestarter.ActiveMQForTest; -import io.mifos.core.test.servicestarter.EurekaForTest; -import io.mifos.core.test.servicestarter.IntegrationTestEnvironment; -import io.mifos.core.test.servicestarter.Microservice; -import io.mifos.customer.api.v1.CustomerEventConstants; -import io.mifos.customer.api.v1.client.CustomerManager; -import io.mifos.deposit.api.v1.client.DepositAccountManager; -import io.mifos.group.api.v1.client.GroupManager; -import io.mifos.identity.api.v1.client.IdentityManager; -import io.mifos.identity.api.v1.domain.*; -import io.mifos.identity.api.v1.events.ApplicationPermissionEvent; -import io.mifos.identity.api.v1.events.ApplicationPermissionUserEvent; -import io.mifos.identity.api.v1.events.ApplicationSignatureEvent; -import io.mifos.identity.api.v1.events.EventConstants; -import io.mifos.office.api.v1.client.OrganizationManager; -import io.mifos.payroll.api.v1.client.PayrollManager; -import io.mifos.portfolio.api.v1.client.PortfolioManager; -import io.mifos.provisioner.api.v1.client.Provisioner; -import io.mifos.provisioner.api.v1.domain.*; -import io.mifos.reporting.api.v1.client.ReportManager; -import io.mifos.rhythm.api.v1.client.RhythmManager; -import io.mifos.rhythm.api.v1.events.BeatEvent; -import io.mifos.teller.api.v1.client.TellerManager; +import org.apache.fineract.cn.accounting.api.v1.client.LedgerManager; +import org.apache.fineract.cn.accounting.importer.AccountImporter; +import org.apache.fineract.cn.accounting.importer.LedgerImporter; +import org.apache.fineract.cn.anubis.api.v1.domain.AllowedOperation; +import org.apache.fineract.cn.cheque.api.v1.client.ChequeManager; +import org.apache.fineract.cn.cassandra.util.CassandraConnectorConstants; +import org.apache.fineract.cn.mariadb.util.MariaDBConstants; +import org.apache.fineract.cn.test.env.ExtraProperties; +import org.apache.fineract.cn.test.listener.EnableEventRecording; +import org.apache.fineract.cn.test.listener.EventRecorder; +import org.apache.fineract.cn.test.servicestarter.ActiveMQForTest; +import org.apache.fineract.cn.test.servicestarter.EurekaForTest; +import org.apache.fineract.cn.test.servicestarter.IntegrationTestEnvironment; +import org.apache.fineract.cn.test.servicestarter.Microservice; +import org.apache.fineract.cn.customer.api.v1.CustomerEventConstants; +import org.apache.fineract.cn.customer.api.v1.client.CustomerManager; +import org.apache.fineract.cn.deposit.api.v1.client.DepositAccountManager; +import org.apache.fineract.cn.group.api.v1.client.GroupManager; +import org.apache.fineract.cn.identity.api.v1.client.IdentityManager; +import org.apache.fineract.cn.identity.api.v1.domain.*; +import org.apache.fineract.cn.identity.api.v1.events.ApplicationPermissionEvent; +import org.apache.fineract.cn.identity.api.v1.events.ApplicationPermissionUserEvent; +import org.apache.fineract.cn.identity.api.v1.events.ApplicationSignatureEvent; +import org.apache.fineract.cn.identity.api.v1.events.EventConstants; +import org.apache.fineract.cn.office.api.v1.client.OrganizationManager; +import org.apache.fineract.cn.payroll.api.v1.client.PayrollManager; +import org.apache.fineract.cn.portfolio.api.v1.client.PortfolioManager; +import org.apache.fineract.cn.provisioner.api.v1.client.Provisioner; +import org.apache.fineract.cn.provisioner.api.v1.domain.*; +import org.apache.fineract.cn.reporting.api.v1.client.ReportManager; +import org.apache.fineract.cn.rhythm.api.v1.client.RhythmManager; +import org.apache.fineract.cn.rhythm.api.v1.events.BeatEvent; +import org.apache.fineract.cn.teller.api.v1.client.TellerManager; +import org.apache.fineract.cn.api.config.EnableApiFactory; +import org.apache.fineract.cn.api.context.AutoGuest; +import org.apache.fineract.cn.api.context.AutoSeshat; +import org.apache.fineract.cn.api.context.AutoUserContext; +import org.apache.fineract.cn.api.util.ApiConstants; +import org.apache.fineract.cn.api.util.ApiFactory; +import org.apache.fineract.cn.lang.AutoTenantContext; import org.cassandraunit.utils.EmbeddedCassandraServerHelper; import org.eclipse.aether.resolution.ArtifactResolutionException; import org.junit.*; @@ -85,8 +85,8 @@ import java.util.Scanner; import java.util.concurrent.TimeUnit; -import static io.mifos.accounting.api.v1.EventConstants.POST_ACCOUNT; -import static io.mifos.accounting.api.v1.EventConstants.POST_LEDGER; +import static org.apache.fineract.cn.accounting.api.v1.EventConstants.POST_ACCOUNT; +import static org.apache.fineract.cn.accounting.api.v1.EventConstants.POST_LEDGER; @SuppressWarnings("SpringAutowiredFieldsWarningInspection") @RunWith(SpringRunner.class) @@ -390,9 +390,9 @@ private String provisionAppsViaSeshatForTenant(final Tenant tenant) throws Inter //the request is made outside of rhythm's initialization. final UserWithPassword schedulerUser = createSchedulerUserRoleAndPassword(tenantAdminPassword.getAdminPassword()); - provisionApp(tenant, rhythmManager, io.mifos.rhythm.api.v1.events.EventConstants.INITIALIZE); + provisionApp(tenant, rhythmManager, org.apache.fineract.cn.rhythm.api.v1.events.EventConstants.INITIALIZE); - Assert.assertTrue(this.eventRecorder.wait(EventConstants.OPERATION_POST_APPLICATION_PERMISSION, new ApplicationPermissionEvent(rhythmManager.name(), io.mifos.identity.api.v1.PermittableGroupIds.APPLICATION_SELF_MANAGEMENT))); + Assert.assertTrue(this.eventRecorder.wait(EventConstants.OPERATION_POST_APPLICATION_PERMISSION, new ApplicationPermissionEvent(rhythmManager.name(), org.apache.fineract.cn.identity.api.v1.PermittableGroupIds.APPLICATION_SELF_MANAGEMENT))); final Authentication schedulerUserAuthentication; try (final AutoGuest ignored2 = new AutoGuest()) { @@ -403,24 +403,24 @@ private String provisionAppsViaSeshatForTenant(final Tenant tenant) throws Inter try (final AutoUserContext ignored2 = new AutoUserContext(schedulerUser.getIdentifier(), schedulerUserAuthentication.getAccessToken())) { identityManager.api().setApplicationPermissionEnabledForUser( rhythmManager.name(), - io.mifos.identity.api.v1.PermittableGroupIds.APPLICATION_SELF_MANAGEMENT, + org.apache.fineract.cn.identity.api.v1.PermittableGroupIds.APPLICATION_SELF_MANAGEMENT, schedulerUser.getIdentifier(), true); - Assert.assertTrue(this.eventRecorder.wait(EventConstants.OPERATION_PUT_APPLICATION_PERMISSION_USER_ENABLED, new ApplicationPermissionUserEvent(rhythmManager.name(), io.mifos.identity.api.v1.PermittableGroupIds.APPLICATION_SELF_MANAGEMENT, schedulerUser.getIdentifier()))); + Assert.assertTrue(this.eventRecorder.wait(EventConstants.OPERATION_PUT_APPLICATION_PERMISSION_USER_ENABLED, new ApplicationPermissionUserEvent(rhythmManager.name(), org.apache.fineract.cn.identity.api.v1.PermittableGroupIds.APPLICATION_SELF_MANAGEMENT, schedulerUser.getIdentifier()))); } - provisionApp(tenant, ServiceRunner.organizationManager, io.mifos.office.api.v1.EventConstants.INITIALIZE); + provisionApp(tenant, ServiceRunner.organizationManager, org.apache.fineract.cn.office.api.v1.EventConstants.INITIALIZE); - provisionApp(tenant, ledgerManager, io.mifos.accounting.api.v1.EventConstants.INITIALIZE); + provisionApp(tenant, ledgerManager, org.apache.fineract.cn.accounting.api.v1.EventConstants.INITIALIZE); - provisionApp(tenant, portfolioManager, io.mifos.portfolio.api.v1.events.EventConstants.INITIALIZE); + provisionApp(tenant, portfolioManager, org.apache.fineract.cn.portfolio.api.v1.events.EventConstants.INITIALIZE); Assert.assertTrue(this.eventRecorder.wait(EventConstants.OPERATION_POST_PERMITTABLE_GROUP, - io.mifos.rhythm.spi.v1.PermittableGroupIds.forApplication(portfolioManager.name()))); + org.apache.fineract.cn.rhythm.spi.v1.PermittableGroupIds.forApplication(portfolioManager.name()))); for (int i = 0; i < 24; i++) { Assert.assertTrue("Beat #" + i, - eventRecorder.wait(io.mifos.rhythm.api.v1.events.EventConstants.POST_BEAT, + eventRecorder.wait(org.apache.fineract.cn.rhythm.api.v1.events.EventConstants.POST_BEAT, new BeatEvent(portfolioManager.name(), "alignment" + i))); } @@ -433,27 +433,27 @@ private String provisionAppsViaSeshatForTenant(final Tenant tenant) throws Inter //Allow rhythm to send a beat to portfolio as the scheduler user. identityManager.api().setApplicationPermissionEnabledForUser( rhythmManager.name(), - io.mifos.rhythm.spi.v1.PermittableGroupIds.forApplication(portfolioManager.name()), + org.apache.fineract.cn.rhythm.spi.v1.PermittableGroupIds.forApplication(portfolioManager.name()), schedulerUser.getIdentifier(), true); Assert.assertTrue(this.eventRecorder.wait(EventConstants.OPERATION_PUT_APPLICATION_PERMISSION_USER_ENABLED, new ApplicationPermissionUserEvent(rhythmManager.name(), - io.mifos.rhythm.spi.v1.PermittableGroupIds.forApplication(portfolioManager.name()), schedulerUser.getIdentifier()))); + org.apache.fineract.cn.rhythm.spi.v1.PermittableGroupIds.forApplication(portfolioManager.name()), schedulerUser.getIdentifier()))); } provisionApp(tenant, ServiceRunner.customerManager, CustomerEventConstants.INITIALIZE); - provisionApp(tenant, depositAccountManager, io.mifos.deposit.api.v1.EventConstants.INITIALIZE); + provisionApp(tenant, depositAccountManager, org.apache.fineract.cn.deposit.api.v1.EventConstants.INITIALIZE); - provisionApp(tenant, ServiceRunner.tellerManager, io.mifos.teller.api.v1.EventConstants.INITIALIZE); + provisionApp(tenant, ServiceRunner.tellerManager, org.apache.fineract.cn.teller.api.v1.EventConstants.INITIALIZE); - provisionApp(tenant, ServiceRunner.reportManager, io.mifos.reporting.api.v1.EventConstants.INITIALIZE); + provisionApp(tenant, ServiceRunner.reportManager, org.apache.fineract.cn.reporting.api.v1.EventConstants.INITIALIZE); - provisionApp(tenant, ServiceRunner.chequeManager, io.mifos.cheque.api.v1.EventConstants.INITIALIZE); + provisionApp(tenant, ServiceRunner.chequeManager, org.apache.fineract.cn.cheque.api.v1.EventConstants.INITIALIZE); - provisionApp(tenant, ServiceRunner.payrollManager, io.mifos.payroll.api.v1.EventConstants.INITIALIZE); + provisionApp(tenant, ServiceRunner.payrollManager, org.apache.fineract.cn.payroll.api.v1.EventConstants.INITIALIZE); - provisionApp(tenant, ServiceRunner.groupManager, io.mifos.group.api.v1.EventConstants.INITIALIZE); + provisionApp(tenant, ServiceRunner.groupManager, org.apache.fineract.cn.group.api.v1.EventConstants.INITIALIZE); final UserWithPassword orgAdminUserPassword = createOrgAdminRoleAndUser(tenantAdminPassword.getAdminPassword()); @@ -530,11 +530,11 @@ private UserWithPassword createSchedulerUserRoleAndPassword(String tenantAdminPa private Role defineSchedulerRole() { final Permission permissionRequestionCreationPermission = new Permission(); permissionRequestionCreationPermission.setAllowedOperations(Collections.singleton(AllowedOperation.CHANGE)); - permissionRequestionCreationPermission.setPermittableEndpointGroupIdentifier(io.mifos.identity.api.v1.PermittableGroupIds.APPLICATION_SELF_MANAGEMENT); + permissionRequestionCreationPermission.setPermittableEndpointGroupIdentifier(org.apache.fineract.cn.identity.api.v1.PermittableGroupIds.APPLICATION_SELF_MANAGEMENT); final Permission beatPublishToPortfolioPermission = new Permission(); beatPublishToPortfolioPermission.setAllowedOperations(Collections.singleton(AllowedOperation.CHANGE)); - beatPublishToPortfolioPermission.setPermittableEndpointGroupIdentifier(io.mifos.rhythm.spi.v1.PermittableGroupIds.forApplication(portfolioManager.name())); + beatPublishToPortfolioPermission.setPermittableEndpointGroupIdentifier(org.apache.fineract.cn.rhythm.spi.v1.PermittableGroupIds.forApplication(portfolioManager.name())); final Role role = new Role(); role.setIdentifier("scheduler"); @@ -573,31 +573,31 @@ private UserWithPassword createOrgAdminRoleAndUser(final String tenantAdminPassw private Role defineOrgAdministratorRole() { final Permission employeeAllPermission = new Permission(); employeeAllPermission.setAllowedOperations(AllowedOperation.ALL); - employeeAllPermission.setPermittableEndpointGroupIdentifier(io.mifos.office.api.v1.PermittableGroupIds.EMPLOYEE_MANAGEMENT); + employeeAllPermission.setPermittableEndpointGroupIdentifier(org.apache.fineract.cn.office.api.v1.PermittableGroupIds.EMPLOYEE_MANAGEMENT); final Permission officeAllPermission = new Permission(); officeAllPermission.setAllowedOperations(AllowedOperation.ALL); - officeAllPermission.setPermittableEndpointGroupIdentifier(io.mifos.office.api.v1.PermittableGroupIds.OFFICE_MANAGEMENT); + officeAllPermission.setPermittableEndpointGroupIdentifier(org.apache.fineract.cn.office.api.v1.PermittableGroupIds.OFFICE_MANAGEMENT); final Permission userAllPermission = new Permission(); userAllPermission.setAllowedOperations(AllowedOperation.ALL); - userAllPermission.setPermittableEndpointGroupIdentifier(io.mifos.identity.api.v1.PermittableGroupIds.IDENTITY_MANAGEMENT); + userAllPermission.setPermittableEndpointGroupIdentifier(org.apache.fineract.cn.identity.api.v1.PermittableGroupIds.IDENTITY_MANAGEMENT); final Permission roleAllPermission = new Permission(); roleAllPermission.setAllowedOperations(AllowedOperation.ALL); - roleAllPermission.setPermittableEndpointGroupIdentifier(io.mifos.identity.api.v1.PermittableGroupIds.ROLE_MANAGEMENT); + roleAllPermission.setPermittableEndpointGroupIdentifier(org.apache.fineract.cn.identity.api.v1.PermittableGroupIds.ROLE_MANAGEMENT); final Permission selfManagementPermission = new Permission(); selfManagementPermission.setAllowedOperations(AllowedOperation.ALL); - selfManagementPermission.setPermittableEndpointGroupIdentifier(io.mifos.identity.api.v1.PermittableGroupIds.SELF_MANAGEMENT); + selfManagementPermission.setPermittableEndpointGroupIdentifier(org.apache.fineract.cn.identity.api.v1.PermittableGroupIds.SELF_MANAGEMENT); final Permission ledgerManagementPermission = new Permission(); ledgerManagementPermission.setAllowedOperations(AllowedOperation.ALL); - ledgerManagementPermission.setPermittableEndpointGroupIdentifier(io.mifos.accounting.api.v1.PermittableGroupIds.THOTH_LEDGER); + ledgerManagementPermission.setPermittableEndpointGroupIdentifier(org.apache.fineract.cn.accounting.api.v1.PermittableGroupIds.THOTH_LEDGER); final Permission accountManagementPermission = new Permission(); accountManagementPermission.setAllowedOperations(AllowedOperation.ALL); - accountManagementPermission.setPermittableEndpointGroupIdentifier(io.mifos.accounting.api.v1.PermittableGroupIds.THOTH_ACCOUNT); + accountManagementPermission.setPermittableEndpointGroupIdentifier(org.apache.fineract.cn.accounting.api.v1.PermittableGroupIds.THOTH_ACCOUNT); final Role role = new Role(); role.setIdentifier("orgadmin"); diff --git a/src/main/java/io/mifos/dev/TenantBuilder.java b/src/main/java/io/mifos/dev/TenantBuilder.java index aa26635..b6a2351 100644 --- a/src/main/java/io/mifos/dev/TenantBuilder.java +++ b/src/main/java/io/mifos/dev/TenantBuilder.java @@ -18,12 +18,12 @@ */ package io.mifos.dev; -import io.mifos.core.cassandra.util.CassandraConnectorConstants; -import io.mifos.core.mariadb.util.MariaDBConstants; -import io.mifos.core.test.env.TestEnvironment; -import io.mifos.provisioner.api.v1.domain.CassandraConnectionInfo; -import io.mifos.provisioner.api.v1.domain.DatabaseConnectionInfo; -import io.mifos.provisioner.api.v1.domain.Tenant; +import org.apache.fineract.cn.cassandra.util.CassandraConnectorConstants; +import org.apache.fineract.cn.mariadb.util.MariaDBConstants; +import org.apache.fineract.cn.test.env.TestEnvironment; +import org.apache.fineract.cn.provisioner.api.v1.domain.CassandraConnectionInfo; +import org.apache.fineract.cn.provisioner.api.v1.domain.DatabaseConnectionInfo; +import org.apache.fineract.cn.provisioner.api.v1.domain.Tenant; class TenantBuilder { diff --git a/src/main/java/io/mifos/dev/listener/AccountingListener.java b/src/main/java/io/mifos/dev/listener/AccountingListener.java index 4ee4c6a..20c698a 100644 --- a/src/main/java/io/mifos/dev/listener/AccountingListener.java +++ b/src/main/java/io/mifos/dev/listener/AccountingListener.java @@ -18,9 +18,9 @@ */ package io.mifos.dev.listener; -import io.mifos.accounting.api.v1.EventConstants; -import io.mifos.core.lang.config.TenantHeaderFilter; -import io.mifos.core.test.listener.EventRecorder; +import org.apache.fineract.cn.accounting.api.v1.EventConstants; +import org.apache.fineract.cn.test.listener.EventRecorder; +import org.apache.fineract.cn.lang.config.TenantHeaderFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.annotation.JmsListener; import org.springframework.messaging.handler.annotation.Header; diff --git a/src/main/java/io/mifos/dev/listener/ChequesListener.java b/src/main/java/io/mifos/dev/listener/ChequesListener.java index 6417591..773d35c 100644 --- a/src/main/java/io/mifos/dev/listener/ChequesListener.java +++ b/src/main/java/io/mifos/dev/listener/ChequesListener.java @@ -18,9 +18,9 @@ */ package io.mifos.dev.listener; -import io.mifos.cheque.api.v1.EventConstants; -import io.mifos.core.lang.config.TenantHeaderFilter; -import io.mifos.core.test.listener.EventRecorder; +import org.apache.fineract.cn.cheque.api.v1.EventConstants; +import org.apache.fineract.cn.test.listener.EventRecorder; +import org.apache.fineract.cn.lang.config.TenantHeaderFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.annotation.JmsListener; import org.springframework.messaging.handler.annotation.Header; diff --git a/src/main/java/io/mifos/dev/listener/CustomerListener.java b/src/main/java/io/mifos/dev/listener/CustomerListener.java index 54443ef..1129bae 100644 --- a/src/main/java/io/mifos/dev/listener/CustomerListener.java +++ b/src/main/java/io/mifos/dev/listener/CustomerListener.java @@ -18,9 +18,9 @@ */ package io.mifos.dev.listener; -import io.mifos.core.lang.config.TenantHeaderFilter; -import io.mifos.core.test.listener.EventRecorder; -import io.mifos.customer.api.v1.CustomerEventConstants; +import org.apache.fineract.cn.test.listener.EventRecorder; +import org.apache.fineract.cn.customer.api.v1.CustomerEventConstants; +import org.apache.fineract.cn.lang.config.TenantHeaderFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.annotation.JmsListener; import org.springframework.messaging.handler.annotation.Header; diff --git a/src/main/java/io/mifos/dev/listener/DepositAccountManagementListener.java b/src/main/java/io/mifos/dev/listener/DepositAccountManagementListener.java index 2319b71..249037a 100644 --- a/src/main/java/io/mifos/dev/listener/DepositAccountManagementListener.java +++ b/src/main/java/io/mifos/dev/listener/DepositAccountManagementListener.java @@ -18,9 +18,9 @@ */ package io.mifos.dev.listener; -import io.mifos.core.lang.config.TenantHeaderFilter; -import io.mifos.core.test.listener.EventRecorder; -import io.mifos.deposit.api.v1.EventConstants; +import org.apache.fineract.cn.test.listener.EventRecorder; +import org.apache.fineract.cn.deposit.api.v1.EventConstants; +import org.apache.fineract.cn.lang.config.TenantHeaderFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.annotation.JmsListener; import org.springframework.messaging.handler.annotation.Header; diff --git a/src/main/java/io/mifos/dev/listener/GroupListener.java b/src/main/java/io/mifos/dev/listener/GroupListener.java index 3f56ef2..18516bd 100644 --- a/src/main/java/io/mifos/dev/listener/GroupListener.java +++ b/src/main/java/io/mifos/dev/listener/GroupListener.java @@ -18,9 +18,9 @@ */ package io.mifos.dev.listener; -import io.mifos.group.api.v1.EventConstants; -import io.mifos.core.lang.config.TenantHeaderFilter; -import io.mifos.core.test.listener.EventRecorder; +import org.apache.fineract.cn.group.api.v1.EventConstants; +import org.apache.fineract.cn.test.listener.EventRecorder; +import org.apache.fineract.cn.lang.config.TenantHeaderFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.annotation.JmsListener; import org.springframework.messaging.handler.annotation.Header; diff --git a/src/main/java/io/mifos/dev/listener/IdentityListener.java b/src/main/java/io/mifos/dev/listener/IdentityListener.java index dd9881b..f170453 100644 --- a/src/main/java/io/mifos/dev/listener/IdentityListener.java +++ b/src/main/java/io/mifos/dev/listener/IdentityListener.java @@ -18,12 +18,12 @@ */ package io.mifos.dev.listener; -import io.mifos.core.lang.config.TenantHeaderFilter; -import io.mifos.core.test.listener.EventRecorder; -import io.mifos.identity.api.v1.events.ApplicationPermissionEvent; -import io.mifos.identity.api.v1.events.ApplicationPermissionUserEvent; -import io.mifos.identity.api.v1.events.ApplicationSignatureEvent; -import io.mifos.identity.api.v1.events.EventConstants; +import org.apache.fineract.cn.test.listener.EventRecorder; +import org.apache.fineract.cn.identity.api.v1.events.ApplicationPermissionEvent; +import org.apache.fineract.cn.identity.api.v1.events.ApplicationPermissionUserEvent; +import org.apache.fineract.cn.identity.api.v1.events.ApplicationSignatureEvent; +import org.apache.fineract.cn.identity.api.v1.events.EventConstants; +import org.apache.fineract.cn.lang.config.TenantHeaderFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.annotation.JmsListener; import org.springframework.messaging.handler.annotation.Header; diff --git a/src/main/java/io/mifos/dev/listener/OrganizationListener.java b/src/main/java/io/mifos/dev/listener/OrganizationListener.java index 236818b..174e03a 100644 --- a/src/main/java/io/mifos/dev/listener/OrganizationListener.java +++ b/src/main/java/io/mifos/dev/listener/OrganizationListener.java @@ -18,9 +18,9 @@ */ package io.mifos.dev.listener; -import io.mifos.core.lang.config.TenantHeaderFilter; -import io.mifos.core.test.listener.EventRecorder; -import io.mifos.office.api.v1.EventConstants; +import org.apache.fineract.cn.test.listener.EventRecorder; +import org.apache.fineract.cn.office.api.v1.EventConstants; +import org.apache.fineract.cn.lang.config.TenantHeaderFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.annotation.JmsListener; import org.springframework.messaging.handler.annotation.Header; diff --git a/src/main/java/io/mifos/dev/listener/PayrollListener.java b/src/main/java/io/mifos/dev/listener/PayrollListener.java index 8b8285e..5f24372 100644 --- a/src/main/java/io/mifos/dev/listener/PayrollListener.java +++ b/src/main/java/io/mifos/dev/listener/PayrollListener.java @@ -18,9 +18,9 @@ */ package io.mifos.dev.listener; -import io.mifos.core.lang.config.TenantHeaderFilter; -import io.mifos.core.test.listener.EventRecorder; -import io.mifos.payroll.api.v1.EventConstants; +import org.apache.fineract.cn.test.listener.EventRecorder; +import org.apache.fineract.cn.payroll.api.v1.EventConstants; +import org.apache.fineract.cn.lang.config.TenantHeaderFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.annotation.JmsListener; import org.springframework.messaging.handler.annotation.Header; diff --git a/src/main/java/io/mifos/dev/listener/PortfolioListener.java b/src/main/java/io/mifos/dev/listener/PortfolioListener.java index bcb2fd5..bdf5e73 100644 --- a/src/main/java/io/mifos/dev/listener/PortfolioListener.java +++ b/src/main/java/io/mifos/dev/listener/PortfolioListener.java @@ -18,9 +18,9 @@ */ package io.mifos.dev.listener; -import io.mifos.core.lang.config.TenantHeaderFilter; -import io.mifos.core.test.listener.EventRecorder; -import io.mifos.portfolio.api.v1.events.EventConstants; +import org.apache.fineract.cn.test.listener.EventRecorder; +import org.apache.fineract.cn.portfolio.api.v1.events.EventConstants; +import org.apache.fineract.cn.lang.config.TenantHeaderFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.annotation.JmsListener; import org.springframework.messaging.handler.annotation.Header; diff --git a/src/main/java/io/mifos/dev/listener/ReportingListener.java b/src/main/java/io/mifos/dev/listener/ReportingListener.java index 862a95b..5891eab 100644 --- a/src/main/java/io/mifos/dev/listener/ReportingListener.java +++ b/src/main/java/io/mifos/dev/listener/ReportingListener.java @@ -18,9 +18,9 @@ */ package io.mifos.dev.listener; -import io.mifos.core.lang.config.TenantHeaderFilter; -import io.mifos.core.test.listener.EventRecorder; -import io.mifos.reporting.api.v1.EventConstants; +import org.apache.fineract.cn.test.listener.EventRecorder; +import org.apache.fineract.cn.reporting.api.v1.EventConstants; +import org.apache.fineract.cn.lang.config.TenantHeaderFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.annotation.JmsListener; import org.springframework.messaging.handler.annotation.Header; diff --git a/src/main/java/io/mifos/dev/listener/RhythmListener.java b/src/main/java/io/mifos/dev/listener/RhythmListener.java index fc56db0..35a4541 100644 --- a/src/main/java/io/mifos/dev/listener/RhythmListener.java +++ b/src/main/java/io/mifos/dev/listener/RhythmListener.java @@ -18,10 +18,10 @@ */ package io.mifos.dev.listener; -import io.mifos.core.lang.config.TenantHeaderFilter; -import io.mifos.core.test.listener.EventRecorder; -import io.mifos.rhythm.api.v1.events.BeatEvent; -import io.mifos.rhythm.api.v1.events.EventConstants; +import org.apache.fineract.cn.test.listener.EventRecorder; +import org.apache.fineract.cn.rhythm.api.v1.events.BeatEvent; +import org.apache.fineract.cn.rhythm.api.v1.events.EventConstants; +import org.apache.fineract.cn.lang.config.TenantHeaderFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.annotation.JmsListener; import org.springframework.messaging.handler.annotation.Header; diff --git a/src/main/java/io/mifos/dev/listener/TellerListener.java b/src/main/java/io/mifos/dev/listener/TellerListener.java index 9aa2f3e..274d1d8 100644 --- a/src/main/java/io/mifos/dev/listener/TellerListener.java +++ b/src/main/java/io/mifos/dev/listener/TellerListener.java @@ -18,9 +18,9 @@ */ package io.mifos.dev.listener; -import io.mifos.core.lang.config.TenantHeaderFilter; -import io.mifos.core.test.listener.EventRecorder; -import io.mifos.teller.api.v1.EventConstants; +import org.apache.fineract.cn.test.listener.EventRecorder; +import org.apache.fineract.cn.teller.api.v1.EventConstants; +import org.apache.fineract.cn.lang.config.TenantHeaderFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.annotation.JmsListener; import org.springframework.messaging.handler.annotation.Header;