myrle-krantz closed pull request #4: Updating package names.
URL: https://github.com/apache/fineract-cn-data-jpa/pull/4
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.gitignore b/.gitignore
index 5e1104b..0e7231f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
 .idea
 **/build/
 **/target/
+**/out/
 
 # Ignore Gradle GUI config
 gradle-app.setting
diff --git a/README.md b/README.md
index ba5b125..50acb7d 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/src/main/java/io/mifos/core/data/jpa/EnableJpa.java 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/EnableJpa.java
similarity index 90%
rename from src/main/java/io/mifos/core/data/jpa/EnableJpa.java
rename to src/main/java/org/apache/fineract/cn/core/data/jpa/EnableJpa.java
index f962737..427f18d 100644
--- a/src/main/java/io/mifos/core/data/jpa/EnableJpa.java
+++ b/src/main/java/org/apache/fineract/cn/core/data/jpa/EnableJpa.java
@@ -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;
diff --git 
a/src/main/java/io/mifos/core/data/jpa/core/DatabaseConnectorConfiguration.java 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/core/DatabaseConnectorConfiguration.java
similarity index 98%
rename from 
src/main/java/io/mifos/core/data/jpa/core/DatabaseConnectorConfiguration.java
rename to 
src/main/java/org/apache/fineract/cn/core/data/jpa/core/DatabaseConnectorConfiguration.java
index 644a731..60391a9 100644
--- 
a/src/main/java/io/mifos/core/data/jpa/core/DatabaseConnectorConfiguration.java
+++ 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/core/DatabaseConnectorConfiguration.java
@@ -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;
diff --git 
a/src/main/java/io/mifos/core/data/jpa/core/DatabaseConnectorConstants.java 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/core/DatabaseConnectorConstants.java
similarity index 89%
rename from 
src/main/java/io/mifos/core/data/jpa/core/DatabaseConnectorConstants.java
rename to 
src/main/java/org/apache/fineract/cn/core/data/jpa/core/DatabaseConnectorConstants.java
index 26f3c49..ecc7945 100644
--- a/src/main/java/io/mifos/core/data/jpa/core/DatabaseConnectorConstants.java
+++ 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/core/DatabaseConnectorConstants.java
@@ -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";
 }
diff --git a/src/main/java/io/mifos/core/data/jpa/core/MigrationHelper.java 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/core/MigrationHelper.java
similarity index 97%
rename from src/main/java/io/mifos/core/data/jpa/core/MigrationHelper.java
rename to 
src/main/java/org/apache/fineract/cn/core/data/jpa/core/MigrationHelper.java
index 17cb1d3..db39d9e 100644
--- a/src/main/java/io/mifos/core/data/jpa/core/MigrationHelper.java
+++ 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/core/MigrationHelper.java
@@ -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;
diff --git a/src/main/java/io/mifos/core/data/jpa/core/VersionComparator.java 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/core/VersionComparator.java
similarity index 97%
rename from src/main/java/io/mifos/core/data/jpa/core/VersionComparator.java
rename to 
src/main/java/org/apache/fineract/cn/core/data/jpa/core/VersionComparator.java
index 86b8cd6..629c6fa 100644
--- a/src/main/java/io/mifos/core/data/jpa/core/VersionComparator.java
+++ 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/core/VersionComparator.java
@@ -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;
 
