Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration Mediator #3

Merged
merged 26 commits into from
Jan 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ff99fac
updated the gitignore to reflect the use of intellij
nityan Jan 6, 2021
8ae2f52
first pass at adding support for epicor integration
nityan Jan 6, 2021
c699ea9
first pass on refactoring the epicor hfr mediator to be generic
nityan Jan 6, 2021
2e1b282
import cleanup
nityan Jan 6, 2021
572191f
fixed tests
nityan Jan 7, 2021
1c7ed5a
cleaned up the epicor acknowledgement orchestrator
nityan Jan 7, 2021
74be663
added a check for the mediator registration info json
nityan Jan 7, 2021
3691438
added a template error-messages.json file
nityan Jan 7, 2021
d433bb5
documentation cleanup
nityan Jan 7, 2021
ace6553
first pass at refactoring the mediator to be more generic
nityan Jan 8, 2021
ec36e73
updated logs
nityan Jan 8, 2021
024d36e
added support to the facility orchestrator to include loading a usern…
nityan Jan 8, 2021
569f178
updated unit tests
nityan Jan 8, 2021
265ce1e
added support for local auth (configruation based) vs external based …
nityan Jan 8, 2021
21dfc91
added maven build plugins to generate the sources and javadoc
nityan Jan 8, 2021
7ba426c
import cleanup
nityan Jan 8, 2021
4fedc11
added more tests
nityan Jan 11, 2021
2b65864
changed port 3001 to 3003
nityan Jan 11, 2021
2d9f509
fixed tests and added documentation
nityan Jan 11, 2021
f6b732f
documentation cleanup
nityan Jan 12, 2021
f8605b1
added tests for the HfrRequest class
nityan Jan 12, 2021
65f1562
cleanup
nityan Jan 12, 2021
2814383
renamed test
nityan Jan 12, 2021
82449ae
cleaned up the initialization of the HFR operation map
nityan Jan 12, 2021
d4b6abc
removed unused code
nityan Jan 12, 2021
ce7372d
removed unused imports
nityan Jan 12, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 69 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,72 @@
target/
.project
.classpath
.settings/
.DS_Store
.idea/
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

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

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

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
.idea/artifacts
.idea/compiler.xml
.idea/jarRepositories.xml
.idea/modules.xml
.idea/*.iml
.idea/modules
*.iml
*.ipr

# CMake
cmake-build-*/

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

# File-based project format
*.iws
logfile
*.log*

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
target/
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations/All_Tests.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions .idea/runConfigurations/Build.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 52 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,37 @@
<url>file:///${project.basedir}/local-maven-repo</url>
</repository>
</repositories>
<developers>
<developer>
<email>dnchembi_at_softmed_dot_co_dot_tz</email>
<name>Danford Nchembi</name>
<organization>SoftMed Technologies</organization>
</developer>
<developer>
<email>ilakozejumanne_at_softmed_dot_co_dot_tz</email>
<name>Ilakoze Jumanne</name>
<organization>SoftMed Technologies</organization>
</developer>
<developer>
<email>ibrahimmo_at_hhsc_dot_ca</email>
<name>Mohamed Ibrahim</name>
<organization>Hamilton Health Sciences</organization>
</developer>
<developer>
<email>khannani_at_hhsc_dot_ca</email>
<name>Nityan Khanna</name>
<organization>Hamilton Health Sciences</organization>
</developer>
</developers>
<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>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
Expand All @@ -41,7 +63,7 @@
</descriptorRefs>
<archive>
<manifest>
<mainClass>tz.go.moh.him.elmis.mediator.e9.MediatorMain</mainClass>
<mainClass>tz.go.moh.him.hfr.mediator.MediatorMain</mainClass>
</manifest>
</archive>
</configuration>
Expand Down Expand Up @@ -84,6 +106,32 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<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>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
Expand All @@ -101,7 +149,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
30 changes: 0 additions & 30 deletions src/main/java/tz/go/moh/him/hfr/mediator/DefaultOrchestrator.java

This file was deleted.

Loading