Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dsd 6382 #276

Closed
wants to merge 30 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
346939e
[MOSIP-35816] removed deployment script and updated chart
ckm007 Sep 20, 2024
abf5817
[MOSIP-35816] corrected chart lint yaml
ckm007 Sep 20, 2024
ec8ddc6
[MOSIP-35816] moved deployment scripts to deploy
ckm007 Sep 21, 2024
d2fedea
[MOSIP-35816] updarted chart values for latest changes to remove arti…
ckm007 Sep 21, 2024
926db5e
[MOSIP-35816] moved db-init scripts to deploy
ckm007 Sep 21, 2024
b1d92b8
[MOSIP-35816] added updated db-init scripts
ckm007 Sep 21, 2024
8b229a9
[MOSIP-35816] added updated mock-identity-system scripts
ckm007 Sep 21, 2024
3e8614f
[MOSIP-35816] added updated mock-relying-party-service scripts
ckm007 Sep 21, 2024
d2dbd49
[MOSIP-35816] added updated mock-relying-party-ui scripts
ckm007 Sep 21, 2024
6080138
[MOSIP-35816] added install-all.sh, delete-all.sh, restart-all.sh scr…
ckm007 Sep 21, 2024
ab5e6a7
ES-842 corrected the verified claims logi (#249)
ase-101 Sep 22, 2024
a0f1e2c
modified getLanguageValuesList method (#250)
kaifk468 Sep 23, 2024
8a0a942
[ES-1678] Added a new error message for the ekyc failure in i18n.
gk-4VII Sep 24, 2024
9cf3d19
Merge pull request #253 from gk-4VII/ES-1678
aranaravi Sep 24, 2024
3ecdd8d
[MOSIP-35816] updated installation scripts
ckm007 Sep 24, 2024
10d023f
[MOSIP-35816] updated README and installation scripts comments
ckm007 Sep 25, 2024
6e47d67
Updated readme and docker compose
ase-101 Sep 29, 2024
439c7b6
Merge pull request #257 from ase-101/develop
ckm007 Sep 29, 2024
1c82239
[MOSIP-35816] added changes for partner onboarder to store reports in…
ckm007 Sep 30, 2024
d26048d
[MOSIP-35816] removed unused secret creation
ckm007 Sep 30, 2024
65d44b8
Merge pull request #255 from mosip/MOSIP-35816
ckm007 Oct 3, 2024
e89dd77
[INJICERT-434] optionally support using arbitrary field as PSUT value…
vharsh Oct 3, 2024
712e323
[ES-1689] added test case (#259)
pvsaidurga Oct 3, 2024
7e5b3d9
moved tomcat and prometheus configuration to bootstrap.properties
ase-101 Oct 3, 2024
ad4f155
Merge pull request #260 from ase-101/develop
ckm007 Oct 3, 2024
0d0ed4b
Updated Readme and pom version
ase-101 Oct 4, 2024
ca033e8
Merge pull request #263 from ase-101/develop
ckm007 Oct 4, 2024
44dd00c
Added JsonIgnoreProperties for kyc auth and exchange requests (#269)
Piyush7034 Oct 4, 2024
aa0a8cc
[ES-1689] (#271)
pvsaidurga Oct 8, 2024
b99d878
[DSD-6382] resolved conflicts
ckm007 Oct 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 17 additions & 20 deletions deploy/delete-mock.sh
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
#!/bin/bash
# Uninstalls all esignet mock service helm charts
## Usage: ./delete-mock.sh [kubeconfig]
# Uninstalls esignet mock services.
## Usage: ./delete.sh [kubeconfig]

if [ $# -ge 1 ] ; then
export KUBECONFIG=$1
fi

ROOT_DIR=`pwd`

function deleting_mock() {

declare -a module=("mock-identity-system"
"mock-relying-party-service"
"mock-relying-party-ui"
)

echo Installing esignet mock services

for i in "${module[@]}"
do
cd $ROOT_DIR/"$i"
./delete.sh
Deleting_All() {
MOCK_NS=mockid
NS=esignet
while true; do
read -p "Are you sure you want to delete esignet mock service helm charts?(Y/n) " yn
if [[ $yn = "Y" ]] || [[ $yn = "y" ]];
then
helm -n $NS delete mock-relying-party-service || true
helm -n $NS delete mock-relying-party-ui || true
helm -n $MOCK_NS delete mock-identity-system || true
break
else
break
fi
done

echo All esignet mock services deleted sucessfully.
return 0
}

Expand All @@ -33,4 +30,4 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true
set -o nounset ## set -u : exit the script if you try to use an uninitialised variable
set -o errtrace # trace ERR through 'time command' and other functions
set -o pipefail # trace ERR through pipes
deleting_mock # calling function
Deleting_All # calling function
10 changes: 5 additions & 5 deletions deploy/mock-identity-system/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ if [ $# -ge 1 ] ; then
export KUBECONFIG=$1
fi

NS=mockid
CHART_VERSION=0.10.0-develop
function installing_mock-identity-system() {
NS=mockid
CHART_VERSION=0.10.0-develop

echo Create $NS namespace
kubectl create ns $NS
echo Create $NS namespace
kubectl create ns $NS || true

function installing_mock-identity-system() {
echo Istio label
helm repo add mosip https://mosip.github.io/mosip-helm
helm repo update
Expand Down
36 changes: 11 additions & 25 deletions deploy/mock-relying-party-service/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,13 @@ if [ $# -ge 1 ] ; then
export KUBECONFIG=$1
fi

function installing_mock-relying-party-service() {

while true; do
read -p "Do you want to install mock relying party service? (y/n): " response
if [[ "$response" == "y" || "$response" == "Y" ]]; then
break
elif [[ "$response" == "n" || "$response" == "N" ]]; then
exit
else
echo "Not a correct response. Please respond with y (yes) or n (no)."
fi
done

helm repo add mosip https://mosip.github.io/mosip-helm
helm repo update
NS=esignet
CHART_VERSION=0.0.1-develop

NS=esignet
CHART_VERSION=0.10.0-develop

echo Create $NS namespace
kubectl create ns $NS || true
echo Create $NS namespace
kubectl create ns $NS

function installing_mock-relying-party-service() {
echo Istio label
kubectl label ns $NS istio-injection=enabled --overwrite

Expand All @@ -51,11 +36,12 @@ function installing_mock-relying-party-service() {
ESIGNET_SERVICE_URL=${USER_PROVIDED_ESIGNET_SERVICE_URL:-$DEFAULT_ESIGNET_SERVICE_URL}

echo Installing Mock Relying Party Service
helm -n $NS install mock-relying-party-service mosip/mock-relying-party-service \
--set mock_relying_party_service.ESIGNET_SERVICE_URL="$ESIGNET_SERVICE_URL" \
--set mock_relying_party_service.ESIGNET_AUD_URL="https://$ESIGNET_HOST/v1/esignet/oauth/v2/token" \
--version $CHART_VERSION $ENABLE_INSECURE \
-f values.yaml --wait
# helm -n $NS install mock-relying-party-service mosip/mock-relying-party-service \
helm -n $NS install mock-relying-party-service ../../helm/mock-relying-party-service/ \
--set mock_relying_party_service.ESIGNET_SERVICE_URL="$ESIGNET_SERVICE_URL" \
--set mock_relying_party_service.ESIGNET_AUD_URL="https://$ESIGNET_HOST/v1/esignet/oauth/v2/token" \
--version $CHART_VERSION $ENABLE_INSECURE \
-f values.yaml --wait

kubectl -n $NS get deploy mock-relying-party-service -o name | xargs -n1 -t kubectl -n $NS rollout status

Expand Down
2 changes: 1 addition & 1 deletion helm/mock-identity-system/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ service:
image:
registry: docker.io
repository: mosipdev/mock-identity-system
tag: release-0.10.x
tag: develop
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down
Loading
Loading