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

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

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

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

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

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

public class NotFoundException extends RuntimeException {
}
@@ -16,15 +16,15 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office.api.v1.client;

import io.mifos.office.api.v1.domain.Address;
import io.mifos.office.api.v1.domain.ContactDetail;
import io.mifos.office.api.v1.domain.Employee;
import io.mifos.office.api.v1.domain.EmployeePage;
import io.mifos.office.api.v1.domain.ExternalReference;
import io.mifos.office.api.v1.domain.Office;
import io.mifos.office.api.v1.domain.OfficePage;
package org.apache.fineract.cn.office.api.v1.client;

import org.apache.fineract.cn.office.api.v1.domain.Address;
import org.apache.fineract.cn.office.api.v1.domain.ContactDetail;
import org.apache.fineract.cn.office.api.v1.domain.Employee;
import org.apache.fineract.cn.office.api.v1.domain.EmployeePage;
import org.apache.fineract.cn.office.api.v1.domain.ExternalReference;
import org.apache.fineract.cn.office.api.v1.domain.Office;
import org.apache.fineract.cn.office.api.v1.domain.OfficePage;
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.office.api.v1.domain;
package org.apache.fineract.cn.office.api.v1.domain;

import org.hibernate.validator.constraints.NotBlank;

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

import org.hibernate.validator.constraints.NotBlank;

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office.api.v1.domain;
package org.apache.fineract.cn.office.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.office.api.v1.domain;
package org.apache.fineract.cn.office.api.v1.domain;

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

import javax.validation.Valid;
import java.util.List;
@@ -16,26 +16,26 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office;

import io.mifos.office.api.v1.EventConstants;
import io.mifos.office.api.v1.client.AlreadyExistsException;
import io.mifos.office.api.v1.client.BadRequestException;
import io.mifos.office.api.v1.client.NotFoundException;
import io.mifos.office.api.v1.client.OrganizationManager;
import io.mifos.office.api.v1.domain.ContactDetail;
import io.mifos.office.api.v1.domain.Employee;
import io.mifos.office.api.v1.domain.EmployeePage;
import io.mifos.office.api.v1.domain.Office;
import io.mifos.office.rest.config.OfficeRestConfiguration;
import io.mifos.office.util.EmployeeFactory;
import io.mifos.office.util.OfficeFactory;
package org.apache.fineract.cn.office;

