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

1.1.5.4 #446

Open
wants to merge 53 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
4fa63d6
MOSIP-12271 mosip_pms Reverting is_deleted not null changes for 1.1.5
rambhatt1591 Mar 22, 2021
d1dd761
Merge pull request #222 from rambhatt1591/1.1.5_local_20210322
NagarjunaKuchi Apr 9, 2021
2382d1c
updated for rc1 release
ckm007 Apr 12, 2021
f870cdb
Merge pull request #227 from ckm007/1.1.5
ckm007 Apr 12, 2021
fe6364b
updated for rc1 release
ckm007 Apr 12, 2021
347b2fe
Merge pull request #228 from ckm007/1.1.5
ckm007 Apr 12, 2021
adcd530
MOSIP-13256 Changes in naming convention for db scripts
rambhatt1591 Apr 16, 2021
3f6cbeb
Merge pull request #229 from rambhatt1591/1.1.5_20210416
ckm007 Apr 16, 2021
01f605c
updated for 1.1.5 release
ckm007 Apr 21, 2021
5c55e96
Merge pull request #230 from ckm007/1.1.5
ckm007 Apr 21, 2021
b3514fe
publishing partner cert signed by mosip instead of ca cert.
NagarjunaKuchi May 3, 2021
1aafa39
publishing partner cert signed by mosip instead of ca cert.
NagarjunaKuchi May 3, 2021
3664cee
Merge pull request #236 from NagarjunaKuchi/1.1.5.2
NagarjunaKuchi May 3, 2021
7794b85
updating for 1.1.5.1 release
ckm007 May 5, 2021
726e89a
Merge pull request #238 from ckm007/1.1.5.1
ckm007 May 5, 2021
d80e5c0
updated the jaxb version
ckm007 May 14, 2021
7cd11f8
updated for 1.1.5.2 release with jaxb dependency version update
ckm007 May 14, 2021
3e46364
Merge pull request #243 from ckm007/1.1.5.2
ckm007 May 14, 2021
f9df9a8
MOSIP-17735 changing websub version for migration
urviljoshi Oct 12, 2021
53098e6
log4j version updated
NagarjunaKuchi Dec 14, 2021
c63b3aa
Merge pull request #358 from NagarjunaKuchi/1.1.5.3.1
NagarjunaKuchi Dec 14, 2021
703fb5b
pom version updated
NagarjunaKuchi Dec 14, 2021
86459b3
Merge pull request #361 from NagarjunaKuchi/1.1.5.4
NagarjunaKuchi Dec 14, 2021
7cfdc37
Merge pull request #307 from urviljoshi/1.1.5-websub.patch
ckm007 Dec 20, 2021
a5ecb08
Revert "MOSIP-17735 changing websub version for migration"
ckm007 Dec 20, 2021
6deba5e
Merge pull request #372 from mosip/revert-307-1.1.5-websub.patch
ckm007 Dec 20, 2021
3a1dbf9
Revert "Revert "MOSIP-17735 changing websub version for migration""
ckm007 Dec 20, 2021
3c0bf49
Merge pull request #373 from mosip/revert-372-revert-307-1.1.5-websub…
ckm007 Dec 20, 2021
2b2cac8
Removed log4j dependencies
NagarjunaKuchi Dec 20, 2021
7c61a40
Merge pull request #374 from NagarjunaKuchi/log4j
NagarjunaKuchi Dec 20, 2021
f6f6b5a
Merge pull request #375 from NagarjunaKuchi/log4j
ckm007 Dec 21, 2021
a68c7dc
Merge pull request #430 from mosip/1.1.5.3_hub
ckm007 Feb 24, 2022
87e2ebb
replaced the gpg keys
Rakshitha650 Apr 20, 2022
8c29963
Merge pull request #445 from Rakshitha650/1.1.5.4
ckm007 Apr 20, 2022
f2c7080
Changed the dateutil get utcdatetime method
NagarjunaKuchi May 6, 2022
1bae431
Merge pull request #451 from NagarjunaKuchi/1.1.5.4
ckm007 May 6, 2022
33a262a
Create release_changes.yml
ckm007 May 10, 2022
a8ed799
Updated Pom versions for release changes
ckm007 May 10, 2022
fb08fa8
Merge pull request #454 from mosip/release-branch
ckm007 May 10, 2022
6878cb7
MOSIP-21006
dhanendra06 Jul 1, 2022
0c86b66
Added policy for digital card
dhanendra06 Jul 4, 2022
9b525fc
Merge pull request #463 from dhanendra06/mosip-16
NagarjunaKuchi Jul 4, 2022
5324c1d
Revert "MOSIP-21006"
ckm007 Jul 20, 2022
8ed368c
Merge pull request #467 from mosip/revert-463-mosip-16
ckm007 Jul 20, 2022
6e7ec05
MOSIP-23945 : resttemplate issue resolved and version modified to p1
vishwa-vyom Oct 9, 2022
4122342
Merge pull request #496 from vishwa-vyom/MOSIP-23945-1.1.5.4-p1
ckm007 Oct 9, 2022
251a460
Performance Release changes
ckm007 Oct 31, 2022
cee89bd
Removed SNAPSHOT for websub client.
mahammedtaheer Feb 8, 2023
7cc4ea3
Merge pull request #532 from mahammedtaheer/1.1.5.4
ckm007 Feb 9, 2023
0d8be4e
Added Spring verion for spring maven plugin.
mahammedtaheer Feb 9, 2023
041d160
Merge pull request #533 from mahammedtaheer/1.1.5.4
vishwa-vyom Feb 9, 2023
beb51d5
Updated Pom versions for release changes
ckm007 Feb 9, 2023
cd3bd97
Merge pull request #534 from mosip/release-branch
ckm007 Feb 9, 2023
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
Binary file modified .github/keys/mosipgpgkey_pub.gpg
Binary file not shown.
Binary file modified .github/keys/mosipgpgkey_sec.gpg
Binary file not shown.
4 changes: 2 additions & 2 deletions .github/workflows/push_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
${{ runner.os }}-maven-${{ env.BRANCH_NAME }}

