[
https://issues.apache.org/jira/browse/SLING-6078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15535725#comment-15535725
]
Bertrand Delacretaz commented on SLING-6078:
--------------------------------------------
FWIW my initial idea was to allow using pipes from Java or scripting languages,
something like
{code}
var pipesContext = sling.getService("SlingPipesFacade").newContext();
pipesContext
.pipe("slingPipes/xpath”).with(“expr”, "/jcr:root/home/users//…”).run()
.pipe(“slingPipes/parent”).run()
.pipe(“slingPipes/rm”).run()
{code}
I see that the code needs {{Resource}} in many places though, so that might not
work exactly as above, but that's the general idea.
> add a fluent api to generate a sling pipe
> -----------------------------------------
>
> Key: SLING-6078
> URL: https://issues.apache.org/jira/browse/SLING-6078
> Project: Sling
> Issue Type: Improvement
> Components: Extensions
> Reporter: Nicolas Peltier
>
> it would be cool that plumber or sthing like PipeBuilder allows to generate a
> pipe, writing the serialization of it, with simple API
> (thx [~bdelacretaz] for the idea!)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)