Cloverleaf API
Applications can access (R/W) Cloverleaf configurations using the Cloverleaf RESTful API interface. This API is a web application deployed in the embedded Apache Tomcat within the Cloverleaf host server.
To enable the Cloverleaf RESTful API, the host server must be running in security mode.
The user interface is a RESTful web service exposed in JSON format. This service is exposed using the existing host server port.
Detailed configuration of the embedded Tomcat service is provided through the Tomcat configuration file.
There is no effect on engine performance at runtime; however, users might require additional disk storage for Cloverleaf history artifacts.
The server stores all of the copies of artifacts created by these processes and maintains revision controls to ensure that no Cloverleaf objects are overwritten. The API provides support for objects under Cloverleaf version control.
The password in the request URL for lookup table and global variable should be base64encoded. The user name and password for Authorization should be in the format "username:password," and the whole content should be base64encoded.