- name: Setup the settings file for ossrh server
run: echo "<settings> <servers> <server> <id>ossrh</id> <username>${{secrets.ossrh_user}}</username> <password>${{secrets.ossrh_secret}}</password> </server> </servers> <profiles> <profile> <id>ossrh</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <gpg.executable>gpg2</gpg.executable> <gpg.passphrase>${{secrets.gpg_secret}}</gpg.passphrase> </properties> </profile> <profile> <id>allow-snapshots</id> <activation><activeByDefault>true</activeByDefault></activation> <repositories> <repository> <id>snapshots-repo</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases><enabled>false</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> <repository> <id>releases-repo</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>false</enabled></snapshots> </repository> </repositories> </profile> </profiles> </settings>" > $GITHUB_WORKSPACE/settings.xml
run: echo "<settings> <servers> <server> <id>ossrh</id> <username>${{secrets.RELEASE_USER}}</username> <password>${{secrets.RELEASE_TOKEN}}</password> </server> </servers> <profiles> <profile> <id>ossrh</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <gpg.executable>gpg2</gpg.executable> <gpg.passphrase>${{secrets.gpg_secret}}</gpg.passphrase> </properties> </profile> <profile> <id>allow-snapshots</id> <activation><activeByDefault>true</activeByDefault></activation> <repositories> <repository> <id>snapshots-repo</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases><enabled>false</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> <repository> <id>releases-repo</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>false</enabled></snapshots> </repository> </repositories> </profile> </profiles> </settings>" > $GITHUB_WORKSPACE/settings.xml

- name: Install xmllint
run: |
Expand All @@ -113,7 +113,7 @@ jobs:
- name: Publish the maven package
run: |
chmod +x ./deploy.sh
cd partner && mvn deploy -DskipTests -s $GITHUB_WORKSPACE/settings.xml -f pom.xml
cd partner && mvn deploy -DaltDeploymentRepository=ossrh::default::${{ secrets.RELEASE_URL }} -s $GITHUB_WORKSPACE/settings.xml -f pom.xml
env:
GPG_TTY: $(tty)

Expand Down
56 changes: 56 additions & 0 deletions .github/workflows/release_changes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Release/pre-release Preparation.

