Fork me on GitHub

Template hellomodule@0.1.1

Clause Ergo ^0.9.7 48b7f5d2b6bcbd9528fc20dc2d37655ff180bcf5a8a95982ed4f2bcab4669aef

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": "7d1206b4-508e-4038-9c47-ce7ac3f62b66",
    "name": "Fred Blogs"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "81d66611-f731-11e8-a313-d97dc95f4258"
}

Request Types

Type Sample JSON
org.accordproject.hellomodule.MyRequest
{
    "$class": "org.accordproject.hellomodule.MyRequest",
    "input": "Tempor mollit.",
    "transactionId": "81d617f0-f731-11e8-a313-d97dc95f4258",
    "timestamp": "2018-12-03T19:27:43.855Z"
}

Response Types

Type Sample JSON
org.accordproject.hellomodule.MyResponse
{
    "$class": "org.accordproject.hellomodule.MyResponse",
    "output": "Aliquip.",
    "transactionId": "81d66610-f731-11e8-a313-d97dc95f4258",
    "timestamp": "2018-12-03T19:27:43.857Z"
}

Events Types

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