publisher

package
v0.2.0-develop.68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

README


title: Publisher weight: 4603

Publisher

This activity publish events, for blockchain that does not support eventing, this activity has no effect.

Schema

Inputs and Outputs:

{
  "inputs": [
            {
                "name": "model",
                "type": "string"
            },
           {
                "name": "event",
                "type": "string"
           },
           {
            "name": "input",
            "type": "complex_object",
            "required": true
           },
           {
                "name": "eventMetadata",
                "type": "string",
                "required":false
           },
           {
               "name": "containerServiceStub",
               "type": "any",
               "required":true
           }
    ],
  
    "outputs": [
        
    ]
}

Settings

Setting Required Description
model True Select the common data model, must be the same as the one selected in Trigger
event True Select the event name defined in common data model to publsih
eventMetadata False Event metadata
containerServiceStub True This is the handler to underlying blockchain service, should always be mapped to $flow.containerServiceStub

Input Schema

The json schema is automatically created based on settings

Ouput Schema

The json schema is automatically created based on settings

Documentation

Overview

* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActivity

func NewActivity(metadata *activity.Metadata) activity.Activity

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL