A pre-assured implementation of part of the GP2GP 2.2b patient transfer process
10K+
To help you begin using the GP2GP Adaptor we provide shell scripts and Docker Compose configurations.
To get running make sure you have an OpenTest environment setup. The project also includes mock dependencies for local testing and development.
git clone https://github.com/nhsconnect/integration-adaptor-gp2gp.git
Every tagged container on Docker hub has a corresponding tag in the git repository. Checkout the tag of the release you are testing to ensure compatibility with configurations and scripts.
git pull
git checkout 1.5.2
cd integration-adaptor-gp2gp/docker
The repository includes several configuration examples:
vars.local.e2e.sh or vars.local.tests.sh template to run the adaptor against mock service containersvars.opentest.sh template to run the adaptor against the OpenTest environmentConfigure the application by copying a vars.*.sh file to vars.sh
cp vars.local.e2e.sh vars.sh
Make any required changes to the vars.sh file. If using vars.local.sh you do not need to modify anything. Refer
to the README for possible configuration
options.
cd ../release
The script pulls the released GP2GP adaptor container image from Docker Hub. It builds containers for its dependencies from the Dockerfiles in the repository.
./run.sh
./logs.sh
We provide shell scripts in the release/tests directory to help you start testing.
healthcheck.sh verifies that the adaptor's healthcheck endpoint is availablee2e.sh starts a docker container that runs the adaptor's end-to-end testscd tests/
./healthcheck.sh
./e2e.sh
cd ../docker
docker-compose down
Content type
Image
Digest
sha256:cbf2608eb…
Size
171.8 MB
Last updated
about 1 month ago
docker pull nhsdev/nia-gp2gp-adaptor:3.3.0