Please report issues and contribute improvements on GitHub!

Template hellomodule@0.2.0

Clause Ergo ^0.10.0 abb642d838ffef3ab44ce5e2384961e12bcc8ecc339a68ca2c3f084926cbc9a9

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": "398d16a0-45e7-4925-9707-4b31cf22da37",
    "name": "Fred Blogs"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "e4531291-152a-11e9-8d02-47431788edc9"
}

Request Types

Type Sample JSON
org.accordproject.hellomodule.MyRequest
{
    "$class": "org.accordproject.hellomodule.MyRequest",
    "input": "Culpa ullamco eiusmod do.",
    "transactionId": "e452eb80-152a-11e9-8d02-47431788edc9",
    "timestamp": "2019-01-10T22:55:57.496Z"
}

Response Types

Type Sample JSON
org.accordproject.hellomodule.MyResponse
{
    "$class": "org.accordproject.hellomodule.MyResponse",
    "output": "Ex ipsum voluptate aliquip ex.",
    "transactionId": "e4531290-152a-11e9-8d02-47431788edc9",
    "timestamp": "2019-01-10T22:55:57.497Z"
}

Events Types

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