Re: Mock Osgi Services via Sling Mocks

2018-09-03 Thread Dominik Süß
et the exact problem you encounter. > > if you want to mock an OSGi services it's easiest to use somehing like > mockito and register it in the mock context with the "registerService" > method. > > stefan > > >-Original Message- > >From: Domin

Mock Osgi Services via Sling Mocks

2018-09-03 Thread Dominik Süß
Hi everyone, in my case I would like to register a mocked version of an osgi service - in the past IIRC I could have scr metadata in a mock class under src/test/java and just register this one. With the more recent osgi annotations to generate the scr metadata there is an extra execution for scr g

Re: OSGi configuration removal when Sling sleeps

2016-08-03 Thread Dominik Süß
Hi Carsten, in this particular case we are struggeling with the fact that we need to uninstall "any" configuration and/or bundle comming through any installer that might be harmful. So we have a list of configs and bundles that would need to be forcefully uninstalled, yet we don't know exactly whe

Re: Sling's versioning features

2015-09-01 Thread Dominik Süß
Hi Andrey, Sling transparently exposes the JCR Versioning support. The corresponding checkin and checkout commands are necessary in the post servlet to be able to control that. Details how the JCR Versioning works can be found here: http://www.day.com/specs/jcr/2.0/15_Versioning.html Cheers, Domi

Re: Greetings and IRC consult

2015-07-02 Thread Dominik Süß
Hi, although you are right that chats tend to provide answers faster they have a significant disadvantage: they are not archived by default - and even if you set up an archive you don't have threads that you can look up. The sling community is pretty active in answering within a short period of

Re: Configuring GET Servlet in standalone jar

2015-06-18 Thread Dominik Süß
Hi Michael., I would recommend to switch to the maven-slingstart-plugin which is used by the launchpad in the trunk as well (see [0]). This provides a pretty conventient way to define an instance including the initial configuration (see documenation [1] and launchpad provisioning model [2]) I ho

Re: Datastore usage

2015-03-18 Thread Dominik Süß
Hi Anjan, as you noted the eventing is happening "post-mortem" so no way to get the relevant metadata. If you'd use Apache Oak as persistence you could register a commit hook that allows you to to interact with the "before" and "after" state. The alternative within Apache Sling would be to have a

Re: AWS DynamoDB as a Sling resource

2015-01-21 Thread Dominik Süß
Hi Connuser1, it would be really great if you could give us some context. Is this about a potential contribution to Sling, will this be a standalong OS project that you'll maintain (and if yet who else will take care of maintenance over the long run) and what scenarios would you like to cover with

Re: ResourceProvider bubbling

2014-11-11 Thread Dominik Süß
va#L638> On Tue, Nov 4, 2014 at 10:19 AM, Carsten Ziegeler wrote: > Am 04.11.14 um 09:42 schrieb Dominik Süß: > > Hi Felix, > > > > if I got your right you propose to use a membervariable instead of a > > threadlocal since my ResourceProviderFactory (which I already u

Re: ResourceProvider bubbling

2014-11-04 Thread Dominik Süß
ResourceProviderX.getResource > setFlag > ResourceResolver.getResource > ResourceProviderX.getResource > return null since flag is set > … other ResourceProviders … > clearFlag > some more work > > > Regards > Felix > > >

ResourceProvider bubbling

