Age | Commit message (Collapse) | Author | Files | Lines |
|
Until now, 'ID, name and version' was used as the primary key in
jpapolicyaudit and pdpstatistics tables. With this change, only ID will
be used as the PK.
The applications works with or without this change, as ID was the only
field which was always unique. "name" and "version" are mostly
duplicates (policyName in case of jpapolicyaudit & pdpName in case of
pdpstatistics table).
Pushing this change anyway to keep the tables consistent
with the entity classes.
Change-Id: I34a7582ed9c74fa0ead8fce2e86ac2ce1ecacf1e
Issue-ID: POLICY-3897
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
|
|
- Jakarta upgrade scripts
- Jakarta downgrade scripts
Issue-ID: POLICY-2715
Change-Id: I1dbe902644ce392ef0823022a256cf37cc499a3e
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
|
|
|
|
|
|
|
|
- Updated the Dockerfile to include postgres sql
and to copy postgres scripts
- Added db-migrator-pg script for postgres installation
- Updated prepare upgrade/downgrade scripts
Issue-ID: POLICY-2715
Change-Id: Ib8d3523e8445ad1528fe225c96acdac5ca61535d
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
|
|
- Honolulu upgrade scripts
Issue-ID: POLICY-2715
Change-Id: I1cec6f16c4797bd1ce34d506173d28ae48e36801
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
|
|
- Honolulu downgrade scripts
Issue-ID: POLICY-2715
Change-Id: Id3c242311868898d32c3d2e92427cf687a1d7cc1
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
|
|
- Istanbul upgrade scripts
- Istanbul downgrade scripts
Issue-ID: POLICY-2715
Change-Id: I0dcfd11acaf5971581db081f2ff18b7657d0c7af
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
|
|
Change-Id: I862a5c413f5cf4d0e472a527cd6dc5a32c28459c
Issue-ID: POLICY-3871
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Issue-ID: POLICY-3696
Change-Id: I827bdd238ab51a1798dab3d83f088377be7949ff
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Retain datetime precision during downgrade operation
to prevent duplicate keys in pdpstatistics
Issue-ID: POLICY-3679
Change-Id: Ic93519b9420f0f77c3af7b63d3963f1971d77c37
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Update timeStamp column in pdpstatistics to include microseconds.
Issue-ID: POLICY-3679
Change-Id: Ibf622b090b1cd914413f79c663db8128263c4ac2
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
DB-Migrator job completes even during failed upgrade
Issue-ID: POLICY-3660
Change-Id: I7295c740853e4dd533e989faa3dddebab4d4ccab
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Update LASTUPDATE column in pdp table to use CURRENT_TIMESTAMP as default value
Issue-ID: POLICY-3608
Change-Id: I28d267729ab3959a0d4602a4129737d6d8029f86
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
|
|
Also changed db-migrator to base off of 2.3.0 jre-alpine version. (We
have a "chicken and egg" problem where the migrator can't point to the
current docker version, as it hasn't been released yet, thus pointing it
to the latest released version, which is one back.)
Issue-ID: POLICY-3587
Change-Id: Idf34e9c6a724e31f16636388e239bed059c5dd3e
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Updates to pdpstatistics have a knock on effect on pdp_enginestats.
Table data needs to updated to ensure records are in sync
Issue-ID: POLICY-3583
Change-Id: Id7408beceb47e540e933e8ccc0ff05095f8da85b
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
METADATA tables for policy/docker db-migrator should be different than counterpart in policy/drools-pdp seed
Issue-ID: POLICY-3547
Change-Id: Ie0c6ebf286ed410433014106425626cee55f222e
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Update the new created ID column with values
when changing pdpstatistics PK composition.
Issue-ID: POLICY-3546
Change-Id: I53939557700237ccc7ab21e4069bd82ec6a4a4cf
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
|
|
Issue-ID: POLICY-3535
Change-Id: I755bb0f279f4255eb9c452b9f569a88de69e14f2
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
|
|
Update file permissions for db-migrator scripts
Issue-ID: POLICY-3491
Change-Id: I6895d27cb45dcdb9faa94ef5dc5e97b610ba3509
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Allow user to upgrade or downgrade form a release that did not complete successfully
Issue-ID: POLICY-3490
Change-Id: Ie14a744246f26a9036066b9f4064bca0c23290be
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Issue-ID: POLICY-3490
Change-Id: Ibd1898819a5cb70f25bf69d71f2975dd2845389e
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Note: Instructions on how to use: https://wiki.onap.org/display/DW/Instructions+for+running+db-migrator
Issue-ID: POLICY-3458
Change-Id: I42bce63eca94333c6aaab0e27eb3e514bb844661
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|