[[TOC]]
REST service serving as ambassador proxy to receive requests response from provincial systems.
- Where service fits in Solution Design
- Technical Documentation
- DSQ, SGOEM and DIS Transactions
- Different Error Codes used in service response
- Sample Test Data for request/response
- XML XPath Usage Guide
The service relies on various internal and third-party dependencies. Following are the internal (VPHX/PE) dependencies which are used, and requires to be upgraded on timely fashion:
<dependencies>
<dependency>
<groupId>com.sdm.ehealth</groupId>
<artifactId>rds-client</artifactId>
<version>${rds-client.version}</version>
</dependency>
<dependency>
<groupId>com.lblw.vphx.iams</groupId>
<artifactId>security-audit-engine</artifactId>
<version>${security-audit-engine.version}</version>
</dependency>
</dependencies>
There are a number of third-party dependencies used in the project. Browse the Maven pom.xml file for details of libraries and versions used.
These instructions will get you a copy of the project up and help you build the project.
You will need:
- JDK 11
- Maven 3.5+, download here
- GIT. See Git setup guide
- Docker, download here
- MongoDB Compass, download here
- GCP CLI. For access instructions and more, check here
- GlobalVPN Connect. Find download instructions I and II
gcloud components update
gcloud components install kubectl
gcloud auth application-default login
gcloud auth login --brief
gcloud config set project lt-sre-shipyard
gcloud config set compute/region northamerica-northeast1
gcloud container clusters get-credentials banting
git clone https://gitlab.lblw.ca/health-watch/domains/PHMS/phms-docker-setup.git
docker compose up --quite-pull -d
git clone https://gitlab.lblw.ca/health-watch/domains/PHMS/phms-provincial-registry-service.git
mvn clean install
OR
mvn clean install -DskipTests
File -> Open -> {project_location}/phms-provincial-registry-service
OR
In the main menu, choose `File -> Open` and select the /phms-provincial-registry-service/pom.xml. Click on the `Open` button.
SPRING_PROFILES_ACTIVE=local
java -jar /app/target/phms-provincial-registry-service*.jar
OR
Run com/lblw/vphx/phms/registry/ProvincialRegistryServiceApplication.java
For cloud deployment, follow the Gitlab -> Pipeline
- Module common-utils to be deprecated and removed.
- Integrate with common libraries.
- Resolve pending //TODO:
- Enhance code coverage.
- Pending Tech Debt/ Backlog
https://jira.lblw.cloud/browse/LTPHVPHXQC-2960 https://jira.lblw.cloud/browse/LTPHVPHXQC-2963 https://jira.lblw.cloud/browse/LTPHVPHXQC-2901