This is the template README. Please update this with project specific content.
API tests pack for disa-returns API.
Start Mongo Docker container as follows:
docker run --rm -d -p 27017:27017 --name mongo percona/percona-server-mongodb:6.0Start DISA_RETURNS_ALL services as follows:
sm2 --start PUSH_PULL_NOTIFICATIONS_API --appendArgs '{"PUSH_PULL_NOTIFICATIONS_API": ["-Dallowlisted.useragents.0=api-subscription-fields","-Dallowlisted.useragents.1=disa-returns","-DvalidateHttpsCallbackUrl=false"]}'
sm2 --start DISA_RETURNS_ALLRun tests as follows:
- Argument
<environment>must belocal,dev,qaorstaging.
./run-tests.sh <environment>Check all project files are formatted as expected as follows:
sbt scalafmtCheckAllFormat *.sbt and project/*.scala files as follows:
sbt scalafmtSbtFormat all project files as follows:
sbt scalafmtAllThis code is open source software licensed under the Apache 2.0 License.