Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kiiza@kiiza-Extensa-5635Z:~/openmrs/openmrs-module-metadatadeploy$ git diff
- diff --git a/api/src/main/java/org/openmrs/module/metadatadeploy/bundle/CoreConstructors.java b/api/src/main/java/org/openmrs/module/metadatadep
- index 0ba558d..1db71c4 100644
- --- a/api/src/main/java/org/openmrs/module/metadatadeploy/bundle/CoreConstructors.java
- +++ b/api/src/main/java/org/openmrs/module/metadatadeploy/bundle/CoreConstructors.java
- @@ -14,6 +14,10 @@
- package org.openmrs.module.metadatadeploy.bundle;
- +import org.openmrs.api.db.hibernate.DbSessionFactory;
- +
- +import org.hibernate.SessionFactory;
- +
- import org.apache.commons.collections.CollectionUtils;
- import org.apache.commons.collections.Transformer;
- import org.apache.commons.lang.StringUtils;
- @@ -56,6 +60,16 @@ import java.util.Set;
- public class CoreConstructors {
- /**
- + * Constructs a dbsessionFactory source
- + * @return the transient object
- + */
- + public static DbSessionFactory dbSessionFactory(SessionFactory sessionFactory) {
- + DbSessionFactory obj = new DbSessionFactory();
- + obj.getSessionFactory(sessionFactory);
- + return obj;
- + }
- +
- + /**
- * Constructs a concept source
- * @param name the name
- * @param description the description
- diff --git a/omod/src/main/resources/config.xml b/omod/src/main/resources/config.xml
- index edb66e0..3dd49c3 100644
- --- a/omod/src/main/resources/config.xml
- +++ b/omod/src/main/resources/config.xml
- @@ -7,7 +7,7 @@
- <author>I-TECH</author>
- <description>${project.parent.description}</description>
- <updateURL>https://dev.openmrs.org/modules/download/${project.parent.artifactId}/update.rdf</updateURL>
- - <require_version>${openMRSVersion}</require_version>
- + <require_version>2.0,1.11.3, 1.10.2 - 1.10.*, 1.9.9 - 1.9.*</require_version>
- <require_modules>
- <require_module version="${metadatasharingVersion}">org.openmrs.module.metadatasharing</require_module>
- diff --git a/pom.xml b/pom.xml
- index 5f1b054..9876c44 100644
- --- a/pom.xml
- +++ b/pom.xml
- @@ -40,8 +40,8 @@
- </modules>
- <properties>
- - <openMRSVersion>1.9.4</openMRSVersion>
- - <openMRSBuildVersion>1.9.4</openMRSBuildVersion>
- + <openMRSVersion>1.10.2</openMRSVersion>
- + <openMRSBuildVersion>1.10.2</openMRSBuildVersion>
- <!-- Module dependencies -->
- <metadatasharingVersion>1.1.8</metadatasharingVersion>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement