RE: [VOTE] Release Commons Testing 2.0.6, OSGi Installer 3.0.0, JCR Installer 3.0.0, and File Installer 1.0.0

2010-09-16 Thread Stefan Seifert
Don't know if this is just me, but I'm getting reports on bad signatures for all artifacts: i've tested it on a linux machine and got GOOD results for the md5 and sha1 hashes, BAD only for pgp (although i've scanned the results only briefly and deleted them already) stefan

RE: sideeffects of ResourceResolver.map method

2010-12-16 Thread Stefan Seifert
Well, the map methods are intended to be the reverse to the resolve methods (and vice versa). As such the namespace mangling is a required part of the operation. If there is a concrete case of wrong URL encoding/externalizing, please report a JIRA issue such that we can fix this. i've created

RE: release of fsresource bundle?

2010-02-19 Thread Stefan Seifert
i tested it in two different project environments - it works as expected! stefan -Original Message- From: Carsten Ziegeler [mailto:cziege...@apache.org] Sent: Friday, February 19, 2010 11:46 AM To: dev@sling.apache.org Subject: Re: release of fsresource bundle? Hi Stefan, I added

RE: [VOTE] Release Commons MIME type support 2.1.4, Eventing 2.3, File System Provider 1.0, and Scripting Core 2.0.10

2010-02-23 Thread Stefan Seifert
Apache Sling File System Provider 1.0.0 https://issues.apache.org/jira/browse/SLING/fixforversion/12314388 Several fixes +1 (non-binding)

RE: [OT] Support Confluence Wiki Syntax in issue comments

2012-05-31 Thread Stefan Seifert
+1 stefan -Original Message- From: Felix Meschberger [mailto:fmesc...@adobe.com] Sent: Thursday, May 31, 2012 11:40 AM To: dev@sling.apache.org Subject: [OT] Support Confluence Wiki Syntax in issue comments Hi, We can configure the SLING JIRA project to support the Confluence Wiki

RE: [Tooling] Experimental Plugin for Eclipse for Sling aka Slingclipse

2012-10-25 Thread Stefan Seifert
hello antonio. this sounds interesting! what is the difference to the filesystem resource provider with which you can mount any folder in the filesystem to a JCR tree? the filesystem resource provider currently only supports nt:file and nt:folder nodes, but works very well for those (e.g.

RE: Resource merging and symlinks - two similar patches, do we unify?

2013-10-11 Thread Stefan Seifert
On Fri, Sep 27, 2013 at 11:59 AM, Carsten Ziegeler cziege...@apache.org wrote: ...Not quite the same - but we might be able to share code / functionality... Yeah that's my main concern: the merging/overriding logic should use the same code. -Bertrand yes, i think this is a good thought as

failure running sling.extensions.event unit/integraiton tests on windows?

2013-10-15 Thread Stefan Seifert
running win7 64bit, java 1.7.0_17, maven 3.0.5 any idea why this integration tests for sling event module fails when building with mvn clean install? i assume they run on other platforms? Results : Tests in error: testHistory(org.apache.sling.event.it.HistoryTest): test timed out after

RE: failure running sling.extensions.event unit/integraiton tests on windows?

2013-10-16 Thread Stefan Seifert
strange. i tried to isolate the problem by disabling all integration tests by added junit @Ignore annotation to them. the HistoryTest IT runs then fine. i startet adding/removing more integration tests and sometims it succeeds, sometimes not. perhaps a racing condition, or a cleanup issue of the

RE: failure running sling.extensions.event unit/integraiton tests on windows?

2013-10-16 Thread Stefan Seifert
i was able to reproduce it in 2 of 3 tries with only two integration tests activated: - ClassloadingTest - HistoryTest running historytest or ClassloadingTest standalone worked. running both (i assume ClassloadingTest did run first) did not work in 2 of 3 tries. stefan -Original

RE: [VOTE] Release Apache Sling Models API 1.0.2 Implementation 1.0.6

2014-06-27 Thread Stefan Seifert
+1 (non-binding) p.s. integration tests are running fine on my machine -Original Message- From: justinedel...@gmail.com [mailto:justinedel...@gmail.com] On Behalf Of Justin Edelson Sent: Wednesday, June 25, 2014 6:02 PM To: dev@sling.apache.org Subject: [VOTE] Release Apache Sling

release of fsresource bundle?

2014-06-30 Thread Stefan Seifert
can we make a new release of the fsresource bundle? in rev. 1510565 the dependencies to the sling api bundle were relaxed which is important to run this bundle with the latest version of sling. stefan

[RT] Sling Models as scoped Dependency Injection Framework

2014-06-30 Thread Stefan Seifert
in the last days we played around with Sling Models as underpinning of our views in a Sling+Sightly based application. it works fantastic. but during our experiments we detected that we were not using Sling Models for accessing resource content, i.e. we are not adapting resources to models to

RE: [RT] Sling Models as scoped Dependency Injection Framework

2014-06-30 Thread Stefan Seifert
broaden the scope for constructor injection and @PreDestroy. Regards, Justin On Mon, Jun 30, 2014 at 10:13 AM, Stefan Seifert sseif...@pro-vision.de wrote: in the last days we played around with Sling Models as underpinning of our views in a Sling+Sightly based application. it works fantastic

RE: adaptTo and results ....

2014-07-01 Thread Stefan Seifert
Foo f = someObject.adaptTo(RequireAdapterFoo.class)); this would still require an unwrapping of the object out of the RequireAdapterFoo instance. Foo f = someObject.adaptTo(RequireAdapter.for(Foo.class)); this looks interesting, and does not need unwrapping if the return value is the input

