09-23-2019 09:09 AM
Dear alfresco communuty:
Does Alfresco have a full featured "Changes API?" I need something that can give me a list of all Added, Updated or Deleted documents since a given time. And it needs to also return documents where only permissions or metadata were changed, not just when the content was changed.
Does Alfresco have such an API?
09-23-2019 02:07 PM
This is how SOLR tracking works as well as other solutions that use polling, such as Apache ManifoldCF.
You might want to take a look at the SOLR web scripts and dig into their source to see how they work:
http://localhost:8080/alfresco/s/index/family/SOLR
If those don't meet your needs you could see if the CMIS getChanges API will work for you:
Finally, if neither of those do what you want, consider using an event-based approach and react to events when nodes are updated instead of polling for changes:
https://www.slideshare.net/jpotts/moving-from-actions-behaviors-to-microservices
https://github.com/jpotts/alfresco-kafka
Hope those help,
09-23-2019 02:07 PM
This is how SOLR tracking works as well as other solutions that use polling, such as Apache ManifoldCF.
You might want to take a look at the SOLR web scripts and dig into their source to see how they work:
http://localhost:8080/alfresco/s/index/family/SOLR
If those don't meet your needs you could see if the CMIS getChanges API will work for you:
Finally, if neither of those do what you want, consider using an event-based approach and react to events when nodes are updated instead of polling for changes:
https://www.slideshare.net/jpotts/moving-from-actions-behaviors-to-microservices
https://github.com/jpotts/alfresco-kafka
Hope those help,
Explore our Alfresco products with the links below. Use labels to filter content by product module.