• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3319: automatically perform 'patches' table upgrade if invalid primary key found.

There is a difference in 'patches' table structure in legacy autopatch and autopatch-1.4.2 version. In new version, primary key is compound and built from 'system_name' and 'patch_level' columns. There was however no validation and upgrade process present to alter primary key. Introduce such mechanism with this commit. If 'patches' table is present, but connection metadata reports single column primary key - 'alter table' query is executed (for MySQL: ALTER TABLE patches DROP PRIMARY KEY, ADD PRIMARY KEY(system_name, patch_level);)

JUnit tests of autopatch component were updated.

  1. … 4 more files in changeset.
LDEV-3319: Record changes made by jliew (http://code.lamsfoundation.org/fisheye/browse/otherlams/autopatch) on top of autopatch-1.4.2-lams version.

  1. … 3 more files in changeset.
file sybase.properties was initially added on branch lams2_head_wildfly.

    • -0
    • +0
    ./tacitknowledge/util/migration/jdbc/sybase.properties
file sqlserver.properties was initially added on branch lams2_head_wildfly.

    • -0
    • +0
    ./tacitknowledge/util/migration/jdbc/sqlserver.properties
file postgres.properties was initially added on branch lams2_head_wildfly.

    • -0
    • +0
    ./tacitknowledge/util/migration/jdbc/postgres.properties
file oracle.properties was initially added on branch lams2_head_wildfly.

    • -0
    • +0
    ./tacitknowledge/util/migration/jdbc/oracle.properties
file mysql.properties was initially added on branch lams2_head_wildfly.

    • -0
    • +0
    ./tacitknowledge/util/migration/jdbc/mysql.properties
file hsqldb.properties was initially added on branch lams2_head_wildfly.

    • -0
    • +0
    ./tacitknowledge/util/migration/jdbc/hsqldb.properties
LDEV-3319: add 'autopatch-1.4.2' and 'discovery-1.0.5' libraries to 3rdParty_sources. Libraries are commited as is - with build scripts, sources code, tests and resources to enable later modificaiton and build. Sources were taken from github projects, rewinded to last available version tag (autopatch-1.4.2, discovery-1.0.5) and detached from tacitknowledge repo.

  1. … 203 more files in changeset.