RE: adaptTo and results ....

2014-07-01 Thread Stefan Seifert
example: usecase like here https://issues.apache.org/jira/browse/SLING-3714?focusedCommentId=14048040#comment-14048040 the caller code expects that the adaption is always successful if everything works correct - if not it is an application error which should be propagated through error handling

RE: adaptTo and results ....

2014-07-01 Thread Stefan Seifert
way, I'm just trying to avoid heavy changes). And we could change the adapter manager/factory implemntation to log the exceptions (if they're not doing it already) Carsten 2014-07-01 12:17 GMT+02:00 Stefan Seifert sseif...@pro-vision.de: example: usecase like here https://issues.apache.org/jira

RE: adaptTo and results ....

2014-07-02 Thread Stefan Seifert
The example Stefan gave [1] is just about removing the boilerplate of the null check + throwing a runtime exception, which could be handled using a static utility method (adaptOrThrow, but outside the adaptable interface). yes, you are right - this would be an alternative for this simple

RE: adaptTo and results ....

2014-07-03 Thread Stefan Seifert
* My original suggestion of using a Result interface. This requires more verbose code on the caller side -- the caller needs to check a success flag -- but allows for fine-grained information (which would be appropriate for a validation use case). +1

RE: [RT] Multi Tenancy

2014-08-11 Thread Stefan Seifert
hello carsten. thanks for bringing this up. multi-tenancy is very important for our projects. but to be honest, until now i did not see that any of the current tenant api implementation [2] is of much use for user usecases. let's start with the detecting of a tenant: * if adapting from a

RE: [RT] Multi Tenancy

2014-08-11 Thread Stefan Seifert
when looking in the wiki i found another page [1] with some thoughts on multi tenancy from a mailing list discussion from february [2] from this i get we have two quite different scenarios although they have a shared part: * the fully isolated tenant scenario - tenants are fully isolated and

RE: write access to sling wiki

2014-08-12 Thread Stefan Seifert
Done via https://cwiki.apache.org/confluence/spaces/spacepermissions.action?key=SLING thanks, works! stefan

RE: [RT] Multi Tenancy

2014-08-12 Thread Stefan Seifert
-Original Message- From: Alexander Klimetschek [mailto:aklim...@adobe.com] Sent: Tuesday, August 12, 2014 1:47 AM To: dev@sling.apache.org Subject: Re: [RT] Multi Tenancy ... And here it becomes tricky. Because if you are allowed to write arbitrary code (e.g. in JSPs), you can get an

RE: [RT] Multi Tenancy

2014-08-12 Thread Stefan Seifert
i created a first draft of a wiki page where i tried to collect the different views of and requirements for multitenancy of the recent discussions: https://cwiki.apache.org/confluence/x/So2uAg i coined new names for the two scenarios Virtual Hosting and Massive Multi Site we should decide

RE: [RT] Multi Tenancy

2014-08-12 Thread Stefan Seifert
-Original Message- From: Alexander Saar [mailto:alexander.s...@googlemail.com] Sent: Tuesday, August 12, 2014 8:34 PM To: dev@sling.apache.org Subject: Re: [RT] Multi Tenancy ... thanks for putting this together. While I agree that the requirements are different for the 2 scenarios, I'd

resourceresolver-mock implementation: support for binary data?

2014-08-13 Thread Stefan Seifert
today i had a deeper look at the current implementation of resourceresolver-mock [1]. nice work, simulates an simple in-memory resource tree without any underlying JCR. data can be written using Sling CRUD API. unfortunately currently no support for binary data exists, and i'm unsure what's

RE: [RT] The various roles of (multitenant) content

2014-08-22 Thread Stefan Seifert
hello betrand. i try to find the bridge to the multitenancy scenarios i've described in [1]: Deliverable content: Displayed on a website or mobile app for example. Can be global, shared between a group of tenants or tenant-specific. this is what i've called content in the wiki page. may be page

