tacitknowledge

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Bump commons-collections in /3rdParty_sources/tacitknowledge/autopatch

Bumps commons-collections from 3.0 to 3.2.2.

Signed-off-by: dependabot[bot] <support@github.com>

After migration clean up

  1. … 313 more files in changeset.
LDEV-3776: Remove $Id CVS keyword.

  1. … 772 more files in changeset.
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.

LDEV-3319: update .cvsignore for 'autopatch' and 'discovery' 3rd party projects. add eclipse-specific configuration files and build paths to ignores.

LDEV-3319: catch and ignore SQLException thrown when isClosed() condition is checked on Statement. Exemplary stacktrace below.

2014-10-10 20:21:35,092 ERROR [com.tacitknowledge.util.migration.jdbc.util.SqlUtil] (MSC service thread 1-6) Error closing Statement: java.sql.SQLException: The statement is closed.

at org.jboss.jca.adapters.jdbc.WrappedStatement.checkState(WrappedStatement.java:1324)

at org.jboss.jca.adapters.jdbc.WrappedStatement.getUnderlyingStatement(WrappedStatement.java:1239)

at org.jboss.jca.adapters.jdbc.WrappedStatement.getWrappedObject(WrappedStatement.java:1255)

at org.jboss.jca.adapters.jdbc.WrappedStatement.isClosed(WrappedStatement.java:1159)

at com.tacitknowledge.util.migration.jdbc.util.SqlUtil.close(SqlUtil.java:89)

LDEV-3319: Record changes made by jliew (http://code.lamsfoundation.org/fisheye/browse/otherlams/autopatch) on top of autopatch-1.4.2-lams version.

LDEV-3319: customize build versions with '-lams' suffix.

LDEV-3319: add 'target' directory to .cvsignore

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.

    • -0
    • +17
    ./autopatch/.mailmap
    • -0
    • +186
    ./autopatch/CHANGELOG
    • -0
    • +58
    ./autopatch/README.md
    • -0
    • +92
    ./autopatch/examples/MSSQL-example.txt
    • -0
    • +37
    ./autopatch/examples/distributed-sample/conf/migration.properties
  1. … 194 more files in changeset.