mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Activity Service
- upgrade fix - unit tests / build fix git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -57,3 +57,15 @@ CREATE TABLE alf_activity_feed_control (
|
|||||||
);
|
);
|
||||||
|
|
||||||
CREATE INDEX feedcontroluserid_idx ON alf_activity_feed_control(feed_user_id);
|
CREATE INDEX feedcontroluserid_idx ON alf_activity_feed_control(feed_user_id);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Record script finish
|
||||||
|
--
|
||||||
|
DELETE FROM alf_applied_patch WHERE id = 'patch.db-V3.0-0-CreateActivitiesTables';
|
||||||
|
INSERT INTO alf_applied_patch
|
||||||
|
(id, description, fixes_from_schema, fixes_to_schema, applied_to_schema, target_schema, applied_on_date, applied_to_server, was_executed, succeeded, report)
|
||||||
|
VALUES
|
||||||
|
(
|
||||||
|
'patch.db-V3.0-0-CreateActivitiesTables', 'Executed script create V3.0: Created activities tables',
|
||||||
|
0, 125, -1, 126, null, 'UNKNOWN', 1, 1, 'Script completed'
|
||||||
|
);
|
||||||
|
@@ -54,3 +54,15 @@ CREATE TABLE alf_activity_feed_control (
|
|||||||
PRIMARY KEY (id),
|
PRIMARY KEY (id),
|
||||||
KEY feedcontroluserid_idx (feed_user_id)
|
KEY feedcontroluserid_idx (feed_user_id)
|
||||||
) type=InnoDB;
|
) type=InnoDB;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Record script finish
|
||||||
|
--
|
||||||
|
DELETE FROM alf_applied_patch WHERE id = 'patch.db-V3.0-0-CreateActivitiesTables';
|
||||||
|
INSERT INTO alf_applied_patch
|
||||||
|
(id, description, fixes_from_schema, fixes_to_schema, applied_to_schema, target_schema, applied_on_date, applied_to_server, was_executed, succeeded, report)
|
||||||
|
VALUES
|
||||||
|
(
|
||||||
|
'patch.db-V3.0-0-CreateActivitiesTables', 'Executed script create V3.0: Created activities tables',
|
||||||
|
0, 125, -1, 126, null, 'UNKNOWN', 1, 1, 'Script completed'
|
||||||
|
);
|
@@ -63,3 +63,15 @@ CREATE TABLE alf_activity_feed_control (
|
|||||||
CREATE SEQUENCE alf_activity_feed_control_seq START WITH 1 INCREMENT BY 1;
|
CREATE SEQUENCE alf_activity_feed_control_seq START WITH 1 INCREMENT BY 1;
|
||||||
|
|
||||||
CREATE INDEX feedcontroluserid_idx ON alf_activity_feed_control(feed_user_id);
|
CREATE INDEX feedcontroluserid_idx ON alf_activity_feed_control(feed_user_id);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Record script finish
|
||||||
|
--
|
||||||
|
DELETE FROM alf_applied_patch WHERE id = 'patch.db-V3.0-0-CreateActivitiesTables';
|
||||||
|
INSERT INTO alf_applied_patch
|
||||||
|
(id, description, fixes_from_schema, fixes_to_schema, applied_to_schema, target_schema, applied_on_date, applied_to_server, was_executed, succeeded, report)
|
||||||
|
VALUES
|
||||||
|
(
|
||||||
|
'patch.db-V3.0-0-CreateActivitiesTables', 'Executed script create V3.0: Created activities tables',
|
||||||
|
0, 125, -1, 126, null, 'UNKNOWN', 1, 1, 'Script completed'
|
||||||
|
);
|
||||||
|
@@ -52,6 +52,10 @@ public abstract class BaseSpringTest extends AbstractTransactionalDataSourceSpri
|
|||||||
*/
|
*/
|
||||||
public BaseSpringTest()
|
public BaseSpringTest()
|
||||||
{
|
{
|
||||||
|
// TODO temporarily switch default to auto-wire by name
|
||||||
|
this.setAutowireMode(AUTOWIRE_BY_NAME);
|
||||||
|
//this.setDependencyCheck(false);
|
||||||
|
|
||||||
defaultContext = false;
|
defaultContext = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -96,9 +100,6 @@ public abstract class BaseSpringTest extends AbstractTransactionalDataSourceSpri
|
|||||||
// The derived class is using the default context
|
// The derived class is using the default context
|
||||||
defaultContext = true;
|
defaultContext = true;
|
||||||
|
|
||||||
this.setAutowireMode(AUTOWIRE_BY_NAME);
|
|
||||||
//this.setDependencyCheck(false);
|
|
||||||
|
|
||||||
if (logger.isDebugEnabled())
|
if (logger.isDebugEnabled())
|
||||||
{
|
{
|
||||||
logger.debug("Getting config locations");
|
logger.debug("Getting config locations");
|
||||||
|
Reference in New Issue
Block a user