Skip to content
AEM Communities
Branch: master
Clone or download
neerava Merge pull request #2 from Vinod-holani/master
CQ-4232394 : SRP clean up not working for ASRP setup
Latest commit ece071d Jan 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bundles/cq-social-cleanup-srp CQ-4232394 : Making string as final static literal Jan 16, 2018
content SRP cleanup tool Sep 29, 2015
.gitignore
README.md Update README.md Sep 29, 2015
pom.xml SRP cleanup tool Sep 29, 2015

README.md

communities-srp-tools

SocialResourceProvider Tools

A home for tools for managing data in SRP. Each tool will be in its own bundle so they can be installed individually. If all tools are wanted, the package can be used.

Currently, this only contains a servlet that lets customers delete all UGC from any SRP

For example "curl -X POST http://localhost:4502/services/social/srp/cleanup?path=/content/usergenerated/asi/cloud -uadmin:admin" will delete everything under /content/usergenerated/asi/cloud. By default, things will be deleted in batches of approximately 100 items (it may not be exactly 100 because it tries to be intelligent about deleting subtrees.) This can be modified with the optional batchSize parameter (eg, batchSize=200 will do batches of 200). The tool will only delete data from the currently configured SRP, and the user passed in must have the right to read and delete the data.

You can’t perform that action at this time.