Skip to content
Permalink
Browse files
Merge pull request #4 from myrle-krantz/develop
Updating package names.
  • Loading branch information
myrle-krantz committed Apr 16, 2018
2 parents e30d257 + c92fb99 commit 5060ae257dc8afe9ba6c9bbdb0db4f917aedfb1e
Showing 14 changed files with 24 additions and 26 deletions.
@@ -2,6 +2,7 @@
.idea
**/build/
**/target/
**/out/

# Ignore Gradle GUI config
gradle-app.setting
@@ -1,7 +1,5 @@
# Apache Fineract CN data-jpa

[![Join the chat at https://gitter.im/mifos-initiative/mifos.io](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mifos-initiative/mifos.io?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Data JPA provides easy access to tenant databases.

## Abstract
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.data.jpa;
package org.apache.fineract.cn.core.data.jpa;

import io.mifos.core.data.jpa.core.DatabaseConnectorConfiguration;
import org.apache.fineract.cn.core.data.jpa.core.DatabaseConnectorConfiguration;
import org.springframework.context.annotation.Import;

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

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -16,8 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.data.jpa.core;
package org.apache.fineract.cn.core.data.jpa.core;

public interface DatabaseConnectorConstants {
String LOGGER_NAME = "mifosio-data-jpa-logger";
String LOGGER_NAME = "fineract-cn-data-jpa-logger";
}
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.data.jpa.core;
package org.apache.fineract.cn.core.data.jpa.core;

import liquibase.Contexts;
import liquibase.LabelExpression;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.data.jpa.core;
package org.apache.fineract.cn.core.data.jpa.core;

import liquibase.changelog.ChangeSet;

@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.data.jpa.local;
package org.apache.fineract.cn.core.data.jpa.local;

import io.mifos.core.data.jpa.core.DatabaseConnectorConstants;
import org.apache.fineract.cn.core.data.jpa.core.DatabaseConnectorConstants;
import org.slf4j.Logger;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
@@ -37,7 +37,7 @@
})
@EnableJpaRepositories(
basePackages = {
"io.mifos.core.data.jpa.local.repository"
"org.apache.fineract.cn.core.data.jpa.local.repository"
}
)
public class LocalDatabaseConfiguration {
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.data.jpa.local;
package org.apache.fineract.cn.core.data.jpa.local;

import org.springframework.boot.context.properties.ConfigurationProperties;

@@ -16,12 +16,12 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.data.jpa.local;
package org.apache.fineract.cn.core.data.jpa.local;

import io.mifos.core.data.jpa.core.MigrationHelper;
import io.mifos.core.data.jpa.local.repository.DataSourceInstance;
import io.mifos.core.lang.TenantContextHolder;
import org.apache.fineract.cn.core.data.jpa.core.MigrationHelper;
import org.apache.fineract.cn.core.data.jpa.local.repository.DataSourceInstance;
import org.apache.commons.dbcp2.BasicDataSource;
import org.apache.fineract.cn.lang.TenantContextHolder;
import org.slf4j.Logger;
import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

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

import javax.persistence.Column;
import javax.persistence.Entity;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.data.jpa.local.repository;
package org.apache.fineract.cn.core.data.jpa.local.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@@ -16,12 +16,11 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.data.jpa;
package org.apache.fineract.cn.core.data.jpa;

import io.mifos.core.data.jpa.local.repository.DataSourceInstance;
import io.mifos.core.data.jpa.local.repository.DataSourceInstanceRepository;
import io.mifos.core.lang.AutoTenantContext;
import io.mifos.core.lang.TenantContextHolder;
import org.apache.fineract.cn.core.data.jpa.local.repository.DataSourceInstance;
import org.apache.fineract.cn.core.data.jpa.local.repository.DataSourceInstanceRepository;
import org.apache.fineract.cn.lang.AutoTenantContext;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.core.data.jpa;
package org.apache.fineract.cn.core.data.jpa;

import io.mifos.core.data.jpa.core.VersionComparator;
import org.apache.fineract.cn.core.data.jpa.core.VersionComparator;
import liquibase.changelog.ChangeSet;
import org.junit.Assert;
import org.junit.Test;

0 comments on commit 5060ae2

Please sign in to comment.