From 3ece39b36a599227430628a8a36c0b3431d45f5a Mon Sep 17 00:00:00 2001 From: ase-101 Date: Mon, 22 Jul 2024 13:09:14 +0530 Subject: [PATCH 1/3] ES-842 Update pom.xml Signed-off-by: ase-101 --- artifacts/pom.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/artifacts/pom.xml b/artifacts/pom.xml index 6f2c71a5..88b6b09e 100644 --- a/artifacts/pom.xml +++ b/artifacts/pom.xml @@ -216,6 +216,13 @@ esignet-ida-wrapper.jar 0.1.0-SNAPSHOT sunbird-rc-esignet-integration-impl.jar + + /usr/share/nginx/html/artifactory/libs-release-local/esignet/esignet-plugins + 1.3.0-SNAPSHOT + esignet-mock-plugin.jar + 1.3.0-SNAPSHOT + mosip-identity-plugin.jar + @@ -561,6 +568,25 @@ ${certify-sunbird-plugin.fileName} jar + + + io.mosip.esignet.plugin + ${mosip-identity-plugin.version} + mosip-identity-plugin + ${esignet-plugins.location} + ${mosip-identity-plugin.fileName} + jar + + + + io.mosip.esignet.plugin + ${esignet-mock-plugin.version} + mock-plugin + ${esignet-plugins.location} + ${esignet-mock-plugin-plugin.fileName} + jar + + true true From 005b22c1cb955f9cae496fd2b3a65b33e3477efa Mon Sep 17 00:00:00 2001 From: ase-101 Date: Mon, 22 Jul 2024 13:12:26 +0530 Subject: [PATCH 2/3] Update Dockerfile ES-842 --- artifacts/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artifacts/Dockerfile b/artifacts/Dockerfile index d6a595f9..d88eefa1 100644 --- a/artifacts/Dockerfile +++ b/artifacts/Dockerfile @@ -140,7 +140,7 @@ ENV version=1.2.1-SNAPSHOT ENV idp_auth_wrapper_version=0.0.1-SNAPSHOT # Create all the jar, i18n & theme paths. -RUN mkdir -p ${biosdk_client_zip_java21_path}/biosdk-client/ ${biosdk_client_zip_path}/biosdk-client ${demosdk_zip_path}/demosdk ${biosdk_lib_zip_path}/biosdk-lib ${biosdk_lib_zip_java21_path}/biosdk-lib ${cache_path} ${ida_sh_path} ${hsm_client_path} ${mosip_plugins_zip_path} ${kernel_jar_path} ${test_jar_path} ${idobject_jar_path} ${regproc_jar_path} ${sdk_path} ${image_compressor_path}/image-compressor ${icu4j_jar_path} ${icu4j_jar_path}/java21 ${clamav_path} ${i18n_zip_path} ${theme_zip_path} ${image_zip_path} ${child_auth_filter_jar_path} ${base_path}/libs-release-local/reg-client ${scripts_path} ${master_template_path} ${jpeg_sdk_path} ${jpegsdk_lib_zip_path}/jpeg-sdk-lib/ ${idp_auth_wrapper_lib_zip_path} ${esignet_wrapper_lib_zip_path}/esignet-wrapper ${certify_plugin_zip_path}/certify-plugin ${registration_api_impl_zip_path}/registration-api-impl +RUN mkdir -p ${biosdk_client_zip_java21_path}/biosdk-client/ ${biosdk_client_zip_path}/biosdk-client ${demosdk_zip_path}/demosdk ${biosdk_lib_zip_path}/biosdk-lib ${biosdk_lib_zip_java21_path}/biosdk-lib ${cache_path} ${ida_sh_path} ${hsm_client_path} ${mosip_plugins_zip_path} ${kernel_jar_path} ${test_jar_path} ${idobject_jar_path} ${regproc_jar_path} ${sdk_path} ${image_compressor_path}/image-compressor ${icu4j_jar_path} ${icu4j_jar_path}/java21 ${clamav_path} ${i18n_zip_path} ${theme_zip_path} ${image_zip_path} ${child_auth_filter_jar_path} ${base_path}/libs-release-local/reg-client ${scripts_path} ${master_template_path} ${jpeg_sdk_path} ${jpegsdk_lib_zip_path}/jpeg-sdk-lib/ ${idp_auth_wrapper_lib_zip_path} ${esignet_wrapper_lib_zip_path}/esignet-wrapper ${certify_plugin_zip_path}/certify-plugin ${registration_api_impl_zip_path}/registration-api-impl ${esignet_wrapper_lib_zip_path}/esignet-plugins # Copy all the respective jars to the location From b232a3f2f301f9ebb5fb7d0eaf596510e1e1417e Mon Sep 17 00:00:00 2001 From: ase-101 Date: Mon, 22 Jul 2024 13:14:18 +0530 Subject: [PATCH 3/3] ES-842 Update configure.sh --- artifacts/configure.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/artifacts/configure.sh b/artifacts/configure.sh index 97431a65..74f5c090 100644 --- a/artifacts/configure.sh +++ b/artifacts/configure.sh @@ -57,6 +57,11 @@ zip -r -j ${certify_plugin_zip_path}/certify-plugin.zip ${certify_plugin_zip_pat rm -rf ${certify_plugin_zip_path}/certify-plugin echo certify-plugin zip creation completed +echo esignet-plugins zip creation started +zip -r -j ${esignet_wrapper_lib_zip_path}/esignet-plugins.zip ${esignet_wrapper_lib_zip_path}/esignet-plugins/* +rm -rf ${esignet_wrapper_lib_zip_path}/esignet-plugins +echo esignet-plugins zip creation completed + echo Creating resources.zip file for all the resources provided zip -r -j ${base_path}/libs-release-local/reg-client/resources.zip ${work_dir}/resources rm -rf ${work_dir}/resources