[HippoCMS-scm] [Git][cms-community/hippo-cms-project][master] CMS-10955 Update Tomcat to 8.5.23 and Cargo to 1.6.5 to have the latest versions

2017-10-17 Thread Arent-Jan Banck
Arent-Jan Banck pushed to branch master at cms-community / hippo-cms-project


Commits:
ef38ddf9 by Arent-Jan Banck at 2017-10-17T19:48:07+02:00
CMS-10955 Update Tomcat to 8.5.23 and Cargo to 1.6.5 to have the latest versions

- - - - -


1 changed file:

- pom.xml


Changes:

=
pom.xml
=
--- a/pom.xml
+++ b/pom.xml
@@ -84,7 +84,7 @@
 
 2.6
 1.4
-1.6.3
+1.6.5
 2.12.1
 2.3
 3.0.0
@@ -121,7 +121,7 @@
 
 8
 
-8.5.15
+8.5.23
 
 
http://archive.apache.org/dist/tomcat/
 



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-cms-project/commit/ef38ddf9dd0b3b8ced2e7684ec60b57ee17c09d8

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-cms-project/commit/ef38ddf9dd0b3b8ced2e7684ec60b57ee17c09d8
You're receiving this email because of your account on code.onehippo.org.
___
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn


[HippoCMS-scm] [Git][cms-community/hippo-cms][feature/projectdocs] CMS-10929 Add payload to rename and move api calls

2017-10-17 Thread Michiel Rop
Michiel Rop pushed to branch feature/projectdocs at cms-community / hippo-cms


Commits:
9496e899 by Michiel Rop at 2017-10-17T15:45:45+02:00
CMS-10929 Add payload to rename and move api calls

Split assignment and usage to improve readability.
( whereUsedAction showed up as "non used" during inspection )

- - - - -


1 changed file:

- 
workflow/frontend/src/main/java/org/hippoecm/frontend/plugins/reviewedactions/DocumentWorkflowPlugin.java


Changes:

=
workflow/frontend/src/main/java/org/hippoecm/frontend/plugins/reviewedactions/DocumentWorkflowPlugin.java
=
--- 
a/workflow/frontend/src/main/java/org/hippoecm/frontend/plugins/reviewedactions/DocumentWorkflowPlugin.java
+++ 
b/workflow/frontend/src/main/java/org/hippoecm/frontend/plugins/reviewedactions/DocumentWorkflowPlugin.java
@@ -53,6 +53,7 @@ import org.hippoecm.frontend.skin.Icon;
 import org.hippoecm.frontend.util.CodecUtils;
 import org.hippoecm.repository.api.Document;
 import org.hippoecm.repository.api.DocumentWorkflowAction;
+import org.hippoecm.repository.api.DocumentWorkflowConstants;
 import org.hippoecm.repository.api.HippoNode;
 import org.hippoecm.repository.api.StringCodec;
 import org.hippoecm.repository.api.Workflow;
@@ -64,6 +65,8 @@ import 
org.hippoecm.repository.standardworkflow.FolderWorkflow;
 import org.onehippo.repository.documentworkflow.DocumentWorkflow;
 import org.onehippo.repository.util.JcrConstants;
 
