Please report issues and contribute improvements on GitHub!

Template hellomodule@0.3.0

Clause Ergo ^0.11.1 47030da0738cc321ac50c3053466325f2272d252321e3e17d4c6defcc6d05c3e

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

Download Archive Open in Template Studio

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": "58311f5c-6f53-4ab7-9a23-e24dd82ed415",
    "name": "Fred Blogs"
}

State Types

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

Request Types

Type Sample JSON
org.accordproject.hellomodule.MyRequest
{
    "$class": "org.accordproject.hellomodule.MyRequest",
    "input": "Fugiat excepteur reprehenderit.",
    "transactionId": "28e882f0-4bae-11e9-8561-af645d56312b",
    "timestamp": "2019-03-21T07:51:39.423+00:00"
}

Response Types

Type Sample JSON
org.accordproject.hellomodule.MyResponse
{
    "$class": "org.accordproject.hellomodule.MyResponse",
    "output": "Dolor officia esse incididunt.",
    "transactionId": "28e882f1-4bae-11e9-8561-af645d56312b",
    "timestamp": "2019-03-21T07:51:39.423+00:00"
}

Events Types

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