2014-11-03 Thread Dominik Süß
Hi everyone, I just have a case where I have to split away some content from the original location and split parts in a dedicated subresource. I also have the constraint that access must work exactly the same (so the resourcetree should work like before while persistance splits the attributes up.

adaptTo 2014 - The final countdown...

2014-09-09 Thread Dominik Süß
Hi community, adaptTo is about to start in less then two weeks. If you yet haven't registered this might be your chance to get one of the remaining tickets and join us for this great opportunity to learn from each other, share experiences and drive the evolution of Apache Sling itself as part of t

adaptTo() 2014 getting closer

2014-08-15 Thread Dominik Süß
Hey everybody, just with the same pace Sling is currently evolving with all contributions and new features comming in time runs by and we're close to the "1 month left" mark for adaptTo() 2014 in Berlin. We would be really glad to see a lot of you join us in Berlin, share experiences, exchange kn

[adaptTo] Registration & Talklist

2014-07-06 Thread Dominik Süß
beer together (community). We try not just to be a conference but a meetup - so make sure you don't miss it! I'm looking forward to seeing you in Berlin this september. Best regards in the name of the adaptTo() organisation team, Dominik Süß P.S. do not hesitate to contact us in case yo

Re: events vs jobs

2014-06-16 Thread Dominik Süß
Hi Robert, Jobs are Events guaranteed to be processed. Therefore jobs are an extension of the event engine that takes care of persisting the eventinformation and predefines various attributes. The Job API is convenient way to create and consume jobs without the need to manually compose those event

Re: adaptTo() 2014 - "Call for Papers"

2014-04-22 Thread Dominik Süß
eakers get free entrance and a fancy speaker shirt ;) Best regards Dominik On Thu, Apr 3, 2014 at 10:52 AM, Dominik Süß wrote: > Hey everyone, > > altough we already got some really great submissions in the last days we > want to encourage you to send in your submissions as soon as

AdaptTo 2013 Berlin

2013-08-27 Thread Dominik Süß
Hi everyone, time runs fast and like the last two years we'll have adaptTo() in Berlin. For those who do not know it yet: this is a non-profit conference arround Apache Sling and the connected Frameworks like Apache Felix and Apache Jackrabbit. The conference is hosted by pro!vision GmbH and spon

Re: adaptTo(Berlin) 2012

2012-06-13 Thread Dominik Süß
couple of days till I can announce all essential information. Best regards, Dominik On Tue, Jun 12, 2012 at 2:27 PM, Mike Müller wrote: > Hi Dominik > > Is the .adaptTo() 2012 gonna be happen or is it at this time just an > idea? > > best regards > mike > >> -----Or

Re: adaptTo(Berlin) 2012

2012-06-01 Thread Dominik Süß
Dear Apache Sling users and developers, as Carsten allready announced we'll organise a 2nd Edition of .adapto(Berlin) this september. Based on the feedback of the attendees from last years .adaptto() we're trying to change some things. Here are some things we'll have to / want to change: - Locat

.adaptTo(Berlin) still open for registration

2011-08-29 Thread Dominik Süß
Hi everyone, since I did receive some requests for registration here an additional information: The registrationdate announced in the first news could be postponed since the location and depending details are fixed. So registration will be open till september the 10th. Some further notes on the

.adaptTo(Berlin) - Finally up and open for registration

2011-07-06 Thread Dominik Süß
After weeks of organising sponsorship, location and other details of this event, I'm glad to finally announce the .adaptTo(Berlin) meetup for the 15th and 16th of september 2011. The event will be located at Betahaus Berlin (Kreuzberg) and will be open for a maximum of 100 participants. .adaptTo(B

Re: [day-communique] Re: Idea: Sling / CQ Meetup in Berlin

2011-07-04 Thread Dominik Süß
ys: firm days >> >> on Sunday / Monday or Friday / Saturday, so that people who are busy on >> >> projects can sneak away and attend? >> >> >> >> - One Day: Adobe sponsor a day of CQ technical overview including Day >> >> roadmap showing

Fwd: [day-communique] Re: Idea: Sling / CQ Meetup in Berlin

2011-06-05 Thread Dominik Süß
This might also be interessting for this list ;) -- Forwarded message -- From: Dominik Süß Date: 2011/6/5 Subject: Re: [day-communique] Re: Idea: Sling / CQ Meetup in Berlin To: day-communi...@googlegroups.com, dev FYI: This event isn't dead at all - due to the amou

Re: [day-communique] Re: Idea: Sling / CQ Meetup in Berlin

2011-05-12 Thread Dominik Süß
at people who are busy on projects can >>> sneak away and attend? >>> >>> - One Day: Adobe sponsor a day of CQ technical overview including Day >>> roadmap showing Live-cycle/Day direction, >>> - One Day: Sling "best practices", tips and trick

Re: Version Control Checkin

2010-01-17 Thread Dominik Süß
Hi Kent, to enable a node to have versions it needs the mixin type "mix:versionable" See here for further information http://wiki.apache.org/jackrabbit/mix:versionable And you might wanna look at JCR API for Versionretrieval http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Node.html (lo