diff --git 
a/src/main/java/io/mifos/core/data/jpa/local/LocalDatabaseConfiguration.java 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/local/LocalDatabaseConfiguration.java
similarity index 91%
rename from 
src/main/java/io/mifos/core/data/jpa/local/LocalDatabaseConfiguration.java
rename to 
src/main/java/org/apache/fineract/cn/core/data/jpa/local/LocalDatabaseConfiguration.java
index e98acd2..ad91835 100644
--- a/src/main/java/io/mifos/core/data/jpa/local/LocalDatabaseConfiguration.java
+++ 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/local/LocalDatabaseConfiguration.java
@@ -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 {
diff --git 
a/src/main/java/io/mifos/core/data/jpa/local/LocalDatabaseProperties.java 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/local/LocalDatabaseProperties.java
similarity index 98%
rename from 
src/main/java/io/mifos/core/data/jpa/local/LocalDatabaseProperties.java
rename to 
src/main/java/org/apache/fineract/cn/core/data/jpa/local/LocalDatabaseProperties.java
index 215d6bd..b459115 100644
--- a/src/main/java/io/mifos/core/data/jpa/local/LocalDatabaseProperties.java
+++ 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/local/LocalDatabaseProperties.java
@@ -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;
 
diff --git 
a/src/main/java/io/mifos/core/data/jpa/local/LocalRoutingDataSource.java 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/local/LocalRoutingDataSource.java
similarity index 95%
rename from 
src/main/java/io/mifos/core/data/jpa/local/LocalRoutingDataSource.java
rename to 
src/main/java/org/apache/fineract/cn/core/data/jpa/local/LocalRoutingDataSource.java
index b29bbac..9552465 100644
--- a/src/main/java/io/mifos/core/data/jpa/local/LocalRoutingDataSource.java
+++ 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/local/LocalRoutingDataSource.java
@@ -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;
 
diff --git 
a/src/main/java/io/mifos/core/data/jpa/local/repository/DataSourceInstance.java 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/local/repository/DataSourceInstance.java
similarity index 97%
rename from 
src/main/java/io/mifos/core/data/jpa/local/repository/DataSourceInstance.java
rename to 
src/main/java/org/apache/fineract/cn/core/data/jpa/local/repository/DataSourceInstance.java
index c450484..6f1ea07 100644
--- 
a/src/main/java/io/mifos/core/data/jpa/local/repository/DataSourceInstance.java
+++ 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/local/repository/DataSourceInstance.java
@@ -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;
diff --git 
a/src/main/java/io/mifos/core/data/jpa/local/repository/DataSourceInstanceRepository.java
 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/local/repository/DataSourceInstanceRepository.java
similarity index 94%
rename from 
src/main/java/io/mifos/core/data/jpa/local/repository/DataSourceInstanceRepository.java
rename to 
src/main/java/org/apache/fineract/cn/core/data/jpa/local/repository/DataSourceInstanceRepository.java
index 1282cab..1e4be1a 100644
--- 
a/src/main/java/io/mifos/core/data/jpa/local/repository/DataSourceInstanceRepository.java
+++ 
b/src/main/java/org/apache/fineract/cn/core/data/jpa/local/repository/DataSourceInstanceRepository.java
@@ -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;
diff --git a/src/test/java/io/mifos/core/data/jpa/TestDataJpa.java 
b/src/test/java/org/apache/fineract/cn/core/data/jpa/TestDataJpa.java
similarity index 90%
rename from src/test/java/io/mifos/core/data/jpa/TestDataJpa.java
rename to src/test/java/org/apache/fineract/cn/core/data/jpa/TestDataJpa.java
index 0412eb7..1770db3 100644
--- a/src/test/java/io/mifos/core/data/jpa/TestDataJpa.java
+++ b/src/test/java/org/apache/fineract/cn/core/data/jpa/TestDataJpa.java
@@ -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;
diff --git a/src/test/java/io/mifos/core/data/jpa/TestVersionComparator.java 
b/src/test/java/org/apache/fineract/cn/core/data/jpa/TestVersionComparator.java
similarity index 97%
rename from src/test/java/io/mifos/core/data/jpa/TestVersionComparator.java
rename to 
src/test/java/org/apache/fineract/cn/core/data/jpa/TestVersionComparator.java
index 8ab56cd..7db7ca0 100644
--- a/src/test/java/io/mifos/core/data/jpa/TestVersionComparator.java
+++ 
b/src/test/java/org/apache/fineract/cn/core/data/jpa/TestVersionComparator.java
@@ -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;


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to