Re: Mock Osgi Services via Sling Mocks

2018-09-03 Thread Dominik Süß
e 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: Dominik Süß [ma

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

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

Re: Sling's versioning features

2015-09-02 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,

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

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

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

Re: ResourceProvider bubbling

2014-11-11 Thread Dominik Süß
, Nov 4, 2014 at 10:19 AM, Carsten Ziegeler cziege...@apache.org 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 use btw.) makes sure that I get

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

[adaptTo] Registration Talklist

2014-07-06 Thread Dominik Süß
a 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 you have any

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

Re: adaptTo() 2014 - Call for Papers

2014-04-22 Thread Dominik Süß
entrance and a fancy speaker shirt ;) Best regards Dominik On Thu, Apr 3, 2014 at 10:52 AM, Dominik Süß dominik.su...@gmail.comwrote: 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 possible

Re: adaptTo(Berlin) 2012

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

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: -

.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

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

2011-07-04 Thread Dominik Süß
/Day direction, - One Day: Sling best practices, tips and tricks, perhaps some case studies by our more esteemed members, Pick a date already now so that we can start to structure for the time, - Dave Ressler +1 214 995 3340 From: Dominik Süß dominik.su...@gmail.com To: dev d

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üß dominik.su...@gmail.com Date: 2011/6/5 Subject: Re: [day-communique] Re: Idea: Sling / CQ Meetup in Berlin To: day-communi...@googlegroups.com, dev d...@sling.apache.org FYI: This event

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

2011-05-12 Thread Dominik Süß
roadmap showing Live-cycle/Day direction, - One Day: Sling best practices, tips and tricks, perhaps some case studies by our more esteemed members, Pick a date already now so that we can start to structure for the time, - Dave Ressler +1 214 995 3340 From: Dominik Süß dominik.su

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