Commit Graph

240 Commits

Author SHA1 Message Date
Tatyana Valkevych
ba7ecadb15 Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
116309 adavis: Merged 5.0.2-CLOUD (Cloud ) to 5.0.N (5.0.3)
      116304 adavis: Merged 5.0.2-PLUS (5.0.2-PLUS) to 5.0.2-CLOUD (Cloud )
         116108 rneamtu: Merged NESS/5.0.2-PLUS-2015-10-28/ (5.0.2.-PLUS) to 5.0.2-PLUS (5.0.2.-PLUS)
            116088: MNT-15062 : [Cloud 40] Unexpected differences are returned after schema bootstrap (clean start)
               - Set timestamp default null for columns of this type, for mysql dialect


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@116392 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-11-06 13:02:56 +00:00
Andreea Dragoi
fb20d2a4e2 Merged DEV to 5.1.N (5.1.1)
114566: ACE-4045 : Port metadata query patch to support boolean/float/double properties.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@114934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-10-22 08:08:59 +00:00
Alan Davis
f3dca62beb Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
113213 adavis: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3) (PARTIAL MERGE)
      113209 adavis: Merged V4.2.5 (4.2.5) to V4.2-BUG-FIX (4.2.6)
         113124: MNT-13871: MNT-14875: The table creation code for authorised-user (MNT-13871) need to be moved back into the main Alfresco code base
            - Added the scripts to the main code base.
            - Updated the authorised-users.jar,
         113203: MNT-13871: MNT-14875: The table creation code for authorised-user (MNT-13871) need to be moved back into the main Alfresco code base
            - Moved the patch to the main code.
            - Updated the authorised-users.jar
         113128: MNT-14867 (MNT-13871) : [UserAuth] License user limit exceeded by adding users to ALFRESCO_ADMINISTRATORS LDAP group
            - Updated auhtorised-users jar.,


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@113215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-09-28 14:07:01 +00:00
Mark Rogers
06480e0c09 Merge WOLF-1 to HEAD
108132: UTF-30 Fix version of share, built in Share codebase
Fix version of share-po, built in Share codebase
108130: UTF-30 Fix version of artifacts built in Share codebase + package alfresco-platform and share-services AMP instead of share-enabled alfresco war
108128: UTF-30 Fix version of artifacts built in Share codebase + package alfresco-platform and share-services AMP instead of share-enabled alfresco war

107846: EOL-10: Remove JBPM bootstrap.

Removed the JBPM boostrap bean ("workflowScheduler") and the schema validation from bootstrap-context.xml
107842: EOL-4 : Remove JBPM schema bootstrap reference.
107839: EOL-8 : Remove JBPMWorkflowTestSuite and re-instate InviteServiceTest
107823: Temp remove InviteServiceTest
107820: EOL-9: Remove workflow definitions for JBPM workflows
107813: EOL-6: Remove jBPM from MBeans
SVN ignore settings
107810: EOL-8 : Attempt to update Invite service test to use activity.
107794:EOL-5: Remove jBPM from Admin Console
107790: EOL-8 : Remove JBPM Tests
EOL-8 : more JBPM tests removed.
EOL-8 : Remove JBPM tests from Workflow Test Suite
EOL-8 : Remove JBPMEngineTest
AIRWOLF - more enterprise pom work.
UTF-143 - add the update tool JAR to the enterprise distribution.
Airwolf - need to separate dependency.share.version
EOL-8 - Remove system.workflow.engine.jbpm.enabled

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@108654 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-21 12:18:23 +00:00
Alan Davis
aaa009bd86 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
107747: Fix for ACE-2125 Boolean properties should be supported in the predicate for transactional metadata queries.
    - also includes float and double
   Fix for ACE-2685 Error when using content length and mimetype in the same query 
    - SQL refactor removes this issue
   Fix for ACE-3889 Support the OR operator with transactional AFTS queries


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-07 08:07:53 +00:00
Alan Davis
a17c90c684 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
105376: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud)
      105134: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.3)
         105008: Merged NESS/4.2.N-2015_04_30 (4.2.5) to V4.2-BUG-FIX (4.2.5)
            104566: MNT-13384 - Made the create index statements mandatory


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@105410 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-03 09:00:21 +00:00
Alan Davis
683c831806 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
104816: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
      104756: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
         104565: reverted r104562 
            MNT-13384 - made the create index statements mandatory  


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@104874 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-05-26 21:53:47 +00:00
Alan Davis
a80743ad43 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
104815: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
      104755: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
         104562: MNT-13384 - made the create index statements mandatory  


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@104873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-05-26 21:53:37 +00:00
Tatyana Valkevych
7cc3aa9fc8 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
101652: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
      101405: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
         101285: Merged DEV (4.2.5) to V4.2-BUG-FIX (4.2.5)
            101221: MNT-13688: propTablesCleanupTrigger script fails to execute against database when server has been upgraded from a 4.0.2 instance that had Auditing Enabled for CmisChangeLog
              - Fixed the CleanAlfPropTables.sql script to support non-unique values.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@101699 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-04-10 21:09:22 +00:00
