-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
2,803 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
local-maven-repo/tz/go/moh/him/mediator-core/0.1-SNAPSHOT/maven-metadata-local.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata modelVersion="1.1.0"> | ||
<groupId>tz.go.moh.him</groupId> | ||
<artifactId>mediator-core</artifactId> | ||
<version>0.1-SNAPSHOT</version> | ||
<versioning> | ||
<snapshot> | ||
<localCopy>true</localCopy> | ||
</snapshot> | ||
<lastUpdated>20201229085041</lastUpdated> | ||
<snapshotVersions> | ||
<snapshotVersion> | ||
<extension>jar</extension> | ||
<value>0.1-SNAPSHOT</value> | ||
<updated>20201229085041</updated> | ||
</snapshotVersion> | ||
<snapshotVersion> | ||
<extension>pom</extension> | ||
<value>0.1-SNAPSHOT</value> | ||
<updated>20201229085041</updated> | ||
</snapshotVersion> | ||
</snapshotVersions> | ||
</versioning> | ||
</metadata> |
1 change: 1 addition & 0 deletions
1
local-maven-repo/tz/go/moh/him/mediator-core/0.1-SNAPSHOT/maven-metadata-local.xml.md5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3eb4ebb3c4053558740f662f5f643352 |
1 change: 1 addition & 0 deletions
1
local-maven-repo/tz/go/moh/him/mediator-core/0.1-SNAPSHOT/maven-metadata-local.xml.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
de43132e8908182570bd93854d007cc213688fb5 |
Binary file added
BIN
+7.2 KB
local-maven-repo/tz/go/moh/him/mediator-core/0.1-SNAPSHOT/mediator-core-0.1-SNAPSHOT.jar
Binary file not shown.
1 change: 1 addition & 0 deletions
1
local-maven-repo/tz/go/moh/him/mediator-core/0.1-SNAPSHOT/mediator-core-0.1-SNAPSHOT.jar.md5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
f55c810c725b0f4b5bf7a20109c4dec8 |
1 change: 1 addition & 0 deletions
1
...l-maven-repo/tz/go/moh/him/mediator-core/0.1-SNAPSHOT/mediator-core-0.1-SNAPSHOT.jar.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
e1257ce1283f9284027025681ddd4faba8da7f29 |
244 changes: 244 additions & 0 deletions
244
local-maven-repo/tz/go/moh/him/mediator-core/0.1-SNAPSHOT/mediator-core-0.1-SNAPSHOT.pom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,244 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>tz.go.moh.him</groupId> | ||
<artifactId>mediator-core</artifactId> | ||
<version>0.1-SNAPSHOT</version> | ||
|
||
<name>mediator-core</name> | ||
<url>https://github.com/SoftmedTanzania/mediator-core</url> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>1.7</maven.compiler.source> | ||
<maven.compiler.target>1.7</maven.compiler.target> | ||
<powermock.version>2.0.5</powermock.version> | ||
<nexus-staging-maven-plugin.version>1.5.1</nexus-staging-maven-plugin.version> | ||
</properties> | ||
|
||
|
||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>nexus-snapshots</id> | ||
<name>Nexus Snapshots Repository</name> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
<uniqueVersion>false</uniqueVersion> | ||
</snapshotRepository> | ||
<repository> | ||
<id>nexus-releases</id> | ||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> | ||
</repository> | ||
</distributionManagement> | ||
|
||
<scm> | ||
<connection>scm:git:git@github.com:SoftmedTanzania/mediator-core.git</connection> | ||
<developerConnection>scm:git:git@github.com:SoftmedTanzania/mediator-core.git | ||
</developerConnection> | ||
<url>https://github.com/SoftmedTanzania/mediator-core</url> | ||
</scm> | ||
|
||
<repositories> | ||
<repository> | ||
<id>snapshots-repo</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
<releases> | ||
<enabled>false</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.2</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
<configuration> | ||
<doclint>none</doclint> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>3.2.0</version> | ||
<configuration> | ||
<excludes> | ||
<exclude>**/*.properties</exclude> | ||
</excludes> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>2.22.2</version> | ||
<configuration> | ||
<printSummary>true</printSummary> | ||
<excludes> | ||
<exclude>**/it/**</exclude> | ||
</excludes> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<version>${nexus-staging-maven-plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<id>default-deploy</id> | ||
<phase>deploy</phase> | ||
<goals> | ||
<goal>deploy</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<serverId>nexus-snapshots</serverId> | ||
<nexusUrl>https://oss.sonatype.org/</nexusUrl> | ||
<skipStaging>true</skipStaging> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.jacoco</groupId> | ||
<artifactId>jacoco-maven-plugin</artifactId> | ||
<version>0.8.5</version> | ||
<configuration> | ||
<destFile>${basedir}/target/coverage-reports/jacoco-unit.exec</destFile> | ||
<dataFile>${basedir}/target/coverage-reports/jacoco-unit.exec</dataFile> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>jacoco-initialize</id> | ||
<goals> | ||
<goal>prepare-agent</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>jacoco-site</id> | ||
<phase>test</phase> | ||
<goals> | ||
<goal>report</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eluder.coveralls</groupId> | ||
<artifactId>coveralls-maven-plugin</artifactId> | ||
<version>4.3.0</version> | ||
<dependencies> | ||
<dependency> | ||
<groupId>javax.xml.bind</groupId> | ||
<artifactId>jaxb-api</artifactId> | ||
<version>2.3.1</version> | ||
</dependency> | ||
</dependencies> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.openhim</groupId> | ||
<artifactId>mediator-engine</artifactId> | ||
<version>4.0.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.dataformat</groupId> | ||
<artifactId>jackson-dataformat-csv</artifactId> | ||
<version>2.11.1</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
<version>2.11.1</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.json</groupId> | ||
<artifactId>json</artifactId> | ||
<version>20201115</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.code.gson</groupId> | ||
<artifactId>gson</artifactId> | ||
<version>2.8.6</version> | ||
</dependency> | ||
|
||
<!-- Test dependencies --> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.13</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.powermock</groupId> | ||
<artifactId>powermock-module-junit4</artifactId> | ||
<version>${powermock.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.powermock</groupId> | ||
<artifactId>powermock-module-junit4-rule</artifactId> | ||
<version>${powermock.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.powermock</groupId> | ||
<artifactId>powermock-api-mockito2</artifactId> | ||
<version>${powermock.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.powermock</groupId> | ||
<artifactId>powermock-classloading-xstream</artifactId> | ||
<version>${powermock.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.mockito</groupId> | ||
<artifactId>mockito-core</artifactId> | ||
<version>3.3.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.typesafe.akka</groupId> | ||
<artifactId>akka-testkit_2.10</artifactId> | ||
<version>2.3.7</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
</project> |
1 change: 1 addition & 0 deletions
1
local-maven-repo/tz/go/moh/him/mediator-core/0.1-SNAPSHOT/mediator-core-0.1-SNAPSHOT.pom.md5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
a12bb771e096abe9439be98c9010282f |
1 change: 1 addition & 0 deletions
1
...l-maven-repo/tz/go/moh/him/mediator-core/0.1-SNAPSHOT/mediator-core-0.1-SNAPSHOT.pom.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
c01ec7db67a24100f09d773ee29bfdc7790ae21c |
11 changes: 11 additions & 0 deletions
11
local-maven-repo/tz/go/moh/him/mediator-core/maven-metadata-local.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata> | ||
<groupId>tz.go.moh.him</groupId> | ||
<artifactId>mediator-core</artifactId> | ||
<versioning> | ||
<versions> | ||
<version>0.1-SNAPSHOT</version> | ||
</versions> | ||
<lastUpdated>20201229085041</lastUpdated> | ||
</versioning> | ||
</metadata> |
1 change: 1 addition & 0 deletions
1
local-maven-repo/tz/go/moh/him/mediator-core/maven-metadata-local.xml.md5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ce61332cfef622ca8c6a27f25aa42a8a |
1 change: 1 addition & 0 deletions
1
local-maven-repo/tz/go/moh/him/mediator-core/maven-metadata-local.xml.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d90c53bbb1152ec698a8b249c6c3382300364a51 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.softmed.hdr_mediator_emr; | ||
|
||
public class Constants { | ||
|
||
public interface errorMessages { | ||
String ERROR_DEPARTMENT_NOT_MAPPED = " - Department not mapped;"; | ||
String ERROR_REQUIRED_FIELDS_CHECK_FAILED = " - Required fields are empty;"; | ||
String ERROR_INVALID_PAYLOAD = "Invalid payload;"; | ||
String ERROR_SERVICE_DATE_IS_OF_INVALID_FORMAT_IS_NOT_A_VALID_PAST_DATE = " - service date is of invalid format/is not a valid past date;"; | ||
String ERROR_TRANSACTION_DATE_IS_OF_INVALID_FORMAT_IS_NOT_A_VALID_PAST_DATE = " - transaction date is of invalid format/is not a valid past date;"; | ||
String ERROR_DATE_DEATH_OCCURRED_IS_OF_INVALID_FORMAT_IS_NOT_A_VALID_PAST_DATE = " - date death occurred is of invalid format/is not a valid past date;"; | ||
String ERROR_ADMISSION_DATE_OCCURRED_IS_OF_INVALID_FORMAT_IS_NOT_A_VALID_PAST_DATE = " - admission date is of invalid format/is not a valid past date;"; | ||
|
||
} | ||
} |
Oops, something went wrong.