sling-org-apache-sling-discovery-commons.git
2 months agotrivial: added license header to *.md files master
Radu Cotescu [Thu, 20 Sep 2018 09:09:02 +0000 (11:09 +0200)] 
trivial: added license header to *.md files

2 months agoSLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module
Radu Cotescu [Wed, 19 Sep 2018 16:29:17 +0000 (18:29 +0200)] 
SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module

2 months agoSLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module
Radu Cotescu [Wed, 19 Sep 2018 16:04:00 +0000 (18:04 +0200)] 
SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module

4 months agoSLING-7798 Switch from JSR-305 annotations to JetBrains Nullable/NotNull annotations
sseifert [Mon, 13 Aug 2018 09:17:07 +0000 (11:17 +0200)] 
SLING-7798 Switch from JSR-305 annotations to JetBrains Nullable/NotNull annotations

6 months agoUpdating badges for org-apache-sling-discovery-commons
Dan Klco [Fri, 8 Jun 2018 16:50:17 +0000 (12:50 -0400)] 
Updating badges for org-apache-sling-discovery-commons

13 months agoSLING-7213 - Add a default .gitignore file to every module
Robert Munteanu [Tue, 24 Oct 2017 11:41:00 +0000 (13:41 +0200)] 
SLING-7213 - Add a default .gitignore file to every module

13 months agoSLING-7214 - Add the LICENSE file to every module
Robert Munteanu [Mon, 23 Oct 2017 16:38:23 +0000 (18:38 +0200)] 
SLING-7214 - Add the LICENSE file to every module

13 months agoFix typo in pom.xml : conncetion should be connection
Robert Munteanu [Mon, 23 Oct 2017 09:06:30 +0000 (12:06 +0300)] 
Fix typo in pom.xml : conncetion should be connection

13 months agoSLING-7162 - Update SCM information in all POM files to reference Git
Robert Munteanu [Fri, 20 Oct 2017 17:13:13 +0000 (19:13 +0200)] 
SLING-7162 - Update SCM information in all POM files to reference Git

14 months agoSLING-7167 Adjust READMEs
Oliver Lietz [Tue, 3 Oct 2017 09:20:48 +0000 (09:20 +0000)] 
SLING-7167 Adjust READMEs

add missing README

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1810685 13f79535-47bb-0310-9956-ffa450edef68

17 months agoSLING-6992 : reverting 1800639 due to johnzon anyway requiring JRE 7, thus it doesn...
Stefan Egli [Mon, 3 Jul 2017 12:47:07 +0000 (12:47 +0000)] 
SLING-6992 : reverting 1800639 due to johnzon anyway requiring JRE 7, thus it doesn't really make sense to restrict discovery.commons to 6 as it wont run on 6 anymore anyway

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1800671 13f79535-47bb-0310-9956-ffa450edef68