Alan Davis
3c3520c8d9 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
96111: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud)
      96041: Merged DEV to 5.0.N (5.0.1)
         95789 : MNT-13262: DB2: ACT: 4 unexpected columns found in database during clean upgrade from 4.0.2 > 5.0.1
            - Removed unused columns


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@96117 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-04 17:30:47 +00:00
Alan Davis
ed32b91ee6 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
91564: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud)
      91556: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.1)
         91472: Merged V4.2.4 (4.2.4) to V4.2-BUG-FIX (4.2.5)
            91406: Merged DEV (4.2.4) to V4.2.4 (4.2.4)
               91352: MNT-12716 : 3.4 -> 4.2 Upgrade does not migrate locales of translated documents
                  - We can now specify default value in --ASSIGN directive using ftl-like way (var=col_name!-1).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94811 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 11:34:18 +00:00
Alan Davis
188fde20b9 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
91113: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
      91053: Merged V4.2.4 (4.2.4) to V4.2-BUG-FIX (4.2.5)
         90961: Merged DEV to PATCHES/V4.2.4 (4.2.4)
            90904: MNT-12716 : 3.4 -> 4.2 Upgrade does not migrate locales of transalted documents
               - SQL upgrade patch was added to migrate old sys:locale property for cm:mlDocument and cm:mlContainer.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94771 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 11:15:27 +00:00
Pavel Yurke
4e9f076a19 ACE-3188 : Incorporate Activiti 5.16.4: New index added: act_hi_varinst.act_idx_hi_procvar_task_id
- Added update scripts for activiti 5.16.4.
   - Updated schema reference files.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-20 08:33:01 +00:00
Derek Hulley
0e7398576d ACE-2030: Clean up patches on unsupported upgrade paths to 5.0
88058: ACE-2030: Start process of retiring patches leading up to 4.0a
  88061: ACE-2030: Remove unused SQL scripts for newly-retired patches
  88062: ACE-2030: Change class names for all generic patches.
  88064: ACE-2030: Remove unused patch implementation classes and fixes to get upgrade working again.
  88067: ACE-2030: Clean up unused code and SQL for PatchDAO


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-14 14:58:37 +00:00
Derek Hulley
89a179e2d7 Merged DEV to HEAD (5.0)
87808: ACE-2030: Remove more patches introduced for upgrade to V3.4 (pre-release)
  87809: ACE-2030: Remove final 3.4 (pre-release) patches.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87813 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-11 20:59:05 +00:00
Derek Hulley
958b298f4a Merged DEV to HEAD (5.0)
87804: ACE-2030: Retire jbpm-upgrade.sql including patches using it
    The from-to schema values match those of the 'patch.db-V3.2-Upgrade-JBPM' bean and they both referenced the
    same SQL file.  Therefore, it was simply a duplicate with the V3.2 bean being the one doing the actual work.
    This bean is therefore joining the V3.2 version in retirement.  The 'targetSchema' is for information purposes
    only and has been changed from 6001 to 2018, which is what it actually did.
  87805: ACE-2030: Remove more patches introduced for upgrade to V3.2
  87806: ACE-2030: Remove more patches introduced for upgrade to V3.3.x
  87807: Move patch.migrateAttrDropOldTables out of the danger zone (ACE-2030) before continuing clean up.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87812 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-11 20:57:42 +00:00
Derek Hulley
c5ac017dfb ACE-2030: Remove some patches for V3.1, including Version store migrator
- Deprecated VersionStore V1 is no longer usable by any means
 - Various scripts and other patches retired


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87775 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-10 17:12:57 +00:00
Derek Hulley
7ca8289380 ACE-2030: Guard against undesired upgrade paths
- Reorder patches in preparation for killing a whole bunch of them
 - Removed patches introduced in V2.2


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87774 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-10 17:11:37 +00:00
Pavel Yurke
7dccea3298 Merged DEV to HEAD (5.0.0)
87386: ACE-3042 : MSSQL: Upgrade fails during the DB bootstrap - "Error: Incorrect syntax near 'af''"
      - Sql syntax of update statement was corrected for SQL Server.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87538 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-07 15:22:04 +00:00
Mark Rogers
afe200fbd5 Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
84811: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      82464: ACE-1246 "Allow the customer to change the document encryption key"
      Encrypting content store


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85170 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-20 08:36:54 +00:00
Alan Davis
2b5e64a359 Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
84121: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      82508: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
         82319: Merged DEV to V4.1-BUG-FIX (4.1.10)
            81073 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements
               - Initial commit to revert fixes for MNT-8527 (r48757) and MNT-9483 (r56137) as this fixes causes performance issue for Oracle.
            81966 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements
               - Default value for feed_user_id and site_network is now @@NULL@@.
               - IS NULL clause was completly removed from activities queries.
               - Upgrade sql script was added to replace nulls for Oracle (empty strings for other dialect) with @@NULL@@.
               - Version schema was incremented by 1.
            82278 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements
               - Fixed unit test failure. 
      83431: MNT-9532 : SQL performance issue - WHERE ... IS NULL statements
         - Fixed build failure
      84115: MNT-9532/MNT-11871: with the revert of MNT-11871 patch, MNT-9532 should be using a lower schema number.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@84632 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-18 17:26:23 +00:00
Erik Winlof
378f6f428f Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
82489: Merged WAT2 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      82466: ACE-2276 : Update Activiti
         - enterprise upgrade scripts and schema ref files for activiti 5.16.2.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83288 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-04 07:34:10 +00:00
