Fork me on GitHub

Template helloworld@0.1.0

This is the Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request.

Download Archive

Hello World

This is the Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string Hello prepended to text that is passed in the request.

Sample

Name of the person to greet: "Fred Blogs".
Thank you!
                

Model Dependencies

Technical Integration

Please refer to the Cicero documentation for details and examples of how to integrate a call to a Cicero template into your application.

View the Latest code for this template on on GitHub.

Sample Instance

{
    "$class": "org.accordproject.helloworld.HelloWorldClause",
    "name": "Ullamco eu elit aliqua ut.",
    "clauseId": "f3f3f860-6de9-11e8-a111-7f3aa50554dd"
}

State

{
    "state": "tbd"
}

Request Types

Type Sample JSON
org.accordproject.helloworld.MyRequest
{
    "$class": "org.accordproject.helloworld.MyRequest",
    "input": "Nulla mollit culpa consequat.",
    "transactionId": "f3f41f70-6de9-11e8-a111-7f3aa50554dd",
    "timestamp": "2018-06-12T02:40:22.247Z"
}

Response Types

Type Sample JSON
org.accordproject.helloworld.MyResponse
{
    "$class": "org.accordproject.helloworld.MyResponse",
    "output": "Pariatur.",
    "transactionId": "f3f44680-6de9-11e8-a111-7f3aa50554dd",
    "timestamp": "2018-06-12T02:40:22.248Z"
}

Events Types

Type Sample JSON