RE: resourceresolver-mock implementation: support for binary data?

2014-08-27 Thread Stefan Seifert
@sling.apache.org Subject: Re: resourceresolver-mock implementation: support for binary data? Hi Stefan I guess a good first step would be to go with b) Carsten 2014-08-13 23:51 GMT+02:00 Stefan Seifert sseif...@pro-vision.de: today i had a deeper look at the current implementation of resourceresolver

RE: Two models integration tests fail

2014-08-29 Thread Stefan Seifert
I filed https://issues.apache.org/jira/browse/SLING-3884 for this a couple of day ago. patch attached in the ticket. stefan

RE: [VOTE] Release Apache Sling Filesystem ResourceProvider 1.1.4

2014-09-02 Thread Stefan Seifert
+1 (non-binding) -Original Message- From: Robert Munteanu [mailto:romb...@apache.org] Sent: Tuesday, September 02, 2014 4:06 PM To: dev@sling.apache.org Subject: [VOTE] Release Apache Sling Filesystem ResourceProvider 1.1.4 Hi, We solved 2 issues in this release:

RE: [VOTE] Release Apache Sling Models API Implementation 1.1.0

2014-09-02 Thread Stefan Seifert
+1! (non-binding) -Original Message- From: justinedel...@gmail.com [mailto:justinedel...@gmail.com] On Behalf Of Justin Edelson Sent: Tuesday, September 02, 2014 9:22 PM To: dev@sling.apache.org Subject: [VOTE] Release Apache Sling Models API Implementation 1.1.0 Hi, We solved 15

RE: [ANN] New Apache Sling Committer: Stefan Seifert

2014-09-08 Thread Stefan Seifert
Subject: [ANN] New Apache Sling Committer: Stefan Seifert Hi it's my pleasure to announce that the Apache Sling PMC has invited Stefan Seifert as a new Sling committer...and Stefan accepted.

RE: [VOTE] Release Apache Sling Filesystem ResourceProvider 1.1.4

2014-09-09 Thread Stefan Seifert
any more votes? one (binding) vote is still missing. stefan 2014-09-02 16:05 GMT+02:00 Robert Munteanu romb...@apache.org: Hi, We solved 2 issues in this release: https://issues.apache.org/jira/browse/SLING/fixforversion/12324318 Staging repository:

prepare release of resourceresolver-mock?

2014-09-19 Thread Stefan Seifert
we did considerable amount of fixes and enhancements to the testing/resourceresoler-mock implementation - see [1] i think we should do a release, it is quite stable now, i tested it in a complex unit test environment. can i help in preparing the release? stefan [1]

adaptTo() 2014 finished - slides are online

2014-09-24 Thread Stefan Seifert
adaptTo() 2014 in berlin is finished - thanks again to all speakers, participants and supporters! for those that were not able to attend - all slides are now online (extra page for each talk in the schedule): http://adapt.to/2014/en/schedule.html we will add some more photos the next days to

[VOTE] Release Apache Sling Testing Resource Resolver Mock version 0.3.0

2014-09-25 Thread Stefan Seifert
Hi, We solved 4 issues in this release: https://issues.apache.org/jira/browse/SLING/fixforversion/12326159 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1131/ You can use this UNIX script to download the release and verify the signatures:

RE: [PROPOSAL] Sightly donation to Apache Sling

2014-09-25 Thread Stefan Seifert
a big +1 from my side, i'm very happy to see the sightly implementation becoming open source. some detail questions on the process: - i've had only a brief look at the sources, but if i understand correctly the org.apache.sling.scripting.sightly.zip/engine bundle contains both the sightly

[PROPOSAL] Integrate Superimposing Resource Provider into contrib

2014-09-26 Thread Stefan Seifert
hello. 4 years ago julian sedding contributed a great prototype for a symlink resource provider in SLING-1778 [1]. i've picked up this idea, enhanced it and added unit tests and documentation, currently hosted at github [2]. i want to included it into the sling SVN at contrib. i'm prepared to

[RESULT] [VOTE] Release Apache Sling Testing Resource Resolver Mock version 0.3.0

2014-09-29 Thread Stefan Seifert
Hi, The vote has passed with the following result : +1 (binding): Robert Munteanu, Mike Müller, Carsten Ziegeler @any PMC member: can you take over promoting the release artifacts? i'm not sure for which of the release promotion steps from [1] i have sufficient rights. i'll take care of the

RE: [RESULT] [VOTE] Release Apache Sling Testing Resource Resolver Mock version 0.3.0

2014-09-29 Thread Stefan Seifert
I've updated the dist directory and released the Nexus staging repository. You should be able to perform the rest of the steps yourself, please let me know if that's not the case. thanks, i've completed step 6 (news) and 7 (downloads page) on the sling site. stefan