Erik Winlof
f811a6e02a Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
82427: Merged WAT2 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      80883: ACE-2276 - change comment in postgress script


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83262 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-04 07:11:38 +00:00
Erik Winlof
73623dd739 Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
82425: Merged WAT2 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      80872: ACE-2276 - Next attempt at activiti upgrade script for mysql


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83260 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-04 07:10:29 +00:00
Erik Winlof
8a04649fd1 Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
82424: Merged WAT2 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      80837: ACE-2276 - First cut on activiti upgrade patches


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83259 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-04 07:10:11 +00:00
Erik Winlof
80094575c5 Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
82418: Merged WAT2 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      80321: ACE-2276 - Update acticiti reference schema for PostgreSQL 5.16.1


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-04 07:07:54 +00:00
Erik Winlof
deb24d9995 Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
82413: Merged WAT2 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      80282: ACE-2276 - try again update the mysql reference schema.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83250 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-04 07:03:47 +00:00
Erik Winlof
3b86753d32 Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
78416: Merged EOL (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      75791: ACE-2149: EOL AVM / WCM
       - Some (probably not all!) removal of AVM patch-related code and MyBatis config


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-03 12:09:04 +00:00
Erik Winlof
0baa0f74f4 Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
78403: Merged EOL (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      75700: ACE-2149: EOL AVM / WCM
       - Remove most of the AVM and WCM beans, scripts, classes, patches, etc
       - The Explorer client is very broken for compilation
         - TODO: Remove all WCM-related functionality, which I thought would be best left to a UI dev
                 I've murdered many of the classes and beans but there's more to do
       - The repository compiles
         TODO: Get it running again
       - TODO: Check if we can wipe the 'deployment' project as well


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82540 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-03 12:01:49 +00:00
Will Abson
d34f7762d2 Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (4.3/Cloud)
74251: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (5.0/Cloud)
      74024: Merged DEV to V4.2-BUG-FIX (4.2.3)
         74016 : MNT-11619 : mysql upgrade script NodeDeleted.sql algorithm not efficient enough
            - mysql upgrade script NodeDeleted.sql algorithm was improved.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@74885 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-25 16:32:58 +00:00
Will Abson
446a714efe Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (4.3/Cloud)
73897: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
      73810: MNT-11668: improve mysql upgrade script NodeDeleted.sql using SET FOREIGN_KEY_CHECKS
      Disable foreign key constraints check during NodeDeleted.sql execution on mysql


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@74834 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-25 16:12:04 +00:00
Will Abson
0ff7a903f8 Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (4.3/Cloud)
72007: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
      71834: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
         71763: Merged DEV to V4.1-BUG-FIX (4.1.9)
            71455: MNT-10067 : Cleanup alf_prop_XXX data
            Fixed queries, separated the creation of tables.
            71491: MNT-10067 : Cleanup alf_prop_XXX data
            Changes to MySQl script:
             - Added index to the id column in temp tables.
             - Removed transaction marks.
             - Changed the format of temp tables to MyISAM.
            71756: MNT-10067 : Cleanup alf_prop_XXX data
            Implemented the changes to the scripts for all DBs.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@74729 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-25 15:35:44 +00:00
Will Abson
04cead57a6 Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (4.3/Cloud)
71594: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
      70332: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
         70292: Merged DEV to V4.1-BUG-FIX (4.1.9)
            60077: Created branch for MNT-10067 work.
            60101: MNT-10067: first commit of a generic SQL script runner.
            Very rough and ready extraction of SchemaBootstrap SQL script execution functionality. Will serve as the basis for the implementation of MNT-10067.
            60147: MNT-10067: added tests for "dialect" placeholder resolution, including overriding of dialects.
            60180: MNT-10067: exception thrown when unable to find SQL script to execute
            60187: MNT-10067: renamed ScriptExecutor to ScriptExecutorImpl to make way for an interface definition.
            60188: MNT-10067: introduced a ScriptExecutor interface.
            60189: MNT-10067: renamed ScriptExecutorTest
            60190: MNT-10067: added ScriptExecutorImplIntegrationTest to repo test suite.
            60194: MNT-10067: a very simple initial implementation of a SQL script runner capable of running multiple scripts in a given
            directory.
            60195: MNT-10067: added integration test for ScriptBundleExecutorImpl.
            60196: MNT-10067: moved ScriptBundleExecutorImplTest to correct source tree.
            60197: MNT-10067: added ScriptBundleExecutorImplIntegrationTest to repo test suite.
            60263: MNT-10067: ScriptBundleExecutor(Impl) now stops executing the main batch of scripts upon failure and runs a post-script.
            60459: MNT-10067: minor change to test data to avoid implying that ScriptBundleExecutor.exec(String, String...) has an always-run
            final script.
            60482: MNT-10067: added integration test for ScriptBundleExecutor.execWithPostScript()
            60483: MNT-10067: committed missing files from r60482
            60488: MNT-10067: set appropriate log levels for log4j
            60620: MNT-10067: added alf_props_xxx clean-up script.
            60623: MNT-10067: minor tidy up of ScriptExecutorImpl (tidy imports, group fields at top of class)
            60625: MNT-10067: further tidy up ScriptExecutorImpl (removed redundant constants, made externally unused public constant private)
            60629: MNT-10067: fix tests broken by introduction of scriptExecutor bean in production code.
            60662: MNT-10067: added tests to check deletion of doubles, serializables and dates.
            61378: MNT-10067 : Cleanup alf_prop_XXX data
            Added MySQL, Oracle DB, MS SQL Server and IBM DB2 scripts.
            63371: MNT-10067: removed the vacuum and analyze statements from the postgresql script.
            63372: MNT-10067: replaced begin and commit statements (PostgreSQL script only) with --BEGIN TXN and --END TXN, handled by the
            script executor.
            63568: MNT-10067 : Cleanup alf_prop_XXX data
            Added start and end transaction marks to the scripts.
            64115: MNT-10067: added Quartz job that by default doesn't fire until 2099 and can be manually invoked over JMX.
            64223: MNT-10067: improved testing for AuditDAOTest and added PropertyValueDAOTest
            64685: MNT-10067: added AttributeServiceTest
            65796: MNT-10067 : Cleanup alf_prop_XXX data
            Implemented a performance test.
            65983: MNT-10067 : Cleanup alf_prop_XXX data
            Reworked the MySQL script.
            Added time measurements for entry creation.
            66116: MNT-10067 : Cleanup alf_prop_XXX data
            For MySQL:
            1) Renamed temp tables.
            2) Split the script into execution and cleanup of temp tables parts.
            67023: MNT-10067 : Cleanup alf_prop_XXX data
            Modified MySQL script to skip null values from alf_prop_unique_ctx.prop1_id.
            67199: MNT-10067 : Cleanup alf_prop_XXX data
            Implemented the latest changes of the script for other DB flavors.
            Removed the MS SQL Server transaction marks.
            67763: MNT-10067 : Cleanup alf_prop_XXX data
            Removed unnecessary temporary index dropping.
            Added additional cleanup before main script execution.
            68710: MNT-10067 : Cleanup alf_prop_XXX data
            Added batch logging.
            Moved clearCaches() statement in PropertyValueDAOImpl.cleanupUnusedValues() to finally block.
            68711: MNT-10067 : Cleanup alf_prop_XXX data
            Added batching for MySQL script.
            69602: MNT-10067 : Cleanup alf_prop_XXX data
            Updated scripts for all DB flavors with batching.
            69768: MNT-10067 : Cleanup alf_prop_XXX data
            Fixed failing ScriptBundleExecutorImplIntegrationTest and ScriptExecutorImplIntegrationTest.
            70058: Sync with latest changes in V4.1-BUG-FIX.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@74691 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-25 15:26:31 +00:00
