Automation chains - Calls to an external REST service

I am thinking to develop a custom @Operation that will execute calls to external REST services.

I do not want to add dependencies if not necessary and before starting to use one of the many java implementations available (to implement a REST client), I would like to know if there is a library that Nuxeo itself already uses. I know that CXF is used in Nuxeo but I do not think that the library for REST clients is already included.

0 votes

1 answers



Please don't post both here and on stackoverflow. Note that this forum is preferred for Nuxeo questions.

Nuxeo already uses Apache Commons HttpClient 3.1, Apache HttpComponents 4.3.3 and Jersey 1.17, any of which can be used to make REST client calls. There are probably others you can use, just look at the dependencies in the master POM to see if your favorite library is here.

2 votes