Skip to content

Commit

Permalink
Create a new module for ugandaemr (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
solemabrothers authored Jan 12, 2021
1 parent 489c43c commit d14b117
Show file tree
Hide file tree
Showing 272 changed files with 334,114 additions and 0 deletions.
97 changes: 97 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/tools/target

# Scripts for installer
/tools/src/main/resources/upgrade/*.sql
/tools/src/main/resources/new_install/*.sql

# Created by .ignore support plugin (hsz.mobi)
.DS_Store
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio

*.iml

## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:

# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries

# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml

# Gradle:
# .idea/gradle.xml
# .idea/libraries

# Mongo Explorer plugin:
# .idea/mongoSettings.xml

## File-based project format:
*.ipr
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
### Eclipse template
*.pydevproject
.metadata
.gradle
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath

# Eclipse Core
.project

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# JDT-specific (Eclipse Java Development Tools)
.classpath

# Java annotation processor (APT)
.factorypath

# PDT-specific
.buildpath

# sbteclipse plugin
.target

# TeXlipse plugin
.texlipse

# Created by .ignore support plugin (hsz.mobi)
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
dist: trusty
language: java
jdk:
- oraclejdk8
script:
- if [ "$TRAVIS_BRANCH" = "main" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
mvn deploy --settings maven-settings.xml; else mvn install; fi
env:
global:
- secure: X/+P/TL0nQnk91mrhVmTikTRjlBHbkY1MaoVWu2Hg+u8dzmXa9HjywpsQQquYAj9Nar9/gBpmNe3SYVV2RXPmv8ERUmonBqSkGW4JpXQSrie1gB18XoX1VTP7arCqeY3SCzUy0sBDCPnZXzsCnAcgDxBTbKrgQHvCwV+snXJjSNsGsJoIwTdlnz+kOHFZncyMgbFAh2lnU1UsyZ9pPSTPEn2DCxg6co6ZcLgeXCO1gauGHmNlaTE4NU2ExaUXEPd32sYqD6OTqkeFeLUQxWiNtElCXC70SpjCqsCnN5VEFPTeEOYlWAR19PvfCPoquiHXD+y4uRaf1avGfQGtjfbRuy749OAD+Aa5KUMKrQ44KZlD3FM2VYVHqhCvxlVqch/yom3wqPhMrnC68wgRY2v7VZxwm/WxWI/KQzJVYsAK+5rVyzCqcAc4tTyohtrX8BpBi8iDXEdYRkudvB/5ba/eNTSOgIVBnZc24t4kRRqODDBV1P/Q2BFe+Td4bXmOHsGB4/KpPue2H9Ik7Vk+uzS5eJGhRB8uIXOLKVHyPRDYjWJDOBsGwK4NZyl7JXIRunTCMx4VlVh6rjCJz0CHd1Ri85Rc6QgfRTf/obJKGjTv8Zv131atm66ZJHfVwuf+Q6N2LTK4UKwh/xdH16+tSrCY6Qr+Deu4xCtaX+QK7pvF78=
- secure: fax3oJAMhG8992NqrYo+RRQWHqYMpjddARoCPEoi2TA7lPBAsd5FJkSQW+o/dXtOjQs05udE7G4/hWAQtYSV2DSOxSVPJBHfMvSjIrMmuY0pTowFsPRqtDeBzawBDbM6HFJkDIDuCa26hehipgtiWkeubU7MdGMUyhPfBG3fnq7TUenACI4RBxJelft5WFTMsBo+RqwKh7AJSRDbgwszIYu+XuUjxqKIpZx5p1zth/idQN5aIxM7UVgVzY1bXdKQd345d5DFAxb2MyX1g15Xa9weDCTHLqmtZuAtHRFVA7Ig7yUr8k33sqEtm/ExlyaTThflPvBBZm/nyh4fou/lJolAnxtyR7+8No5mRX0S8MH5H1x97s9FM48ldZ1llw3SmA332evlm95Qo/9pDzFv5RfeRwhXHb4p5NrCw6ayIa6MWBa04Jn2thylCxSvTUEtFwJC7aGVrCEMWSzS9RmyxO2aFDL4zqr0Rk5cUygonl/NBGl6yCeqvqHLLBMOgIc+t2pGCq9Iw9YXvn/tV7gtRBoPqphJn5sNOad5h55x9DxxcYrhTV/jcNvzaS9n5luF145vNb1+uQekwkpB65Tv0kVHhqltg0kZ+uEUfotJDJWqs669hQ+Hzt0+Pcxtsc+ZacRzFPcp8+FP/TY7xLFHYTFSzyKKa+PMJulD6vO7Q6c=
1 change: 1 addition & 0 deletions api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target/
240 changes: 240 additions & 0 deletions api/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,240 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.openmrs.module</groupId>
<artifactId>ugandaemr</artifactId>
<version>3.1.4-SNAPSHOT</version>
</parent>

<artifactId>ugandaemr-api</artifactId>
<packaging>jar</packaging>
<name>Ugandaemr Module API</name>
<description>API project for ugandaemr</description>

<dependencies>

<!--
Add other dependencies from parent's pom:
<dependency>
<groupId>org.other.library</groupId>
<artifactId>library-name</artifactId>
</dependency>
-->

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>

<!-- Begin OpenMRS core -->

<dependency>
<groupId>org.openmrs.api</groupId>
<artifactId>openmrs-api</artifactId>
<type>jar</type>
</dependency>

<dependency>
<groupId>org.openmrs.web</groupId>
<artifactId>openmrs-web</artifactId>
<type>jar</type>
</dependency>

<dependency>
<groupId>org.openmrs.api</groupId>
<artifactId>openmrs-api</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.openmrs.test</groupId>
<artifactId>openmrs-test</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>

<!-- End OpenMRS core -->
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>addresshierarchy-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>appframework-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>calculation-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>dataexchange-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>dataintegrity-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>emrapi-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>emrapi-api-1.12</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>emrapi-api-pre2.2</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs</groupId>
<artifactId>event-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>formentryapp-omod</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>htmlformentry-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>htmlformentry-api-1.10</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>htmlformentry-api-2.0</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>htmlformentry-api-2.3</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>htmlformentryui-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>idgen-api</artifactId>
</dependency>

<dependency>
<groupId>pl.pragmatists</groupId>
<artifactId>JUnitParams</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>legacyui-omod</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>metadatadeploy-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>metadatamapping-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>metadatasharing-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>providermanagement-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>patientflags-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>registrationcore-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>registrationapp-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>reporting-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>serialization.xstream-api</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>serialization.xstream-api-2.0</artifactId>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>uiframework-api</artifactId>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>patientqueueing-api</artifactId>
</dependency>
</dependencies>

<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<excludes>
<!-- exclude binary files from filtering as this causes corruption of the files -->
<exclude>*.zip</exclude>
<exclude>metadata/*.zip</exclude>
</excludes>
</resource>
<!-- Add the binary files to the omod without filtering -->
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<includes>
<include>*.zip</include>
<include>metadata/*.zip</include>
</includes>
</resource>
</resources>

<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
</build>

</project>
Loading

0 comments on commit d14b117

Please sign in to comment.