Alan Davis
c137968f30 Merged HEAD-BUG-FIX (4.3.0.BF) to HEAD (4.3.0)
63546: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3.0.BF)
      63534: Merged V4.2.1 (4.2.1) to V4.2-BUG-FIX (4.2.2)
         63452: MNT-10741 : PostgreSQL & Oracle: ACT: Two differences are present after upgrade from 4.1.7 (.3)
         Moved the deletion of ACT_RU_TASK.ACT_IDX_TASK_EXEC and ACT_RU_TASK.ACT_IDX_TASK_PROCINST indexes to activiti-upgrade-5-13 patch.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@63548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-03 15:43:06 +00:00
Alan Davis
1328f9d8f3 Merged HEAD-BUG-FIX (4.3.0.BF) to HEAD (4.3.0)
63098: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
      63049: Merged V4.2.1 (4.2.1) to V4.2-BUG-FIX (4.2.2)
         62873: Merged DEV to V4.2.1 (4.2.1)
            62866: MNT-10741 : PostgreSQL & Oracle: ACT: Two differences are present after
            upgrade from 4.1.7 (.3)
            Added required indexes for PostgreSQl and Oracle required for Activiti 5.13.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@63547 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-03 15:42:11 +00:00
Alan Davis
1c91638432 Merged HEAD-BUG-FIX (Cloud/4.3) to HEAD (Cloud/4.3)
62624: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
      62622: Merged V4.2.1 (4.2.1) to V4.2-BUG-FIX (4.2.2)
         62613: Merged DEV to V4.2.1 (4.2.1)
            62549: MNT-10646 : DB2 & MSSQL: Unexpected index found in database after upgrade 4.1.7.3 to 4.2.1
            Added patches to remove old indexes in Activiti brought from 4.0 (MNT-9533) for DB2 and MS SQL Server.
            Fixed Activiti upgrade patch for 13 version for MS SQL Server.
            62612: MNT-10646 : DB2 & MSSQL: Unexpected index found in database after upgrade 4.1.7.3 to 4.2.1
            Added the patch to all the DBs.
            Reverted increase of schema from the previous commit.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-19 13:00:32 +00:00