RE: [PROPOSAL] Integrate Superimposing Resource Provider into contrib

2014-09-29 Thread Stefan Seifert
: [PROPOSAL] Integrate Superimposing Resource Provider into contrib On Friday 26 September 2014 17:15:27 Stefan Seifert wrote: hello. 4 years ago julian sedding contributed a great prototype for a symlink resource provider in SLING-1778 [1]. i've picked up this idea, enhanced it and added unit

[VOTE] Release Apache Sling Superimposing Resource Provider 0.2.0

2014-09-29 Thread Stefan Seifert
Hi, This is the initial release of the 'Superimposing Resource Provider' from contrib: https://issues.apache.org/jira/browse/SLING/fixforversion/12328740 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1133/ You can use this UNIX script to download the

RE: [VOTE] Release Apache Sling Launchpad Builder 7

2014-10-01 Thread Stefan Seifert
+1 (non-binding) downloaded it, verified it and deployed a demo application - works well. stefan -Original Message- From: Robert Munteanu [mailto:romb...@apache.org] Sent: Tuesday, September 30, 2014 9:58 PM To: dev@sling.apache.org Subject: [VOTE] Release Apache Sling Launchpad Builder

RE: [VOTE] Release Apache Sling Superimposing Resource Provider 0.2.0

2014-10-01 Thread Stefan Seifert
@sling.apache.org Subject: Re: [VOTE] Release Apache Sling Superimposing Resource Provider 0.2.0 On Monday 29 September 2014 23:12:01 Stefan Seifert wrote: Hi, This is the initial release of the 'Superimposing Resource Provider' from contrib: https://issues.apache.org/jira/browse/SLING/fixforversion/12328740

[RESULT] [VOTE] Release Apache Sling Superimposing Resource Provider 0.2.0

2014-10-03 Thread Stefan Seifert
Hi, The vote has passed with the following result : +1 (binding): Carsten Ziegeler, Oliver Lietz, Robert Munteanu @any PMC member: please promote the release to dist and maven central. i take care of the site and JIRA updates. stefan

RE: [RESULT] [VOTE] Release Apache Sling Superimposing Resource Provider 0.2.0

2014-10-03 Thread Stefan Seifert
thanks! -Original Message- From: Oliver Lietz [mailto:apa...@oliverlietz.de] Sent: Friday, October 03, 2014 10:43 AM To: dev@sling.apache.org Subject: Re: [RESULT] [VOTE] Release Apache Sling Superimposing Resource Provider 0.2.0 On Friday 03 October 2014 10:26:44 Stefan Seifert wrote

[PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-03 Thread Stefan Seifert
this proposal is about context-specific configuration, that means configuration that cannot be stored as OSGi configurations. OSGi configurations are always system-wide, so they are not well-suited for storing configurations per context e.g. site, region or tenant. this is related to the

FW: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-03 Thread Stefan Seifert
p.s. url [1] is wrong - it should be https://cwiki.apache.org/confluence/x/So2uAg -Original Message- From: Stefan Seifert [mailto:sseif...@pro-vision.de] Sent: Saturday, October 04, 2014 1:54 AM To: dev@sling.apache.org Subject: [PROPOSAL] Context-specific configuration for Apache Sling

[PROPOSAL] donate sling-mock, jcr-mock, osgi-mock to Apache Sling

2014-10-10 Thread Stefan Seifert
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

RE: [PROPOSAL] donate sling-mock, jcr-mock, osgi-mock to Apache Sling

2014-10-10 Thread Stefan Seifert
on this if it came to a vote. Are there any areas where these Mocks wont work ? Multiple threads, observation, locks, versioning ? Best Regards Ian On 10 October 2014 09:10, Stefan Seifert sseif...@pro-vision.de wrote: in the last week i've developed at suite of mocking libraries to run OSGi/SCR

RE: [mocks] Question on dependency management while adding a test case

2014-10-10 Thread Stefan Seifert
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

RE: Question on dependency management while adding a test case

2014-10-11 Thread Stefan Seifert
this worked well, resolved in https://issues.apache.org/jira/browse/SLING-4033 stefan -Original Message- From: Julian Sedding [mailto:jsedd...@gmail.com] Sent: Friday, October 10, 2014 4:28 PM To: dev@sling.apache.org Subject: Re: Question on dependency management while adding a test

RE: [PROPOSAL] donate sling-mock, jcr-mock, osgi-mock to Apache Sling

2014-10-13 Thread Stefan Seifert
thanks for the feedback, i've created https://issues.apache.org/jira/browse/SLING-4042 for tracking the donation and creating the projects within the sling testing area. stefan -Original Message- From: Stefan Seifert [mailto:sseif...@pro-vision.de] Sent: Friday, October 10, 2014 10:11

RE: Can we group the mock stuff under testing/mocks?

2014-10-13 Thread Stefan Seifert
yes, i will take care of it in context of SLING-4042 stefan -Original Message- From: Bertrand Delacretaz [mailto:bdelacre...@apache.org] Sent: Monday, October 13, 2014 3:25 PM To: dev Subject: Can we group the mock stuff under testing/mocks? Hi, Currently we have testing/jcr-mock:

release of sling-/osgi-/jcr-/resourceresolver-mock end of week

2014-10-13 Thread Stefan Seifert
the donation of the new mock implementations is complete, and documentation is online (see [1]). i would like to prepare the release for the three new mocks and for the resourceresolver-mock project as well (it's a dependency). if no one objects i will cut the release and start the official

RE: FW: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-14 Thread Stefan Seifert
(boilerplate) code over and over again. Best regards, Dominik [3] http://wcm.io/config/api/terminology.html On Sat, Oct 4, 2014 at 1:55 AM, Stefan Seifert sseif...@pro-vision.de wrote: p.s. url [1] is wrong - it should be https://cwiki.apache.org/confluence/x/So2uAg -Original Message

RE: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-14 Thread Stefan Seifert
hello alex. -Original Message- From: Alexander Klimetschek [mailto:aklim...@adobe.com] Sent: Tuesday, October 14, 2014 10:13 PM To: dev@sling.apache.org Subject: Re: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy I see 3 problems: - allowing to hook in a custom

RE: FW: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-14 Thread Stefan Seifert
hello justin. yes, this is my expectation for the java code. if you only provide a string-based access to configuration parameter every developer will start to create a NameConstants class to define the much-used property names (or you will provide such a class as part of your applications

RE: FW: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-15 Thread Stefan Seifert
()).get(param.getName(), param.getType()) But this is an optional step and the use of Parameter objects isn't implied by the Configuration API. Regards, Justin On Tue, Oct 14, 2014 at 6:58 PM, Stefan Seifert sseif...@pro-vision.de wrote: hello justin. yes, this is my expectation for the java

RE: FW: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-15 Thread Stefan Seifert
hello carsten. like it! so each application defines one (or multiple) of such configuration annotation classes. the first get on an configuration object would expect an annotation class, and the second would be nice typed access to a configuration value. providing additional metadata per

RE: FW: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-15 Thread Stefan Seifert
do you have a link where such a concept is defined in context of the new DS specification? using the same concept as a (new) DS version would be plus. Sure, the spec can be found here https://github.com/osgi/design/blob/master/rfcs/rfc0190/rfc-0190- Declarative_Services_Enhancements.pdf cool.

RE: FW: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-15 Thread Stefan Seifert
However, one downside would be that you don't have hierarchical configurations or maps - just scalar types and arrays of it. support for maps we can add using a helper method - internally its stored as string array anyway. hierarchical configurations could be modeled using annotation

RE: FW: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-15 Thread Stefan Seifert
[...] But to my mind, one of the key targets for this new configuration structure is scripts. this does not match the experience of our projects. we need those parameters only in rare occasions directly in the scripts (e.g. sightly), and in most time in the java code (models the scripts,

[VOTE] Release Apache Sling Resource Resolver Mock 1.0.0, JCR Mock 1.0.0, OSGi Mock 1.0.0, Sling Mock 1.0.0, Sling Mock Jackrabbit 0.1.0

2014-10-17 Thread Stefan Seifert
Hi, We solved 4 issues in this release of Resource Resolver Mock 1.0.0: https://issues.apache.org/jira/browse/SLING/fixforversion/12328721 First release of this modules: JCR Mock 1.0.0 https://issues.apache.org/jira/browse/SLING/fixforversion/12328830 OSGi Mock 1.0.0

RE: FW: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-17 Thread Stefan Seifert
Delacretaz [mailto:bdelacre...@apache.org] Sent: Wednesday, October 15, 2014 4:01 PM To: dev Subject: Re: FW: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy On Wed, Oct 15, 2014 at 3:48 PM, Stefan Seifert sseif...@pro-vision.de wrote: ...this does not match the experience

RE: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-17 Thread Stefan Seifert
2) I'm assuming that the lookup key for these configuration objects is the class name. IMHO, we need some kind of differentiator, see for example my OAuth example earlier in this thread. I haven't thought of this part yet, I've just stated my strong wish for strongly typed configuration

RE: FW: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-17 Thread Stefan Seifert
hello Bertrand. On Fri, Oct 17, 2014 at 11:56 AM, Stefan Seifert sseif...@pro-vision.de wrote: ... https://cwiki.apache.org/confluence/x/1ATTAg ... Thanks for this. Looking at your use-cases it feels like your context is always derived from the current resource's position in the content tree

RE: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2014-10-17 Thread Stefan Seifert
hello carsten. So I think adding an adaptTo method to Configuration might do the trick: MyTypedConfig = resource.adaptTo(Configuration.class).adaptTo(MyTypedConfig.class); The adaption within the implementation of the configuration class can be done on the fly by creating a proxy. We should

RE: [VOTE] Release Apache Sling Resource Resolver Mock 1.0.0, JCR Mock 1.0.0, OSGi Mock 1.0.0, Sling Mock 1.0.0, Sling Mock Jackrabbit 0.1.0

2014-10-21 Thread Stefan Seifert
one (binding) vote still missing... stefan -Original Message- From: Stefan Seifert [mailto:sseif...@pro-vision.de] Sent: Friday, October 17, 2014 10:56 AM To: dev@sling.apache.org Subject: [VOTE] Release Apache Sling Resource Resolver Mock 1.0.0, JCR Mock 1.0.0, OSGi Mock 1.0.0, Sling

RE: [VOTE] Release Apache Sling Resource Resolver Mock 1.0.0, JCR Mock 1.0.0, OSGi Mock 1.0.0, Sling Mock 1.0.0, Sling Mock Jackrabbit 0.1.0

2014-10-21 Thread Stefan Seifert
Resolver Mock 1.0.0, JCR Mock 1.0.0, OSGi Mock 1.0.0, Sling Mock 1.0.0, Sling Mock Jackrabbit 0.1.0 +1 Tommaso 2014-10-17 10:56 GMT+02:00 Stefan Seifert sseif...@pro-vision.de: Hi, We solved 4 issues in this release of Resource Resolver Mock 1.0.0: https://issues.apache.org/jira/browse/SLING

[RESULT] [VOTE] Release Apache Sling Resource Resolver Mock 1.0.0, JCR Mock 1.0.0, OSGi Mock 1.0.0, Sling Mock 1.0.0, Sling Mock Jackrabbit 0.1.0

2014-10-21 Thread Stefan Seifert
Hi, The vote has passed with the following result : +1 (binding): Carsten Ziegeler, Daniel Klco, Robert Munteanu +1 (non binding): Tommaso Teofili @any PMC member: please promote the releases to maven central and dist, i'll take care of JIRA and the website. stefan

[RTC] ThreadLocal for getting current request in sling

2014-10-22 Thread Stefan Seifert
i propose to add a new feature to the Sling API and Sling Engine to access to the current request via an OSGi service, using a servlet filter and a thread local internally. a proposal for such an implementation is currently part of sling models trunk, but should be renamed and moved to a more

RE: [RTC] ThreadLocal for getting current request in sling

2014-10-22 Thread Stefan Seifert
my current usecases are: - having the ability to inject context objects like request in any sling model, regardless of the adaptable. this is e.g. importing when adapting from a resource, but in context of a request (SLING-4083) That should be possible to solve differently, such injection

RE: [RTC] ThreadLocal for getting current request in sling

2014-10-24 Thread Stefan Seifert
Personally, I don't quite see the use case -- if your AdapterFactory (whether it is generated by Sling Models or hand-coded) needs request-based context, the adaptable is the request. to shed some more light on my usecase an example: - a sightly template calls a controller model, which adapts

RE: [RTC] ThreadLocal for getting current request in sling - summary

2014-10-24 Thread Stefan Seifert
and a request filter, so i'll be fine with this way as well if the community does not want A) or B). stefan -Original Message- From: Stefan Seifert [mailto:sseif...@pro-vision.de] Sent: Wednesday, October 22, 2014 10:22 AM To: dev@sling.apache.org Subject: [RTC] ThreadLocal for getting current

RE: [RTC] ThreadLocal for getting current request in sling

2014-10-27 Thread Stefan Seifert
hello justin. it is an implementation details of the post processing business models that they need a request for some part of their job (e.g. distinguish between edit and preview mode). the caller of the initial adaption is not necessary aware of this and should not care of it in my point of

RE: Jenkins build is still unstable: sling-trunk-1.8 » Apache Sling Event Support #381

2014-10-29 Thread Stefan Seifert
i tried to run the integration tests for the event part on my (windows) machines, sometimes the pass, sometimes they fail, not always with the same result. but never because of a port mismatch. today I started a new try: * windows 7 + JDK 1.7: tests passed (but a showing frightening lot of

[Sling Models] performance optimization

2014-11-06 Thread Stefan Seifert
fyi, i've implemented some performance optimizations for sling models in a private branch as described in [1]. performance measurement results in the same ticket. if no one objects i will apply this to the trunk next week, so other can test it using a snapshot as well. stefan [1]

RE: [ANN] New Apache Sling Committers: Konrad Windszus and Julian Sedding

2014-11-12 Thread Stefan Seifert
welcome to both of you! glad to have you onboard. stefan -Original Message- From: Carsten Ziegeler [mailto:cziege...@apache.org] Sent: Wednesday, November 12, 2014 3:02 PM To: Sling Developers Subject: [ANN] New Apache Sling Committers: Konrad Windszus and Julian Sedding Hi it's my

RE: Sling Mocks: registering AdapterFactory service

2014-11-25 Thread Stefan Seifert
the first variant should work if SCR metadata are present in the classpath. did you test this by running the unit tests on the command line, or within an IDE? if you use eclipse make sure to use m2e and make sure the maven scr plugin gets executed as well before running the test (e.g. by

RE: Debugging Sling Models IT

2014-12-05 Thread Stefan Seifert
what i did was adding the JVM debugging parameters the IT sling instance startup (jar.executor.vm.options, commented out), and then attached to the IT JVM while it was starting up (it takes some seconds while bundles are deploying before the tests really gets executed, so it's no problem to

[VOTE] Release Apache Sling Testing Sling Mock 1.1.0, OSGi Mock 1.1.0, JCR Mock 1.1.0, ResourceResolver Mock 1.1.0

2014-12-09 Thread Stefan Seifert
Hi, We solved issues in this release: Sling Mock 1.1.0 - 7 issues https://issues.apache.org/jira/browse/SLING/fixforversion/12328857 OSGi Mock 1.1.0 - 8 issues https://issues.apache.org/jira/browse/SLING/fixforversion/12328856 JCR Mock 1.1.0 - 3 issues

RE: Whitespace handling in Sightly

2014-12-11 Thread Stefan Seifert
the Apache Sling JSP Script Handler has an OSGi configuration option Trim spaces, seems to based on a Jasper feature. i would favor such a switch for the sightly script handler as well, instead of introducing such features in the sightly language itself or making it conditional for some tags.

RE: [VOTE] Release Apache Sling Testing Sling Mock 1.1.0, OSGi Mock 1.1.0, JCR Mock 1.1.0, ResourceResolver Mock 1.1.0

2014-12-13 Thread Stefan Seifert
one binding vote still missing... stefan -Original Message- From: Stefan Seifert [mailto:sseif...@pro-vision.de] Sent: Wednesday, December 10, 2014 12:58 AM To: dev@sling.apache.org Subject: [VOTE] Release Apache Sling Testing Sling Mock 1.1.0, OSGi Mock 1.1.0, JCR Mock 1.1.0

[launchpad] uninstalled bundles get not uninstalled?

2014-12-15 Thread Stefan Seifert
in SLING-4226 encountered a strange bundle deployment problem in integration tests which I could reproduce with a few steps in launchpad and webconsole [1]. the generic steps are: 1. bundle B depends on exports of bundle A 2. bundle A is uninstalled - B is still running 3. bundle B can even be

RE: [launchpad] uninstalled bundles get not uninstalled?

2014-12-15 Thread Stefan Seifert
? Am 15.12.14 um 18:25 schrieb Stefan Seifert: in SLING-4226 encountered a strange bundle deployment problem in integration tests which I could reproduce with a few steps in launchpad and webconsole [1]. the generic steps are: 1. bundle B depends on exports of bundle A 2. bundle

FW: [RESULT] [VOTE] Release Apache Sling Testing Sling Mock 1.1.0, OSGi Mock 1.1.0, JCR Mock 1.1.0, ResourceResolver Mock 1.1.0

2014-12-16 Thread Stefan Seifert
@any PMC member: please copy the released artifacts to dist. stefan -Original Message- From: Stefan Seifert [mailto:sseif...@pro-vision.de] Sent: Monday, December 15, 2014 9:54 AM To: dev@sling.apache.org Subject: [RESULT] [VOTE] Release Apache Sling Testing Sling Mock 1.1.0, OSGi

RE: Can we reduce the amount of Jenkins mails?

2014-12-17 Thread Stefan Seifert
it seems that what fails are mainly different integration tests. we could add a special maven profile in those projects that have failing integration tests that disables the IT in only that project, and create a ticket for each project to track that we remove it when the IT problem is solved.

RE: Can we reduce the amount of Jenkins mails?

2014-12-17 Thread Stefan Seifert
So what about disabling all jobs on Jenkins, and enable just one and try to get that one running clean, then we can enable the next one etc.? yes, this would be a way. perhaps start with a main build job that builds all projects, runs all unit tests, but without any integration tests. then add

RE: Can we reduce the amount of Jenkins mails?

2014-12-17 Thread Stefan Seifert
Sure, do we know what broke it? I don't know yet. In theory whoever made those breaking changes should have run the tests and seen the failures... the problem is that these integration tests run on some environments, and on some not, on some they succeed sometime and sometimes not. this makes

FW: [RESULT] [VOTE] Release Apache Sling Testing Sling Mock 1.1.0, OSGi Mock 1.1.0, JCR Mock 1.1.0, ResourceResolver Mock 1.1.0

2014-12-18 Thread Stefan Seifert
@any PMC member: please copy the released artifacts to dist. stefan -Original Message- From: Stefan Seifert [mailto:sseif...@pro-vision.de] Sent: Tuesday, December 16, 2014 12:05 PM To: dev@sling.apache.org Subject: FW: [RESULT] [VOTE] Release Apache Sling Testing Sling Mock 1.1.0

RE: [PROPOSAL] Context-specific configuration for Apache Sling, Multitenancy

2015-01-23 Thread Stefan Seifert
hello oliver. what's the status here? Will you move this project to Sling? this is not decided yet, no precise plans yet. this depends if it is useful for a broader audience in the sling community and projects/applications built with sling. until then just try it out from wcm.io. additionally

RE: [RT] Sling Resource Providers for NoSQL databases - MongoDB, Couchbase

2015-02-02 Thread Stefan Seifert
ok - my next plan is to create a branch for a proof of concept couchbase resource adapter including a proposal for a shared part of nosql providers (and create a ticket for further discussion). ticket and whiteboard branch created: https://issues.apache.org/jira/browse/SLING-4381 stefan

RE: [RT] Ideas for a multi-tenant and multi-module content model

2015-02-02 Thread Stefan Seifert
hello bertrand. some notes from my side: * multi tenant scenario - what you describe is a solution for the virtual hosting multi-tenant scenario as described here https://cwiki.apache.org/confluence/x/So2uAg - if this should be usable for the massive multi site scenario as well additional

RE: Please welcome Tomek Rękawek as a Sling committer!

2015-02-05 Thread Stefan Seifert
welcome aboard! stefan -Original Message- From: Bertrand Delacretaz [mailto:bdelacre...@apache.org] Sent: Thursday, February 05, 2015 1:47 PM To: dev Subject: Please welcome Tomek Rękawek as a Sling committer! Hi Sling community, Based on his ongoing and valuable contributions to the

[VOTE] Release Apache Sling Testing JCR Mock 1.1.2, ResourceResolver Mock 1.1.2, Sling Mock 1.1.2, Sling Mock Jackrabbit 0.1.2

2015-01-22 Thread Stefan Seifert
Hi, We solved 2 issues in JCR Mock 1.1.2: https://issues.apache.org/jira/browse/SLING/fixforversion/12329091 We solved 2 issues in ResourceResolver Mock 1.1.2: https://issues.apache.org/jira/browse/SLING/fixforversion/12329092 We solved 3 issues in Sling Mock 1.1.2:

[RESULT] [VOTE] Release Apache Sling Testing JCR Mock 1.1.2, ResourceResolver Mock 1.1.2, Sling Mock 1.1.2, Sling Mock Jackrabbit 0.1.2

2015-01-28 Thread Stefan Seifert
Hi, The vote has passed with the following result: +1 (binding): Robert Munteanu, Carsten Ziegeler, Stefan Egli I will promote the artifacts to the central Maven repository and update this sling site. @any PMC member: please copy this release to the Sling dist directory. stefan

RE: [RT] Sling Resource Providers for NoSQL databases - MongoDB, Couchbase

2015-01-29 Thread Stefan Seifert
1. what is the status of the mongodb provider? is someone using it already in production? looking at the code it seems to be not threadsafe concerning the CRUD handling with non-synchronized hash maps. Afaik, there are people using that code slightly modified (not sure what the changes are) in

RE: [RT] Sling Resource Providers for NoSQL databases - MongoDB, Couchbase

2015-01-27 Thread Stefan Seifert
: Bertrand Delacretaz [mailto:bdelacre...@apache.org] Sent: Tuesday, January 27, 2015 5:38 PM To: dev Subject: Re: [RT] Sling Resource Providers for NoSQL databases - MongoDB, Couchbase Hi, On Tue, Jan 27, 2015 at 5:09 PM, Stefan Seifert sseif...@pro-vision.de wrote: ...we currently evaluate

[RT] Sling Resource Providers for NoSQL databases - MongoDB, Couchbase

2015-01-27 Thread Stefan Seifert
we currently evaluate to integrate a Couchbase NoSQL database [1] into a sling resource tree. as a starting point i had a deeper look on the MongoDB resource provider [2], because the concept is quite similar. some thoughts on this: 1. what is the status of the mongodb provider? is someone

  1   2   3   4   5   6   7   8   9   10   >