To configure GRAVITY so it can be invoked by external software as a Webservice, you must select the Triggers option from the main menu.
Select New… to add a new configuration for automatically starting a GRAVITY application.
After selecting New…, choose the type of automatic invocation from the dropdown. To run the GRAVITY application as a Webservice function, choose Webservice.
In Properties, select the GRAVITY application (project) to be associated with this configured invocation from now on.
To finish the configuration, enter a unique name in the Alias field (required to create the service access endpoint) and enable Check authentication.
If the project uses parameters, they appear in the Parameters panel as a list in the name–value format. You can set a default parameter value for the trigger by clicking the value field.
If the trigger does not receive a value for this parameter from the invocation (e.g., REST API, database, RabbitMQ), the default value will be used and passed to the project.