bservation.
Thanks Dirk!
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
t's related to SLING-9040, but because
an older version is affected as well, it's seems to have a different root
cause.
Did someone come across this already?
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
tics for reasonable
defaults.
Can you share your complete project code?
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
ingFutil) is
> unknown.
> I also tried
>
> sling.getService(rome.testly.testly1.SlingFutil.class);
>
> instead, but the result is the same.
>
> This used to work well at BND times of Sling, so I don't know what's
> wrong with this R7 code.
>
> Thanks,
> Juerg
>
>
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
hardcoding them in a bundle).
As much as I like your approach, I see the problem that the maven
dependencies and the IT dependencies are maintained twice and also at
different locations.
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
n
tests with Sling much easier.
WDYT?
Jörg
[1]
https://github.com/apache/sling-org-apache-sling-event/blob/master/src/test/java/org/apache/sling/event/it/AbstractJobHandlingTest.java
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
but that could be
implemented as default method, so it's signature would not change.
While I can do that in my code as well, it would be good to have it in the
Adaptable interface as well; it can encourage others to use Optional
instead of explicit Null Checks; and the Null checks are of
t usecase is to build an exectuable I can use for integration
testing, as in the case of repoinit. The docs [3] are not so much of a help
here.
>
> > [3] https://sling.apache.org/documentation/development/slingstart.html
>
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
/sling-org-apache-sling-jcr-repoinit/blob/master/src/test/provisioning/it-model.txt
[2]
https://github.com/apache/sling-org-apache-sling-jcr-repoinit/blob/master/pom.xml#L111
[3] https://sling.apache.org/documentation/development/slingstart.html
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
ry with a filter and some mock response object wrapping the
original one.
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
e 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 some
very hard to validate all scripts and occassions (especially if they are
for.
>
This might be a workaround, but I don't the markup rendered by the include
as variable around; also this would require us to change all occurrences of
the include, which is something I would like to avoid (also hard to
automate). I would rather change the default :-)
Jörg
--
Ch
the output is unlikely to grow into the
megabytes.
WDYT? Should this part of sling, or should be rather create a custom tag
library with our own version of the non-streaming "include" tag?
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
nd to that ResourceResolver's life-cycle).
>
>
I guess that's the best way to handle this. I will recommend it.
Thanks!
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
cks, so the resource resolvers are
not tied to a single livecycle? Also just adding some refresh() statements
to the type resolver seems not good, because then the type resolver might
see a different state of the repo than the other ("main") session.
Jörg
--
Cheers,
Jörg Hoh,
http:
the developer
> should be aware of it.
>
> Andres
>
>
> El 2018-02-06 14:09, Bertrand Delacretaz escribió:
>
> On Tue, Feb 6, 2018 at 1:02 PM, Jörg Hoh <jhoh...@googlemail.com> wrote:
>
> ...Long story short: Is the loginAdministrative() method planned to be
> removed
; the RR in my custom PostProcessor and what is the best practice?
>
>
> [0]
> https://sling.apache.org/apidocs/sling7/org/apache/sling/servlets/post/
> SlingPostProcessor.html
>
> Thanks,
> Sabya
>
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
to make the bootdelegation taking effect immediately or do I
really need to restart the instance first?
thanks,
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
My bad:
CAP = consistency, availability and partition-tolerance.
Jörg
2017-01-17 19:35 GMT+01:00 Jörg Hoh <jhoh...@googlemail.com>:
> HI Lance,
>
> 2017-01-17 19:19 GMT+01:00 lancedolan <lance.do...@gmail.com>:
>
>> ...
>>
>> If "being eventual
he write skew, the recommendation is to use
sticky-sessions.
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
es do have a timestamp component.
>
> John
>
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
ervlet annotation it works:
> > >
> > > *@SlingServlet(paths={"/system/mypath1", "/system/mypath2"},
> > > methods={"GET"})*
> > >
> > > Am I missing some configuration?
> > >
> > > Does someone have an example of
. As a workaround we increased the JCR observation size (in Oak as
well as in the OakResourceListener), but I would like to know what exactly
is causing this behaviour at all.
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
odebase, which I normally use to run unittests.
Jörg
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
Hi,
I want to write a warmup feature for my application, which should run
requests using SlingRequestProcessor against the instance.
I am looking now at slim implementations of HttpServletRequest and
HttpServletResponse, which I can provide as parameters to
These mock
classes are useful beyond mocking requests and responses for unittests.
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
in
Sling or with the new Jetty servlet engine.
Any help would be appreciated.
-Jason
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
...@apache.org:
Hi,
neither admin nor service RRs are put in the stack, only user RRs.
If you want to update the javadocs, please provide a patch
Thanks
Carsten
Am 05.06.15 um 09:41 schrieb Jörg Hoh:
Hi,
When I just reviewed the latest changes in the API package, I came across
SLING-3868
be rather high.
WDYT?
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
Twitter: @joerghoh
Hi Peter,
2015-04-13 22:39 GMT+02:00 Peter Puzanovs peter.puzan...@akqa.com:
pretty new to Sling :)
Would love to use or implement an instrumentation tool that would track
every resource's (ValueMap's) access to the database.
So, my first question, Whether there is such a tool already ?
?
--
Cheers,
Jörg Hoh,
http://cqdump.wordpress.com
31 matches
Mail list logo