RE: accessing the repository in a sling test

2014-09-25 Thread Stefan Seifert
have a look at existing integration test projects - this is a good example: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/integration-tests

RE: accessing the repository in a sling test

2014-09-25 Thread Stefan Seifert
of getAdministrativeResourceResolver() since it's deprecated, but I could not make it work (got LoginModule could not perform authentication: Invalid authorizable name '') I'll use that then. Thank you On 25/09/14 16:32, Stefan Seifert wrote: have a look at existing integration test projects - this is a good example

RE: Sling Models to inject RequestParameter

2014-11-27 Thread Stefan Seifert
hello isabel. it think this is not possible out-of-the box. you can inject request attributes, but not request parameters - available injectors: [1] but it would by fairly easy to write your own custom injector [2] for this usecase and register it via OSGi. stefan [1]

RE: jaxb, OSGI com.sun.xml.bind -- Cannot be resolved and overwritten by Boot Delegation

2015-02-04 Thread Stefan Seifert
hello bruce. this can become tricky. my recommendation was to do not deploy any JAXB bundle, but to use the version embedded in the JDK and make sure the system bundle exports its packages as well. additionally JAXB is not fully OSGi-compatible concerning class loading, so some additional

RE: Implementing ModifyingResourceProvider

2015-02-02 Thread Stefan Seifert
please also take not of this recent discussion on the sling-dev mailing list http://apache-sling.73963.n3.nabble.com/RT-Sling-Resource-Providers-for-NoSQL-databases-MongoDB-Couchbase-tt4046669.html an example for an existing NoSQL resource provider that solves these problems is

RE: Implementing ModifyingResourceProvider

2015-02-04 Thread Stefan Seifert
it could be a part of sling? On Mon, Feb 2, 2015 at 7:24 PM, Stefan Seifert sseif...@pro-vision.de wrote: please also take not of this recent discussion on the sling-dev mailing list http://apache-sling.73963.n3.nabble.com/RT-Sling-Resource-Providers-for- NoSQL-databases-MongoDB-Couchbase

adaptTo() 2015 conference - call for papers is open

2015-02-13 Thread Stefan Seifert
Information on how to become a speaker can be found on http://adapt.to/cfp From today on until 17th of April papers can be submitted. The ticket sale opens on March, 2nd. Best regards Stefan Seifert

adaptTo() 2015 conference - registration is open

2015-03-11 Thread Stefan Seifert
We're happy to announce that registration for adaptTo is now open. http://de.amiando.com/TLWCUYR Please mind that Call for Papers closes on April 17th. You'll find information on how to become a speaker on http://adapt.to/cfp . The schedule will be published in May at http://adapt.to . See

RE: Sling Mocks Register Anonymus Adapter Factory

