Skip to content
Permalink
Browse files
Change package names from mifos to apache fineract.
  • Loading branch information
myrle-krantz committed Apr 16, 2018
1 parent ba4109b commit 52de03e06164f07e713890f94ca359725a406ec5
Showing 50 changed files with 159 additions and 159 deletions.
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.api.v1;
package org.apache.fineract.cn.payroll.api.v1;

@SuppressWarnings("unused")
public interface EventConstants {
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.api.v1;
package org.apache.fineract.cn.payroll.api.v1;

@SuppressWarnings("unused")
public interface PermittableGroupIds {
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.api.v1.client;
package org.apache.fineract.cn.payroll.api.v1.client;

public class CustomerNotFoundException extends RuntimeException {
}
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.api.v1.client;
package org.apache.fineract.cn.payroll.api.v1.client;

public class PayrollConfigurationNotFoundException extends RuntimeException {
}
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.api.v1.client;
package org.apache.fineract.cn.payroll.api.v1.client;

public class PayrollDistributionValidationException extends RuntimeException {
}
@@ -16,12 +16,12 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.api.v1.client;
package org.apache.fineract.cn.payroll.api.v1.client;

import io.mifos.payroll.api.v1.domain.PayrollCollectionHistory;
import io.mifos.payroll.api.v1.domain.PayrollCollectionSheet;
import io.mifos.payroll.api.v1.domain.PayrollConfiguration;
import io.mifos.payroll.api.v1.domain.PayrollPaymentPage;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollCollectionHistory;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollCollectionSheet;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollConfiguration;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollPaymentPage;
import java.util.List;
import javax.validation.Valid;
import org.apache.fineract.cn.api.annotation.ThrowsException;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.api.v1.client;
package org.apache.fineract.cn.payroll.api.v1.client;

public class PayrollPaymentValidationException extends RuntimeException {
}
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.api.v1.domain;
package org.apache.fineract.cn.payroll.api.v1.domain;

import java.math.BigDecimal;
import javax.validation.constraints.DecimalMax;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.api.v1.domain;
package org.apache.fineract.cn.payroll.api.v1.domain;

import javax.validation.constraints.NotNull;
import org.apache.fineract.cn.lang.validation.constraints.ValidIdentifier;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.api.v1.domain;
package org.apache.fineract.cn.payroll.api.v1.domain;

import java.util.List;
import javax.validation.Valid;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.api.v1.domain;
package org.apache.fineract.cn.payroll.api.v1.domain;

import java.util.ArrayList;
import java.util.List;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.api.v1.domain;
package org.apache.fineract.cn.payroll.api.v1.domain;

import java.math.BigDecimal;
import javax.validation.constraints.DecimalMax;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.api.v1.domain;
package org.apache.fineract.cn.payroll.api.v1.domain;

import java.util.ArrayList;
import java.util.List;
@@ -16,12 +16,12 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll;
package org.apache.fineract.cn.payroll;


import io.mifos.payroll.api.v1.EventConstants;
import io.mifos.payroll.api.v1.client.PayrollManager;
import io.mifos.payroll.service.PayrollServiceConfiguration;
import org.apache.fineract.cn.payroll.api.v1.EventConstants;
import org.apache.fineract.cn.payroll.api.v1.client.PayrollManager;
import org.apache.fineract.cn.payroll.service.PayrollServiceConfiguration;
import org.apache.fineract.cn.anubis.test.v1.TenantApplicationSecurityEnvironmentTestRule;
import org.apache.fineract.cn.api.context.AutoUserContext;
import org.apache.fineract.cn.test.fixture.TenantDataStoreContextTestRule;
@@ -53,12 +53,12 @@ public class AbstractPayrollTest extends SuiteTestEnvironment {
@Configuration
@EnableEventRecording
@EnableFeignClients(basePackages = {
"io.mifos.payroll.api.v1.client"
"org.apache.fineract.cn.payroll.api.v1.client"
})
@RibbonClient(name = SuiteTestEnvironment.APP_NAME)
@ComponentScan(
basePackages = {
"io.mifos.payroll.listener"
"org.apache.fineract.cn.payroll.listener"
}
)
@Import({
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll;
package org.apache.fineract.cn.payroll;

import org.apache.fineract.cn.test.env.TestEnvironment;
import org.apache.fineract.cn.test.fixture.cassandra.CassandraInitializer;
@@ -16,15 +16,15 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll;
package org.apache.fineract.cn.payroll;

import com.google.common.collect.Lists;
import io.mifos.payroll.api.v1.EventConstants;
import io.mifos.payroll.api.v1.domain.PayrollAllocation;
import io.mifos.payroll.api.v1.domain.PayrollConfiguration;
import io.mifos.payroll.domain.DomainObjectGenerator;
import io.mifos.payroll.service.internal.service.adaptor.AccountingAdaptor;
import io.mifos.payroll.service.internal.service.adaptor.CustomerAdaptor;
import org.apache.fineract.cn.payroll.api.v1.EventConstants;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollAllocation;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollConfiguration;
import org.apache.fineract.cn.payroll.domain.DomainObjectGenerator;
import org.apache.fineract.cn.payroll.service.internal.service.adaptor.AccountingAdaptor;
import org.apache.fineract.cn.payroll.service.internal.service.adaptor.CustomerAdaptor;
import java.math.BigDecimal;
import java.util.Optional;
import org.apache.commons.lang3.RandomStringUtils;
@@ -16,21 +16,21 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll;
package org.apache.fineract.cn.payroll;

import com.google.common.collect.Lists;
import io.mifos.payroll.api.v1.EventConstants;
import io.mifos.payroll.api.v1.client.PayrollPaymentValidationException;
import io.mifos.payroll.api.v1.domain.PayrollAllocation;
import io.mifos.payroll.api.v1.domain.PayrollCollectionHistory;
import io.mifos.payroll.api.v1.domain.PayrollCollectionSheet;
import io.mifos.payroll.api.v1.domain.PayrollConfiguration;
import io.mifos.payroll.api.v1.domain.PayrollPayment;
import io.mifos.payroll.api.v1.domain.PayrollPaymentPage;
import io.mifos.payroll.domain.DomainObjectGenerator;
import io.mifos.payroll.service.internal.repository.PayrollCollectionEntity;
import io.mifos.payroll.service.internal.service.adaptor.AccountingAdaptor;
import io.mifos.payroll.service.internal.service.adaptor.CustomerAdaptor;
import org.apache.fineract.cn.payroll.api.v1.EventConstants;
import org.apache.fineract.cn.payroll.api.v1.client.PayrollPaymentValidationException;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollAllocation;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollCollectionHistory;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollCollectionSheet;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollConfiguration;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollPayment;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollPaymentPage;
import org.apache.fineract.cn.payroll.domain.DomainObjectGenerator;
import org.apache.fineract.cn.payroll.service.internal.repository.PayrollCollectionEntity;
import org.apache.fineract.cn.payroll.service.internal.service.adaptor.AccountingAdaptor;
import org.apache.fineract.cn.payroll.service.internal.service.adaptor.CustomerAdaptor;
import java.math.BigDecimal;
import java.util.List;
import java.util.Optional;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll;
package org.apache.fineract.cn.payroll;

import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@@ -16,10 +16,10 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.domain;
package org.apache.fineract.cn.payroll.domain;

import io.mifos.payroll.api.v1.domain.PayrollAllocation;
import io.mifos.payroll.api.v1.domain.PayrollConfiguration;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollAllocation;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollConfiguration;
import org.apache.commons.lang3.RandomStringUtils;

import java.math.BigDecimal;
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.listener;
package org.apache.fineract.cn.payroll.listener;

import io.mifos.payroll.api.v1.EventConstants;
import org.apache.fineract.cn.payroll.api.v1.EventConstants;
import org.apache.fineract.cn.lang.config.TenantHeaderFilter;
import org.apache.fineract.cn.test.listener.EventRecorder;
import org.springframework.beans.factory.annotation.Autowired;
@@ -16,10 +16,10 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.listener;
package org.apache.fineract.cn.payroll.listener;

import io.mifos.payroll.api.v1.EventConstants;
import io.mifos.payroll.service.ServiceConstants;
import org.apache.fineract.cn.payroll.api.v1.EventConstants;
import org.apache.fineract.cn.payroll.service.ServiceConstants;
import org.apache.fineract.cn.lang.config.TenantHeaderFilter;
import org.apache.fineract.cn.test.listener.EventRecorder;
import org.slf4j.Logger;
@@ -16,10 +16,10 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.listener;
package org.apache.fineract.cn.payroll.listener;

import io.mifos.payroll.api.v1.EventConstants;
import io.mifos.payroll.service.ServiceConstants;
import org.apache.fineract.cn.payroll.api.v1.EventConstants;
import org.apache.fineract.cn.payroll.service.ServiceConstants;
import org.apache.fineract.cn.lang.config.TenantHeaderFilter;
import org.apache.fineract.cn.test.listener.EventRecorder;
import org.slf4j.Logger;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.service;
package org.apache.fineract.cn.payroll.service;

import org.springframework.boot.SpringApplication;

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.service;
package org.apache.fineract.cn.payroll.service;

import org.apache.fineract.cn.accounting.api.v1.client.LedgerManager;
import org.apache.fineract.cn.anubis.config.EnableAnubis;
@@ -55,13 +55,13 @@
CustomerManager.class
})
@ComponentScan({
"io.mifos.payroll.service.rest",
"io.mifos.payroll.service.internal.service",
"io.mifos.payroll.service.internal.repository",
"io.mifos.payroll.service.internal.command.handler"
"org.apache.fineract.cn.payroll.service.rest",
"org.apache.fineract.cn.payroll.service.internal.service",
"org.apache.fineract.cn.payroll.service.internal.repository",
"org.apache.fineract.cn.payroll.service.internal.command.handler"
})
@EnableJpaRepositories({
"io.mifos.payroll.service.internal.repository"
"org.apache.fineract.cn.payroll.service.internal.repository"
})
public class PayrollServiceConfiguration extends WebMvcConfigurerAdapter {

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.service;
package org.apache.fineract.cn.payroll.service;

public interface ServiceConstants {
String LOGGER_NAME = "payroll-logger";
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.service.internal.command;
package org.apache.fineract.cn.payroll.service.internal.command;

import io.mifos.payroll.api.v1.domain.PayrollCollectionSheet;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollCollectionSheet;

public class DistributePayrollCommand {
private final PayrollCollectionSheet payrollCollectionSheet;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.service.internal.command;
package org.apache.fineract.cn.payroll.service.internal.command;

public class MigrateServiceCommand {
public MigrateServiceCommand() {
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.service.internal.command;
package org.apache.fineract.cn.payroll.service.internal.command;

import io.mifos.payroll.api.v1.domain.PayrollConfiguration;
import org.apache.fineract.cn.payroll.api.v1.domain.PayrollConfiguration;

public class PutPayrollConfigurationCommand {
private final String customerIdentifier;
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.payroll.service.internal.command.handler;
package org.apache.fineract.cn.payroll.service.internal.command.handler;

import io.mifos.payroll.service.internal.command.MigrateServiceCommand;
import org.apache.fineract.cn.payroll.service.internal.command.MigrateServiceCommand;
import javax.sql.DataSource;
import org.apache.fineract.cn.accounting.api.v1.EventConstants;
import org.apache.fineract.cn.command.annotation.Aggregate;

0 comments on commit 52de03e

Please sign in to comment.