Hello Module

hellomodule@0.5.1 Clause ^0.13.0 8bc5e5fa64dce3ce313e7cb2ce58b306703db0cdb3c8bee0c8eb9000d8603298

This is the Hello World of Accord Project Templates, with two Ergo modules.

Download Archive Open in Template Studio Open in VSCode Web

Hello Module

This is the Hello World of Accord Project Templates, with two Ergo modules.

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.hellomodule.HelloModuleClause",
    "clauseId": "6a8a5906-00ed-41c1-b30b-00232c873305",
    "name": "Fred Blogs"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "29a7ecf2-b399-11e9-a415-2f2abeed0243"
}

Request Types

Type Sample JSON
org.accordproject.hellomodule.MyRequest
{
    "$class": "org.accordproject.hellomodule.MyRequest",
    "input": "Irure mollit.",
    "transactionId": "29a7ecf0-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:22.175-04:00"
}

Response Types

Type Sample JSON
org.accordproject.hellomodule.MyResponse
{
    "$class": "org.accordproject.hellomodule.MyResponse",
    "output": "Consequat velit.",
    "transactionId": "29a7ecf1-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:22.175-04:00"
}

Events Types

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