Alan Davis
cedbfbd91b Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
57913: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
      57882: MNT-9961: DB2: Upgrade from 4.0.2.40 to 4.2.1 fails with NPE during database schema bootstrap
      Add missed dummy patch that should be executed for all databases except MS SQL Server in scope of MNT-9764


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61906 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-11 22:26:44 +00:00
Alan Davis
727dd23d81 Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
57119: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3) RECORD ONLY
      56830: MNT-9764: SQL Server: MDQ index does not handle large string values
         - For SQL Server define string_value column as nonkey in IDX_ALF_NPROP_S index


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61744 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-11 19:46:08 +00:00
Alan Davis
79ea8599aa Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
57059: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
      56540: Merged V4.1-BUG-FIX (4.1.7) to V4.2-BUG-FIX (4.2.1)
         55709: Merged DEV to BRANCHES/DEV/V4.1-BUG-FIX (4.1.7)
            55692: MNT-9516: BM-0002: Slow query detected during site creation action
                   In alf_node table replace index for foreign key with index on (type_qname_id, store_id, id) to speed up site creation
            Notes: Incremented version numbers and removed generic script as each DB had an implementation


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61692 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-11 19:05:44 +00:00
Frederik Heremans
70cdf799a8 ALF-20057: missing index in activiti-upgrade scripts for postgres (difference between clean 4.2 and upgrade-path, present in create-scripts but not in update-scripts)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55442 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-18 10:04:18 +00:00
Derek Hulley
a39ac21d60 Merged HEAD-BUG-FIX to HEAD (4.2.0) (MNT-9523)
54873: Merged V4.1-BUG-FIX (4.1.N) to HEAD-BUG-FIX (4.2.0):
        54573: Merged PATCHES/V4.1.6 to V4.1-BUG-FIX (4.1.7)
             54530: Merged PATCHES/V4.1.3 (4.1.3.11) to PATCHES/V4.1.6 (4.1.6) (MNT-9522)
                53984: Merged DEV to PATCHES/V4.1.3 (4.1.3.10)
                   53849: MNT-9053 : Alfresco site listings cause high CPU usage on database server
                          Created a patch to create new index in MySQL and drop the old one.
                   53955: MNT-9053 : Alfresco site listings cause high CPU usage on database server
                          Added the patches for the rest of the supported DBs.
                54105: MNT-9053 : Alfresco site listings cause high CPU usage on database server
                       Corrected the create scripts and schema reference files.
                Note: Removed redundant generic script, incremented versions for patches, etc
                54531: Removed accidental commit in rev 54530 (MNT-9522)
   Note: Incremented schema number and patch


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54877 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-04 00:08:21 +00:00
Derek Hulley
312dfc9ad3 DB Script fix for ALF-19884: Cannot upgrade from Alfresco Community Ed 4.2.c to 4.2.d
- Community user's PostgreSQL database did not match our template for upgrade


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54797 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-02 17:00:23 +00:00
Derek Hulley
56f95056c6 Fix formatting of script (found during inv. of ALF-19884)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54736 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-01 14:33:34 +00:00
Alex Mukha
549eba464e ALF-19487 : ORACLE: AVM: Schema difference is present after upgrade from 3.4.13/4.0.2/4.1.5
Fixed scripts for PostgreSQL to run on 9.0.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54668 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-29 16:54:12 +00:00
Alex Mukha
192e98ff50 Merged DEV to HEAD (4.2)
54544: ALF-19487 : ORACLE: AVM: Schema difference is present after upgrade from 3.4.13/4.0.2/4.1.5
   Removed/changed unnecessary index idx_avm_vr_revuq. Added patches for all DBs.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-29 15:00:59 +00:00
Frederik Heremans
b97ff7bae0 ALF-19713: after rework of alter-table, a FK was not recreated again
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54478 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-27 09:16:23 +00:00
Samuel Langlois
ab4ca7177f Merged HEAD-QA to HEAD (4.2) (including moving test classes into separate folders)
51903 to 54309 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54310 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-20 17:17:31 +00:00
Frederik Heremans
df19b32f6d DEVOPS-3345: Fixed issue with ACT_HI_DETAIL "select into" statement
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@53443 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-31 08:24:34 +00:00
Frederik Heremans
a3f03c618c DEVOPS-3345: Using alternative to ALTER TABLE for mysql patches
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@53433 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-30 19:12:21 +00:00
Frederik Heremans
2d3d35dac2 CLOUD-1830: Reverted r51928
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@51929 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-01 15:04:00 +00:00