A partner can test their biometric ABIS’s with MOSIP’s Compliance Toolkit. In this document, we have provided the steps that can be followed by the partner to enable the ABIS testing.
The diagram below illustrates the CTK deployment architecture.
Below is a quick demonstration followed by steps to set up ABIS for testing.
Checkout MOSIP’s Mock Services from https://github.com/mosip/mosip-mock-services
. Make sure to checkout the code from develop branch.
Go to REPO_ROOT/mock-abis
.
For setting ABIS queue configuration, follow the steps below:
Step 1: Create registration-processor-abis.json
in the resources folder with the below details.
Step 2: Update the following details in application-local.properties
.
Step 3: Update the following details in config.properties
.
Step 4: Build the code with the command mvn clean install -Dmaven.test.skip=true -Dgpg.skip=true
.
If you are testing with newer queues, then you need to first create them manually in active mq
console.
After build is successful, place your ABIS jar in the \mock-abis
folder
create a bat file to run mock ABIS
.
Here LOCAL_PATH
is the installation folder path for the mosip-mock-service.
Once the mock ABIS service is running, check if the JAR is working using the Swagger available at URL: http://localhost:8081/v1/mock-abis-service/swagger-ui.html
In CTK ,for the ABIS project configure the below details: