Please report issues and contribute improvements on GitHub!

Template helloworld@0.9.0

Clause Ergo ^0.11.1 4bad94f9102a2bf693508c8a97f98a7e8cf0ab355f98fe7d91fdd1cf9e738f73

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

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": "2420ee57-bfbe-445d-ba11-e00ec36f2784",
    "name": "Fred Blogs"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "293654d2-4bae-11e9-8561-af645d56312b"
}

Request Types

Type Sample JSON
org.accordproject.helloworld.MyRequest
{
    "$class": "org.accordproject.helloworld.MyRequest",
    "input": "Do pariatur et veniam.",
    "transactionId": "293654d0-4bae-11e9-8561-af645d56312b",
    "timestamp": "2019-03-21T07:51:39.933+00:00"
}

Response Types

Type Sample JSON
org.accordproject.helloworld.MyResponse
{
    "$class": "org.accordproject.helloworld.MyResponse",
    "output": "Qui.",
    "transactionId": "293654d1-4bae-11e9-8561-af645d56312b",
    "timestamp": "2019-03-21T07:51:39.933+00:00"
}

Events Types

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