+import static org.hippoecm.repository.api.DocumentWorkflowAction.MOVE;
+
 public class DocumentWorkflowPlugin extends AbstractDocumentWorkflowPlugin {
 
 private static final String DEFAULT_FOLDERWORKFLOW_CATEGORY = "embedded";
@@ -149,7 +152,10 @@ public class DocumentWorkflowPlugin extends 
AbstractDocumentWorkflowPlugin {
 WorkflowManager manager = 
UserSession.get().getWorkflowManager();
 DefaultWorkflow defaultWorkflow = (DefaultWorkflow) 
manager.getWorkflow("core", node);
 if (!((WorkflowDescriptorModel) 
getDefaultModel()).getNode().getName().equals(nodeName)) {
-((DocumentWorkflow) wf).rename(nodeName);
+wf.transition(new WorkflowTransition.Builder()
+.initializationPayload(InitializationPayload.get())
+.action(DocumentWorkflowAction.RENAME)
+.build());
 }
 if (!node.getDisplayName().equals(localName)) {
 defaultWorkflow.setDisplayName(localName);
@@ -298,8 +304,11 @@ public class DocumentWorkflowPlugin extends 
AbstractDocumentWorkflowPlugin {
 : new JcrNodeModel("/").getNode();
 
 String nodeName = document.getName();
-DocumentWorkflow workflow = (DocumentWorkflow) wf;
-workflow.move(new Document(folder), nodeName);
+wf.transition(new WorkflowTransition.Builder()
+.action(MOVE)
+.initializationPayload(InitializationPayload.get())
+
.eventPayload(DocumentWorkflowConstants.DESTINATION,new Document(folder), 
DocumentWorkflowConstants.NAME,nodeName)
+.build());
 browseTo(new JcrNodeModel(folder.getPath() + "/" + nodeName));
 return null;
 }
@@ -338,8 +347,10 @@ public class DocumentWorkflowPlugin extends 
AbstractDocumentWorkflowPlugin {
 
 @Override
 protected String execute(Workflow wf) throws Exception {
-DocumentWorkflow workflow = (DocumentWorkflow) wf;
-workflow.delete();
+wf.transition(new WorkflowTransition.Builder()
+.initializationPayload(InitializationPayload.get())
+.action(DocumentWorkflowAction.DELETE)
+.build());
 return null;
 }
 });
@@ -375,8 +386,7 @@ public class DocumentWorkflowPlugin extends 
AbstractDocumentWorkflowPlugin {
 return null;
 }
 });
