Skip to content

shaunmillargov/DPS

 
 

Repository files navigation

DPS

A Document Processing System.

Project Structure

.
├── .github                     # Contains GitHub Related sources
├── configurations              # 
├── openshift                   # openshift templates and pipeline
├── src/                        # application source files
│   ├── spdnotificationworker/     # SPD Notification Worker
│   ├── dpsnotificationservice/ # DPS Notification service  
│   ├── dpsvalidationservice/   # DPS DFCM service
|   ├── figvalidationservice/   # DPS Figaro Validator service
|   ├── paymentservice/         # DPS payment service
│   └── service-api             # DPS service api
├── tests                       # Tests files
├── docker-compose.yml          # docker compose definition
├── LICENSE                     # Apache License
└── README.md                   # This file.

Run

Install Docker

Create a .env file based of .env.template and choose a password for splunk

run

docker-compose up dps-splunk

login into splunk admin:<your password>

Enable splunk Http Event Collector and create a token

Update your .env file with the newly created token value and the figaro server information

Install Splunk Addon for NGINX app following this instructions

Restart splunk when prompted

Restart docker-compose with the new changes

docker-compose up --build -d

Dps Service List

Name Doc Notes
Payment Service Doc
CRRP Notification Worker Doc
DPS Notification Service Doc
DPS Validation Service Doc
Figaro Validation Service Doc
VIPS Notification Worker Doc

Endpoints

URL Method Description
Payment Service --- ---
http://localhost:5050/paymentservice/bamboraconfiguration GET Bambora configuration url
http://localhost:5050/paymentservice/getSinglePaymentURL GET Single Payment Url
http://localhost:8081/paymentservice/actuator/health GET Payment Service Health
http://localhost:8081/paymentservice/swagger-ui.html GET Figaro Validator Swagger-UI
http://localhost:8081/paymentservice/v2/api-docs GET Figaro Validator Api docs
Figaro Validation --- ---
http://localhost:5050/figvalidationservice/locateMatchingApplicants GET Locate Matching Applicants
http://localhost:5050/figvalidationservice/validateApplicantService GET Validate Applicant Service
http://localhost:5050/figvalidationservice/validateApplicantForSharing GET Validate Applicant Sharing
http://localhost:5050/figvalidationservice/validateApplicantPartyId GET Validate Applicant Party ID
http://localhost:8082/figvalidationservice/actuator/health GET Figaro Validator Health
http://localhost:8082/figvalidationservice/swagger-ui.html GET Figaro Validator Swagger-UI
DPS Validation --- ---
http://localhost:5050/dpsvalidationservice/getValidOpenDFCMCase GET Valid Open DFCM Case
http://localhost:8083/dpsvalidationservice/actuator/health GET DPS Validation Service Health
http://localhost:8083/dpsvalidationservice/swagger-ui.html GET DPS Validation Service Swagger-UI
http://localhost:8083/dpsvalidationservice/v2/api-docs GET DPS Validation Service Swagger
DPS Output Notification --- ---
http://localhost:5054/dpsnotificationservice/actuator/health GET DPS Notification Service Health
http://localhost:5050/ws/dpsOutputNotification.wsdl GET DPS Output Notification Service WSDL
CRRP Notification Worker --- ---
http://localhost:5055/crrpnotificationworker/actuator/health GET CRRP Notification
CRRP Notification Worker --- ---
http://localhost:5056/vipsnotificationworker/actuator/health GET CRRP Notification

Worker Health | | SUPPORT APPS | --- | --- | | RabbitMq | Rabbit MQ management console | --- | | Splunk | Splunk Web | --- |

Tests

Postman

We maintain a postman collection and a postman environment.

You can also run the collection using newman

Install newman as a global tool

npm install -g newman

Run the collection

cd tests/postman
newman run DPS-Service-Api.postman_collection.json -e dps-local-env.postman_environment.json

Run the with the datafile

cd tests/postman
newman run DPS-Service-Api.postman_collection.json -e dps-local-env.postman_environment.json -d get-valid-open-dfcm-case-datafile.json

About

Document Processing Services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 95.8%
  • Shell 2.9%
  • Dockerfile 1.3%