Template hellomodule@0.4.1

Clause ^0.12.0 0e152a9be5ff28631803d130685031b621f2066f334f8c1324ec33f76e5f53dd

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": "e2e7423d-c51f-40cf-a67f-9fc78bd437ab",
    "name": "Fred Blogs"
}

State Types

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

Request Types

Type Sample JSON
org.accordproject.hellomodule.MyRequest
{
    "$class": "org.accordproject.hellomodule.MyRequest",
    "input": "In velit id laboris.",
    "transactionId": "1e6e9040-8942-11e9-b9ba-87d1cf618bec",
    "timestamp": "2019-06-07T12:34:28.292-04:00"
}

Response Types

Type Sample JSON
org.accordproject.hellomodule.MyResponse
{
    "$class": "org.accordproject.hellomodule.MyResponse",
    "output": "Proident veniam minim laboris.",
    "transactionId": "1e6e9041-8942-11e9-b9ba-87d1cf618bec",
    "timestamp": "2019-06-07T12:34:28.292-04:00"
}

Events Types

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