2015-05-11 Thread Stefan Seifert
hello zsolt. it should be possible with a code snippet like this: context.registerService(AdapterFactory.class, anonymousFactoryInstance, ImmutableMap.String, Objectbuilder() .put(AdapterFactory.ADAPTABLE_CLASSES, new String[] { SlingHttpServletRequest.class.getName() })

RE: Old OSGi version in osgi-mocks (AbstractMethodError missing functionality)

2015-04-04 Thread Stefan Seifert
the dependency to the old osgi version is by design to not force all users to use a newer osgi version in their maven dependencies. but we try to support the newer versions as well by adding the required methods wherever possible. can you create a ticket for this in the issue tracker at [1]?

RE: sling-maven-plugin install goal issues

2015-10-28 Thread Stefan Seifert
hello steven. i use a configuration just like this: ${server}/system/console ${sling.user} ${sling.pass} false which posts the bundle to the felix webconsole, deploys and starts them. they are not stored in the repository, though. stefan >-Original Message- >From: Steven

RE: Include same comment form from different resource type's views

2015-11-17 Thread Stefan Seifert
hello guillaume. a typical solution is to define another "common" resource types for your components and reference it as "sling:resourceSuperType", see [1], [2] then you can move your comment.jsp to the folder of the "common" resource type and it is usable from all components inheriting from

adaptTo() 2015 conference - agenda is online

2015-07-09 Thread Stefan Seifert
The agenda for this years' adaptTo() is published: http://adapt.to/schedule Tickets are still available: http://adapt.to/tickets We look forward to seeing you in Berlin! Best regards Stefan

adaptTo() 2015 - Slides online

2015-09-30 Thread Stefan Seifert
the slides of the adaptTo() 2015 conference in berlin are now online - 18 talks plus lightning talks, 160 participants you find the slides and code samples here: http://adapt.to/2015/en/schedule.html and some images... http://adapt.to/2015/en/conference/gallery.html Stefan

RE: Get field from model in JSON view

2015-12-09 Thread Stefan Seifert
hello guillaume. the default json view of sling is 1:1 the content of the repository. normally it makes no sense to store "computed values" in the repository, because it is redundant. the best solution would be to create your own json view for the resource type, e.g. a servlet or a sightly/jsp

RE: Old jobs in repository

2015-12-15 Thread Stefan Seifert
there is a built-in job consumer to cleanup historic job data from the repository, this should include cancelled jobs. it's not active by default. you can use the job api to run this job - example: String JOB_HISTORY_CLEANUP_TOPIC = "org/apache/sling/event/impl/jobs/tasks/HistoryCleanUpTask";

RE: Fake request/response classes

2015-12-21 Thread Stefan Seifert
>I know. But I don't want to deploy the Sling mocks library as a bundle >along with my Sling-based application to the OSGI container (haven't >checked if it's a bundle at all). I also don't want to embedd this jar file >into a custom bundle just because I need these few classes. sling-mocks is

RE: Fake request/response classes

2016-01-13 Thread Stefan Seifert
Hi, > >On Mon, Dec 21, 2015 at 4:30 PM, Stefan Seifert <sseif...@pro-vision.de> >wrote: >> ...here are the classes >> https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/sling- >mock/src/main/java/org/apache/sling/testing/mock/sling/servlet >> >>

adaptTo() 2016 conference

2016-02-23 Thread Stefan Seifert
or share your thoughts via i...@adaptto.org or #adaptTo. Have a great weekend and we look forward to hearing from you soon. Kind regards on behalf of the adaptTo() Team, Stefan Seifert

RE: [sling mock] is it possible to mock a Date property

2016-03-15 Thread Stefan Seifert
you mean using the resource API/value map and an underlying resourceresolver mock repository? you should be able to just put either Date or Calender objects to the value map and read them again. you can also have a look at the sling mock unit tests, that are several testcases for date/calendar

adaptTo() 2016 - CfP & Earlybird & Recap

2016-04-25 Thread Stefan Seifert
Quick update for the adaptTo() 2016 conference in Berlin: We decided to extend the Call for Papers deadline by 2 weeks (until 6th of May). http://adapt.to/cfp Also, the Earlybird offer (-20%) ends this Friday. http://adapt.to/tickets Feeling nostalgic? Check out our 2015 Recap.

RE: Sling Models: ResourcePath annotation with relative path support?

2016-04-20 Thread Stefan Seifert
@ResourcePath injects the resource path (string), not a resource identified by a path. please try the @ChildResource injector with name = child path. https://sling.apache.org/documentation/bundles/models.html#available-injectors stefan >-Original Message- >From: olimination

RE: Minimal Sling

2016-07-26 Thread Stefan Seifert
>Also related to this I had a look at the File System Resource Provider [1]. >AFAICS it works with files (binaries), but there does not seem to be a >feature that would allow to work with fine-granular content (e.g. a JSON >file). Has anyone worked on extending the FSRP by chance? i have this on

RE: Configuration support for multi-tenant use cases

2016-07-21 Thread Stefan Seifert
please note that there is also an ongoing contribution of wcm.io Configuration [1] to Apache Sling [2]. this process has started just now, so it will take some time until it will be released. if you are using AEM you could directly go with [1] for the time being. stefan [1]

adaptTo() 2017 Conference in Berlin

2017-02-20 Thread Stefan Seifert
Good morning everyone, focusing on Apache Sling, Apache Felix and Apache Jackrabbit, the adaptTo() conference in Berlin is aimed at developers using some or all if this stack. If you are not familiar with our event yet, you might find something interesting in the sessions from last year

RE: Not-sticky sessions with Sling?

2017-01-17 Thread Stefan Seifert
not sure if this is of any help for your usecase - but do you need the full JCR features and complexity underneath sling, or only a sling cluster + storage in mongodb? if you need only basic resource read and write features via the Sling API you might bypass JCR completely and directly use a

RE: Bad asset resource resolving

2017-01-16 Thread Stefan Seifert
no, the basics of resource resolution have not change recently - a resource with multiple dots in it's resource name (like /content/sling.logo.png) should always be resolvable by this name. and it works as expected when i reproduce the steps you describe (copy to /content/sling.logo.png). i

RE: HTMLSerializer and unicode characters

2016-08-16 Thread Stefan Seifert
hello ben. difficult to say without further context, unlikely that we have such a major problem in the codebase which is used for a long time. in general sling should support unicode character everywhere without problems. can you create a trivial sample project that reproduces the problem e.g.

RE: "OakConstraint0033: Unknown required primary type" with custom types.

2016-09-26 Thread Stefan Seifert
can you attach the full CND file content? there seems to be the keyword "string" interpreted as node type due to a syntax error. a string property should be defined like this: - dialogPath (string) see http://jackrabbit.apache.org/jcr/node-type-notation.html for details. stefan

RE: Problems with testing using JCR_MOCK

2016-09-29 Thread Stefan Seifert
good catch, you found a bug in sling-mock. i've opened https://issues.apache.org/jira/browse/SLING-6077 for this and will add a unit test to cover this case. stefan >-Original Message- >From: Christoph Thodte [mailto:christoph.tho...@ht-solutions.de] >Sent: Tuesday, September 27, 2016

RE: Authentication handler

2016-10-04 Thread Stefan Seifert
when the repository is up and running the repository authentication is used for web console as well. but during startup phase, or when the repository is down/unavailable the authentication built into the web console itself takes place. you need to change the admin password in the osgi config

adaptTo() 2016 - slides online

2016-09-28 Thread Stefan Seifert
the slides of the adaptTo() 2016 conference in berlin are now online - 25 talks plus lightning talks, 200 participants. you find the slides and code samples here: https://adapt.to/2016/schedule and some images... (more to follow) https://adapt.to/2016/en/conference/gallery.html Stefan

RE: Need help in implementing Sling Context Aware Configuration

2016-11-21 Thread Stefan Seifert
please have also a look on the documentation [1] [2] it should work the way you describe having a sling:configRef property on country node and on each language node. stefan [1] http://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configuration.html [2]

RE: Need help in implementing Sling Context Aware Configuration

2016-11-17 Thread Stefan Seifert
you do not need org.apache.sling.caconfig.bnd-plugin as direct reference in your - it's only useful as dependency for maven-bundle-plugin or other tooling that used bnd to generate the OSGi SCR metadata, see [1] as an example. but this should not be the source of your problem - did you deploy

RE: Sling Model and Request Parameters

2016-10-11 Thread Stefan Seifert
son which Stefan lists. Would it make >sense to use the @Source annotation and add support for injectors which are >not considered by default? > >On Fri, Oct 7, 2016 at 8:40 AM, Stefan Seifert <sseif...@pro-vision.de> >wrote: > >> hello christoph. >> >> i

RE: Dealing with Bundle Versions

2016-12-08 Thread Stefan Seifert
i updated the getting started page to link to launchpad-8... besides this: it think there is no "automatic" way to detect missing dependencies. best way is to look at a well-maintained example to see what deps are included. if you have a problem with a specific bundle start sling launchpad,

RE: [caconfig][mock] configuration resolver mock?

2016-12-10 Thread Stefan Seifert
-configuration.html#unit-tests-with-context-aware-configuration stefan >-Original Message- >From: Stefan Seifert [mailto:sseif...@pro-vision.de] >Sent: Thursday, December 1, 2016 9:30 PM >To: users@sling.apache.org >Subject: RE: [caconfig][mock] configuration resolver mock? > &

RE: [caconfig] changing config path

2016-12-16 Thread Stefan Seifert
t;places, which brings me consistency, >- copy / paste / activate / delete / edit /content/conf/* items very >quickly. > >*not* doing so would make me customize / develop things for the two above >features. > >Nicolas > >> On Dec 16, 2016, at 10:52 AM, Stefan Seifert &

RE: How to change run mode in Sling8

2017-01-12 Thread Stefan Seifert
you should use the sling provisioning file format together with the slingstart maven plugin [1]. these are very powerful tools and allows you to quickly build your own set of sling bundles together with your own application bundles and all required OSGi configuration and sling run modes by

RE: JS Use API usability or limitations

2017-01-11 Thread Stefan Seifert
i've not tested your example but by reading the code i would say it should work like this conceptually. i think there is no "community consensus" on using the JS use API or not. i personally would advise to not use it for non-trivial tasks, because it creates a unhealthy combination of

RE: Sling 8 Resource Versioning? Jira access?

2017-01-10 Thread Stefan Seifert
you should be able to access the JIRA link! it is a public JIRA instance, any anyone has read access to it without further authentication. stefan >-Original Message- >From: lancedolan [mailto:lance.do...@gmail.com] >Sent: Tuesday, January 10, 2017 8:42 PM >To: users@sling.apache.org

RE: [caconfig][mock] configuration resolver mock?

2016-12-01 Thread Stefan Seifert
not yet - but it's definitly planned. i think we do not need a mock of caconfig, we can just use it directly. it only needs a couple of osgi services registered in the mock context, and we can make this a bit easier. until then have a look at [1] and [2] how to do it manually. stefan [1]

RE: PAXExam vs Sling Teleporter (vs Sling Mocks)

2016-12-05 Thread Stefan Seifert
my opinion: - always use sling-mock and osgi-mock when it's sufficient for your usecases and you do not hit an area which is no supported by them (only a subset of OSGi and Sling is supported - but for "normale" AEM or sling applications most should be present). it's the fasted way for unit

RE: index.html not updated but index.html/jcr:content updated

2017-01-05 Thread Stefan Seifert
>I have logged into http://localhost:8080/bin/browser.html/index.html using >admin/admin credentials. I have changed index.html content and saved. I >have recycled Sling Lauchpad and accessed http://localhost:8080 and did not >see the change in index.html page. But I am able see the change in

RE: [caconfig][mock] configuration resolver mock?

2017-01-04 Thread Stefan Seifert
ve)? > >Nicolas > > >On Dec 10, 2016, at 9:38 AM, Stefan Seifert <sseifert@pro- >vision.de<mailto:sseif...@pro-vision.de>> wrote: > >it's easier now - the recent sling-mock releases got a plugin interface, >and there is a plugin for context-aware configuration (soo

RE: [caconfig] shouldn't multiplexers be exposed?

2017-01-06 Thread Stefan Seifert
yes, we could definitly think about this. one is already exposed as part of the management API https://github.com/apache/sling/blob/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/management/ContextPathStrategyMultiplexer.java if we you think we should expose

RE: Using OSGi Mocks with OSGi DS annotations

2016-12-23 Thread Stefan Seifert
please note you can also mix sling mocks 1.x and osgi mocks 2.x if you are using OSGi R6 in your application but still use an older sling version (e.g. AEM 6.1). this talks lists the possible version matrix combinations https://adapt.to/2016/en/schedule/unit-testing-with-sling-aem-mocks.html

RE: [caconfig] changing config path

2016-12-16 Thread Stefan Seifert
in my point of view it is wrong to store the config data in /content/conf if the only motivation to do this is the limitation of some tooling. i would recommend to keep the config root of the default strategies at /conf. what is the purpose of the "AEM content management tools" - edit the

RE: Noob questions about bundle installation.

2017-03-08 Thread Stefan Seifert
>1.) Are there cases where I would need to shut down and restart Sling in >order for an updated version of the bundle to be functional. What I'm >seeing today is that I make a few code changes, do a "mvn clean install >sling:install", observe that the bundle gets installed, but when I make use

RE: [mocks] weird RT exception with JCR_MOCK

2017-07-06 Thread Stefan Seifert
the latest versions of org.apache.sling.jcr.resource come with a direct dependency to oak, which is declared as "provided", so it's not automatically present in your unit tests. sling-mock itself references an older jcr.resource withouth this dependency, so this normally works. i assume you

RE: sling mocks "Creating resource resolver failed"

2017-04-28 Thread Stefan Seifert
can you provide more details with version of sling mock you are using? and if you are overrding some of it's dependencies (e.g. org.apache.sling.resourceresolver or org.apache.sling.jcr.resource) with other versions? you might also try to move sling-mock test dependency to the top in your

RE: sling mocks "Creating resource resolver failed"

2017-04-28 Thread Stefan Seifert
ago García Pimentel| Sr Software Engineer >Netcentric Ibérica SLU >M: +34687915463 >santiago.pimen...@netcentric.biz <mailto:santiago.pimen...@netcentric.biz> >| www.netcentric.biz <http://www.netcentric.biz/> >> On Apr 28, 2017, at 12:35 PM, Stefan Seifert <sseif..

RE: sling mocks "Creating resource resolver failed"

2017-04-28 Thread Stefan Seifert
>I tried updating the resourceresolver version to 1.5.22 but got a different >error: just hit this as well - also try osgi-mock 2.2.5-SNAPSHOT with the fix from SLING-6811 stefan

RE: i18n json resource files with Sling-Initial-Content (was: Sling pipes release)

2017-04-28 Thread Stefan Seifert
i think it is currently not possible to deploy json-file bases i18n resources with Sling-Initial-Content. as described in [1] the json file node nt:file needs an additional mixin mix:language for the language code. and this is not possible to define with or without ignoreImportProviders=json

RE: i18n json resource files with Sling-Initial-Content (was: Sling pipes release)

2017-05-03 Thread Stefan Seifert
[2] stefan [1] https://issues.apache.org/jira/browse/SLING-6825 [2] http://sling.apache.org/documentation/bundles/content-loading-jcr-contentloader.html#example-load-i18n-json-files >-Original Message- >From: Stefan Seifert [mailto:sseif...@pro-vision.de] >Sent: Friday, April

RE: [Sling Testing] Mocking a Resource Resolver w/ URL Mappings

2017-06-23 Thread Stefan Seifert
yes, you can set a different value for the resource.resolver.mapping property. when you create the SlingContext object for the junit rule using the SlingContextBuilder, you have method resourceResolverFactoryActivatorProps. pass in a hashmap for this method with property

RE: [Sling Testing] Mocking a Resource Resolver w/ URL Mappings

2017-06-27 Thread Stefan Seifert
esolver- >mock/src/main/java/org/apache/sling/testing/resourceresolver/MockResourceRe >solver.java#L118 > > >On Fri, Jun 23, 2017 at 9:41 AM, Stefan Seifert <sseif...@pro-vision.de> >wrote: > >> yes, you can set a different value for the resource.resolver.mapping >>

adaptTo() 2017 Agenda

2017-06-02 Thread Stefan Seifert
Helly everyone, we are happy to present you the official adaptTo() 2017 agenda: http://adapt.to/schedule If you were waiting for the agenda to book your ticket you might want to book it quick. There are only few left http://adapt.to/tickets #adaptTo Kind regards & have a nice Weekend on

RE: sling mocks "Creating resource resolver failed"

2017-05-02 Thread Stefan Seifert
>> >> latest SNAPSHOT seems to work fine. >> >> Greetings. >> >> Santiago García Pimentel| Sr Software Engineer >> Netcentric Ibérica SLU >> M: +34687915463 >> santiago.pimen...@netcentric.biz ><mailto:santiago.pimen...@netcentric.biz> |

Sling Content Distribution: how to use "in-file" queue provider

2017-08-30 Thread Stefan Seifert
this presentation [1] mentions that it's possible to switch the Sling Content Distribution from using a Sling Jobs-based queue to an "in-file" or "in-memory" queue which is much faster. but i've not found any hint in the documentation what steps are needed to switch to this queue. can you give

RE: Sling Content Distribution: how to use "in-file" queue provider

2017-09-11 Thread Stefan Seifert
/src/main/java/org/apache/sling/distribution/queue/impl/simple/SimpleDi >stributionQueueCheckpoint.java > >2017-08-30 12:26 GMT+02:00 Stefan Seifert <sseif...@pro-vision.de>: > >> this presentation [1] mentions that it's possible to switch the Sling >> Content Distribution

RE: File system resource provider - Performance

2017-09-29 Thread Stefan Seifert
>I think we could try using newer file features from Java 7 which might >make the scanning obsolete. But I've never looked into it. you mean with e.g. this? https://docs.oracle.com/javase/7/docs/api/java/nio/file/WatchService.html i had this on my todo list some time ago for fsresource - but

RE: File system resource provider - Performance

2017-09-29 Thread Stefan Seifert
>-Original Message- >From: Roy Teeuwen [mailto:r...@teeuwen.be] >Sent: Friday, September 29, 2017 4:01 PM >To: users@sling.apache.org >Cc: Stefan Seifert >Subject: Re: File system resource provider - Performance > >Hey Carsten, > >What about doing t

adaptTo() 2017 - slides online

2017-09-27 Thread Stefan Seifert
the slides of the adaptTo() 2017 conference in berlin are now online - 24 talks plus lightning talks, 200 participants. you find the slides and code samples here: https://adapt.to/2017/schedule and some images... (more to follow) https://adapt.to/2017/en/conference/gallery.html this year we

RE: Servlet Aware Configurations

2017-10-12 Thread Stefan Seifert
the ConfigurationBuilder.as() method should never return null. (this is also documented in the javadoc and it has a @NonNull annotation). are you sure that the "as" method returns null in your case? in the few code lines you posted i do not see an error. stefan >-Original Message-

RE: [2.x] Sling mock

2017-11-06 Thread Stefan Seifert
please try to add a special "manifest" goal to the maven-bundle-plugin in your pom as described here [1] stefan [1] http://felix.apache.org/documentation/faqs/apache-felix-bundle-plugin-faq.html#use-scr-metadata-generated-by-bnd-in-unit-tests >-Original Message- >From: nino martinez

adaptTo() 2018 - Agenda online

2018-06-06 Thread Stefan Seifert
Hi everyone, we are happy to present to you the official adaptTo() 2018 agenda: http://adapt.to/schedule If you were waiting for the agenda to book your ticket you can get it here: http://adapt.to/tickets This year we have a special for you! We are happy to offer you two free Hands-On Labs.

RE: SQL Resource Provider?

2018-05-02 Thread Stefan Seifert
hello jason. if you are using oak you might try the RDBDocumentStore [1] and RDBBlobStore [2] implementation (i've never used them myself). for using a lightweight approach accessing a RDBMS directly from a resource provider the is no support currently afaik. if you are looking for a generic

adaptTo() 2018: Tickets now available / Start Call for Papers

2018-02-01 Thread Stefan Seifert
Dear adaptTo() Community, the sale of tickets for adaptTo() 2018 is open. Get your Early-Bird-Ticket here: https://adapt.to/tickets We also started the Call for Papers today! If you would like to be a speaker, please check out https://adapt.to/cfp Focusing on Apache Sling, Apache Felix and

FW: adaptTo() 2018: Tickets now available / Start Call for Papers

2018-02-01 Thread Stefan Seifert
forgot to mention: there is a discount for apache committers (any project - sling, felix, jackrabbit) see https://adapt.to/conference for details. stefan -Original Message- From: Stefan Seifert [mailto:sseif...@pro-vision.de] Sent: Thursday, February 1, 2018 3:58 PM To: d

adaptTo() 2018 - Call for Papers extended / Early Bird Tickets

2018-03-31 Thread Stefan Seifert
we are extending our Call for Papers by another two weeks. The new deadline is April 15. So, if you would like to be a speaker, please visit https://adapt.to/cfp - and/or if you know any other potential speakers, please send them our way! I would also like to use this opportunity to remind you

RE: [caconfig] using caconfig spi for cq content policy fallbacks

2018-10-16 Thread Stefan Seifert
>Points to consider (mostly AEM specific): >- CACs can be problematic with MSM >- CACs can be problematic with replication >- CACs can be problematic with translations (if CAC contents need to >be translated) >- CACs are unintuitive for content-editors if these problem are still unsolved it may

RE: [caconfig] using caconfig spi for cq content policy fallbacks

2018-10-16 Thread Stefan Seifert
hello nicolas. last time i looked the implementation of template editor/content policies does not seem to fully use the caconfig api and concepts for its functionality. it also stores it's configuration in /conf in a caconfig-like structure, but does not fully work this way (esp. concerning

adaptTo() 2018 - Videos and Gallery online

2018-10-02 Thread Stefan Seifert
The video recordings for all talks are now online: https://adapt.to/2018/schedule Visit our Youtube channel: https://www.youtube.com/c/adaptTo For further impressions check out our image gallery: https://adapt.to/2018/en/conference/gallery.html See you next year! Stefan

RE: Mock Osgi Services via Sling Mocks

2018-09-03 Thread Stefan Seifert
hello dominik. do you have a small example project to show the problem? from what you describe this should be no problem with osgi mocks/sling mocks - but i do not get the exact problem you encounter. if you want to mock an OSGi services it's easiest to use somehing like mockito and register

adaptTo() 2019 - Save the Date

2018-12-10 Thread Stefan Seifert
Dear adaptTo() Community, 2018 will soon be over and we would like to take this opportunity to share with you some details about the next adaptTo() conference: Event Date: 2nd - 4th September 2019 Location: KOSMOS, Berlin Tickets available from: 1st February 2019 Call for papers: February to

adaptTo() 2018 - slides online

2018-09-12 Thread Stefan Seifert
the slides of the adaptTo() 2018 conference in berlin are now online - 27 talks plus lightning talks, 260 participants. you find the slides and code samples here: https://adapt.to/2018/schedule the talk videos and images are expected in 2-3 weeks - we will announce them when available. stefan

RE: [Discussion] | should buffer output in memory

2018-09-13 Thread Stefan Seifert
hello jörg. we had a short discussion about this on our sling hackathon today: 1. check the configured response buffer size of the jetty engine that is currently configured for your instance. if the response you expected is smaller than the buffer size (in recent version this is 24KB i think),

RE: [Discussion] | should buffer output in memory

2018-09-13 Thread Stefan Seifert
>> 3. additionally make sure the JSP files of your application or that are >> used from the platform do not contain calls to response.flush()! >> >> >Yes, that's something we can validate and figure out, but I've seen this in >too many cases, and not always a flush() was repsonsible. Also it's

adaptTo() 2019 - Call for Papers extended / Early Bird Tickets

2019-03-29 Thread Stefan Seifert
Dear adaptTo() Community, We are extending our Call for Papers by another two weeks. The new deadline is April 15. So, if you would like to be a speaker, please visit https://adapt.to/cfp - and/or if you know any other potential speakers, please send them our way! I would also like to use

adaptTo() 2019: Tickets now available / Start call for papers

2019-01-31 Thread Stefan Seifert
Dear adaptTo() Community, the sale of tickets for adaptTo() 2019 is open. This year's conference date is 2nd - 4th September; and we'll be back in downtown Berlin at the legendary venue, the Kosmos! https://eng.kosmos-berlin.de/ Get your Early-Bird-Ticket here: https://adapt.to/tickets We

adaptTo() 2019 - Agenda online

2019-06-07 Thread Stefan Seifert
Hi everyone, we are happy to present to you the official adaptTo() 2019 agenda: https://adapt.to/schedule If you were waiting for the agenda to book your ticket you can get it here: https://adapt.to/tickets We are looking forward to welcome you at KOSMOS Berlin, our great location for this

adaptTo() 2019 - Ticket sale ends soon

2019-08-12 Thread Stefan Seifert
Hi everyone, We are so excited to welcome some of the best Apache Sling experts and AEM developers around at adaptTo() 2019. And we can't wait to welcome attendees from all over Europe at our unique conference on September 2nd to 4th in KOSMOS, Berlin. Those of you who don't have their

adaptTo() 2019 - slides online

2019-09-04 Thread Stefan Seifert
the slides of the adaptTo() 2019 conference in berlin are online - 25 talks plus lightning talks. you find the slides and code samples here: https://adapt.to/2019/schedule the talk videos and images are expected in 2-3 weeks - we will announce them when available. stefan

adaptTo() 2019 - Videos and Gallery online

2019-09-23 Thread Stefan Seifert
The video recordings for all talks are now online: https://adapt.to/2019/schedule Visit our YouTube channel: https://www.youtube.com/c/adaptTo For further impressions check out our image gallery: https://adapt.to/2019/gallery See you next year! Stefan

adaptTo() Developer Conference: 10th Anniversary 2020 in Berlin

2019-12-16 Thread Stefan Seifert
Dear adaptTo() Community, adaptTo() is Europe's leading AEM and Apache Sling developer conference in Berlin. 2020 will be the 10th anniversary of adaptTo(). Many great lectures about Adobe Experience Manager (AEM), Apache Sling, Apache Felix and Apache Jackrabbit Oak. First ten (10) "trust

RE: Mock resource resolver factory for use in OSGi?

2020-03-05 Thread Stefan Seifert
>I think we can improve the situation though. How about making >org.apache.sling.testing.resourceresolver-mock a bundle? >This way I could register the mock resolver factory as a service. i think this would be no problem - the sling-mock bundle itself is already a bundle (although only to

adaptTo() 2020: Tickets now available / Call for Papers open

2020-01-31 Thread Stefan Seifert
Dear adaptTo() Community, The new year has just begun and we are already coming up with some exciting news about the upcoming adaptTo() 2020 (28th - 30th September 2020). There is for example our new slogan. In the future, we will advertise our event with confidence and not without a certain

RE: Sling XML Namespace

2020-02-14 Thread Stefan Seifert
an XML schema is useful to drive a certain XML content structure with XML Element names that have a hierarchy and a certain set of properties. this is usually not the case for filevault XML content where the element names are mostly completely arbitrary (derived from the content structure in

RE: MockResourceResolver does not support queries

2020-03-05 Thread Stefan Seifert
if you want to test queries with a real query processor and an oak repository underneath you can use sling mocks [1] with resource resolver type [2] set to JCR_OAK. alternatively you can use sling mocks with one of the "cheaper" resource resolver types RESOURCERESOLVER_MOCK, JCR_MOCK and use

adaptTo() 2020 - Call for Papers extended / Early Bird Tickets

2020-04-02 Thread Stefan Seifert
Dear adaptTo() Community, We are extending our Call for Papers by another four weeks. The new deadline is April 29. So, if you would like to be a speaker, please visit https://adapt.to/cfp - and/or if you know any other potential speakers, please send them our way! I would also like to use

RE: [caconfig] best way to have an ordered list of CA configurations

2020-08-31 Thread Stefan Seifert
hello nicolas. both configuration collection entries as well es nested configuration items should always return in the order they where entered/are stored in the repository. this is a sample application we always keep up to date and contains most special usages and edge cases [1]. stefan

adaptTo() 2020 - Agenda and speakers

2020-07-06 Thread Stefan Seifert
Hi everyone, we are happy to present to you the official adaptTo() 2020 agenda, packed with more talks than ever: https://adapt.to/schedule This year's speakers are leading developers and architects in their field: https://adapt.to/speaker Early bird tickets are still available! Grab your

adaptTo() 2020 Conference goes virtual!

2020-06-25 Thread Stefan Seifert
Dear adaptTo() Community, This year's adaptTo() conference in September 2020 will be a *virtual online conference*, and it will be much more than just streaming videos. Look forward for over 35 talks, workshops, panel discussions, social interaction and networking sessions. The agenda will be

RE: [mock] best way to mock http(s) endpoint

2020-12-01 Thread Stefan Seifert
maybe wiremock? it does real HTTP communication but neatly integrated in junit (i've not tried to use it with JUnit 5). https://github.com/tomakehurst/wiremock stefan >-Original Message- >From: Nicolas Peltier >Sent: Tuesday, December 1, 2020 9:53 AM >To: users@sling.apache.org

adaptTo() Developer Conference 2021

2020-12-17 Thread Stefan Seifert
Dear adaptTo() Community, adaptTo() is Europe's leading AEM developer conference. Many great lectures about Adobe Experience Manager (AEM), Apache Sling, Apache Felix, and Apache Jackrabbit Oak. In 2021 we plan a hybrid setup with a digital platform combined with an in-person meeting in

adaptTo() 2021 - Agenda and Speakers

2021-07-05 Thread Stefan Seifert
Hi everyone, we are happy to present you the official adaptTo() 2021 agenda for our virtual online conference: https://adapt.to/schedule This year's speakers are leading developers and architects in their field: https://adapt.to/speaker Don't have a ticket yet? Here we go - we have also

adaptTo() 2021 - Call for Papers extended / Early Bird Tickets

2021-04-06 Thread Stefan Seifert
Dear adaptTo() Community, We are extending our Call for Papers by another three weeks. The new deadline is April 23rd. So, if you would like to be a speaker, please visit https://adapt.to/cfp - and/or if you know any other potential speakers, please send them our way! I would also like to use

adaptTo() 2021: Tickets now available / Call for Papers open

2021-02-06 Thread Stefan Seifert
| Europe's leading AEM developer conference | 27th - 29th September 2021 Dear adaptTo() Community, This year, adaptTo() 2021 is planned as a hybrid approach with a combination of on-site presence and virtual attendees. However, it's currently unclear if the worldwide pandemic situation will

adaptTo() 2021 - Only 3 weeks left: get your ticket!

2021-09-06 Thread Stefan Seifert
Hello everyone, We're excited to see some of the best Adobe experts and AEM developers and the best attendees at adaptTo() 2021. We expect you from 27.-29. Sept. to Europe's leading AEM developer conference. Top-class speakers and the most exciting topics are guaranteed. If you don't have a

  1   2   >