-
-add(whereUsedAction = new StdWorkflow("where-used", new 
StringResourceModel("where-used-label", this, null), context, getModel()) {
+whereUsedAction = new StdWorkflow("where-used", new 
StringResourceModel("where-used-label", this, null), context, getModel()) {
 
 @Override
 public String getSubMenu() {
@@ -398,7 +408,8 @@ public class DocumentWorkflowPlugin extends 
AbstractDocumentWorkflowPlugin {
 protected String execute(Workflow wf) throws Exception {
 return null;
 }
-});
+};
+add(whereUsedAction);
 
 add(historyAction = new StdWorkflow("history", new 
StringResourceModel("history-label", this, null), context, getModel()) {
 



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-cms/com

[HippoCMS-scm] [Git][cms-community/hippo-addon-channel-manager][feature/CC-CHANNELMGR-1506] CHANNELMGR-1506 Remove create content bindings from editContent template

2017-10-17 Thread Ran Shem Tov
Ran Shem Tov pushed to branch feature/CC-CHANNELMGR-1506 at cms-community / 
hippo-addon-channel-manager


Commits:
10bea01b by Ran ShemTov at 2017-10-17T14:00:06+02:00
CHANNELMGR-1506 Remove create content bindings from editContent template

- - - - -


1 changed file:

- 
frontend-ng/src/app/channel/sidePanels/rightSidePanel/editContent/editContent.html


Changes:

=
frontend-ng/src/app/channel/sidePanels/rightSidePanel/editContent/editContent.html
=
--- 
a/frontend-ng/src/app/channel/sidePanels/rightSidePanel/editContent/editContent.html
+++ 
b/frontend-ng/src/app/channel/sidePanels/rightSidePanel/editContent/editContent.html
@@ -80,7 +80,7 @@
   
 
 
-
+
   
 
 
@@ -92,7 +92,7 @@
 
-  {{ $ctrl.createContent ? 'CREATE' : 'SAVE' | translate }}
+  {{ :: 'SAVE' | translate }}
 
   
 



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/10bea01b1d185976de248821aeaf57ac4f550abc

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/10bea01b1d185976de248821aeaf57ac4f550abc
You're receiving this email because of your account on code.onehippo.org.
___
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn


[HippoCMS-scm] [Git][cms-community/hippo-addon-channel-manager][feature/CC-CHANNELMGR-1506] CHANNELMGR-1506 Remove unnecessary bindings

2017-10-17 Thread Ran Shem Tov
Ran Shem Tov pushed to branch feature/CC-CHANNELMGR-1506 at cms-community / 
hippo-addon-channel-manager


Commits:
52c2831b by Ran ShemTov at 2017-10-17T13:50:00+02:00
CHANNELMGR-1506 Remove unnecessary bindings

- - - - -


1 changed file:

- 
frontend-ng/src/app/channel/sidePanels/rightSidePanel/editContent/editContent.html


Changes:

=
frontend-ng/src/app/channel/sidePanels/rightSidePanel/editContent/editContent.html
=
--- 
a/frontend-ng/src/app/channel/sidePanels/rightSidePanel/editContent/editContent.html
+++ 
b/frontend-ng/src/app/channel/sidePanels/rightSidePanel/editContent/editContent.html
@@ -23,7 +23,6 @@
 
   
@@ -31,7 +30,6 @@
 
   



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/52c2831b8b30ab7cfb75adfb04adf3ce52adafe4

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/52c2831b8b30ab7cfb75adfb04adf3ce52adafe4
You're receiving this email because of your account on code.onehippo.org.
___
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn


[HippoCMS-scm] [Git][cms-community/hippo-essentials] Pushed new branch bugfix/ESSENTIALS-1104

2017-10-17 Thread Bert Leunis
Bert Leunis pushed new branch bugfix/ESSENTIALS-1104 at cms-community / 
hippo-essentials

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-essentials/tree/bugfix/ESSENTIALS-1104
You're receiving this email because of your account on code.onehippo.org.
___
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn


[HippoCMS-scm] [Git][cms-community/hippo-site-toolkit][master] HSTTWO-4157 Change mock implementation of CmsSessionContext

2017-10-17 Thread Michiel Eggermont
Michiel Eggermont pushed to branch master at cms-community / hippo-site-toolkit


Commits:
9007e0d6 by Michiel Eggermont at 2017-10-17T12:55:22+02:00
HSTTWO-4157 Change mock implementation of CmsSessionContext

- - - - -


1 changed file:

- 
client-modules/page-composer/src/test/java/org/hippoecm/hst/pagecomposer/jaxrs/AbstractFullRequestCycleTest.java


Changes:

=
client-modules/page-composer/src/test/java/org/hippoecm/hst/pagecomposer/jaxrs/AbstractFullRequestCycleTest.java
=
--- 
a/client-modules/page-composer/src/test/java/org/hippoecm/hst/pagecomposer/jaxrs/AbstractFullRequestCycleTest.java
+++ 
b/client-modules/page-composer/src/test/java/org/hippoecm/hst/pagecomposer/jaxrs/AbstractFullRequestCycleTest.java
@@ -250,21 +250,6 @@ public class AbstractFullRequestCycleTest {
 public Object get(final String key) {
 return CmsSessionContext.REPOSITORY_CREDENTIALS.equals(key) ? 
credentials : null;
 }
-
-@Override
-public Object getAttribute(final String key) {
-return null;
-}
-
-@Override
-public Object setAttribute(final String key, final Object value) {
-return null;
-}
-
-@Override
-public Object removeAttribute(final String key) {
-return null;
-}
 }
 
 protected void setPrivilegePropsForSecurityModel() throws 
RepositoryException {



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-site-toolkit/commit/9007e0d6bc6eaa5328b165093526a389b08628bb

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-site-toolkit/commit/9007e0d6bc6eaa5328b165093526a389b08628bb
You're receiving this email because of your account on code.onehippo.org.
___
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn


[HippoCMS-scm] [Git][cms-community/hippo-services-api][master] CMS-10953 Add context payload to CmsSessionContext

2017-10-17 Thread Michiel Eggermont
Michiel Eggermont pushed to branch master at cms-community / hippo-services-api


Commits:
c07a2585 by Michiel Eggermont at 2017-10-17T12:43:13+02:00
CMS-10953 Add context payload to CmsSessionContext

This enables management of http session bound properties for use in
e.g. workflow. We no longer need the get/set/remove attributes
methods, so remove those.

- - - - -


1 changed file:

- src/main/java/org/onehippo/cms7/services/cmscontext/CmsSessionContext.java


Changes:

=
src/main/java/org/onehippo/cms7/services/cmscontext/CmsSessionContext.java
=
--- a/src/main/java/org/onehippo/cms7/services/cmscontext/CmsSessionContext.java
+++ b/src/main/java/org/onehippo/cms7/services/cmscontext/CmsSessionContext.java
@@ -15,7 +15,9 @@
  */
 package org.onehippo.cms7.services.cmscontext;
 
+import java.io.Serializable;
 import java.util.Locale;
+import java.util.Map;
 
 import javax.jcr.SimpleCredentials;
 import javax.servlet.http.HttpSession;
@@ -93,31 +95,11 @@ public interface CmsSessionContext {
 }
 
 /**
- * Retrieves the currently stored attribute value identified by key from 
the context and returns it.
+ * Returns a mutable map bound to the http session. It can e.g. be used to 
manage user specific properties.
  *
- * @param key the key of the value to set, must not be {@code null}
- * @return the value associated with key, or {@code null} if there is no 
attribute for key.
+ * @return mutable map of properties bound to the http session
  */
-Object getAttribute(String key);
-
-/**
- * Stores an attribute value identified by key in the context and returns 
the previously stored attribute value or
- * {@code null} if there was no attribute for the key. The 
CmsSessionContext is shared amongst web-apps, so make
- * sure that the class of the attribute value is on the classpath of the 
web-app that will read the value.
- *
- * @param key   the key of the value to set, must not be {@code null}
- * @param value the value to associate with the key, must not be {@code 
null}
- * @return the previous value associated with key, or {@code null} if 
there was no attribute for key.
- */
-Object setAttribute(String key, Object value);
-
-/**
- * Removes an attribute value and it's key from the context and returns 
the currently stored attribute value or
- * {@code null} if there was no attribute for the key.
- *
- * @param key the key of the value to set, must not be {@code null}
- * @return the previous value associated with key, or {@code null} if 
there was no attribute for key.
- */
-Object removeAttribute(String key);
-
+default Map getContextPayload() {
+return (Map) 
get(CMS_SESSION_CONTEXT_PAYLOAD_KEY);
+}
 }



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-services-api/commit/c07a2585171af47b5d5bd4e155a287a582f6c37a

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-services-api/commit/c07a2585171af47b5d5bd4e155a287a582f6c37a
You're receiving this email because of your account on code.onehippo.org.
___
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn


[HippoCMS-scm] [Git][cms-community/hippo-cms][master] CMS-10953 Initialize context payload in constructor

2017-10-17 Thread Michiel Eggermont
Michiel Eggermont pushed to branch master at cms-community / hippo-cms


Commits:
44bd816d by Michiel Eggermont at 2017-10-17T12:54:40+02:00
CMS-10953 Initialize context payload in constructor

CmsSessionContext must always have a context payload in the dataMap
so instantiate one in the constructor.
Also remove the atttributeMap and related methods, because they have
been removed from the interface.

- - - - -


1 changed file:

- 
engine/src/main/java/org/onehippo/cms7/services/cmscontext/CmsContextServiceImpl.java


Changes:

=
engine/src/main/java/org/onehippo/cms7/services/cmscontext/CmsContextServiceImpl.java
=
--- 
a/engine/src/main/java/org/onehippo/cms7/services/cmscontext/CmsContextServiceImpl.java
+++ 
b/engine/src/main/java/org/onehippo/cms7/services/cmscontext/CmsContextServiceImpl.java
@@ -16,6 +16,7 @@
 package org.onehippo.cms7.services.cmscontext;
 
 import java.util.Collections;
+import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Map;
 import java.util.UUID;
@@ -39,7 +40,6 @@ public class CmsContextServiceImpl implements 
CmsInternalCmsContextService {
 private CmsSessionContextImpl cmsCtx;
 private Map sharedContextsMap;
 private Map dataMap;
-private Map attributeMap;
 
 private HttpSession session;
 
@@ -48,14 +48,13 @@ public class CmsContextServiceImpl implements 
CmsInternalCmsContextService {
 cmsCtx = this;
 sharedContextsMap = new ConcurrentHashMap<>();
 dataMap = new ConcurrentHashMap<>();
-attributeMap = new ConcurrentHashMap<>();
+dataMap.put(CMS_SESSION_CONTEXT_PAYLOAD_KEY, new HashMap<>());
 }
 
 private CmsSessionContextImpl(CmsContextServiceImpl service, 
CmsSessionContextImpl ctx) {
 this.service = service;
 cmsCtx = ctx.cmsCtx;
 dataMap = ctx.dataMap;
-attributeMap = ctx.attributeMap;
 sharedContextsMap = ctx.sharedContextsMap;
 sharedContextsMap.put(id, this);
 }
@@ -75,22 +74,6 @@ public class CmsContextServiceImpl implements 
CmsInternalCmsContextService {
 return dataMap.get(key);
 }
 
-@Override
-public Object setAttribute(String key, Object value) {
-return attributeMap.put(key, value);
-}
-
-@Override
-public Object getAttribute(String key) {
-return attributeMap.get(key);
-}
-
-@Override
-public Object removeAttribute(final String key) {
-return attributeMap.remove(key);
-}
-
-
 private synchronized void detach() {
 if (service != null) {
 
@@ -123,7 +106,6 @@ public class CmsContextServiceImpl implements 
CmsInternalCmsContextService {
 cmsCtx = null;
 sharedContextsMap = Collections.emptyMap();
 dataMap = Collections.emptyMap();
-attributeMap = Collections.emptyMap();
 }
 }
 



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-cms/commit/44bd816d5bfc8ac8d143722879405933ade8156a

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-cms/commit/44bd816d5bfc8ac8d143722879405933ade8156a
You're receiving this email because of your account on code.onehippo.org.
___
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn


[HippoCMS-scm] [Git][cms-community/hippo-repository] Pushed new branch feature/REPO-1867

2017-10-17 Thread Tobias Jeger
Tobias Jeger pushed new branch feature/REPO-1867 at cms-community / 
hippo-repository

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-repository/tree/feature/REPO-1867
You're receiving this email because of your account on code.onehippo.org.
___
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn


[HippoCMS-scm] [Git][cms-community/hippo-repository] Pushed new branch feature/REPO-1866

2017-10-17 Thread Peter Centgraf
Peter Centgraf pushed new branch feature/REPO-1866 at cms-community / 
hippo-repository

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-repository/tree/feature/REPO-1866
You're receiving this email because of your account on code.onehippo.org.
___
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn


[HippoCMS-scm] [Git][cms-community/hippo-cms-release][release/11.2] CMS-10895 bump CMS version to 4.2.6-SNAPSHOT

2017-10-17 Thread Jeroen Hoffman
Jeroen Hoffman pushed to branch release/11.2 at cms-community / 
hippo-cms-release


Commits:
f5be3bf1 by Jeroen Hoffman at 2017-10-17T10:18:02+02:00
CMS-10895 bump CMS version to 4.2.6-SNAPSHOT

- - - - -


1 changed file:

- pom.xml


Changes:

=
pom.xml
=
--- a/pom.xml
+++ b/pom.xml
@@ -45,7 +45,7 @@
 
4.2.2
 
3.2.1
 3.2.0
-4.2.5
+4.2.6-SNAPSHOT
 3.2.0
 3.2.0
 4.2.5-SNAPSHOT



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-cms-release/commit/f5be3bf1711f1e46f00d9e8af28b9a7d0706d0a5

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-cms-release/commit/f5be3bf1711f1e46f00d9e8af28b9a7d0706d0a5
You're receiving this email because of your account on code.onehippo.org.
___
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn


[HippoCMS-scm] [Git][cms-community/hippo-repository] Deleted branch feature/REPO-1835

2017-10-17 Thread Michiel Rop
Michiel Rop deleted branch feature/REPO-1835 at cms-community / hippo-repository

---

You're receiving this email because of your account on code.onehippo.org.
___
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn


[HippoCMS-scm] [Git][cms-community/hippo-repository][feature/projectdocs] 55 commits: REPO-1811 Implement in-memory lock manager

2017-10-17 Thread Michiel Rop
Michiel Rop pushed to branch feature/projectdocs at cms-community / 
hippo-repository


Commits:
dfa6f279 by Ard Schrijvers at 2017-09-12T15:49:32+02:00
REPO-1811 Implement in-memory lock manager

- - - - -
4750450f by Ard Schrijvers at 2017-09-12T23:29:49+02:00
REPO-1811 To the RepositoryImpl add a Journal ConnectionHelper accessor

Via this Journal ConnectionHelper we can access the Journal DataSource
via the ConnectionHelperDataSourceAccessor.

Admittedly, a bit clumsy but we need access to the Journal DataSource
because we need to know whether we are dealing with a database *and*
whether we have a clustered setup : Only in that case, the lock mechanism
has to be upgraded from in memory locking to db base locking because
needs to be cluster wide

- - - - -
e0f19fab by Ard Schrijvers at 2017-09-12T23:33:43+02:00
REPO-1811 Support for a Database lock manager

The Database lock manager interaction is pretty much exactly the same
as the MemoryLockManager interaction. The biggest difference is that
the DbLockManager creates database based locks and the MemoryLockManager
creates MemoryLocks. Note that a DbLock is the same as the MemoryLock
but only contains a #destroy implementation that releases the database
lock.

The DbLockManager is still work in progress

- - - - -
1dba0d49 by Ard Schrijvers at 2017-09-13T14:44:56+02:00
REPO-1811 Fix the LockClusterTest setup

(still ignored but the setup failed since we do not allow SNS
below jcr:root any more)

- - - - -
92c914ef by Ard Schrijvers at 2017-09-14T14:29:52+02:00
REPO-1811 Support database locking

- - - - -
cbf14aed by Ard Schrijvers at 2017-09-19T15:16:45+02:00
REPO-1811 Support background jobs in the Memory or Db LockManager

- All the background jobs are run by a single thread
- By default they run every 5 seconds with an initial delay of 5 seconds
- Every background job is wrapped in a 'synchronized runnable' the 
synchronized
  on the LockManager instance: The reason for this is that we do not want
  background jobs to write concurrently to possibly the same records as
  other (background) jobs
- We have the following background jobs:
  1) UnlockStoppedThreadJanitor : releases database locks for records
 that were held by a thread that is not alive any more
  2) DbResetExpiredLocksJanitor : Resets all database rows which have
 expired locks (rows with status 'RUNNING' or 'ABORT' and 
expirationTime
 has passed
  3) DbLockRefresher: Refreshes the expiresTime of a lock to currentTime + 
refreshRateSeconds
  4) LockThreadInterrupter : Interrupts the Thread that holds the lock that has 
been marked 'ABORT'

- - - - -
441beff4 by Ard Schrijvers at 2017-09-19T16:54:14+02:00
REPO-1811 Make sure getLocks and isLocked works cluster wide in case of a 
database

- - - - -
d3d25849 by Ard Schrijvers at 2017-09-20T11:30:29+02:00
REPO-1811 Fix sql statement

- - - - -
5ab1e55f by Ard Schrijvers at 2017-09-20T11:33:54+02:00
REPO-1811 Extract abstract test and add an 'abort' test

- - - - -
4a939b29 by Ard Schrijvers at 2017-09-20T11:37:27+02:00
REPO-1811 merge from master

- - - - -
7027fce3 by Ard Schrijvers at 2017-09-20T13:41:57+02:00
REPO-1811 use getHoldCount() instead of protected access

- - - - -
0bf87cb5 by Ard Schrijvers at 2017-09-20T13:42:28+02:00
REPO-1811 improve feedback

- - - - -
a268b5e6 by Ard Schrijvers at 2017-09-20T13:42:50+02:00
REPO-1811 use getHoldCount() instead of protected access

- - - - -
dac8d9cc by Ard Schrijvers at 2017-09-20T13:43:20+02:00
REPO-1811 Fix abort statement

- - - - -
cc3e10d9 by Ard Schrijvers at 2017-09-20T15:02:27+02:00
REPO-1811 Encapsulate the localLocks object

Since localLocks is a hashmap, all access to it should be synchronized.
This can be easier achieved by encapsulating it and whenever needed by
other classes, return a new object containing the same locks

- - - - -
43f17029 by Ard Schrijvers at 2017-09-20T15:25:56+02:00
REPO-1811 Enhance abort tests

- - - - -
05143edd by Ard Schrijvers at 2017-09-20T17:10:43+02:00
REPO-1811 use auto closable in integration tests

- - - - -
62bd68c2 by Ard Schrijvers at 2017-09-20T17:11:14+02:00
REPO-1811 Correct the expiresTime parameter

- - - - -
f038ec5b by Ard Schrijvers at 2017-09-20T17:13:20+02:00
REPO-1811 Locks in status ABORT should also be refreshed

Namely if a lock is in status ABORT and the lock is for the *CLUSTER NODE*
on which the DbLockRefresher runs, then it means that on this cluster
node the Thread that should be aborted did not yet abort (for example
still busy with its job). All we can do is wait until that job finishes

- - - - -
591ff099 by Ard Schrijvers at 2017-09-20T17:13:43+02:00
REPO-1811 remove unneeded auto commit

- - - - -
8a6b58b3 by Ard Schrijvers at 2017-09-20T17:14:10+02:00
REPO-1811 If a Thread is already interrupted, don't interrupt again

- - - - -
a3bc5d1f by Ard Schrijvers at 2017-09-20T17:14:41+02:00
REPO-1811 Integration tests that confirm the correct working of the 
DbLockRefresher

- - - - -
c2284223 by Ard Schrijve