Template hellomodule@0.5.0

Clause ^0.13.0 b1b2d746a0fd619110ef83213239256af98ee40b38a435dfb277f6ed10db97f3

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": "63dd8e8a-0a5d-40d1-b745-039957d84cc8",
    "name": "Fred Blogs"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "747f8120-9cce-11e9-9a6f-d5f6456622aa"
}

Request Types

Type Sample JSON
org.accordproject.hellomodule.MyRequest
{
    "$class": "org.accordproject.hellomodule.MyRequest",
    "input": "Et esse.",
    "transactionId": "747f5a10-9cce-11e9-9a6f-d5f6456622aa",
    "timestamp": "2019-07-02T09:36:54.321-04:00"
}

Response Types

Type Sample JSON
org.accordproject.hellomodule.MyResponse
{
    "$class": "org.accordproject.hellomodule.MyResponse",
    "output": "Id aliquip.",
    "transactionId": "747f5a11-9cce-11e9-9a6f-d5f6456622aa",
    "timestamp": "2019-07-02T09:36:54.322-04:00"
}

Events Types

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