Template Endpoint

The DefaultRestClient includes a DefaultRestTemplateEndpoint with the following functionalities.


WIP Ensure existence of a template

Uploading necessary operational templates is vital for many other client functions.

The ensureExistence(String templateId) method combines a check and the upload, if the template is not already available on the server.

The following example utilizes a TemplateProvider (see Client reference) to go through all templates of the client’s scope and ensure their existence:

        t -> client.templateEndpoint().ensureExistence(t)