import org.apache.fineract.cn.office.api.v1.EventConstants;
import org.apache.fineract.cn.office.api.v1.client.AlreadyExistsException;
import org.apache.fineract.cn.office.api.v1.client.BadRequestException;
import org.apache.fineract.cn.office.api.v1.client.NotFoundException;
import org.apache.fineract.cn.office.api.v1.client.OrganizationManager;
import org.apache.fineract.cn.office.api.v1.domain.ContactDetail;
import org.apache.fineract.cn.office.api.v1.domain.Employee;
import org.apache.fineract.cn.office.api.v1.domain.EmployeePage;
import org.apache.fineract.cn.office.api.v1.domain.Office;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.apache.commons.lang3.RandomStringUtils;
import org.apache.fineract.cn.anubis.test.v1.TenantApplicationSecurityEnvironmentTestRule;
import org.apache.fineract.cn.api.context.AutoUserContext;
import org.apache.fineract.cn.office.rest.config.OfficeRestConfiguration;
import org.apache.fineract.cn.office.util.EmployeeFactory;
import org.apache.fineract.cn.office.util.OfficeFactory;
import org.apache.fineract.cn.test.env.TestEnvironment;
import org.apache.fineract.cn.test.fixture.TenantDataStoreContextTestRule;
import org.apache.fineract.cn.test.fixture.cassandra.CassandraInitializer;
@@ -389,9 +389,9 @@ public void shouldDeleteContactDetailOfEmployee() throws Exception {

@Configuration
@ComponentScan(
basePackages = "io.mifos.office.listener"
basePackages = "org.apache.fineract.cn.office.listener"
)
@EnableFeignClients(basePackages = {"io.mifos.office.api.v1.client"})
@EnableFeignClients(basePackages = {"org.apache.fineract.cn.office.api.v1.client"})
@RibbonClient(name = APP_NAME)
@EnableEventRecording(maxWait = 5000L)
@Import({OfficeRestConfiguration.class})
@@ -16,26 +16,26 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office;

import io.mifos.office.api.v1.EventConstants;
import io.mifos.office.api.v1.client.AlreadyExistsException;
import io.mifos.office.api.v1.client.BadRequestException;
import io.mifos.office.api.v1.client.ChildrenExistException;
import io.mifos.office.api.v1.client.NotFoundException;
import io.mifos.office.api.v1.client.OrganizationManager;
import io.mifos.office.api.v1.domain.Address;
import io.mifos.office.api.v1.domain.Employee;
import io.mifos.office.api.v1.domain.ExternalReference;
import io.mifos.office.api.v1.domain.Office;
import io.mifos.office.api.v1.domain.OfficePage;
import io.mifos.office.rest.config.OfficeRestConfiguration;
import io.mifos.office.util.AddressFactory;
import io.mifos.office.util.EmployeeFactory;
import io.mifos.office.util.OfficeFactory;
package org.apache.fineract.cn.office;

import org.apache.fineract.cn.office.api.v1.EventConstants;
import org.apache.fineract.cn.office.api.v1.client.AlreadyExistsException;
import org.apache.fineract.cn.office.api.v1.client.BadRequestException;
import org.apache.fineract.cn.office.api.v1.client.ChildrenExistException;
import org.apache.fineract.cn.office.api.v1.client.NotFoundException;
import org.apache.fineract.cn.office.api.v1.client.OrganizationManager;
import org.apache.fineract.cn.office.api.v1.domain.Address;
import org.apache.fineract.cn.office.api.v1.domain.Employee;
import org.apache.fineract.cn.office.api.v1.domain.ExternalReference;
import org.apache.fineract.cn.office.api.v1.domain.Office;
import org.apache.fineract.cn.office.api.v1.domain.OfficePage;
import org.apache.commons.lang3.RandomStringUtils;
import org.apache.fineract.cn.anubis.test.v1.TenantApplicationSecurityEnvironmentTestRule;
import org.apache.fineract.cn.api.context.AutoUserContext;
import org.apache.fineract.cn.office.rest.config.OfficeRestConfiguration;
import org.apache.fineract.cn.office.util.AddressFactory;
import org.apache.fineract.cn.office.util.EmployeeFactory;
import org.apache.fineract.cn.office.util.OfficeFactory;
import org.apache.fineract.cn.test.env.TestEnvironment;
import org.apache.fineract.cn.test.fixture.TenantDataStoreContextTestRule;
import org.apache.fineract.cn.test.fixture.cassandra.CassandraInitializer;
@@ -410,9 +410,9 @@ public void shouldIndicateOfficeHasExternalReferences() throws Exception {

@Configuration
@ComponentScan(
basePackages = "io.mifos.office.listener"
basePackages = "org.apache.fineract.cn.office.listener"
)
@EnableFeignClients(basePackages = {"io.mifos.office.api.v1.client"})
@EnableFeignClients(basePackages = {"org.apache.fineract.cn.office.api.v1.client"})
@RibbonClient(name = APP_NAME)
@EnableEventRecording(maxWait = 5000L)
@Import({OfficeRestConfiguration.class})
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office.listener;
package org.apache.fineract.cn.office.listener;

import io.mifos.office.api.v1.EventConstants;
import org.apache.fineract.cn.office.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,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office.listener;
package org.apache.fineract.cn.office.listener;

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

import com.google.gson.Gson;
import io.mifos.office.api.v1.EventConstants;
import org.apache.fineract.cn.office.api.v1.EventConstants;
import org.apache.fineract.cn.command.util.CommandConstants;
import org.apache.fineract.cn.lang.config.TenantHeaderFilter;
import org.apache.fineract.cn.test.listener.EventRecorder;
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office.util;
package org.apache.fineract.cn.office.util;

import io.mifos.office.api.v1.domain.Address;
import org.apache.fineract.cn.office.api.v1.domain.Address;
import org.apache.commons.lang3.RandomStringUtils;

public class AddressFactory {
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office.util;
package org.apache.fineract.cn.office.util;

import io.mifos.office.api.v1.domain.Employee;
import org.apache.fineract.cn.office.api.v1.domain.Employee;
import org.apache.commons.lang3.RandomStringUtils;

public class EmployeeFactory {
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office.util;
package org.apache.fineract.cn.office.util;

import io.mifos.office.api.v1.domain.Office;
import org.apache.fineract.cn.office.api.v1.domain.Office;
import org.apache.commons.lang3.RandomStringUtils;

public class OfficeFactory {
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office;
package org.apache.fineract.cn.office;

import io.mifos.office.rest.config.OfficeRestConfiguration;
import org.apache.fineract.cn.office.rest.config.OfficeRestConfiguration;
import org.springframework.boot.SpringApplication;

public class OfficeApplication {
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office;
package org.apache.fineract.cn.office;

public interface ServiceConstants {

@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office.internal.command;
package org.apache.fineract.cn.office.internal.command;

import io.mifos.office.api.v1.domain.Office;
import org.apache.fineract.cn.office.api.v1.domain.Office;

public class AddBranchCommand {

@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office.internal.command;
package org.apache.fineract.cn.office.internal.command;

import io.mifos.office.api.v1.domain.ExternalReference;
import org.apache.fineract.cn.office.api.v1.domain.ExternalReference;

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

import io.mifos.office.api.v1.domain.Employee;
import org.apache.fineract.cn.office.api.v1.domain.Employee;

public class CreateEmployeeCommand {

@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.office.internal.command;
package org.apache.fineract.cn.office.internal.command;

import io.mifos.office.api.v1.domain.Office;
import org.apache.fineract.cn.office.api.v1.domain.Office;

public class CreateOfficeCommand {

0 comments on commit 1465d72

Please sign in to comment.