acs-aem-samples icon indicating copy to clipboard operation
acs-aem-samples copied to clipboard

ContentBuilder for Replication Serializer

Open dlh3 opened this issue 9 years ago • 4 comments

I nominate Matthias Wermund's (Acquity Group part of Accenture) ContentBuilder implementation to be included as a sample Replication Serializer: https://github.com/mwmd/circuit14-aem-replication/tree/master/bundle/src/main/java/com/wmd/serialization/impl

Related SlideShare deck with other potential samples: http://www.slideshare.net/mwmd/adobe-experience-manager-replication-deep-dive

dlh3 avatar May 10 '16 22:05 dlh3

@dlh3 any reason why the Builder couldnt use https://sling.apache.org/apidocs/sling6/org/apache/sling/commons/json/jcr/JsonItemWriter.html ? seems more straight forward that making fake request/response objs?

That being said, having a suite of commonly used replication extensions would be nice.

davidjgonzalez avatar May 12 '16 13:05 davidjgonzalez

No reason that I'm aware of. Perhaps @mwmd could comment, as it was his code, not mine.

dlh3 avatar May 12 '16 14:05 dlh3

@dlh3 I think if we pull this we should update the code to use the Json writer API which makes its reasonably different from the current Impl. May be easier to just write from scratch?

davidjgonzalez avatar May 14 '16 00:05 davidjgonzalez

Reimplemented with the JSON Writer API and created PR #45.

dlh3 avatar May 16 '16 19:05 dlh3