17 months ago[maven-release-plugin] prepare for next development iteration
Stefan Egli [Mon, 3 Jul 2017 11:48:38 +0000 (11:48 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1800647 13f79535-47bb-0310-9956-ffa450edef68

17 months ago[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.22
Stefan Egli [Mon, 3 Jul 2017 11:48:21 +0000 (11:48 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.22

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1800645 13f79535-47bb-0310-9956-ffa450edef68

17 months agoSLING-6992 : switch back to JRE 6 - and with that replace the diamond operator back...
Stefan Egli [Mon, 3 Jul 2017 11:34:52 +0000 (11:34 +0000)] 
SLING-6992 : switch back to JRE 6 - and with that replace the diamond operator back to concrete parameter types

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1800639 13f79535-47bb-0310-9956-ffa450edef68

18 months agoRemove skip of baseline check after release
Carsten Ziegeler [Mon, 22 May 2017 04:57:39 +0000 (04:57 +0000)] 
Remove skip of baseline check after release

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1795772 13f79535-47bb-0310-9956-ffa450edef68

19 months ago[maven-release-plugin] prepare for next development iteration
Karl Pauls [Mon, 8 May 2017 09:53:42 +0000 (09:53 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1794306 13f79535-47bb-0310-9956-ffa450edef68

19 months ago[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.20
Karl Pauls [Mon, 8 May 2017 09:53:24 +0000 (09:53 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.20

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1794304 13f79535-47bb-0310-9956-ffa450edef68

19 months agoFix javadoc
Carsten Ziegeler [Mon, 8 May 2017 09:46:33 +0000 (09:46 +0000)] 
Fix javadoc

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1794302 13f79535-47bb-0310-9956-ffa450edef68

19 months agoFix some javadoc
Karl Pauls [Mon, 8 May 2017 09:42:05 +0000 (09:42 +0000)] 
Fix some javadoc

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1794301 13f79535-47bb-0310-9956-ffa450edef68

19 months agoSLING-6837 : Migrate to R6 annotations
Carsten Ziegeler [Mon, 8 May 2017 05:48:28 +0000 (05:48 +0000)] 
SLING-6837 : Migrate to R6 annotations

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1794285 13f79535-47bb-0310-9956-ffa450edef68

19 months agoSLING-6836 : Use Timer instead of scheduler for delayed execution
Carsten Ziegeler [Mon, 8 May 2017 05:19:54 +0000 (05:19 +0000)] 
SLING-6836 : Use Timer instead of scheduler for delayed execution

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1794284 13f79535-47bb-0310-9956-ffa450edef68

19 months agoRevert to provious snapshot version
Karl Pauls [Sun, 7 May 2017 21:56:40 +0000 (21:56 +0000)] 
Revert to provious snapshot version

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1794272 13f79535-47bb-0310-9956-ffa450edef68

19 months ago[maven-release-plugin] prepare for next development iteration
Karl Pauls [Sun, 7 May 2017 21:30:09 +0000 (21:30 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1794265 13f79535-47bb-0310-9956-ffa450edef68

19 months ago[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.20
Karl Pauls [Sun, 7 May 2017 21:29:53 +0000 (21:29 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.20

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1794263 13f79535-47bb-0310-9956-ffa450edef68

19 months agoFix some javadoc.
Karl Pauls [Sun, 7 May 2017 21:28:01 +0000 (21:28 +0000)] 
Fix some javadoc.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1794262 13f79535-47bb-0310-9956-ffa450edef68

19 months agoupdate to org.apache.sling.commons.johnzon 1.0.0
Stefan Seifert [Wed, 3 May 2017 14:35:24 +0000 (14:35 +0000)] 
update to org.apache.sling.commons.johnzon 1.0.0

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1793655 13f79535-47bb-0310-9956-ffa450edef68

20 months agoSLING-6690: Switch to geronimo provider for javax.json api.
Karl Pauls [Tue, 28 Mar 2017 21:17:25 +0000 (21:17 +0000)] 
SLING-6690: Switch to geronimo provider for javax.json api.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1789231 13f79535-47bb-0310-9956-ffa450edef68

20 months agoSLING-6690: Replace commons.json usage in org.apache.sling.discovery.commons
Karl Pauls [Tue, 28 Mar 2017 13:03:04 +0000 (13:03 +0000)] 
SLING-6690: Replace commons.json usage in org.apache.sling.discovery.commons

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1789118 13f79535-47bb-0310-9956-ffa450edef68

2 years agodiscovery lite: print out which descriptor value is missing
Robert Munteanu [Tue, 29 Nov 2016 15:56:51 +0000 (15:56 +0000)] 
discovery lite: print out which descriptor value is missing

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1771920 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare for next development iteration
Stefan Egli [Tue, 15 Nov 2016 12:44:56 +0000 (12:44 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1769807 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.18
Stefan Egli [Tue, 15 Nov 2016 12:44:40 +0000 (12:44 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.18

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1769805 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5231 : remove getAdministrativeResourceResolver from discovery components ...
Stefan Egli [Tue, 15 Nov 2016 12:38:35 +0000 (12:38 +0000)] 
SLING-5231 : remove getAdministrativeResourceResolver from discovery components : merged patches from Carsten

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1769802 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare for next development iteration
Stefan Egli [Mon, 26 Sep 2016 09:49:56 +0000 (09:49 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1762304 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.16
Stefan Egli [Mon, 26 Sep 2016 09:49:40 +0000 (09:49 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.16

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1762302 13f79535-47bb-0310-9956-ffa450edef68

2 years agofix build error: switch sling API to 2.11 because 2.10 was never released
Stefan Seifert [Thu, 22 Sep 2016 10:38:36 +0000 (10:38 +0000)] 
fix build error: switch sling API to 2.11 because 2.10 was never released

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1761884 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare for next development iteration
Stefan Egli [Wed, 21 Sep 2016 14:53:21 +0000 (14:53 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1761760 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.14
Stefan Egli [Wed, 21 Sep 2016 14:53:04 +0000 (14:53 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.14

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1761758 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5995 : changing IdMapService from being an OSGi EventListener to a Sling Resour...
Stefan Egli [Wed, 21 Sep 2016 14:46:59 +0000 (14:46 +0000)] 
SLING-5995 : changing IdMapService from being an OSGi EventListener to a Sling ResourceChangeListener

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1761756 13f79535-47bb-0310-9956-ffa450edef68

2 years agouse stable releases (Jackrabbit and Oak)
Oliver Lietz [Wed, 13 Jul 2016 13:09:53 +0000 (13:09 +0000)] 
use stable releases (Jackrabbit and Oak)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1752419 13f79535-47bb-0310-9956-ffa450edef68

2 years agouse org.apache.sling.commons.testing 2.0.26
Oliver Lietz [Wed, 13 Jul 2016 12:39:32 +0000 (12:39 +0000)] 
use org.apache.sling.commons.testing 2.0.26

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1752413 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5598 : exclude slow running test by newly introduced Slow junit category -...
Stefan Egli [Wed, 27 Apr 2016 09:25:49 +0000 (09:25 +0000)] 
SLING-5598 : exclude slow running test by newly introduced Slow junit category - to run them nevertheless use -PincludeSlowTests

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1741177 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare for next development iteration
Stefan Egli [Mon, 21 Mar 2016 14:21:34 +0000 (14:21 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1735982 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.12
Stefan Egli [Mon, 21 Mar 2016 14:21:18 +0000 (14:21 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.12

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1735980 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5621 : adding InitDelayingTopologyEventListener that came up as part of SLING...
Stefan Egli [Mon, 21 Mar 2016 14:16:26 +0000 (14:16 +0000)] 
SLING-5621 : adding InitDelayingTopologyEventListener that came up as part of SLING-5560 to discovery.commons

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1735979 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5620 : upgrade sling.commons.scheduler dependency to 2.4.0
Stefan Egli [Mon, 21 Mar 2016 14:01:01 +0000 (14:01 +0000)] 
SLING-5620 : upgrade sling.commons.scheduler dependency to 2.4.0

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1735976 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5592 : cancel backgroundCheck thread in deactivate for rare cases where it...
Stefan Egli [Tue, 8 Mar 2016 10:15:57 +0000 (10:15 +0000)] 
SLING-5592 : cancel backgroundCheck thread in deactivate for rare cases where it is still running

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1734045 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5494 : Discovery InstancesDiff.retained() implementation not according to API...
Stefan Egli [Mon, 8 Feb 2016 15:42:16 +0000 (15:42 +0000)] 
SLING-5494 : Discovery InstancesDiff.retained() implementation not according to API doc - Match the API with the implementation - This closes #122 of github pull request of tmaret, many thx

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1729191 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare for next development iteration
Stefan Egli [Thu, 28 Jan 2016 12:53:13 +0000 (12:53 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1727327 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.10
Stefan Egli [Thu, 28 Jan 2016 12:52:55 +0000 (12:52 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.10

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1727325 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5464 : fixed regression introduced in onlyDiffersInProperties - and added a...
Stefan Egli [Thu, 28 Jan 2016 12:44:40 +0000 (12:44 +0000)] 
SLING-5464 : fixed regression introduced in onlyDiffersInProperties - and added a proper JUnit test which would have avoided the problem in the first place

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1727323 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare for next development iteration
Stefan Egli [Wed, 27 Jan 2016 15:32:41 +0000 (15:32 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1727090 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.8
Stefan Egli [Wed, 27 Jan 2016 15:32:22 +0000 (15:32 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.8

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1727088 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5458 : when clusterView.getId differs, that must result in a TOPOLOGY_CHANGING...
Stefan Egli [Wed, 27 Jan 2016 15:17:48 +0000 (15:17 +0000)] 
SLING-5458 : when clusterView.getId differs, that must result in a TOPOLOGY_CHANGING/CHANGED sequence - unlike before this fix where it just resulted in a PROPERTIES_CHANGED - which is wrong

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1727085 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5458 : id can now be null - return null in getViewId in that case
Stefan Egli [Wed, 27 Jan 2016 15:16:57 +0000 (15:16 +0000)] 
SLING-5458 : id can now be null - return null in getViewId in that case

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1727084 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSwitch to parent pom 26
Carsten Ziegeler [Sun, 3 Jan 2016 14:07:46 +0000 (14:07 +0000)] 
Switch to parent pom 26

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1722720 13f79535-47bb-0310-9956-ffa450edef68

2 years agoRemove type from bundle dependencies
Carsten Ziegeler [Mon, 21 Dec 2015 11:05:09 +0000 (11:05 +0000)] 
Remove type from bundle dependencies

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1721125 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[maven-release-plugin] prepare for next development iteration
Stefan Egli [Wed, 25 Nov 2015 13:18:21 +0000 (13:18 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1716380 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.6
Stefan Egli [Wed, 25 Nov 2015 13:18:02 +0000 (13:18 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.6

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1716378 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5310 : replaced waitForAsyncEvents(4sec) with Thread.sleep(4sec) then another...
Stefan Egli [Wed, 18 Nov 2015 16:34:00 +0000 (16:34 +0000)] 
SLING-5310 : replaced waitForAsyncEvents(4sec) with Thread.sleep(4sec) then another waitForAsyncEvents(2sec) to avoid making the assertion just when the event would yet be triggered

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1715019 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5310: adding cancelDelaying to MinEventDelayHandler - plus added a testReactiva...
Stefan Egli [Wed, 18 Nov 2015 12:12:21 +0000 (12:12 +0000)] 
SLING-5310: adding cancelDelaying to MinEventDelayHandler - plus added a testReactivate test method which checks the scenario described in this ticket. Plus also added somewhat more logging to the HeartbeatHandler to help debugging should something similar reoccur

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1714984 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[maven-release-plugin] prepare for next development iteration
Stefan Egli [Tue, 10 Nov 2015 16:18:51 +0000 (16:18 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1713679 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.4
Stefan Egli [Tue, 10 Nov 2015 16:18:34 +0000 (16:18 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.4

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1713676 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5282 : calling consistencyService.cancelSync(); in handleDeactivated
Stefan Egli [Mon, 9 Nov 2015 13:59:24 +0000 (13:59 +0000)] 
SLING-5282 : calling consistencyService.cancelSync(); in handleDeactivated

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1713434 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5267 : fixed testTwoNodesOneLeaving by making wait times safer, asserting for...
Stefan Egli [Thu, 5 Nov 2015 11:03:07 +0000 (11:03 +0000)] 
SLING-5267 : fixed testTwoNodesOneLeaving by making wait times safer, asserting for background-runnable done-state, plus added more logging in case this one is still not perfectly stable on jenkins

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1712742 13f79535-47bb-0310-9956-ffa450edef68

3 years agono-jira : fixed a log.trace message
Stefan Egli [Wed, 4 Nov 2015 17:05:31 +0000 (17:05 +0000)] 
no-jira : fixed a log.trace message

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1712590 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5256 : change in localClusterSyncTokenId should always trigger a TOPOLOGY_CHANG...
Stefan Egli [Wed, 4 Nov 2015 10:37:59 +0000 (10:37 +0000)] 
SLING-5256 : change in localClusterSyncTokenId should always trigger a TOPOLOGY_CHANGED - ensured by adjusting ViewStateManager.onlyDiffersInProperties and DefaultTopologyView.compareTopology accordingly including new tests for both - plus added OakDiscoveryServiceTest.testDescriptorSeqNumChange to verify that discovery.oak now properly detects otherwise-equal topologies when their sequence_number==localClusterSyncTokenId differs (unlikely to happen under normal load situations though)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1712527 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[maven-release-plugin] prepare for next development iteration
Stefan Egli [Mon, 2 Nov 2015 15:53:23 +0000 (15:53 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1712053 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.2
Stefan Egli [Mon, 2 Nov 2015 15:53:06 +0000 (15:53 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.2

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1712051 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5225 : increase wait times to avoid test failure on jenkins due to lower hardwa...
Stefan Egli [Mon, 2 Nov 2015 09:11:15 +0000 (09:11 +0000)] 
SLING-5225 : increase wait times to avoid test failure on jenkins due to lower hardware speed

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1711917 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5214: include millis in testing log formats
Stefan Egli [Thu, 29 Oct 2015 12:34:37 +0000 (12:34 +0000)] 
SLING-5214: include millis in testing log formats

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1711236 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[maven-release-plugin] prepare for next development iteration
Stefan Egli [Mon, 26 Oct 2015 16:10:50 +0000 (16:10 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710644 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.0
Stefan Egli [Mon, 26 Oct 2015 16:10:33 +0000 (16:10 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.discovery.commons-1.0.0

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710642 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5094 / SLING-5191 / SLING-4603 : rename ConsistencyService to ClusterSyncService
asf-sync-process [Mon, 26 Oct 2015 09:35:59 +0000 (09:35 +0000)] 
SLING-5094 / SLING-5191 / SLING-4603 : rename ConsistencyService to ClusterSyncService

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710538 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5094 related : more test stability by adding a wait time of 2sec
Stefan Egli [Mon, 26 Oct 2015 09:34:49 +0000 (09:34 +0000)] 
SLING-5094 related : more test stability by adding a wait time of 2sec

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710537 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5191 / SLING-4603 : rename ConsistencyService to ClusterSyncService - plus...
Stefan Egli [Fri, 23 Oct 2015 11:50:05 +0000 (11:50 +0000)] 
SLING-5191 / SLING-4603 : rename ConsistencyService to ClusterSyncService - plus making timeout/interval values for the same configurable in discovery.oak

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710183 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5094 / SLING-5173 / SLING-4603 related : ensure that before invoking the Consis...
Stefan Egli [Fri, 23 Oct 2015 11:28:41 +0000 (11:28 +0000)] 
SLING-5094 / SLING-5173 / SLING-4603 related : ensure that before invoking the ConsistencyService.sync no async events are still in the queue. This is achieved by enqueueing an async event too that once it gets triggered ensures that no async events are left. This mechanism ensures that before the syncToken is written, all TopologyEventListeners have received a TOPOLOGY_CHANGING - and only that guarantees that the syncToken mechanism carries a high guarantee.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710176 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5094 / SLING-5173 / SLING-4603 related : ensure that before invoking the Consis...
Stefan Egli [Fri, 23 Oct 2015 11:28:24 +0000 (11:28 +0000)] 
SLING-5094 / SLING-5173 / SLING-4603 related : ensure that before invoking the ConsistencyService.sync no async events are still in the queue. This is achieved by enqueueing an async event too that once it gets triggered ensures that no async events are left. This mechanism ensures that before the syncToken is written, all TopologyEventListeners have received a TOPOLOGY_CHANGING - and only that guarantees that the syncToken mechanism carries a high guarantee.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710175 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4603 : minor fix to previous commit : turns out the path must be /var/xy/idMap...
Stefan Egli [Fri, 23 Oct 2015 09:01:18 +0000 (09:01 +0000)] 
SLING-4603 : minor fix to previous commit : turns out the path must be /var/xy/idMap not /var/xy/idMap/* as that would apply to children only

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710148 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4603 : even more aggressively clearing the idMap-cache to avoid stale entries...
Stefan Egli [Fri, 23 Oct 2015 08:48:17 +0000 (08:48 +0000)] 
SLING-4603 : even more aggressively clearing the idMap-cache to avoid stale entries : now registering an EventHandler that listens on /var/discovery/../idMap and clears the cache on any change therein

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710144 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 : minor code cleanup (duplicate logger removed)
Stefan Egli [Fri, 23 Oct 2015 07:56:48 +0000 (07:56 +0000)] 
SLING-5173 : minor code cleanup (duplicate logger removed)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710133 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 : re-added complete consistency-history after introducing splitting them...
Stefan Egli [Thu, 22 Oct 2015 16:05:09 +0000 (16:05 +0000)] 
SLING-5173 : re-added complete consistency-history after introducing splitting them and using the ConsistencyServiceChain. Probably should be refactored into something slightly nicer though

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710047 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 : bugfix for leader changes: leader change was treated as a properties...
Stefan Egli [Thu, 22 Oct 2015 15:35:44 +0000 (15:35 +0000)] 
SLING-5173 : bugfix for leader changes: leader change was treated as a properties change - which was very bad - now it is properly treated as a TOPOLOGY_CHANGED. Note that leader change should not happen in an otherwise unchanged topology - but it can if one instance's discovery.oak bundle for example is restarted, thus getting a lower leaderElectionId. Thus discovery.commons must account for this

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710040 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 : introducing a more explicit chain concept for ConsistencyServices than...
Stefan Egli [Thu, 22 Oct 2015 15:33:50 +0000 (15:33 +0000)] 
SLING-5173 : introducing a more explicit chain concept for ConsistencyServices than the previous hidden/implicit one: ConsistencyServiceChain

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710039 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 : added getInstance(slingId) to simplify things
Stefan Egli [Thu, 22 Oct 2015 15:33:07 +0000 (15:33 +0000)] 
SLING-5173 : added getInstance(slingId) to simplify things

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710038 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 : added simple implementation for findInstances
Stefan Egli [Thu, 22 Oct 2015 15:32:29 +0000 (15:32 +0000)] 
SLING-5173 : added simple implementation for findInstances

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710036 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 : introducing a more explicit chain concept for ConsistencyServices than...
Stefan Egli [Thu, 22 Oct 2015 15:31:45 +0000 (15:31 +0000)] 
SLING-5173 : introducing a more explicit chain concept for ConsistencyServices than the previous hidden/implicit one: ConsistencyServiceChain

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710035 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4603 : more aggressively clearing the idMap-cache to avoid stale entries on...
Stefan Egli [Thu, 22 Oct 2015 12:33:15 +0000 (12:33 +0000)] 
SLING-4603 : more aggressively clearing the idMap-cache to avoid stale entries on slingId change - plus added getSyncHistory to BaseSyncTokenConsistencyService to allow adding it to the webconsole for debug - plus some cleanup in webconsole wrt discoveryLite info

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1710003 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 : reduce log in cancel when already done
Stefan Egli [Wed, 21 Oct 2015 17:12:06 +0000 (17:12 +0000)] 
SLING-5173 : reduce log in cancel when already done

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709889 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 : reducing visibility of isDelaying
Stefan Egli [Wed, 21 Oct 2015 17:02:10 +0000 (17:02 +0000)] 
SLING-5173 : reducing visibility of isDelaying

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709885 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5094 / SLING-4603 related : cancel ongoing sync explicitly in order to avoid...
Stefan Egli [Wed, 21 Oct 2015 15:37:35 +0000 (15:37 +0000)] 
SLING-5094 / SLING-4603 related : cancel ongoing sync explicitly in order to avoid dangerous CHANGED event when changes happen during sync

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709866 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 : log.info fix
Stefan Egli [Wed, 21 Oct 2015 13:12:57 +0000 (13:12 +0000)] 
SLING-5173 : log.info fix

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709828 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 and SLING-4603 related : more syncToken log.info - plus always doing the...
Stefan Egli [Wed, 21 Oct 2015 11:39:26 +0000 (11:39 +0000)] 
SLING-5173 and SLING-4603 related : more syncToken log.info - plus always doing the syncToken thingy, independent of whether any instance left or joined the cluster as otherwise this thing wont work

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709801 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 related : EventFactory renamed to EventHelper - and introduced toShortStri...
Stefan Egli [Wed, 21 Oct 2015 11:03:11 +0000 (11:03 +0000)] 
SLING-5173 related : EventFactory renamed to EventHelper - and introduced toShortString() for a few base view classes to shorten and make the log output more readable

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709794 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4603 related : some fixes in class structure / syncToken handling
Stefan Egli [Wed, 21 Oct 2015 11:02:22 +0000 (11:02 +0000)] 
SLING-4603 related : some fixes in class structure / syncToken handling

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709793 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 : adding refactored SyncTokenOnlyConsistencyService again
Stefan Egli [Wed, 21 Oct 2015 08:30:07 +0000 (08:30 +0000)] 
SLING-5173 : adding refactored SyncTokenOnlyConsistencyService again

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709752 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 : rename commons impl packages to base as they are meant for reuse by...
Stefan Egli [Wed, 21 Oct 2015 08:29:08 +0000 (08:29 +0000)] 
SLING-5173 : rename commons impl packages to base as they are meant for reuse by discovery.impl and discovery.oak - plus avoid using abstract component class with scr annotations - use abstract getters instead - plus some more fine-tuning of log messages - plus make discovery.impl's Config also implement DiscoveryLiteConfig - plus properly handle binds happening before activate in DiscoveryServiceImpl

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709751 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5173 : introducing discovery.base which is the sharable parts of discovery...
Stefan Egli [Tue, 20 Oct 2015 14:12:31 +0000 (14:12 +0000)] 
SLING-5173 : introducing discovery.base which is the sharable parts of discovery.impl for discovery.oak - eg it includes topology connectors and base classes - plus it also includes many it-kind tests of discovery.impl

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1709601 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4697 : support for PROPERTIES_CHANGED in ViewStateManagerImpl tested and thus...
Stefan Egli [Thu, 8 Oct 2015 15:33:06 +0000 (15:33 +0000)] 
SLING-4697 : support for PROPERTIES_CHANGED in ViewStateManagerImpl tested and thus fixed

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1707571 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5131 : re-adding ViewStateManager which for some reason got removed by svn...
Stefan Egli [Thu, 8 Oct 2015 14:38:11 +0000 (14:38 +0000)] 
SLING-5131 : re-adding ViewStateManager which for some reason got removed by svn in 1707548

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1707551 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5131 : introducing ConsistencyService and an oak-discovery-lite based implement...
Stefan Egli [Thu, 8 Oct 2015 14:31:45 +0000 (14:31 +0000)] 
SLING-5131 : introducing ConsistencyService and an oak-discovery-lite based implementation of it - plus SLING-4697 : support for PROPERTIES_CHANGED added to ViewStateManagerImpl

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1707548 13f79535-47bb-0310-9956-ffa450edef68