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 95a948b commit 4abe7dde474131bb9ddaa2e1825b9214c7a90729
Showing 50 changed files with 172 additions and 172 deletions.
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.cheque.api.v1;
package org.apache.fineract.cn.cheque.api.v1;

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

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

import io.mifos.cheque.api.v1.domain.Cheque;
import io.mifos.cheque.api.v1.domain.ChequeProcessingCommand;
import io.mifos.cheque.api.v1.domain.ChequeTransaction;
import io.mifos.cheque.api.v1.domain.IssuingCount;
import io.mifos.cheque.api.v1.domain.MICRResolution;
import org.apache.fineract.cn.cheque.api.v1.domain.Cheque;
import org.apache.fineract.cn.cheque.api.v1.domain.ChequeProcessingCommand;
import org.apache.fineract.cn.cheque.api.v1.domain.ChequeTransaction;
import org.apache.fineract.cn.cheque.api.v1.domain.IssuingCount;
import org.apache.fineract.cn.cheque.api.v1.domain.MICRResolution;
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.cheque.api.v1.client;
package org.apache.fineract.cn.cheque.api.v1.client;

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

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

public enum Action {
APPROVE,
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.cheque.api.v1.domain;
package org.apache.fineract.cn.cheque.api.v1.domain;

import org.hibernate.validator.constraints.NotEmpty;

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

import javax.validation.constraints.NotNull;

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

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

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

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.cheque.api.v1.domain;
package org.apache.fineract.cn.cheque.api.v1.domain;

public class MICRResolution {

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

public enum State {
PENDING,
@@ -16,11 +16,11 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.cheque;
package org.apache.fineract.cn.cheque;

import io.mifos.cheque.api.v1.EventConstants;
import io.mifos.cheque.api.v1.client.ChequeManager;
import io.mifos.cheque.service.ChequeConfiguration;
import org.apache.fineract.cn.cheque.api.v1.EventConstants;
import org.apache.fineract.cn.cheque.api.v1.client.ChequeManager;
import org.apache.fineract.cn.cheque.service.ChequeConfiguration;
import org.apache.fineract.cn.anubis.test.v1.TenantApplicationSecurityEnvironmentTestRule;
import org.apache.fineract.cn.api.context.AutoUserContext;
import org.apache.fineract.cn.lang.ApplicationName;
@@ -103,10 +103,10 @@ public boolean waitForInitialize() {

@Configuration
@EnableEventRecording
@EnableFeignClients(basePackages = {"io.mifos.cheque.api.v1"})
@EnableFeignClients(basePackages = {"org.apache.fineract.cn.cheque.api.v1"})
@RibbonClient(name = APP_NAME)
@Import({ChequeConfiguration.class})
@ComponentScan("io.mifos.cheque.listener")
@ComponentScan("org.apache.fineract.cn.cheque.listener")
public static class TestConfiguration {
public TestConfiguration() {
super();
@@ -16,10 +16,10 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.cheque;
package org.apache.fineract.cn.cheque;

import io.mifos.cheque.api.v1.domain.Cheque;
import io.mifos.cheque.api.v1.domain.MICR;
import org.apache.fineract.cn.cheque.api.v1.domain.Cheque;
import org.apache.fineract.cn.cheque.api.v1.domain.MICR;
import java.time.Clock;
import java.time.LocalDate;
import org.apache.commons.lang3.RandomStringUtils;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.cheque;
package org.apache.fineract.cn.cheque;


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

import com.google.common.collect.Sets;
import io.mifos.cheque.api.v1.EventConstants;
import io.mifos.cheque.api.v1.domain.Action;
import io.mifos.cheque.api.v1.domain.Cheque;
import io.mifos.cheque.api.v1.domain.ChequeProcessingCommand;
import io.mifos.cheque.api.v1.domain.ChequeTransaction;
import io.mifos.cheque.api.v1.domain.IssuingCount;
import io.mifos.cheque.api.v1.domain.State;
import io.mifos.cheque.service.internal.format.MICRParser;
import io.mifos.cheque.service.internal.service.helper.AccountingService;
import io.mifos.cheque.service.internal.service.helper.DepositService;
import io.mifos.cheque.service.internal.service.helper.OrganizationService;
import org.apache.fineract.cn.cheque.api.v1.EventConstants;
import org.apache.fineract.cn.cheque.api.v1.domain.Action;
import org.apache.fineract.cn.cheque.api.v1.domain.Cheque;
import org.apache.fineract.cn.cheque.api.v1.domain.ChequeProcessingCommand;
import org.apache.fineract.cn.cheque.api.v1.domain.ChequeTransaction;
import org.apache.fineract.cn.cheque.api.v1.domain.IssuingCount;
import org.apache.fineract.cn.cheque.api.v1.domain.State;
import org.apache.fineract.cn.cheque.service.internal.format.MICRParser;
import org.apache.fineract.cn.cheque.service.internal.service.helper.AccountingService;
import org.apache.fineract.cn.cheque.service.internal.service.helper.DepositService;
import org.apache.fineract.cn.cheque.service.internal.service.helper.OrganizationService;
import java.util.Collections;
import java.util.Optional;
import java.util.UUID;
@@ -16,13 +16,13 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.cheque;
package org.apache.fineract.cn.cheque;

import io.mifos.cheque.api.v1.domain.IssuingCount;
import io.mifos.cheque.service.internal.repository.IssuedChequeEntity;
import io.mifos.cheque.service.internal.repository.IssuedChequeRepository;
import io.mifos.cheque.service.internal.service.helper.AccountingService;
import io.mifos.cheque.service.internal.service.helper.DepositService;
import org.apache.fineract.cn.cheque.api.v1.domain.IssuingCount;
import org.apache.fineract.cn.cheque.service.internal.repository.IssuedChequeEntity;
import org.apache.fineract.cn.cheque.service.internal.repository.IssuedChequeRepository;
import org.apache.fineract.cn.cheque.service.internal.service.helper.AccountingService;
import org.apache.fineract.cn.cheque.service.internal.service.helper.DepositService;
import org.apache.commons.lang3.RandomStringUtils;
import org.junit.Assert;
import org.junit.Test;
@@ -16,21 +16,21 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.cheque;

import io.mifos.cheque.api.v1.EventConstants;
import io.mifos.cheque.api.v1.client.DependingResourceNotValidException;
import io.mifos.cheque.api.v1.client.InvalidChequeNumberException;
import io.mifos.cheque.api.v1.domain.Cheque;
import io.mifos.cheque.api.v1.domain.ChequeTransaction;
import io.mifos.cheque.api.v1.domain.IssuingCount;
import io.mifos.cheque.api.v1.domain.MICR;
import io.mifos.cheque.api.v1.domain.MICRResolution;
import io.mifos.cheque.service.internal.format.MICRParser;
import io.mifos.cheque.service.internal.service.helper.AccountingService;
import io.mifos.cheque.service.internal.service.helper.CustomerService;
import io.mifos.cheque.service.internal.service.helper.DepositService;
import io.mifos.cheque.service.internal.service.helper.OrganizationService;
package org.apache.fineract.cn.cheque;

import org.apache.fineract.cn.cheque.api.v1.EventConstants;
import org.apache.fineract.cn.cheque.api.v1.client.DependingResourceNotValidException;
import org.apache.fineract.cn.cheque.api.v1.client.InvalidChequeNumberException;
import org.apache.fineract.cn.cheque.api.v1.domain.Cheque;
import org.apache.fineract.cn.cheque.api.v1.domain.ChequeTransaction;
import org.apache.fineract.cn.cheque.api.v1.domain.IssuingCount;
import org.apache.fineract.cn.cheque.api.v1.domain.MICR;
import org.apache.fineract.cn.cheque.api.v1.domain.MICRResolution;
import org.apache.fineract.cn.cheque.service.internal.format.MICRParser;
import org.apache.fineract.cn.cheque.service.internal.service.helper.AccountingService;
import org.apache.fineract.cn.cheque.service.internal.service.helper.CustomerService;
import org.apache.fineract.cn.cheque.service.internal.service.helper.DepositService;
import org.apache.fineract.cn.cheque.service.internal.service.helper.OrganizationService;
import java.util.Collections;
import java.util.Optional;
import org.apache.commons.lang3.RandomStringUtils;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.cheque;
package org.apache.fineract.cn.cheque;

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.cheque.listener;
package org.apache.fineract.cn.cheque.listener;

import io.mifos.cheque.AbstractChequeTest;
import io.mifos.cheque.api.v1.EventConstants;
import org.apache.fineract.cn.cheque.AbstractChequeTest;
import org.apache.fineract.cn.cheque.api.v1.EventConstants;
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.cheque.listener;
package org.apache.fineract.cn.cheque.listener;

import io.mifos.cheque.AbstractChequeTest;
import io.mifos.cheque.api.v1.EventConstants;
import org.apache.fineract.cn.cheque.AbstractChequeTest;
import org.apache.fineract.cn.cheque.api.v1.EventConstants;
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.cheque.service;
package org.apache.fineract.cn.cheque.service;

import org.springframework.boot.SpringApplication;

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

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

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

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

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

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

import io.mifos.cheque.api.v1.domain.Cheque;
import org.apache.fineract.cn.cheque.api.v1.domain.Cheque;

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

public class IssueChequesCommand {

0 comments on commit 4abe7dd

Please sign in to comment.