This project contains Apache Sling Pipes configurations for Adobe Experience Manager. These configurations could potentially be useful for an AEM project. Hopefully they'll at least be helpful examples of what can be accomplished with Sling Pipes.
Delete all macOS/OS X .DS_Store
and ._.DS_Store
files from the /content
folder which may have been added through WebDAV or another process:
Currently works on AEM 6.3 but not AEM 6.2
curl -u admin:admin -X POST http://localhost:4502/etc/pipes/content/deleteDsStore.json
Get a list of Pages from /content
that are missing the jcr:content
child resource:
curl -u admin:admin -F size=-1 http://localhost:4502/etc/pipes/content/getPagesWithoutPageContent.json
Delete completed workflows older than a provided date:
curl -u admin:admin -F "bindings={date:'2016-07-04'}" http://localhost:4502/etc/pipes/workflow/instances/deleteOlderThan.json
curl -u admin:admin -X POST http://localhost:4502/etc/pipes/workflow/launchers/toggleOff.json
curl -u admin:admin -X POST http://localhost:4502/etc/pipes/workflow/lauchers/toggleOn.json
Currently works on AEM 6.2 but not AEM 6.3
curl -u admin:admin -X POST http://localhost:4502/etc/pipes/replication/agents/toggleOff.json
Currently works on AEM 6.2 but not AEM 6.3
curl -u admin:admin -X POST http://localhost:4502/etc/pipes/replication/agents/toggleOn.json
Download Sling Pipes: org.apache.sling.pipes-0.0.10.jar.
Download Sling Query: org.apache.sling.query-3.0.0.jar.
Install the downloaded JAR files into your running AEM instance: http://localhost:4502/system/console/bundles.
To build all the modules run in the project root directory the following command with Maven 3:
mvn clean install
If you have a running AEM instance you can build and package the whole project and deploy into AEM with
mvn clean install -PautoInstallPackage
Or to deploy it to a publish instance, run
mvn clean install -PautoInstallPackagePublish
Or alternatively
mvn clean install -PautoInstallPackage -Daem.port=4503
The project comes with the auto-public repository configured. To setup the repository in your Maven settings, refer to:
http://helpx.adobe.com/experience-manager/kb/SetUpTheAdobeMavenRepository.html