Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
3f0f35e
MOSIP-32283 code fix and version change
Apr 11, 2024
2e3dbaf
MOSIP-32283 snapshot url added
Apr 12, 2024
1bd5cb9
MOSIP-32283 chnages to fix enable checks for dockerfile
Apr 15, 2024
f58d3b3
Merge pull request #1869 from sowmya695/MOSIP-32283
vishwa-vyom Apr 15, 2024
b9c907c
[MOSIP-34112] Release 1.2.0.x code marge for Bio-dedupes updated flow…
Khuddusshariff0022 Aug 4, 2024
e9e4b55
[DSD-5925] Updated org.projectlombok version
Prafulrakhade Aug 5, 2024
63c7205
Merge pull request #1902 from Prafulrakhade/release-1.2.0.x
ckm007 Aug 5, 2024
854cae0
Revert "[DSD-5925] Updated org.projectlombok version"
Prafulrakhade Aug 5, 2024
33911bd
Merge pull request #1903 from mosip/revert-1902-release-1.2.0.x
ckm007 Aug 5, 2024
ab19b8c
Revert "[MOSIP-34112] Release 1.2.0.x code marge for Bio-dedupes upda…
vishwa-vyom Aug 12, 2024
a782bdd
adding SelectedHandel
Khuddusshariff0022 Sep 1, 2024
26d08a8
[ RCF-921 ] changes fof selected handel
Khuddusshariff0022 Sep 12, 2024
62f790a
removing branch name rom git action trigger list
Khuddusshariff0022 Sep 13, 2024
0333a60
changes for selected handels
Khuddusshariff0022 Sep 18, 2024
8f785af
changes for selected handels
Khuddusshariff0022 Sep 18, 2024
5132b74
changes for selected handels
Khuddusshariff0022 Sep 18, 2024
732526a
changes for selected handels
Khuddusshariff0022 Sep 19, 2024
5167cdd
changes for selected handels
Khuddusshariff0022 Sep 19, 2024
4ed866a
changes for selected handels for docker file. adding ARG and LABEL
Khuddusshariff0022 Sep 19, 2024
cfe71a5
Merge pull request #1920 from Khuddusshariff0022/v1.2.0.1-selectedHan…
ase-101 Sep 20, 2024
80ab1f4
changes for selected handels for docker file. adding ARG and LABEL
Khuddusshariff0022 Sep 23, 2024
b5544e6
Merge pull request #1921 from Khuddusshariff0022/v1.2.0.1-selectedHan…
ckm007 Sep 23, 2024
6d677fd
MOSIP-35378 merging selected handel changes to release-1.2.0.x branch
Khuddusshariff0022 Nov 7, 2024
a8a4071
adding testcase for array of string data type
Khuddusshariff0022 Nov 7, 2024
cdc871a
adding testcase for array of string data type
Khuddusshariff0022 Nov 7, 2024
9c0d704
Merge pull request #1931 from Khuddusshariff0022/release-1.2.0.x_addi…
ckm007 Nov 8, 2024
0972218
adding upgrade and rollback scripts for 1.2.0.1 version
Khuddusshariff0022 Dec 4, 2024
a0a04ce
Merge pull request #1937 from Khuddusshariff0022/release-1.2.0.x_addi…
ckm007 Dec 5, 2024
aea379e
Updated Pom versions for release changes (#1949)
ckm007 Jan 7, 2025
96f58f1
[DSD-6971] ARC 1.2.0.2 release changes
Prafulrakhade Jan 7, 2025
abefd33
[DSD-6971] ARC 1.2.0.2 release changes
Prafulrakhade Jan 7, 2025
4dd8638
Merge pull request #1950 from Prafulrakhade/release-1.2.0.x
ckm007 Jan 8, 2025
2b3930f
MOSIP-39884 update sending email
kaledOu Feb 21, 2025
8d76a69
Merge pull request #2008 from kaledOu/release-1.2.0.x-39884
ckm007 Feb 26, 2025
a754766
[ MOSIP-39781 ] Release 1.2.0.x crvs api. (#2023)
Khuddusshariff0022 Mar 19, 2025
6a4743a
[ MOSIP-39781 ] POM version change crvs api (#2030)
Khuddusshariff0022 Mar 19, 2025
70e2524
[MOSIP-39781] Duplicate entry check for db (#2031)
Khuddusshariff0022 Mar 21, 2025
6b1200e
[MPSIP-39781] Workflow instance validation form sync table (#2033)
Khuddusshariff0022 Mar 25, 2025
8899640
[MOSIP_39781]Release 1.2.0.x crvs api db validation (#2039)
Khuddusshariff0022 Mar 25, 2025
acca3dd
[MOSIP_39781]Release 1.2.0.x crvs api db validation (#2039)
Khuddusshariff0022 Mar 25, 2025
c42b0d4
Merge branch 'release-1.2.1.x' of https://github.com/mosip/registrati…
Khuddusshariff0022 Mar 28, 2025
56a23be
[MPSIP-39781]
Khuddusshariff0022 Mar 28, 2025
0033d0e
[MPSIP-39781]
Khuddusshariff0022 Mar 28, 2025
94cda9c
Merge pull request #2042 from Khuddusshariff0022/release-1.2.1.x_CRVS…
ckm007 Mar 28, 2025
f83ea88
[MOSIP-39781] adding upgare and rollback scripts for 1.2.1.0 (#2047)
Khuddusshariff0022 Apr 3, 2025
0085261
[MOSIP 39781 ] VID fix merge to release branch 1.2.0.x crvs api (#2049)
Khuddusshariff0022 Apr 4, 2025
4378b93
[MOSIP-39781] Notification code fixs (#2050)
Khuddusshariff0022 Apr 7, 2025
27ee58c
[MOSIP-40970] Adding technical document for CRVS and MOSIP integratio…
ashok-ksharma Apr 8, 2025
2d63817
[MOSIP-40972] adding postmen collection for the workflow instance api…
Khuddusshariff0022 Apr 8, 2025
3250f68
[MOSIP-41025] added new api context path to workflowmanager
ckm007 Apr 9, 2025
c32e5da
Merge pull request #2056 from ckm007/MOSIP-41025-release-1.2.1.x
ckm007 Apr 9, 2025
2b10a30
[MOSIP-41025] added workflow to publish helm charts
ckm007 Apr 9, 2025
d9b3a2c
Merge pull request #2057 from ckm007/MOSIP-41025-release-1.2.1.x
ckm007 Apr 9, 2025
3ecc99f
[MOSIP-39781 ]Release 1.2.1.x add postmen1 (#2059)
Khuddusshariff0022 Apr 15, 2025
6fa0719
[MOSIP-40970] Adding technical document for CRVS and MOSIP integratio…
ashok-ksharma Apr 15, 2025
e7cf44c
Updated Pom versions for release changes (#2062)
ckm007 Apr 15, 2025
eb92024
Updated chart versions, image and tag for release changes (#2063)
ckm007 Apr 15, 2025
c175500
[DSD-7849] regproc 1.2.1.0 CRVS mosip implementation release
Prafulrakhade Apr 15, 2025
1ed6053
Bump org.apache.activemq:activemq-client
dependabot[bot] May 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
62 changes: 62 additions & 0 deletions .github/workflows/chart-lint-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Validate / Publish helm charts

on:
release:
types: [published]
pull_request:
types: [opened, reopened, synchronize]
paths:
- 'helm/**'
workflow_dispatch:
inputs:
IGNORE_CHARTS:
description: 'Provide list of charts to be ignored separated by pipe(|)'
required: false
default: '""'
type: string
CHART_PUBLISH:
description: 'Chart publishing to gh-pages branch'
required: false
default: 'NO'
type: string
options:
- YES
- NO
INCLUDE_ALL_CHARTS:
description: 'Include all charts for Linting/Publishing (YES/NO)'
required: false
default: 'NO'
type: string
options:
- YES
- NO
push:
branches:
- '!release-branch'
- '!master'
- 1.*
- 0.*
- develop
- release*
paths:
- 'helm/**'

jobs:
chart-lint-publish:
uses: mosip/kattu/.github/workflows/chart-lint-publish.yml@master
with:
CHARTS_DIR: ./helm
CHARTS_URL: https://mosip.github.io/mosip-helm
REPOSITORY: mosip-helm
BRANCH: gh-pages
INCLUDE_ALL_CHARTS: "${{ inputs.INCLUDE_ALL_CHARTS || 'NO' }}"
IGNORE_CHARTS: "${{ inputs.IGNORE_CHARTS || '\"\"' }}"
CHART_PUBLISH: "${{ inputs.CHART_PUBLISH || 'YES' }}"
LINTING_CHART_SCHEMA_YAML_URL: "https://raw.githubusercontent.com/mosip/kattu/master/.github/helm-lint-configs/chart-schema.yaml"
LINTING_LINTCONF_YAML_URL: "https://raw.githubusercontent.com/mosip/kattu/master/.github/helm-lint-configs/lintconf.yaml"
LINTING_CHART_TESTING_CONFIG_YAML_URL: "https://raw.githubusercontent.com/mosip/kattu/master/.github/helm-lint-configs/chart-testing-config.yaml"
LINTING_HEALTH_CHECK_SCHEMA_YAML_URL: "https://raw.githubusercontent.com/mosip/kattu/master/.github/helm-lint-configs/health-check-schema.yaml"
DEPENDENCIES: "mosip,https://mosip.github.io/mosip-helm;"
secrets:
TOKEN: ${{ secrets.ACTION_PAT }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Maven Package upon a push](https://github.com/mosip/registration/actions/workflows/push_trigger.yml/badge.svg?branch=release-1.2.0.1)](https://github.com/mosip/registration/actions/workflows/push_trigger.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?branch=release-1.2.0.1&project=mosip_registration&metric=alert_status)](https://sonarcloud.io/dashboard?branch=release-1.2.0.1&id=mosip_registration)
[![Maven Package upon a push](https://github.com/mosip/registration/actions/workflows/push-trigger.yml/badge.svg?branch=master)](https://github.com/mosip/registration/actions/workflows/push-trigger.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?branch=master&project=mosip_registration&metric=alert_status)](https://sonarcloud.io/dashboard?branch=master&id=mosip_registration)

# Registration Processor

Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
16 changes: 16 additions & 0 deletions deploy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Registration processor services

## Prerequisites
* Install Kafka as given [here](../../external/kafka/README.md)
## Install
```
./install.sh
```
## To delete all modules
```
./delete.sh
```
## To restart all modules
```
./restart.sh
```
24 changes: 24 additions & 0 deletions deploy/copy_cm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash
# Copy configmaps from other namespaces
# DST_NS: Destination namespace

function copying_cm() {
UTIL_URL=https://raw.githubusercontent.com/mosip/mosip-infra/master/deployment/v3/utils/copy_cm_func.sh
COPY_UTIL=./copy_cm_func.sh
DST_NS=regproc

wget -q $UTIL_URL -O copy_cm_func.sh && chmod +x copy_cm_func.sh

$COPY_UTIL configmap global default $DST_NS
$COPY_UTIL configmap artifactory-share artifactory $DST_NS
$COPY_UTIL configmap config-server-share config-server $DST_NS
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
copying_cm # calling function
39 changes: 39 additions & 0 deletions deploy/delete.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/bin/bash
# Uninstalls all regproc helm charts
function deleting_regproc() {
NS=regproc
while true; do
read -p "Are you sure you want to delete all regproc helm charts?(Y/n) " yn
if [ $yn = "Y" ]
then
helm -n $NS delete regproc-salt
helm -n $NS delete regproc-workflow
helm -n $NS delete regproc-status
helm -n $NS delete regproc-camel
helm -n $NS delete regproc-pktserver
helm -n $NS delete regproc-group1
helm -n $NS delete regproc-group2
helm -n $NS delete regproc-group3
helm -n $NS delete regproc-group4
helm -n $NS delete regproc-group5
helm -n $NS delete regproc-group6
helm -n $NS delete regproc-group7
helm -n $NS delete regproc-notifier
helm -n $NS delete regproc-trans
helm -n $NS delete regproc-reprocess
helm -n $NS delete regproc-landingzone
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_regproc # calling function
3 changes: 3 additions & 0 deletions deploy/group1_values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
persistence:
storageClass: longhorn
size: 5Gi
84 changes: 84 additions & 0 deletions deploy/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
#!/bin/bash
# Installs all regproc helm charts
## Usage: ./install.sh [kubeconfig]

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

NS=regproc
CHART_VERSION=12.1.0

echo Create $NS namespace
kubectl create ns $NS

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

echo Copy configmaps
sed -i 's/\r$//' copy_cm.sh
./copy_cm.sh

echo Running regproc-salt job
helm -n $NS install regproc-salt mosip/regproc-salt --version $CHART_VERSION --wait --wait-for-jobs

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

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

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

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

echo Installing group1
helm -n $NS install regproc-group1 mosip/regproc-group1 -f group1_values.yaml --version $CHART_VERSION

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

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

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

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

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

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

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

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

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

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

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

echo Installed regproc 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
installing_regproc # calling function
25 changes: 25 additions & 0 deletions deploy/restart.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash
# Restart the regproc services
## Usage: ./restart.sh [kubeconfig]

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

function Restarting_regproc() {
NS=regproc
kubectl -n $NS rollout restart deploy

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

echo Restarted regproc 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_regproc # calling function
24 changes: 24 additions & 0 deletions deploy/topic/create_topics.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash
#

function create_topics() {
read -p "Enter IAM username: " iam_user

# This username is hardcoded in sql scripts
DB_PWD=$(kubectl get secret --namespace postgres db-common-secrets -o jsonpath={.data.db-dbuser-password} | base64 --decode)
DB_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-api-internal-host})
DB_PORT=5432

echo Creating topics
cd lib
python3 create_topics.py $DB_HOST $DB_PWD $iam_user ../topics.xlsx
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
create_topics # calling function
13 changes: 13 additions & 0 deletions deploy/upgrade/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# To Mount NFS folder to regproc packet server and regproc group 1 stage:

* Update NFS server and path in dmz-landing-pv.yaml and dmz-pkt-pv.yaml.
* Run commands in sequential:
```
kubectl apply -f dmz-sc.yaml
kubectl apply -f dmz-pkt-pv.yaml
kubectl apply -f dmz-pkt-pvc.yaml
kubectl apply -f dmz-landing-pv.yaml
kubectl apply -f dmz-landing-pvc.yaml
```
* Edit persistent Volume claim name in regproc-group1 deployment as given in dmz-landing-pvc.yaml
* Edit persistent Volume claim name in regproc-pktserver deployment as given in dmz-pkt-pvc.yaml
15 changes: 15 additions & 0 deletions deploy/upgrade/dmz-landing-pv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: landing-pv
labels:
name: landing-pv
spec:
storageClassName: manual
capacity:
storage: 5Gi
accessModes:
- ReadWriteMany
nfs:
server: <nfs-server-ip>
path: <nfs-server-path>
14 changes: 14 additions & 0 deletions deploy/upgrade/dmz-landing-pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: landing-pvc
namespace: regproc
labels:
app: landing-pvc
spec:
storageClassName: manual
accessModes:
- ReadWriteMany
resources:
requests:
storage: 5Gi
15 changes: 15 additions & 0 deletions deploy/upgrade/dmz-pkt-pv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: pktserver-pv
labels:
name: pktserver-pv
spec:
storageClassName: manual
capacity:
storage: 5Gi
accessModes:
- ReadOnlyMany
nfs:
server: <nfs-server-ip>
path: <nfs-server-directory>
15 changes: 15 additions & 0 deletions deploy/upgrade/dmz-pkt-pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Source: dmzregproc/templates/pktserver-pvc.yaml
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pktserver-pvc
namespace: regproc
labels:
app: pktserver-pvc
spec:
storageClassName: manual
accessModes:
- ReadOnlyMany
resources:
requests:
storage: 5Gi
6 changes: 6 additions & 0 deletions deploy/upgrade/dmz-sc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: manual
provisioner: kubernetes.io/no-provisioner
volumeBindingMode: WaitForFirstConsumer
Loading