|
|
3 years ago | |
|---|---|---|
| alexissecureapi | 3 years ago | |
| alexissecuredb | 3 years ago | |
| clearing | 3 years ago | |
| clearingdb | 3 years ago | |
| dalapi | 3 years ago | |
| daldb | 3 years ago | |
| dockerfiles | 3 years ago | |
| res | 3 years ago | |
| utils | 3 years ago | |
| .gitattributes | 3 years ago | |
| .gitignore | 3 years ago | |
| README.md | 3 years ago | |
| setup.cmd | 3 years ago |
Additional documentation: https://gpsprocessor.atlassian.net/wiki/spaces/SysDev/pages/1876919054/gps.docker
Double click on the setup.cmd file in the gps.docker directory This generates a local https dev certificate and copies your git private key file to the res folder
Type the following command to login to the GPS nexus repository using docker as the username and Pv5p9wvtzcbaPjW as the password
docker login nexus.globalprocessing.net
If a certificate error occurs (X509: certificate signed by unknow authority) Go to settings in the docker UI in Docker Engine Put the following in insecure registries:
"insecure-registries": ["nexus.globalprocessing.net:443", "nexus.globalprocessing.net"],
If using wsl2 create a file called .wslconfig
[wsl2]
memory=8GB
processors=4
The following directories need to be created in order for clearing to work:
C:\GPS\HighPriorityClearingFiles
C:\GPS\LowPriorityClearingFiles
C:\GPS.Clearing\GPS.Clearing.Matching.Database
C:\GPS.Currency
There needs to be a Rates.db file in C:\GPS.Currency This can be obtained from the Clearing E2E server.
Docker images can either be build or pulled from the docker repository
To run test using docker in the Test menu choose Configure Run Settings then Select Solution Wide runnsettings File and choose the docker.runsettings file.
In PowerShell (in the directory where you cloned this repository)
cd clearing
docker-compose pull
In PowerShell (in the directory you cloned this repository)
cd clearing
docker-compose build
The docker-compose.yml file contains services for the following: Comment out or delete whatever is not required (already installed)
This mount either a dockervm for clearing or an AWS database
To stop in Administrator Powershell run:
net stop rabbitmq
In a cmd shell or PowerShell run the following:
docker-compose up -d
docker-compose stop matching
docker-compose up -d matching
docker-compose down
Use Docker configuration when testing
The following appsettings should be changed for docker:
"AlexisConnectionString": "Server=localhost,1435;Database=AlexisPTSTest;User Id=gpspl;Password=yW2S6KXdY8;",
"AlexisReadWriteConnectionString": "Server=localhost,1435;Database=AlexisReadWrite;User Id=gpspl;Password=yW2S6KXdY8;",
"Tier2ConnectionString": "Server=localhost,1435;Database=Tier2;User Id=gpspl;Password=yW2S6KXdY8;",