on:
workflow_dispatch:
inputs:
message:
description: 'Triggered for release or pe-release'
required: false
default: 'Release Preparation'
releaseTags:
description: 'tag to update'
required: true
snapshotTags:
description: 'tag to be replaced'
required: true
base:
description: 'base branch for PR'
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup branch and env
run: |
# Strip git ref prefix from version
echo "BRANCH_NAME=$(echo ${{ github.ref }} | sed -e 's,.*/\(.*\),\1,')" >> $GITHUB_ENV
echo "GPG_TTY=$(tty)" >> $GITHUB_ENV

- name: Mannualy changing the pom versions
run: find . -type f -name "*pom.xml" -print0 | xargs -0 sed -i "s/${{ github.event.inputs.snapshotTags }}/${{ github.event.inputs.releaseTags }}/g"

- name: Updating the Release URL in POM
run: |
cd .github/workflows
sed -i 's/OSSRH_SNAPSHOT_URL/RELEASE_URL/g' push_trigger.yml

- name: Updating libs-snapshot-local to libs-release local for artifactory URL's.
run: find . -type f -name "*Dockerfile" -print0 | xargs -0 sed -i "s/libs-snapshot-local/libs-release-local/g"

- name: removing -DskipTests
run: find . -type f -name "*push_trigger.yml" -print0 | xargs -0 sed -i "s/"-DskipTests"//g"

# - name: removing --Dgpg.skip
# run: find . -type f -name "*push_trigger.yml" -print0 | xargs -0 sed -i "s/"-Dgpg.skip"//g"

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: Updated Pom versions for release changes
title: Release changes
body: Automated PR for ${{ github.event.inputs.releaseTags }} release.
branch: release-branch
delete-branch: true
base: ${{ github.event.inputs.base }}
token: ${{ secrets.ACTION_PAT }}
60 changes: 31 additions & 29 deletions db_release_scripts/mosip_pms/sql/1.1.5_pms-scripts_release.sql
Original file line number Diff line number Diff line change
@@ -1,46 +1,48 @@
-- -------------------------------------------------------------------------------------------------
-- Database Name: mosip_pms
-- Release Version : 1.1.5
-- Release Version : 1.1.5.2
-- Purpose : Database Alter scripts for the release for PMS DB.
-- Create By : Ram Bhatt
-- Created Date : Jan-2021
--
-- Modified Date Modified By Comments / Remarks
-- -------------------------------------------------------------------------------------------------
-- Mar-2021 Ram Bhatt Reverting is_deleted flag not null changes for 1.1.5.2
------------------------------------------------------------------------------------------------------

\c mosip_pms sysadmin

----------------------------------------------------------------------------------------------------

ALTER TABLE pms.misp ALTER COLUMN is_deleted SET NOT NULL;
ALTER TABLE pms.misp_license ALTER COLUMN is_deleted SET NOT NULL;
ALTER TABLE pms.auth_policy_h ALTER COLUMN is_deleted SET NOT NULL;
ALTER TABLE pms.policy_group ALTER COLUMN is_deleted SET NOT NULL;
ALTER TABLE pms.partner_policy ALTER COLUMN is_deleted SET NOT NULL;
ALTER TABLE pms.auth_policy ALTER COLUMN is_deleted SET NOT NULL;
ALTER TABLE pms.partner ALTER COLUMN is_deleted SET NOT NULL;
ALTER TABLE pms.partner_policy_request ALTER COLUMN is_deleted SET NOT NULL;
ALTER TABLE pms.partner_type ALTER COLUMN is_deleted SET NOT NULL;
ALTER TABLE pms.partner_h ALTER COLUMN is_deleted SET NOT NULL;
ALTER TABLE pms.partner_contact ALTER COLUMN is_deleted SET NOT NULL;
ALTER TABLE pms.otp_transaction ALTER COLUMN is_deleted SET NOT NULL;
ALTER TABLE pms.partner_policy_credential_type ALTER COLUMN is_deleted SET NOT NULL;
ALTER TABLE pms.partner_policy_bioextract ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.misp ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.misp_license ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.auth_policy_h ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.policy_group ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.partner_policy ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.auth_policy ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.partner ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.partner_policy_request ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.partner_type ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.partner_h ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.partner_contact ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.otp_transaction ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.partner_policy_credential_type ALTER COLUMN is_deleted SET NOT NULL;
--ALTER TABLE pms.partner_policy_bioextract ALTER COLUMN is_deleted SET NOT NULL;


