Please report issues and contribute improvements on GitHub!

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

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": "f6c79ea4-0078-4f15-b85d-19a3c005c454",
    "name": "Fred Blogs"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "948e5221-60ab-11e9-ba69-a3cec1fc66e2"
}

Request Types

Type Sample JSON
org.accordproject.hellomodule.MyRequest
{
    "$class": "org.accordproject.hellomodule.MyRequest",
    "input": "Tempor veniam eiusmod.",
    "transactionId": "948e2b10-60ab-11e9-ba69-a3cec1fc66e2",
    "timestamp": "2019-04-17T00:56:05.953+00:00"
}

Response Types

Type Sample JSON
org.accordproject.hellomodule.MyResponse
{
    "$class": "org.accordproject.hellomodule.MyResponse",
    "output": "Enim laborum exercitation officia.",
    "transactionId": "948e5220-60ab-11e9-ba69-a3cec1fc66e2",
    "timestamp": "2019-04-17T00:56:05.954+00:00"
}

Events Types

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