Automation support for all standard HTTP methods.
Build with maven (at least 3.3)
mvn clean install
Package built here:
nuxeo-rest-automation-package/target
Install with
nuxeoctl mp-install <package>
The method takes a document, blob, or no input. The input blob is used as the body of the request. The content type will be automatically set from the blob, if available.
method
- The HTTP Method to useurl
- The URL to invokeheaderMap
- The headers as a property mapheaders
- The headers as a JSON stringparamMap
- The parameters as a property mapparams
- The parameters as a JSON stringbody
- The body as a stringcontentType
- the content MIME typeaccept
- the accept MIME typedownload
- true or false, create a blob from the response
Optionally set system-wide properties for the Jersey REST client.
<extension point="client" target="org.nuxeo.ecm.automation.http.HTTPClientService">
<client>
<property key="com.sun.jersey.client.property.followRedirects">true</property>
<property key="com.sun.jersey.client.property.bufferResponseEntityOnException">false</property>
<feature key="com.sun.jersey.config.feature.Formatted">false</feature>
<feature key="com.sun.jersey.config.feature.DisableXmlSecurity">false</feature>
</client>
</extension>
These features are sand-boxed and not yet part of the Nuxeo Production platform.
These solutions are provided for inspiration and we encourage customers to use them as code samples and learning resources.
This is a moving project (no API maintenance, no deprecation process, etc.) If any of these solutions are found to be useful for the Nuxeo Platform in general, they will be integrated directly into platform, not maintained here.
Nuxeo dramatically improves how content-based applications are built, managed and deployed, making customers more agile, innovative and successful. Nuxeo provides a next generation, enterprise ready platform for building traditional and cutting-edge content oriented applications. Combining a powerful application development environment with SaaS-based tools and a modular architecture, the Nuxeo Platform and Products provide clear business value to some of the most recognizable brands including Verizon, Electronic Arts, Sharp, FICO, the U.S. Navy, and Boeing. Nuxeo is headquartered in New York and Paris.
More information is available at www.nuxeo.com.