[
https://issues.apache.org/jira/browse/SLING-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14166503#comment-14166503
]
Nicolas Peltier commented on SLING-4024:
Beside the fact that you'd switch from an
Hello Team,
I am adding a test case of [0], for this I need to use latest of
groupIdorg.apache.sling/groupId
artifactIdorg.apache.sling.testing.resourceresolver-mock/artifactId
?
This introduces a dependency to sling.api:2.7.0, because of resource.getValueMap
sling
in the last week i've developed at suite of mocking libraries to run OSGi/SCR,
JCR and esp. Sling in a simulated in-memory environment for unit tests,
ensuring minimal setup time. it uses either a mocked in-memory JCR, or the
resourceresolver-mock [1] implementation that is already part of the
[
https://issues.apache.org/jira/browse/SLING-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14166542#comment-14166542
]
Stefan Seifert commented on SLING-4024:
---
i've started a proposal on the mailing
See https://builds.apache.org/job/sling-trunk-1.7/986/changes
Changes:
[cziegeler] Remove old tag handling, implement comment handling
--
[...truncated 21781 lines...]
[INFO] Sling Bundle Archetype SUCCESS [11.439s]
[INFO]
See
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.event/986/
--
[...truncated 4739 lines...]
10.10.2014 08:12:37.795 *INFO* [FelixStartLevel] org.apache.sling.auth.core
BundleEvent STARTED
10.10.2014 08:12:37.812 *INFO*
See
https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.event/272/
See https://builds.apache.org/job/sling-trunk-1.8/changes
See https://builds.apache.org/job/sling-trunk-1.6/2615/changes
See
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.resourceaccesssecurity.it/2615/
Hi Daniel,
Glad to get your feedback on this DL as you're getting started with
Sightly! :)
I just wanted to add one small clarification to what Radu said concerning
your point 2 (Casting):
The Sightly == operator works like the JavaScript == operator, but with
the limitation of only accepting
Hi Amit,
On Fri, Oct 10, 2014 at 10:57 AM, Amit.. Gupta. amitg...@adobe.com wrote:
Hello Team,
I am adding a test case of [0], for this I need to use latest of
groupIdorg.apache.sling/groupId
artifactIdorg.apache.sling.testing.resourceresolver-mock/artifactId
?
[
https://issues.apache.org/jira/browse/SLING-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed SLING-3164.
---
Clarify ClusterView.getId (was: Clarify and deprecate ClusterView.getId)
[
https://issues.apache.org/jira/browse/SLING-3618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed SLING-3618.
---
Unable to create node at /var/discovery error in sling trunk
[
https://issues.apache.org/jira/browse/SLING-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed SLING-3843.
---
lower error about not being able to remove a timed out vote to info
[
https://issues.apache.org/jira/browse/SLING-3823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed SLING-3823.
---
ConnectorRegistryImpl uses java.net.URL.equals
--
[
https://issues.apache.org/jira/browse/SLING-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed SLING-3977.
---
org.apache.sling.discovery.impl bundle gets deactivated
Vote passed with three binding +1 votes
Thanks!
Carsten
Vote passed with three binding +1 votes
Thanks!
Carsten
[
https://issues.apache.org/jira/browse/SLING-3818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed SLING-3818.
---
RunModeImplTest.testParseRunModes fails under Java 8 : Parsed runModes match
for ' foo , bar
[
https://issues.apache.org/jira/browse/SLING-3981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed SLING-3981.
---
Make dependency to config admin optional
Hi,
This would be a great addition. I frequently spend hours building
mockito based mocks to do the same and although the first time it was
fun, it gets a real pain the n'th time. Although you can do the same
with a real OSGi Unit test and an in memory version of Jackrabbit, the
runtime of each
See
https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.event/273/
See https://builds.apache.org/job/sling-trunk-1.8/changes
See
https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.discovery.impl/273/
See
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.installer.it/2616/
See
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.discovery.impl/2616/
See https://builds.apache.org/job/sling-trunk-1.6/2616/changes
Hi Robert,
Currently tests are part of sling event module.
Thanks
-Amit
From: Robert Munteanu romb...@apache.org
Sent: Friday, October 10, 2014 1:41 PM
To: dev@sling.apache.org
Subject: Re: Question on dependency management while adding a test case
Hi
+1 very useful!
On Oct 10, 2014 7:17 AM, Carsten Ziegeler cziege...@apache.org wrote:
Sounds good to me, +1
Carsten
Am 10.10.14 um 12:52 schrieb Ian Boston:
Hi,
This would be a great addition. I frequently spend hours building
mockito based mocks to do the same and although the first
the mocks implement only a certain level of functionality, and not all features
of the relevant interfaces. some methods just throw unsupportedoperation
exception.
they are currently focused on features that normal application and component
logic for sling apps require. the intro pages of the
[
https://issues.apache.org/jira/browse/SLING-4018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=1411#comment-1411
]
Sandro Boehme commented on SLING-4018:
--
[~bdelacretaz]
Craig from the secretary wrote
JBodkin created SLING-4026:
--
Summary: Sling Models Race Condition
Key: SLING-4026
URL: https://issues.apache.org/jira/browse/SLING-4026
Project: Sling
Issue Type: Bug
Components:
[
https://issues.apache.org/jira/browse/SLING-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
JBodkin updated SLING-4026:
---
Description:
During initialization of a bundle, it is possible to encounter a race condition
in which the
[
https://issues.apache.org/jira/browse/SLING-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
JBodkin updated SLING-4026:
---
Description:
During initialization of a bundle, it is possible to encounter a race condition
in which the
[
https://issues.apache.org/jira/browse/SLING-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
JBodkin updated SLING-4026:
---
Description:
During initialization of a bundle, it is possible to encounter a race condition
in which the
[
https://issues.apache.org/jira/browse/SLING-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
JBodkin updated SLING-4026:
---
Description:
During initialization of a bundle, it is possible to encounter a race condition
in which the
[
https://issues.apache.org/jira/browse/SLING-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
JBodkin updated SLING-4026:
---
Description:
During initialization of a bundle, it is possible to encounter a race condition
in which the
Are the Event tests part of the same module? If they are, you can move
them to a different module and then test + runtime dependencies are
separated.
Robert
this would be a workaround, but not a nice one if these mocks are used widely
in a lot of projects. this is a general problem for all of
[
https://issues.apache.org/jira/browse/SLING-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
JBodkin updated SLING-4026:
---
Labels: models (was: )
Sling Models Race Condition
---
Key:
[
https://issues.apache.org/jira/browse/SLING-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
JBodkin updated SLING-4026:
---
Description:
During initialization of a bundle, it is possible to encounter a race condition
in which the
See
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/987/
See
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.discovery.impl/987/
See https://builds.apache.org/job/sling-trunk-1.7/987/changes
See
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.base/987/
See
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.event/987/
See
https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.discovery.impl/274/
See https://builds.apache.org/job/sling-trunk-1.8/274/changes
See
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.discovery.impl/2617/
See
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.discovery.impl/988/
See https://builds.apache.org/job/sling-trunk-1.7/988/changes
See
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.installer.it/2617/
See
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.base/988/
See
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/988/
See https://builds.apache.org/job/sling-trunk-1.6/changes
[
https://issues.apache.org/jira/browse/SLING-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Edelson resolved SLING-4026.
---
Resolution: Won't Fix
Sling Models Race Condition
---
[
https://issues.apache.org/jira/browse/SLING-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14166826#comment-14166826
]
Justin Edelson commented on SLING-4026:
---
This component should have a reference to
[
https://issues.apache.org/jira/browse/SLING-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14166842#comment-14166842
]
JBodkin commented on SLING-4026:
Okay, any chance we can add this with an example to the
[
https://issues.apache.org/jira/browse/SLING-3984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14166846#comment-14166846
]
Carsten Ziegeler commented on SLING-3984:
-
[~vadam_ig] It seems this is all
[
https://issues.apache.org/jira/browse/SLING-3984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14166851#comment-14166851
]
Viktor Adam commented on SLING-3984:
[~cziegeler] Yes, I was also thinking something
[
https://issues.apache.org/jira/browse/SLING-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14166882#comment-14166882
]
dan mcweeney commented on SLING-4024:
-
Very cool, had no idea those things existed.
See https://builds.apache.org/job/sling-trunk-1.8/275/changes
See
https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.installer.it/275/
Carsten Ziegeler created SLING-4027:
---
Summary: Improvement of the validation API
Key: SLING-4027
URL: https://issues.apache.org/jira/browse/SLING-4027
Project: Sling
Issue Type:
Hi Amit
We could change the resourceresolver-mock to use a lower Sling API
version than it implements. I.e. in MockResourceResolver, change all
resource.getValueMap() to ResourceUtil.getValueMap(resource). Then it
should be compatible with lower API versions. This should work as long
as there are
See
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.discovery.impl/2618/
See https://builds.apache.org/job/sling-trunk-1.6/2618/changes
[
https://issues.apache.org/jira/browse/SLING-3984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14166922#comment-14166922
]
Carsten Ziegeler commented on SLING-3984:
-
[~vadam_ig] I'm not 100% sure, but I
Rethinking this, can't we simply exclude the api dependency when
including the resourceresolver-mock ?
groupIdorg.apache.sling/groupId
artifactIdorg.apache.sling.testing.resourceresolver-mock/artifactId
exclusions
exclusion
groupIdorg.apache.sling/groupId
See https://builds.apache.org/job/sling-oak-it-1.6/175/
[
https://issues.apache.org/jira/browse/SLING-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kamil Ciecierski updated SLING-3586:
Attachment: 2014-10-10_17h22_52.png
Publishing content fails if intermediate nodes are not
[
https://issues.apache.org/jira/browse/SLING-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14166984#comment-14166984
]
Kamil Ciecierski commented on SLING-3586:
-
Hi Robert,
I am still reproducing that
[
https://issues.apache.org/jira/browse/SLING-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14166984#comment-14166984
]
Kamil Ciecierski edited comment on SLING-3586 at 10/10/14 3:33 PM:
[
https://issues.apache.org/jira/browse/SLING-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14167037#comment-14167037
]
JBodkin commented on SLING-4026:
I wasn't aware that the Sling Models implementation
[
https://issues.apache.org/jira/browse/SLING-3844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14167069#comment-14167069
]
Antonio Sanso commented on SLING-3844:
--
hi [~rr...@adobe.com] Thanks a lot for your
See
https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.discovery.impl/276/
See
https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.installer.it/276/
See https://builds.apache.org/job/sling-trunk-1.8/changes
See
https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.event/276/
[
https://issues.apache.org/jira/browse/SLING-4014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amit Gupta updated SLING-4014:
--
Attachment: SLING-4014-Test.patch
Sling Jobs do not get picked at times
[
https://issues.apache.org/jira/browse/SLING-4014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14167160#comment-14167160
]
Amit Gupta commented on SLING-4014:
---
committed At revision: 1630761
Sling Jobs do not
Hi Carsten,
That won't work, because the mock resource resolver implementation uses the
Resource.getValueMap.
Julian's suggestion works, but I need to change the MockResourceResolver to use
ResourceUtil.getValueMap instead.
Using above, I can stay on sling.api:2.4.0, but then my test fails,
Robert Munteanu created SLING-4028:
--
Summary: Allow printing tracing output to the console
Key: SLING-4028
URL: https://issues.apache.org/jira/browse/SLING-4028
Project: Sling
Issue Type:
[
https://issues.apache.org/jira/browse/SLING-4020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu resolved SLING-4020.
Resolution: Fixed
Importing content from the repository triggers publish operations
[
https://issues.apache.org/jira/browse/SLING-4028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu resolved SLING-4028.
Resolution: Fixed
Allow printing tracing output to the console
[
https://issues.apache.org/jira/browse/SLING-4020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14167447#comment-14167447
]
Robert Munteanu commented on SLING-4020:
*
[
https://issues.apache.org/jira/browse/SLING-4028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14167450#comment-14167450
]
Robert Munteanu commented on SLING-4028:
Fixed in
Robert Munteanu created SLING-4029:
--
Summary: Include command execution results in the tracing output
Key: SLING-4029
URL: https://issues.apache.org/jira/browse/SLING-4029
Project: Sling
[
https://issues.apache.org/jira/browse/SLING-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14167487#comment-14167487
]
Robert Munteanu commented on SLING-4029:
Fixed in
[
https://issues.apache.org/jira/browse/SLING-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu resolved SLING-4029.
Resolution: Fixed
Include command execution results in the tracing output
[
https://issues.apache.org/jira/browse/SLING-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu reopened SLING-3586:
[~kamilc89] - thanks for the detailed steps to reproduce. I'll take a look and
see what the
[
https://issues.apache.org/jira/browse/SLING-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14167509#comment-14167509
]
Robert Munteanu commented on SLING-3586:
Fixed in
[
https://issues.apache.org/jira/browse/SLING-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu resolved SLING-3586.
Resolution: Fixed
Publishing content fails if intermediate nodes are not present in the
See https://builds.apache.org/job/sling-trunk-1.8/changes
See
https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.event/277/
See
https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.discovery.impl/277/
[
https://issues.apache.org/jira/browse/SLING-3781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu updated SLING-3781:
---
Description:
The eclipse-based tests from the eclipse-test project don't always pass. These
See https://builds.apache.org/job/sling-trunk-1.6/2620/changes
See
https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.resourceaccesssecurity.it/2620/
See https://builds.apache.org/job/sling-trunk-1.8/changes
1 - 100 of 126 matches
Mail list logo