forked from mosip/id-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into develop
- Loading branch information
Showing
13 changed files
with
720 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM mosipdev/openjdk-21-jre:latest | ||
FROM mosipid/openjdk-21-jre:21.0.4 | ||
|
||
ARG SOURCE | ||
ARG COMMIT_HASH | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
651 changes: 651 additions & 0 deletions
651
api-test/src/main/java/io/mosip/testrig/apirig/idrepo/utils/IdRepoArrayHandle.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
##### JIRA number;testcase | ||
#MOSIP-12456------Mimoto_AddIdentity_Binding_smoke_Pos | ||
######JIRA number;testcase | ||
#MOSIP-37220------IdRepository_AddIdentity_array_handle_post_update_value_smoke_Pos | ||
|
53 changes: 33 additions & 20 deletions
53
db_upgrade_scripts/mosip_credential/sql/1.2.0.1_to_1.3.0_rollback.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,35 @@ | ||
-- ------------------------------------------------------------------------------------------ | ||
-- Revoke script for Migrating Spring batch version to 5.0 as part of Java 21 Migration. | ||
-- References: | ||
-- 1. https://github.com/spring-projects/spring-batch/wiki/Spring-Batch-5.0-Migration-Guide#ms-sqlserver | ||
-- 2. https://github.com/spring-projects/spring-batch/blob/main/spring-batch-core/src/main/resources/org/springframework/batch/core/migration/5.0/migration-postgresql.sql | ||
-- Rollback script for Migrating Spring batch version back from 5.0 as part of Java 21 Migration. | ||
-- ------------------------------------------------------------------------------------------ | ||
ALTER TABLE BATCH_STEP_EXECUTION DROP CREATE_TIME TIMESTAMP NOT NULL DEFAULT '1970-01-01 00:00:00'; | ||
ALTER TABLE BATCH_STEP_EXECUTION ALTER COLUMN START_TIME ADD NULL; | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS ADD COLUMN DATE_VAL; | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS ADD COLUMN LONG_VAL; | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS ADD COLUMN DOUBLE_VAL; | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS ALTER COLUMN TYPE_CD TYPE VARCHAR(6); | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS RENAME PARAMETER_TYPE TO TYPE_CD; | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS ALTER COLUMN KEY_NAME TYPE VARCHAR(100); | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS RENAME PARAMETER_NAME TO KEY_NAME; | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS ALTER COLUMN STRING_VAL TYPE VARCHAR(250); | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS RENAME PARAMETER_VALUE TO STRING_VAL; | ||
ALTER TABLE BATCH_JOB_EXECUTION ADD COLUMN JOB_CONFIGURATION_LOCATION; | ||
|
||
DROP SEQUENCE BATCH_STEP_EXECUTION_SEQ; | ||
DROP SEQUENCE BATCH_JOB_EXECUTION_SEQ; | ||
DROP SEQUENCE BATCH_JOB_SEQ; | ||
|
||
TRUNCATE TABLE batch_job_execution CASCADE; | ||
TRUNCATE TABLE batch_job_execution_context CASCADE; | ||
TRUNCATE TABLE batch_job_execution_params CASCADE; | ||
TRUNCATE TABLE batch_job_instance CASCADE; | ||
TRUNCATE TABLE batch_step_execution CASCADE; | ||
TRUNCATE TABLE batch_step_execution_context CASCADE; | ||
|
||
GRANT usage, SELECT ON ALL SEQUENCES | ||
IN SCHEMA credential | ||
TO credentialuser; | ||
|
||
-- Revert ALTER on BATCH_STEP_EXECUTION | ||
ALTER TABLE BATCH_STEP_EXECUTION DROP COLUMN CREATE_TIME; -- Remove the column added | ||
ALTER TABLE BATCH_STEP_EXECUTION ALTER COLUMN START_TIME SET NOT NULL; -- Revert to NOT NULL | ||
|
||
-- Revert changes on BATCH_JOB_EXECUTION_PARAMS | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS ADD COLUMN DATE_VAL TIMESTAMP; -- Add back the DATE_VAL column | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS ADD COLUMN LONG_VAL BIGINT; -- Add back the LONG_VAL column | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS ADD COLUMN DOUBLE_VAL DOUBLE PRECISION; -- Add back the DOUBLE_VAL column | ||
|
||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS RENAME PARAMETER_TYPE TO TYPE_CD; -- Revert the column name | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS ALTER COLUMN TYPE_CD TYPE VARCHAR(100); | ||
|
||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS ALTER COLUMN PARAMETER_NAME TYPE VARCHAR(100); -- Revert back the type change | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS RENAME PARAMETER_NAME TO KEY_NAME; -- Revert the column name | ||
|
||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS ALTER COLUMN PARAMETER_VALUE TYPE VARCHAR(250); -- Revert the type change | ||
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS RENAME PARAMETER_VALUE TO STRING_VAL; -- Revert the column name | ||
|
||
-- Revert DROP on BATCH_JOB_EXECUTION | ||
ALTER TABLE BATCH_JOB_EXECUTION ADD COLUMN JOB_CONFIGURATION_LOCATION VARCHAR(2500); -- Add back the column |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM mosipdev/openjdk-21-jre:latest | ||
FROM mosipid/openjdk-21-jre:21.0.4 | ||
|
||
ARG SOURCE | ||
ARG COMMIT_HASH | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters