ckage that it's between the
> exported packages, but that doesn't mean anything anymore if its not in the
> global api region)
>
> Will think about how it should look like if I find the time
>
> On Mon, Aug 23, 2021 at 2:02 PM Daniel Klco wrote:
>
> > There's a reason for tha
ns.properties=.../regions.properties
>>
>> These files are the definition of the API Regions behaviour, so you can
>> use them to generate a report, or look at them to see how the service is
>> configured.
>>
>> Kind regards,
>>
>> David
>>
&g
All,
Is there a way to see a report on the API regions for an instance as a
consumer / extender of Sling?
It seems like all of the information you'd need is in the API Regions
Runtime RegionConfiguration[1] class, but that's not in an exposed package.
The case I'm thinking of is if you are a
Juerg,
The JSP .java files are now saved in the Apache Sling Commons FileSystem
ClassLoader bundle's data directory. You can find them with the Apache
Sling FileSystem Web Console:
http://localhost:8080/system/console/fsclassloader
or at OSGi Console > Sling > File System Class Loader
Regards,
We’re excited to announce ReSolve 2021 - a showcase of projects and
solutions built with Apache Sling. .The purpose of ReSolve is to bring
together developers, engineers, architects, innovators, designers, and
adopters of Apache Sling based products and solutions.
ReSolve Conference is taking
excuse me ... but ...
>
> https://github.com/klcodanr/danklco.com-site-cna/blob/cloud-native-sling/feature/src/main/features/site.json
> link is broken :-(
>
> Il 12/26/20 5:19 PM, Daniel Klco ha scritto:
> > Hey Nicola,
> >
> > The Apache Sling Commons Messaging Mail bundle uses
Hey Nicola,
The Apache Sling Commons Messaging Mail bundle uses Commons Crypto to
encrypt the password for the SMTP server. You'll need to provide the
configuration for Commons Crypto including:
-
org.apache.sling.commons.crypto.jasypt.internal.JasyptRandomIvGeneratorRegistrar
-
ct you mention - is sticky load
> balancing a requirement for that to work? We are facing that exact issue
> with our project's setup.
>
> Thanks,
> Ben
>
> On Fri, Nov 13, 2020 at 8:24 AM Daniel Klco wrote:
>
> > Answers inline below.
> >
> > On Thu, Nov 1
Answers inline below.
On Thu, Nov 12, 2020 at 11:22 AM Nicola Cisternino wrote:
>
> Hi all
> We are newbies and come from world of web containers (which manage the
> http session state) so, my question is:
> in Sling what is the best (and standard) way to:
> 1) login via WS (Servlet) called by a
Thanks for clarifying the use case. Sling CMS uses the Sling i18n library
as Robert provided.
The Sling GET servlet which is serving the JSON response is simply reading
the resource value, it will not invoke i18n.
To get your message localized, you would need to either write a script and
use the
Sounds like a use case for Sling Models Exporter:
https://sling.apache.org/documentation/bundles/models.html#exporter-framework-since-130-1
https://blogs.perficient.com/2018/07/26/no-servlets-required-exporting-data-with-sling-models/
The only caveat is that it's designed for named parameters,
system", it makes no difference if a set
> the filter switch to on or off.
>
> Any thoughts?
>
>
> On 28.04.20 14:20, Daniel Klco wrote:
> > Juerg,
> >
> > Try changing the filter (the second icon to the right on below the tree)
> to
> > "unfiltere
ed in as admin).
> Any filtering/setting in the browser to make it visible?
>
> -Juerg
>
> On 26.04.20 18:31, Daniel Klco wrote:
> > Juerg,
> >
> > In Sling 11, there's a status console in the OSGi Console which shows the
> > JCR namespaces:
> > http://localh
Juerg,
In Sling 11, there's a status console in the OSGi Console which shows the
JCR namespaces:
http://localhost:8080/system/console/status-JCR%20Namespaces
And you can see the node types via the Composum Node Browser:
http://localhost:8080/bin/browser.html/_jcr_system/jcr%3AnodeTypes
On
Chris,
I agree, I'd be 100% on board with a Slack channel for Sling. A couple
thoughts:
- There is already a slack org for the ASF: the-asf.slack.com we could use
rather than setting up another slack org
- We probably should call a formal vote rather than asking for replies in
this thread
+1
On Tue, Apr 14, 2020, 2:43 PM Daniel Klco wrote:
> Hi,
>
> We solved 3 issues in this release:
> https://issues.apache.org/jira/projects/SLING/versions/12347829
>
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachesling-2239/
>
> Y
I'm looking into executing a Repoinit script from the classpath of a bundle
upon installation using the references property, but can't work out the
correct format.
According to the docs:
https://sling.apache.org/documentation/bundles/repository-initialization.html
It looks like I should be able
Hey Chris,
This looks like a really good start! A couple of thoughts:
- It looks like a lot of exceptions are re-thrown as Runtime exceptions
which IMO tends to obscure expected exception handling, it looks like this
is WIP, but wanted to call it out
- You may want to look at the
oject should probably
> build a test jar itself.
>
> John Kramer
> Java Software Engineer
> E-Commerce Web Team
> e: john.kra...@panerabread.com <mailto:john.kra...@panera.com>
> m: 314-435-2370
>
> On 1/22/20, 13:02, "Daniel Klco" wrote:
>
> Warnin
Assuming you are using Sling Mocks, you can load the file in as a resource
into the Sling Context, see:
https://github.com/apache/sling-org-apache-sling-app-cms/blob/master/transformer/src/test/java/org/apache/sling/cms/transformer/helpers/SlingCMSContextHelper.java
Jason,
Rather than putting the headers in Sling, I'd recommend supplying the CSP
in your caching (httpd etc) layer. Something like this:
Header set X-Frame-Options "ALLOW-FROM https://launch.adobe.com;
Header set X-XSS-Protection "1; mode=block"
Header set X-Content-Type-Options
I have a bit, honestly I'd just run it in the cloud.
I'm using a reserved t3a.micro instance for my personal website. I would
say you need at least 1 vCPU and 1GB of memory to keep it up and stable any
less than that and you have to do swapping and that's bad. With a
1-year reservation it's
different or should be incorporated into the consolidated
archetype.
On Thu, Oct 3, 2019 at 4:50 PM Daniel Klco wrote:
> Thanks Chris for bringing this back up. I'd meant to implement such an
> archetype earlier and unfortunately I got distracted. More or less, the
> sling-bundle-
Thanks Chris for bringing this back up. I'd meant to implement such an
archetype earlier and unfortunately I got distracted. More or less, the
sling-bundle-archetype or the sling-initial-content-archetype would be good
starting points, but neither are quite tailored to use with Sling CMS.
I'll
For the Sling CMS reference, I was able to set the jcr:root with
Sling-Initial-Content in an OSGi bundle:
https://github.com/apache/sling-org-apache-sling-app-cms/blob/master/ui/pom.xml
https://github.com/apache/sling-org-apache-sling-app-cms/blob/master/ui/src/main/resources/jcr_root/ROOT.json
For the reference CMS app I put together a vagrant script with Apache httpd
proxying and caching content from Apache Sling using mod_proxy and
mod_cache. You can find it here:
https://github.com/apache/sling-org-apache-sling-app-cms/tree/master/vagrant
On Sat, Sep 22, 2018, 3:51 PM Eric Norman
The Flexmark OSGi Bundle has now been released:
https://search.maven.org/search?q=a:flexmark-osgi
On Sat, Aug 25, 2018 at 8:26 AM Daniel Klco wrote:
> I just provided a PR against Flexmark to add OSGi support. Assuming that
> gets merged and released, adding markdown support to
-java/pull/261
On Mon, Aug 13, 2018 at 11:07 AM Robert Munteanu wrote:
> Hi Dan,
>
> On Thu, 2018-08-09 at 14:06 -0400, Daniel Klco wrote:
> > Unfortunately, I'm not going to be at adapt.to :-( wrong side of the
> > pond.
> >
> > So for commonmark, I'm assuming
https://issues.apache.org/jira/browse/SLING-7819
>
> Do you want to create a PR for integrating this? How can I help?
>
> Thanks,
> Dan
>
> On Wed, Jun 20, 2018 at 10:16 PM Daniel Klco wrote:
>
>>
>>
>> On Sun, Jun 17, 2018, 9:26 PM Eugen Stan wrote:
>&g
to create a PR for integrating this? How can I help?
Thanks,
Dan
On Wed, Jun 20, 2018 at 10:16 PM Daniel Klco wrote:
>
>
> On Sun, Jun 17, 2018, 9:26 PM Eugen Stan wrote:
>
>> Hello Daniel and all,
>>
>> I've been working to deliver a piece of functionality that lever
On Sun, Jun 17, 2018, 9:26 PM Eugen Stan wrote:
> Hello Daniel and all,
>
> I've been working to deliver a piece of functionality that leverages
> Markdown support and I think it can be a great addition for managing
> content inside a Sling, more specifically Sling CMS.
>
> My work is by no
I've been down the path BTW Jason, fun may not be the best description ;-)
Granted this was about 4 years ago now so who knows what has changed. The
biggest problem I had, by far, was that the proprietary API I needed to use
was based on the assumption that it was dealing with JCR backed
On a similar vein, another fun one we did a while back was to vlt co into a
git repo and then blanket add and commit any changes on the hour. That way
we had a snapshot of exactly what was going on in the repository and the
ability to snapshot back any portion of the tree at any time (at a
I've used VLT for this as well. It's nice as you can target the path to
update but it is clunky. From a speed perspective, you could also use an S3
bucket to transfer the content if you are using AWS so each script only
cares about its local environment and you don't need to allow direct access
Hey Andreas,
Have you checked the log files? The Sling Content Importer will log any
errors encountered in installing content when the bundle is installed. In
general, that concept should be fine, but it would depend on the exact
structure.
There are a couple of Sling-based apps out there which
Yep, this is supported via the Sling Content Importer:
https://sling.apache.org/documentation/bundles/content-loading-jcr-contentloader.html
As a note, you can do this via bundles or it is also supported via the
import operation in the Sling Post Servlet:
Agreed, it'd be nice to have, but request parameters cannot be included in
the default injectors list for the reason 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
Roy,
You can pretty safely upgrade the version of Sling Taglibs without
upgrading the overall application version. If you include the newer version
of the bundle into your build package in a folder like
/apps/[app-name]/install, Sling will pick up the more recent version of the
bundle and install
38 matches
Mail list logo