Template helloworld@0.10.1

Clause ^0.12.0 6585c6f3833cb04f3b64dcb2d80ef7913eb651f8f5547b7e2765cb94a80f00b4

This is the Hello World of Accord Project 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 Open in Template Studio Open in VSCode Web

Hello World

This is the Hello World of Accord Project 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",
    "clauseId": "b03488fc-dff7-434b-9455-a408c6c8f32c",
    "name": "Fred Blogs"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "1eba8d60-8942-11e9-b9ba-87d1cf618bec"
}

Request Types

Type Sample JSON
org.accordproject.helloworld.MyRequest
{
    "$class": "org.accordproject.helloworld.MyRequest",
    "input": "Exercitation reprehenderit.",
    "transactionId": "1eba3f40-8942-11e9-b9ba-87d1cf618bec",
    "timestamp": "2019-06-07T12:34:28.789-04:00"
}

Response Types

Type Sample JSON
org.accordproject.helloworld.MyResponse
{
    "$class": "org.accordproject.helloworld.MyResponse",
    "output": "Duis reprehenderit elit aute et.",
    "transactionId": "1eba6650-8942-11e9-b9ba-87d1cf618bec",
    "timestamp": "2019-06-07T12:34:28.789-04:00"
}

Events Types

Type Sample JSON
org.accordproject.base.Event
{
    "abstract": "this is an abstract type"
}