Skip to content

Commit f6dd187

Browse files
INJICERT-661 Updated dependencies and README
Signed-off-by: Hitesh Jain <[email protected]>
1 parent b750981 commit f6dd187

File tree

4 files changed

+34
-7
lines changed

4 files changed

+34
-7
lines changed

certify-service-with-plugins/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mosipdev/inji-certify:INJICERT-661
1+
FROM mosipdev/inji-certify:develop
22

33
ARG SOURCE
44
ARG COMMIT_HASH
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Certify Service with Plugins
2+
3+
## Overview
4+
`certify-service-with-plugins` is a streamlined service that bundles runtime JARs within the Docker image, eliminating the need for an external artifact repository like Artifactory. This enhances deployment efficiency and reduces external dependencies.
5+
This is built on top of base inji-certify docker image and includes the plugins required for the service to run.
6+
7+
## Features
8+
- Bundles runtime JARs directly within the Docker image.
9+
- Simplifies deployment process for demos and POCs.
10+
- Removes dependency on Artifactory.
11+
- Supports optional installation of `hsm_client` during deployment.
12+
13+
## Installation & Deployment
14+
### Prerequisites
15+
- Docker installed on the system.
16+
- Required JARs included in the build process.
17+
18+
### Deploying the Service
19+
To deploy the service, ensure the necessary configurations are set in your deployment pipeline. The JARs are already included in the image, so no additional artifact retrieval steps are needed.
20+
New plugins if needed can be mounted loader_path
21+
22+
#### Enabling HSM Client
23+
To install the `hsm_client`, set the following environment variable in the deployment configuration:
24+
```sh
25+
$install_hsm_client=true
26+
```

certify-service-with-plugins/pom.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@
3636

3737
<properties>
3838
<certify-plugins.location>target/certify-plugins</certify-plugins.location>
39-
<mock-certify-plugin.version>0.3.1-SNAPSHOT</mock-certify-plugin.version>
39+
<mock-certify-plugin.version>0.4.0-SNAPSHOT</mock-certify-plugin.version>
4040
<mock-certify-plugin.fileName>mock-certify-plugin.jar</mock-certify-plugin.fileName>
41-
<mosip-identity-certify-plugin.version>0.3.0-SNAPSHOT</mosip-identity-certify-plugin.version>
41+
<mosip-identity-certify-plugin.version>0.4.0-SNAPSHOT</mosip-identity-certify-plugin.version>
4242
<mosip-identity-certify-plugin.fileName>mosip-identity-certify-plugin.jar</mosip-identity-certify-plugin.fileName>
43-
<postgres-dataprovider-plugin.version>0.3.0-SNAPSHOT</postgres-dataprovider-plugin.version>
43+
<postgres-dataprovider-plugin.version>0.4.0-SNAPSHOT</postgres-dataprovider-plugin.version>
4444
<postgres-dataprovider-plugin.fileName>postgres-dataprovider-plugin.jar</postgres-dataprovider-plugin.fileName>
45-
<sunbird-rc-certify-integration-plugin.version>0.3.0-SNAPSHOT</sunbird-rc-certify-integration-plugin.version>
45+
<sunbird-rc-certify-integration-plugin.version>0.4.0-SNAPSHOT</sunbird-rc-certify-integration-plugin.version>
4646
<sunbird-rc-certify-integration-plugin.fileName>sunbird-rc-certify-integration-impl.jar</sunbird-rc-certify-integration-plugin.fileName>
4747
</properties>
4848

docker-compose/docker-compose-injistack/docker-compose.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
- "5433:5432"
1515

1616
certify:
17-
image: mosipqa/inji-certify:0.10.x
17+
image: mosipdev/inji-certify-with-plugins:develop
1818
user: root
1919
ports:
2020
- 8090:8090
@@ -31,7 +31,8 @@ services:
3131
- ./config/certify-csvdp-farmer.properties:/home/mosip/config/certify-csvdp-farmer.properties
3232
- ./config/certify-mock-mdl.properties:/home/mosip/config/certify-mock-mdl.properties
3333
- ./data/CERTIFY_PKCS12:/home/mosip/CERTIFY_PKCS12
34-
- ./loader_path/certify/:/home/mosip/additional_jars/
34+
# This can be enabled if one uses inji-certify docker image instead of inji-certify-with-plugins
35+
#- ./loader_path/certify/:/home/mosip/additional_jars/
3536
# modify the below file to change the identity fields in the VC
3637
- ./config/farmer_identity_data.csv:/home/mosip/config/farmer_identity_data.csv
3738
networks:

0 commit comments

Comments
 (0)