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

Merge from release-1.1.x to develop #486

Merged
merged 74 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
dbbfcdb
ES-842 Update configmap.yaml
ase-101 Oct 3, 2024
cc5b5eb
Merge pull request #376 from ase-101/release-1.1.0
ckm007 Oct 3, 2024
2497bf6
[DSD-6382] updated chart version in helm and deployment scripts
ckm007 Oct 4, 2024
06d2519
[DSD-6382] corrected chart version
ckm007 Oct 4, 2024
031df91
Merge pull request #377 from mosip/MOSIP-35816
ckm007 Oct 4, 2024
3aac87a
[DSD-6382] updated correct onboarder chart version
ckm007 Oct 7, 2024
912be05
[DSD-6382] added signup-keystore-secret update part
ckm007 Oct 7, 2024
5bd14ef
Merge pull request #381 from ckm007/release-1.1.x
ckm007 Oct 7, 2024
42d9522
Added NoOpIdentityVerifier plugin implementation
ase-101 Oct 9, 2024
37f9f4e
Merge pull request #386 from ase-101/release-1.1.0
ckm007 Oct 9, 2024
dfbfe27
[DSD-6382] added captcha secret update part to initialisation script …
ckm007 Oct 15, 2024
0b188e9
[DSD-6382] updated changes to fix dev testing issues (#378)
ckm007 Oct 15, 2024
d20e88f
settign default value to active_profile_env
ase-101 Oct 9, 2024
34fbc5b
updated readme, docker-compose, postman collection, deleted unwanted …
ase-101 Oct 17, 2024
76be47c
Merge pull request #392 from ase-101/release-1.1.0
ckm007 Oct 17, 2024
304ba25
[ES-1672] Added audit events (#398)
pvsaidurga Oct 21, 2024
150ff9a
Added readme, testcases and updated docker compose file
ase-101 Oct 27, 2024
a203f0c
Added readme, testcases and updated docker compose file
ase-101 Oct 27, 2024
a5a0798
Merge pull request #403 from ase-101/release-1.1.0
ckm007 Oct 28, 2024
af89890
[ES-842] [ES-1886] Updated the stoplight (#399)
pvsaidurga Oct 29, 2024
b85dadb
[DSD-6445]Updated application-default.properties
Rakshitha650 Oct 30, 2024
8cfad27
Merge pull request #405 from Rakshitha650/patch-4
ckm007 Oct 30, 2024
12b96d1
Revert "[DSD-6445]Updated application-default.properties"
Prafulrakhade Oct 30, 2024
bd18665
[MODIFIED] verification_screen i18n lang in diff place (#409)
zesu22 Nov 4, 2024
a9d33ee
[MODIFIED] isloading to true, for ekyc provider (#410)
zesu22 Nov 5, 2024
b88f672
[ES-1842] i18n translation changes. (#413)
gk-4VII Nov 5, 2024
bdd1bf5
Updated properties with default values (#414)
ase-101 Nov 6, 2024
3e8a2da
[ES-1842] Update signup-idv_mock-identity-verifier.json (#415)
gk-4VII Nov 6, 2024
532b51a
[ES-842] Fixed null pointer issue (#417)
pvsaidurga Nov 6, 2024
55fb38a
[MODIFIED] status api, fullname regex check, default properties (#418)
zesu22 Nov 8, 2024
0391cd8
[ADDED] logger in lua script in cacheutil (#419)
zesu22 Nov 8, 2024
dad3ebb
[ADDED] delcount in lua script (#420)
zesu22 Nov 8, 2024
53cbe72
slot removal issue fixed
ase-101 Nov 8, 2024
4935d62
Merge pull request #421 from ase-101/release-1.1.0
ckm007 Nov 9, 2024
a066bed
[ADDED] onpaste checking in username (#425)
zesu22 Nov 14, 2024
73ab373
ES-1929
ase-101 Nov 18, 2024
c2309dd
ES-1929
ase-101 Nov 18, 2024
f044820
Merge pull request #433 from ase-101/release-1.1.0
ckm007 Nov 18, 2024
4dffdb9
ES-1929 (#434)
ase-101 Nov 18, 2024
92102ab
[ES-1968] Updated stoplight
pvsaidurga Nov 27, 2024
043ff0d
Merge pull request #441 from Infosys/bug/es-1968
ase-101 Nov 28, 2024
39879f4
[MOSIP-37815] Passing the Unique Config with NS
VSIVAKALYAN Nov 29, 2024
a50ea69
[MOSIP-37815]
VSIVAKALYAN Nov 29, 2024
7685ce7
[MOSIP-36849]
bhumi46 Dec 2, 2024
0d51efe
Merge pull request #445 from VSIVAKALYAN/release-1.1.x
ase-101 Dec 2, 2024
cbf47d8
[MOSIP-38035] updated postgres init, keycloak init and prereq.sh
bhumi46 Dec 3, 2024
81d7c8c
[MOSIP-38035] updated postgres init, keycloak init and prereq.sh
bhumi46 Dec 3, 2024
422c1e2
Merge pull request #449 from bhumi46/release-1.1.x
ckm007 Dec 3, 2024
b5124cc
[DSD-6742] Added Kernel dependencies to Signup repo
ckm007 Dec 9, 2024
62e5caa
[DSD-6742] Updated Partner onborder README
ckm007 Dec 10, 2024
03a2d5f
[DSD-6742] Updated Partner onborder README
ckm007 Dec 10, 2024
575566a
Merge pull request #454 from shubham17998/release-1.1.x
ckm007 Dec 11, 2024
e22c654
[DSD-6742] Updated Env variables in values.yaml
ckm007 Dec 11, 2024
481696b
Merge pull request #461 from shubham17998/release-1.1.x
ckm007 Dec 11, 2024
f0e06d8
[DSD-6742] removed unwanted Env variables in values.yaml
ckm007 Dec 11, 2024
56e3837
[DSD-6742] updated kernel install script
ckm007 Dec 11, 2024
057d862
Merge pull request #462 from shubham17998/release-1.1.x
ckm007 Dec 11, 2024
66a5093
MOSIP-38342 - Pushed the apitestrig into release branch
mohanachandran-s Dec 13, 2024
492ccbf
MOSIP-38342 - Pushed the apitestrig into release branch
mohanachandran-s Dec 13, 2024
47b984d
MOSIP-38342 - Pushed the apitestrig into release branch
mohanachandran-s Dec 13, 2024
9777566
Merge pull request #470 from mohanachandran-s/release-1.1.x
ase-101 Dec 13, 2024
4e95c77
Merge pull request #406 from mosip/revert-405-patch-4
ase-101 Dec 13, 2024
d8e0358
Added design doc content
ase-101 Dec 15, 2024
f99cf3b
Merge pull request #471 from ase-101/release-1.1.0
ckm007 Dec 16, 2024
ca62414
Update esignet-signup-openapi.yaml
ase-101 Dec 16, 2024
5e905b7
Update README.md
Mahesh-Binayak Dec 16, 2024
2fe45fa
Merge pull request #474 from mosip/ase-101-patch-3
ckm007 Dec 16, 2024
1235014
Merge pull request #475 from Mahesh-Binayak/release-1.1.x
ckm007 Dec 16, 2024
ab26a89
[DSD-6888]Update push-trigger.yml to ignore apirig for release check …
Mahesh-Binayak Dec 17, 2024
a6d7eec
[MOSIP-36849] updated the document for signup deployment
Rakshitha650 Dec 17, 2024
50d1148
Merge pull request #481 from Rakshitha650/release-1.1.x
ckm007 Dec 17, 2024
438fef9
[DSD-6888]Update push-trigger.yml reverting back sonar changes. (#483)
Mahesh-Binayak Dec 17, 2024
0ac6347
Merge from release-1.1.x to develop
ase-101 Dec 18, 2024
536c526
Merge from release to develop
ase-101 Dec 18, 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
49 changes: 46 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,30 @@
# eSignet Signup

signup-service is part of the esignet, but has a separate Helm chart to install and manage it in a completely independent namespace.
## Overview

This repository contains a signup UI and signup service to handle signup operations by the end user. This module can be
used to fast-track the availability of any digital service to end users via eSignet. eSignet has built-in support for the
integration with the signup module. The signup service is flexible to connect to any ID registry system via a well-defined plugin interface.

Currently, signup supports below features:
1. Register User
2. Reset password
3. Online video based identity verification workflow integration via plugin

## Build (for developers)
The project requires JDK 11.
1. Build:
```
$ mvn clean install -Dgpg.skip=true -Dmaven.gitcommitid.skip=true
```

## Installing in k8s cluster using helm

signup-service is part of the esignet, but has a separate Helm chart to install and manage it in a completely independent namespace.

### Pre-requisites
1. Set the kube config file of the Esignet k8 cluster having esignet services is set correctly in PC.
1. Below are the dependent services required for signup service integrated with MOSIP IDA:
1. Below are the dependent services required for signup service integrated with [Mock Identity System](https://github.com/mosip/esignet-mock-services/tree/master/mock-identity-system)
| Chart | Chart version |
|---|---|
|[Keycloak](https://github.com/mosip/mosip-infra/tree/v1.2.0.1-B3/deployment/v3/external/iam) | 7.1.18 |
Expand Down Expand Up @@ -36,11 +55,35 @@ cd deploy
cd deploy
./restart-signup.sh
```
### Additional services required
To complete the signup portal deployment below MOSIP kernel services are required to be deployed.
* otpmanager
* authmanager
* auditmanager
* notifier

* Initialize the db script to create mosip_kernel and mosip_audit databases make sure to update the existing db-common-secret in init_values.yaml if postgres-initialization already done
* copy db-common-secret from existing postgres deployment secret if its already created
* run the postgres-init.sh
```
cd deploy
./postgres-init.sh
```
#### Prerequisites for MOSIP kernel services:
1. msg-gateway
2. config-server
3. artifactory
4. mock-smtp
5. kernel
```
cd deploy (follow the above sequence and run the install.sh for each module installation)

```
## Partner onboarding
* Perform Partner onboarding for esignet Signup OIDC client using [steps](partner-onboarder/README.md) only if mosip-identity plugin is used.

## APIs
API documentation is available [here](https://mosip.stoplight.io/docs/identity-provider/branches/signupV1/t9tvfbteqqokf-e-signet-signup-portal-ap-is).
API documentation is available [here](docs/esignet-signup-openapi.yaml).

## License
This project is licensed under the terms of [Mozilla Public License 2.0](LICENSE).
1 change: 1 addition & 0 deletions api-test/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ test-output/
testng-report/
/reg
./reg
.temp*
2 changes: 1 addition & 1 deletion api-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
6 changes: 6 additions & 0 deletions deploy/artifactory/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Artifactory

## Install
```sh
./install.sh
```
30 changes: 30 additions & 0 deletions deploy/artifactory/delete.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/bin/bash
# Uninstalls artifactory
# Usage: ./delete.sh [kubeconfig]

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

function deleting_artifactory() {
NS=artifactory
while true; do
read -p "Are you sure you want to delete artifactory helm chart?(Y/n) " yn
if [ $yn = "Y" ]
then
helm -n $NS delete artifactory
break
else
break
fi
done
return 0
}

# set commands for error handling.
set -e
set -o errexit ## set -e : exit the script if any statement returns a non-true return value
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_artifactory # calling function
35 changes: 35 additions & 0 deletions deploy/artifactory/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/bash
# Installs artifactory
## Usage: ./install.sh [kubeconfig]

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

NS=artifactory
CHART_VERSION=0.0.1-develop

echo Create $NS namespace
kubectl create ns $NS

function installing_artifactory() {
echo Istio label
kubectl label ns $NS istio-injection=enabled --overwrite
helm repo update

echo Installing artifactory
helm -n $NS install artifactory mosip/artifactory --version $CHART_VERSION

kubectl -n $NS get deploy -o name | xargs -n1 -t kubectl -n $NS rollout status

echo Installed artifactory service
return 0
}

# set commands for error handling.
set -e
set -o errexit ## set -e : exit the script if any statement returns a non-true return value
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
installing_artifactory # calling function
25 changes: 25 additions & 0 deletions deploy/artifactory/restart.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash
# Restart the artifactory service
## Usage: ./restart.sh [kubeconfig]

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

function Restarting_artifactory() {
NS=artifactory
kubectl -n $NS rollout restart deploy

kubectl -n $NS get deploy -o name | xargs -n1 -t kubectl -n $NS rollout status

echo Restarted Artifactory services
return 0
}

# set commands for error handling.
set -e
set -o errexit ## set -e : exit the script if any statement returns a non-true return value
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
Restarting_artifactory # calling function
11 changes: 11 additions & 0 deletions deploy/config-server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Config server

## Introduction
Config server serves all properties required by MOSIP modules. This must be installed before any other MOSIP modules.

## Install
* Review `values.yaml` and make sure git repository parameters are as per your installation.
* Install
```sh
./install.sh
```
32 changes: 32 additions & 0 deletions deploy/config-server/delete.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/bin/bash
# Uninstalls config server
## Usage: ./delete.sh [kubeconfig]

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

function config_server() {
NS=config-server
while true; do
read -p "Are you sure you want to delete config-server helm charts?(Y/n) " yn
if [ $yn = "Y" ]
then
kubectl -n $NS delete configmap keycloak-host
kubectl -n $NS delete secret keycloak keycloak-client-secrets
helm -n $NS delete config-server
break
else
break
fi
done
return 0
}

# set commands for error handling.
set -e
set -o errexit ## set -e : exit the script if any statement returns a non-true return value
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
config_server # calling function
38 changes: 38 additions & 0 deletions deploy/config-server/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/bin/bash
# Installs config-server
## Usage: ./install.sh [kubeconfig]

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

# set commands for error handling.
set -e
set -o errexit ## set -e : exit the script if any statement returns a non-true return value
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

NS=config-server
CHART_VERSION=0.0.1-develop

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

echo Istio label
kubectl label ns $NS istio-injection=enabled --overwrite
helm repo update

COPY_UTIL=../copy_cm_func.sh
$COPY_UTIL configmap keycloak-host keycloak $NS
$COPY_UTIL configmap esignet-global esignet $NS
$COPY_UTIL configmap msg-gateway msg-gateways $NS

$COPY_UTIL secret keycloak keycloak $NS
$COPY_UTIL secret db-common-secrets postgres $NS
$COPY_UTIL secret keycloak-client-secrets keycloak $NS
$COPY_UTIL secret msg-gateway msg-gateways $NS

echo Installing config-server
helm -n $NS install config-server mosip/config-server -f values.yaml --wait --version $CHART_VERSION
echo Installed Config-server.
25 changes: 25 additions & 0 deletions deploy/config-server/restart.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash
# Restart the config-server service
## Usage: ./restart.sh [kubeconfig]

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

function config_server() {
NS=esignet
kubectl -n $NS rollout restart deploy esignet-config-server

kubectl -n $NS get deploy -o name | xargs -n1 -t kubectl -n $NS rollout status

echo Restarted config-server services
return 0
}

# set commands for error handling.
set -e
set -o errexit ## set -e : exit the script if any statement returns a non-true return value
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
config_server # calling function
Loading
Loading