Skip to content
Permalink
Browse files
Merge pull request #6 from myrle-krantz/develop
Updating package names.
  • Loading branch information
myrle-krantz committed Apr 16, 2018
2 parents b39d220 + e9dc480 commit 2a09210eca6c13f3d18bab5bb1a337edc0026a4a
Showing 22 changed files with 61 additions and 62 deletions.
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.command.annotation;
package org.apache.fineract.cn.command.annotation;

import org.springframework.stereotype.Component;

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

import java.lang.annotation.*;

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

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

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
@@ -16,16 +16,16 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.command.config;
package org.apache.fineract.cn.command.config;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import io.mifos.core.command.util.CommandConstants;
import io.mifos.core.lang.ApplicationName;
import io.mifos.core.lang.config.EnableApplicationName;
import org.apache.fineract.cn.command.util.CommandConstants;
import org.apache.activemq.command.ActiveMQTopic;
import org.apache.activemq.jms.pool.PooledConnectionFactory;
import org.apache.activemq.spring.ActiveMQConnectionFactory;
import org.apache.fineract.cn.lang.ApplicationName;
import org.apache.fineract.cn.lang.config.EnableApplicationName;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
@@ -40,8 +40,8 @@
@Configuration
@EnableApplicationName
@ComponentScan(basePackages = {
"io.mifos.core.command.internal",
"io.mifos.core.command.gateway"
"org.apache.fineract.cn.command.internal",
"org.apache.fineract.cn.command.gateway"
})
public class CommandModuleConfiguration {

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

import org.springframework.context.annotation.Import;

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

import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
@@ -16,10 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.command.domain;
package org.apache.fineract.cn.command.domain;

import io.mifos.core.command.annotation.EventEmitter;
import io.mifos.core.lang.TenantContextHolder;
import org.apache.fineract.cn.command.annotation.EventEmitter;

import java.lang.reflect.Method;
import java.util.function.Consumer;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.command.domain;
package org.apache.fineract.cn.command.domain;

public class CommandProcessingException extends Exception {

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

import io.mifos.core.command.domain.CommandCallback;
import io.mifos.core.command.domain.CommandProcessingException;
import io.mifos.core.command.internal.CommandBus;
import org.apache.fineract.cn.command.domain.CommandCallback;
import org.apache.fineract.cn.command.domain.CommandProcessingException;
import org.apache.fineract.cn.command.internal.CommandBus;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

import com.google.gson.Gson;
import io.mifos.core.cassandra.core.TenantAwareEntityTemplate;
import io.mifos.core.command.annotation.Aggregate;
import io.mifos.core.command.annotation.CommandHandler;
import io.mifos.core.command.annotation.CommandLogLevel;
import io.mifos.core.command.annotation.EventEmitter;
import io.mifos.core.command.domain.CommandHandlerHolder;
import io.mifos.core.command.domain.CommandProcessingException;
import io.mifos.core.command.repository.CommandSource;
import io.mifos.core.command.util.CommandConstants;
import io.mifos.core.lang.TenantContextHolder;
import io.mifos.core.lang.config.TenantHeaderFilter;
import org.apache.fineract.cn.command.annotation.Aggregate;
import org.apache.fineract.cn.command.annotation.CommandHandler;
import org.apache.fineract.cn.command.annotation.CommandLogLevel;
import org.apache.fineract.cn.command.annotation.EventEmitter;
import org.apache.fineract.cn.command.domain.CommandHandlerHolder;
import org.apache.fineract.cn.command.domain.CommandProcessingException;
import org.apache.fineract.cn.command.repository.CommandSource;
import org.apache.fineract.cn.command.util.CommandConstants;
import org.apache.fineract.cn.cassandra.core.TenantAwareEntityTemplate;
import org.apache.fineract.cn.lang.TenantContextHolder;
import org.apache.fineract.cn.lang.config.TenantHeaderFilter;
import org.slf4j.Logger;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Autowired;
@@ -16,13 +16,13 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.command.repository;
package org.apache.fineract.cn.command.repository;

import com.datastax.driver.mapping.annotations.ClusteringColumn;
import com.datastax.driver.mapping.annotations.Column;
import com.datastax.driver.mapping.annotations.PartitionKey;
import com.datastax.driver.mapping.annotations.Table;
import io.mifos.core.command.util.CommandConstants;
import org.apache.fineract.cn.command.util.CommandConstants;

import java.util.Date;

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

public interface CommandConstants {

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

import io.mifos.core.command.annotation.Aggregate;
import io.mifos.core.command.annotation.CommandHandler;
import io.mifos.core.command.annotation.EventEmitter;
import org.apache.fineract.cn.command.annotation.Aggregate;
import org.apache.fineract.cn.command.annotation.CommandHandler;
import org.apache.fineract.cn.command.annotation.EventEmitter;

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

public class DomainException extends RuntimeException {

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

public class DomainObject {

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

public class ErroneousDomainCommand {

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

public class ReturningCommand {

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

public class ReturningWithEventCommand {

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

public class VoidCommand {

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

public class VoidWithEventCommand {

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

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import io.mifos.core.cassandra.core.TenantAwareEntityTemplate;
import io.mifos.core.command.annotation.Aggregate;
import io.mifos.core.command.annotation.CommandHandler;
import io.mifos.core.command.domain.CommandHandlerHolder;
import io.mifos.core.command.domain.CommandProcessingException;
import io.mifos.core.command.fixture.DomainAggregate;
import io.mifos.core.command.fixture.DomainException;
import io.mifos.core.command.fixture.DomainObject;
import io.mifos.core.command.fixture.ErroneousDomainCommand;
import io.mifos.core.command.fixture.ReturningCommand;
import io.mifos.core.command.fixture.ReturningWithEventCommand;
import io.mifos.core.command.fixture.VoidCommand;
import io.mifos.core.command.fixture.VoidWithEventCommand;
import io.mifos.core.command.repository.CommandSource;
import io.mifos.core.command.util.CommandConstants;
import org.apache.fineract.cn.command.annotation.Aggregate;
import org.apache.fineract.cn.command.annotation.CommandHandler;
import org.apache.fineract.cn.command.domain.CommandHandlerHolder;
import org.apache.fineract.cn.command.domain.CommandProcessingException;
import org.apache.fineract.cn.command.fixture.DomainAggregate;
import org.apache.fineract.cn.command.fixture.DomainException;
import org.apache.fineract.cn.command.fixture.DomainObject;
import org.apache.fineract.cn.command.fixture.ErroneousDomainCommand;
import org.apache.fineract.cn.command.fixture.ReturningCommand;
import org.apache.fineract.cn.command.fixture.ReturningWithEventCommand;
import org.apache.fineract.cn.command.fixture.VoidCommand;
import org.apache.fineract.cn.command.fixture.VoidWithEventCommand;
import org.apache.fineract.cn.command.repository.CommandSource;
import org.apache.fineract.cn.command.util.CommandConstants;
import org.apache.fineract.cn.cassandra.core.TenantAwareEntityTemplate;
import org.junit.Assert;
import org.junit.Test;
import org.mockito.Mockito;

0 comments on commit 2a09210

Please sign in to comment.