summaryrefslogtreecommitdiffstats
path: root/policy-db-migrator
AgeCommit message (Collapse)AuthorFilesLines
2024-07-19Add smoke tests for clamp db-migratorFrancescoFioraEst3-1/+426
Add scripts to test upgrade and downgrade for MariaDB and PostgreSQL. Issue-ID: POLICY-5083 Change-Id: I4df67a1909d812e3ef46bf35cae900a837adb0a4 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-07-17Add DB support for precheck and stageFrancescoFioraEst8-0/+160
Add support in DB-migrator for Prepare, Review, Migrate pre-check and stage. Issue-ID: POLICY-5076 Change-Id: I7e422f87436110e1e3c50bf6073907dfd4de5973 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-07-12Update snapshot and/or references of policy/docker to latest snapshotsrameshiyer272-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-5072 Change-Id: I8676ad78c9396963e9547cd1c69b36cf8a9a0367 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
2024-07-11update parent references in policy/docker pom4.0.0rameshiyer271-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-5072 Change-Id: Id4d1c270b6044e1ee7a1c3fb5597567d664777a4 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
2024-06-05Add a new replica table in clampacm database in db migratorFrancescoFioraEst16-0/+240
Issue-ID: POLICY-5033 Change-Id: Ifaf43686c9784a211806058433ecb69f0d7e1ca9 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-05-28Add startPhase and timeout support in db-migrator for ACM-runtimeFrancescoFioraEst12-0/+240
Add support for startPhase and timeout using db instead of HashMap in memory for ACM-R. Issue-ID: POLICY-5023 Change-Id: I0c2d78f030139980e150afb04457aeef9a73f6ab Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-05-20Set snapshot and/or references of policy/docker for new releasesaul.gill1-1/+1
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4999 Change-Id: I8cf23ade7898d0d2e068824f04f82461f9e2cb10 Signed-off-by: saul.gill <saul.gill@est.tech>
2024-05-16Update snapshot and/or references of policy/docker to latest snapshotswaynedunican2-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-5001 Change-Id: I3bcf76667949afe40553ddf67e128995c9ec117a Signed-off-by: waynedunican <wayne.dunican@est.tech>
2024-05-16update parent references in policy/docker pom3.1.3waynedunican1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-5001 Change-Id: I8dfbc08d7546a5e08dec0e275203a67459ddfca0 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2024-05-02Fix Postgres queries in clamp database migrationFrancescoFioraEst23-23/+23
Issue-ID: POLICY-4986 Change-Id: If70ccf429547db035a49c4151b88a211d6504e38 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2024-04-25Update snapshot and/or references of policy/docker to latest snapshotssaul.gill3-2/+144
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4970 Change-Id: I65037035cac97829a152d4290ebc578517d5dea8 Signed-off-by: saul.gill <saul.gill@est.tech>
2024-04-25update parent references in policy/docker pom3.1.2saul.gill1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4970 Change-Id: If862eeaaef29e239517be128f19df35b351cf022 Signed-off-by: saul.gill <saul.gill@est.tech>
2024-04-23Add ACM db upgrade/downgrade to db-migratorwaynedunican58-12/+1061
Issue-ID: POLICY-4934 Change-Id: Ic515eb1b2d549fdd91cff22ed6f589b673748657 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2024-02-16Update snapshot and/or references of policy/docker to latest snapshotswaynedunican2-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4932 Change-Id: Ia98f4d16596cee21c7ccb5655560783342baf1be Signed-off-by: waynedunican <wayne.dunican@est.tech>
2024-02-16update parent references in policy/docker pom3.1.1waynedunican1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4932 Change-Id: I359399179bb1d59e48552b5010fa2032d49b8b15 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2023-12-11Update snapshot and/or references of policy/docker to latest snapshotssaul.gill2-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4907 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: Icb6f09d7cbdaa0c1a5fd239e3e9c591c23070356
2023-12-11update parent references in policy/docker pom3.1.0saul.gill1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4907 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: I3944350a75c834ec39947e3ec3b0741218073929
2023-11-14Set all cross references of policy/dockerliamfallon1-1/+1
policy/docker updated with correct cross references *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ifb234f8abb2cb43a563ebfcff4170a67fcf2a880 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-11-14Set snapshot and/or references of policy/docker for new releaseliamfallon1-1/+1
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: If039dc9816e3d54b0f4ca268fbe9e805fde233bd
2023-11-10Update snapshot and/or references of policy/docker to latest snapshotsliamfallon2-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8f3d58ae8d2fce590aa9e63c24ed9d6dfff5737a
2023-11-08update parent references in policy/docker pom3.0.2liamfallon1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7b3394d18519b333e436eae209dc17864adb3e43
2023-11-08Remove statistics tablesadheli.tavares14-1/+314
- added scripts with removal of statistics tables and indexes for upgrade; - added scripts with creation of tables and indexes for downgrade; - fixed the leftover of sequence table when not using it for indexing primary keys. Issue-ID: POLICY-4109 Change-Id: Ic643df87a149d3c27eaa846bd4b46db5d61eda22 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-10-18Update snapshot and/or references of policy/docker to latest snapshotsliamfallon2-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0b68c11b655b38fa845fe983ac1d7d23087701a9
2023-10-17update parent references in policy/docker pomliamfallon1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I05cb629d58d83d35e6e3f5a45c123e0ced2b801c
2023-09-20Java 17 Upgradeadheli.tavares2-8/+3
- change of snapshot versions - csit fixes - apk update for openjdk security updates Issue-ID: POLICY-4667 Change-Id: I0f1044b88db9573886e5c5a14ebabb098128b2f2 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-08-28Change java image for db migratorliamfallon1-1/+1
Issue-ID: POLICY-4665 Change-Id: Ie910a5c00c7802343c0608702504465c188ac38c Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-05-25Set snapshot and/or references of policy/docker for new releaseliamfallon1-1/+1
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4662 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I35fcba9154ad884a1980e1c6c921f5384b2f259b
2023-04-24Update snapshot and/or references of policy/docker to latest snapshotsrameshiyer272-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: Iea14df61ba745fa3121b7b51fa4f8d419695fdce
2023-04-24update parent references in policy/docker pom2.6.2rameshiyer271-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: If877a16fa939c09cca335e2f3c3343cc44f335c6
2023-04-20Fix postgres sql syntax errorswaynedunican7-7/+11
Issue-ID: POLICY-4649 Change-Id: I96bb55ddadae9449f5cb115dd294bf7630b93fcc Signed-off-by: waynedunican <wayne.dunican@est.tech>
2023-02-28Update snapshot and/or references of policy/docker to latest snapshotssaul.gill2-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: Ie7cebf3963d13081b4ec1c31e454c7026370aef3 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-02-28update parent references in policy/docker pom2.6.1saul.gill1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: I527246c9df1f9dcd34a1d2c31301e39650fdc598
2023-02-14Remove integration base images from PF base imagesliamfallon1-5/+11
The Docker base image from the integration project is now unmaintained. We replace the Integration base image by updating our own base image to work directly off Alpine. Issue-ID: POLICY-4558 Change-Id: I00097cede2536c88ade3f318479eab309695b41e Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-09Merge "Add sequence tables for Hibernate"Liam Fallon8-0/+178
2023-02-09Add sequence tables for Hibernateliamfallon8-0/+178
Hibernate does not allow the same sequence table to be used for more than one sequence number generator JPA class. Issue-ID: POLICY-4533 Change-Id: If7e70164a5da7e0678aeb192d563bafc213f8bb6 Signed-off-by: liamfallon <liam.fallon@est.tech> Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-02-08Improve MariaDB Sqls for db-migrator tooladheli.tavares62-139/+163
Issue-ID: POLICY-4549 Change-Id: I4a1cd6514ae8025726ca015081632633ea49361a Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-12-19Changes for H2 database upgradeliamfallon8-0/+164
The latest verison of H2 does not allow colums called "user" or indexes using an underscore in their name. Issue-ID: POLICY-4488 Change-Id: I632f0715d597da1d306002e6079efc98bba0487f Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-15Update snapshot and/or references of policy/docker to latest snapshotsliamfallon2-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id9c0499baef561e5c48688c5071d07f4f2d08c3a
2022-12-15update parent references in policy/docker pom2.6.0liamfallon1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ied0e7cb66a66220b4566a5a7f4d9f026f128a177
2022-10-21Set snapshot and/or references of policy/docker for new releaseliamfallon2-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id900a74168359265a327fa652d958edc56e15214
2022-10-20Update snapshot and/or references of policy/docker to latest snapshotsliamfallon2-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic99f4fe294722c669639aebc362b96b25b1ed07c
2022-10-20update parent references in policy/docker pom2.5.1liamfallon1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I75c221301140aba485a3d80f072be134ce0ec615
2022-10-20Adding Khon as latest db version.adheli.tavares4-0/+80
- no schema changes, adding a simple message for completion. Issue-ID: POLICY-4408 Change-Id: I293278b242cc263443933393ca99eab2bef207be Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-10-18OpenSuse docker file for db-migratordanielhanrahan1-0/+55
Create OpenSuse docker file Add build profile for OpenSuse docker image Issue-ID: POLICY-4309 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I80ec31c62096f9aefa2b729a4e024f63d04e62ad
2022-09-26db-migrator SQL compatibility mysql/mariadbjhh5-5/+5
Issue-ID: POLICY-3464 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6b1fd22062ca4f55c036bc2632307454a1f00840
2022-09-23Allow for mysql command flags in db-migratorjhh1-1/+5
For example by setting the env var to MYSQL_CMD="mysql --ssl" Issue-ID: POLICY-4182 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If7298fb2ea01f15324a526e49f2ec860d29f8d31
2022-09-22Update snapshot and/or references of policy/docker to latest snapshotsliamfallon2-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I57d1adc21b8fedd6346edd467f524a6849632429
2022-09-22update parent references in policy/docker pom2.5.0liamfallon1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I50a42992090a865fc5f78249a2e2258b761ec35d
2022-09-14Change the properties column type to hibernate/postgres match.adheli.tavares5-5/+5
- changing the type to bigint because pap was having side effects errors with the bytea forced cast Issue-ID: POLICY-4352 Change-Id: I368c3ba80fce0c10d9417deee8f9ac25c467d4e3 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-09-07Fix casting of lob type on db-migrator for postgres installationadheli.tavares5-5/+5
Issue-ID: POLICY-4352 Change-Id: Ib3aa68a512c1278920a8bdf1ed29914195d0e371 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>