ALTER TABLE pms.misp ALTER COLUMN is_deleted SET DEFAULT FALSE;
ALTER TABLE pms.misp_license ALTER COLUMN is_deleted SET DEFAULT FALSE;
ALTER TABLE pms.auth_policy_h ALTER COLUMN is_deleted SET DEFAULT FALSE;
ALTER TABLE pms.policy_group ALTER COLUMN is_deleted SET DEFAULT FALSE;
ALTER TABLE pms.partner_policy ALTER COLUMN is_deleted SET DEFAULT FALSE;
ALTER TABLE pms.auth_policy ALTER COLUMN is_deleted SET DEFAULT FALSE;
ALTER TABLE pms.partner ALTER COLUMN is_deleted SET DEFAULT FALSE;
ALTER TABLE pms.partner_policy_request ALTER COLUMN is_deleted SET DEFAULT FALSE;
ALTER TABLE pms.partner_type ALTER COLUMN is_deleted SET DEFAULT FALSE;
ALTER TABLE pms.partner_h ALTER COLUMN is_deleted SET DEFAULT FALSE;
ALTER TABLE pms.partner_contact ALTER COLUMN is_deleted SET DEFAULT FALSE;
ALTER TABLE pms.otp_transaction ALTER COLUMN is_deleted SET DEFAULT FALSE;
ALTER TABLE pms.partner_policy_credential_type ALTER COLUMN is_deleted SET DEFAULT FALSE;
ALTER TABLE pms.partner_policy_bioextract ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.misp ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.misp_license ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.auth_policy_h ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.policy_group ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.partner_policy ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.auth_policy ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.partner ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.partner_policy_request ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.partner_type ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.partner_h ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.partner_contact ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.otp_transaction ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.partner_policy_credential_type ALTER COLUMN is_deleted SET DEFAULT FALSE;
--ALTER TABLE pms.partner_policy_bioextract ALTER COLUMN is_deleted SET DEFAULT FALSE;

-----------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-- -------------------------------------------------------------------------------------------------
-- Database Name: mosip_pms
-- Release Version : 1.1.5
-- Release Version : 1.1.5.2
-- Purpose : Revoking Database Alter deployement done for release in PMS DB.
-- Create By : Ram Bhatt
-- Created Date : Jan-2021
Expand Down
5 changes: 3 additions & 2 deletions db_scripts/mosip_pms/ddl/pms-auth_policy.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
-- ------------------------------------------------------------------------------------------
-- Aug-2020 Sadanndegowda Added policy_type, version, schema and validity
-- Aug-2020 Sadanndegowda Updated Schema name
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Mar-2021 Ram Bhatt Reverting is_deleted flag not null changes for 1.1.5.2
-- ------------------------------------------------------------------------------------------

-- object: pms.auth_policy | type: TABLE --
Expand All @@ -31,7 +32,7 @@ CREATE TABLE pms.auth_policy(
cr_dtimes timestamp NOT NULL,
upd_by character varying(256),
upd_dtimes timestamp,
is_deleted boolean NOT NULL DEFAULT FALSE,
is_deleted boolean DEFAULT FALSE,
del_dtimes timestamp,
CONSTRAINT pk_apol PRIMARY KEY (id),
CONSTRAINT uk_apol UNIQUE (policy_group_id,name)
Expand Down
3 changes: 2 additions & 1 deletion db_scripts/mosip_pms/ddl/pms-auth_policy_h.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
-- Aug-2020 Sadanndegowda Added policy_type, version, schema and validity
-- Aug-2020 Sadanndegowda Updated Schema name
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Mar-2021 Ram Bhatt Reverting is_deleted flag not null changes for 1.1.5.2
-- ------------------------------------------------------------------------------------------

-- object: pms.auth_policy_h | type: TABLE --
Expand All @@ -32,7 +33,7 @@ CREATE TABLE pms.auth_policy_h(
cr_dtimes timestamp NOT NULL,
upd_by character varying(256),
upd_dtimes timestamp,
is_deleted boolean NOT NULL DEFAULT FALSE,
is_deleted boolean DEFAULT FALSE,
del_dtimes timestamp,
CONSTRAINT pk_apolh PRIMARY KEY (id,eff_dtimes),
CONSTRAINT uk_apolh UNIQUE (eff_dtimes,policy_group_id,name)
Expand Down
3 changes: 2 additions & 1 deletion db_scripts/mosip_pms/ddl/pms-misp.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
-- Modified Date Modified By Comments / Remarks
-- ------------------------------------------------------------------------------------------
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Mar-2021 Ram Bhatt Reverting is_deleted flag not null changes for 1.1.5.2
-- -------------------------------------------------------------------------------------------

-- object: pms.misp | type: TABLE --
Expand All @@ -26,7 +27,7 @@ CREATE TABLE pms.misp(
cr_dtimes timestamp NOT NULL,
upd_by character varying(256),
upd_dtimes timestamp,
is_deleted boolean NOT NULL DEFAULT FALSE,
is_deleted boolean DEFAULT FALSE,
del_dtimes timestamp,
CONSTRAINT pk_misp PRIMARY KEY (id),
CONSTRAINT uk_misp UNIQUE (name)
Expand Down
3 changes: 2 additions & 1 deletion db_scripts/mosip_pms/ddl/pms-misp_license.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
-- ------------------------------------------------------------------------------------------
-- Aug-2020 Sadanndegowda Updated Schema name
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Mar-2021 Ram Bhatt Reverting is_deleted flag not null changes for 1.1.5.2
-- ------------------------------------------------------------------------------------------

-- object: pms.misp_license | type: TABLE --
Expand All @@ -24,7 +25,7 @@ CREATE TABLE pms.misp_license(
cr_dtimes timestamp NOT NULL,
upd_by character varying(256),
upd_dtimes timestamp,
is_deleted boolean NOT NULL DEFAULT FALSE,
is_deleted boolean DEFAULT FALSE,
del_dtimes timestamp,
CONSTRAINT pk_mlic PRIMARY KEY (misp_id,license_key)

Expand Down
3 changes: 2 additions & 1 deletion db_scripts/mosip_pms/ddl/pms-otp_transaction.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
-- Modified Date Modified By Comments / Remarks
-- ------------------------------------------------------------------------------------------
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Mar-2021 Ram Bhatt Reverting is_deleted flag not null changes for 1.1.5.2
-- ------------------------------------------------------------------------------------------

-- object: pms.otp_transaction | type: TABLE --
Expand All @@ -26,7 +27,7 @@ CREATE TABLE pms.otp_transaction(
cr_dtimes timestamp NOT NULL,
upd_by character varying(256),
upd_dtimes timestamp,
is_deleted boolean NOT NULL DEFAULT FALSE,
is_deleted boolean DEFAULT FALSE,
del_dtimes timestamp,
CONSTRAINT pk_otpt_id PRIMARY KEY (id)

Expand Down
3 changes: 2 additions & 1 deletion db_scripts/mosip_pms/ddl/pms-partner.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
-- Modified Date Modified By Comments / Remarks
-- ------------------------------------------------------------------------------------------
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Mar-2021 Ram Bhatt Reverting is_deleted flag not null changes for 1.1.5.2
-- ------------------------------------------------------------------------------------------

-- object: pms.partner | type: TABLE --
Expand All @@ -29,7 +30,7 @@ CREATE TABLE pms.partner(
cr_dtimes timestamp NOT NULL,
upd_by character varying(256),
upd_dtimes timestamp,
is_deleted boolean NOT NULL DEFAULT FALSE,
is_deleted boolean DEFAULT FALSE,
del_dtimes timestamp,
CONSTRAINT pk_part PRIMARY KEY (id)

Expand Down
5 changes: 3 additions & 2 deletions db_scripts/mosip_pms/ddl/pms-partner_contact.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
--
-- Modified Date Modified By Comments / Remarks
-- ------------------------------------------------------------------------------------------
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Mar-2021 Ram Bhatt Reverting is_deleted flag not null changes for 1.1.5.2
-- ------------------------------------------------------------------------------------------

-- object: pms.partner_contact | type: TABLE --
Expand All @@ -24,7 +25,7 @@ CREATE TABLE pms.partner_contact(
cr_dtimes timestamp NOT NULL,
upd_by character varying(256),
upd_dtimes timestamp,
is_deleted boolean NOT NULL DEFAULT FALSE,
is_deleted boolean DEFAULT FALSE,
del_dtimes timestamp,
CONSTRAINT partcnt PRIMARY KEY (id),
CONSTRAINT uk_partcnt_idcnt UNIQUE (partner_id,contact_no),
Expand Down
3 changes: 2 additions & 1 deletion db_scripts/mosip_pms/ddl/pms-partner_h.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
-- Modified Date Modified By Comments / Remarks
-- ------------------------------------------------------------------------------------------
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Mar-2021 Ram Bhatt Reverting is_deleted flag not null changes for 1.1.5.2
-- ------------------------------------------------------------------------------------------

-- object: pms.partner_h | type: TABLE --
Expand All @@ -30,7 +31,7 @@ CREATE TABLE pms.partner_h(
cr_dtimes timestamp NOT NULL,
upd_by character varying(256),
upd_dtimes timestamp,
is_deleted boolean NOT NULL DEFAULT FALSE,
is_deleted boolean DEFAULT FALSE,
del_dtimes timestamp,
CONSTRAINT pk_parth PRIMARY KEY (id,eff_dtimes)

Expand Down
3 changes: 2 additions & 1 deletion db_scripts/mosip_pms/ddl/pms-partner_policy.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
-- ------------------------------------------------------------------------------------------
-- Aug-2020 Sadanndegowda Updated Schema name
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Mar-2021 Ram Bhatt Reverting is_deleted flag not null changes for 1.1.5.2
-- ------------------------------------------------------------------------------------------

-- object: pms.partner_policy | type: TABLE --
Expand All @@ -25,7 +26,7 @@ CREATE TABLE pms.partner_policy(
cr_dtimes timestamp NOT NULL,
upd_by character varying(256),
upd_dtimes timestamp,
is_deleted boolean NOT NULL DEFAULT FALSE,
is_deleted boolean DEFAULT FALSE,
del_dtimes timestamp,
CONSTRAINT pk_ppol PRIMARY KEY (policy_api_key),
CONSTRAINT uk_ppol UNIQUE (part_id,policy_id,valid_from_datetime)
Expand Down
3 changes: 2 additions & 1 deletion db_scripts/mosip_pms/ddl/pms-partner_policy_bioextract.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
-- Modified Date Modified By Comments / Remarks
-- ------------------------------------------------------------------------------------------
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Mar-2021 Ram Bhatt Reverting is_deleted flag not null changes for 1.1.5.2
-- ------------------------------------------------------------------------------------------
-- object: pms.partner_policy_bioextract | type: TABLE --
-- DROP TABLE IF EXISTS pms.partner_policy_bioextract CASCADE;
Expand All @@ -25,7 +26,7 @@ CREATE TABLE pms.partner_policy_bioextract(
cr_dtimes timestamp NOT NULL,
upd_by character varying(256),
upd_dtimes timestamp,
is_deleted boolean NOT NULL DEFAULT FALSE,
is_deleted boolean DEFAULT FALSE,
del_dtimes timestamp,
CONSTRAINT pk_ppbe_id PRIMARY KEY (id)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
-- Modified Date Modified By Comments / Remarks
-- ------------------------------------------------------------------------------------------
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Mar-2021 Ram Bhatt Reverting is_deleted flag not null changes for 1.1.5.2
-- ------------------------------------------------------------------------------------------

-- object: pms.partner_policy_credential_type | type: TABLE --
Expand All @@ -22,7 +23,7 @@ CREATE TABLE pms.partner_policy_credential_type(
cr_dtimes timestamp NOT NULL,
upd_by character varying(256),
upd_dtimes timestamp,
is_deleted boolean NOT NULL DEFAULT FALSE,
is_deleted boolean DEFAULT FALSE,
del_dtimes timestamp,
CONSTRAINT pk_ppctyp_id PRIMARY KEY (part_id,policy_id,credential_type)

Expand Down
1 change: 1 addition & 0 deletions db_scripts/mosip_pms/ddl/pms-partner_policy_request.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
-- Modified Date Modified By Comments / Remarks
-- ------------------------------------------------------------------------------------------
-- Jan-2021 Ram Bhatt Set is_deleted flag to not null and default false
-- Mar-2021 Ram Bhatt Reverting is_deleted flag not null changes for 1.1.5.2
-- ------------------------------------------------------------------------------------------

-- object: pms.partner_policy_request | type: TABLE --
Expand Down
Loading