Skip to content

Latest commit

 

History

History
74 lines (55 loc) · 3.7 KB

README.md

File metadata and controls

74 lines (55 loc) · 3.7 KB

Zaikio Output

Name Zaikio Output
Version v1.0.0
DockerHub zaikio-output
Authors Jakub Grzelak

Description

Send requests to Zaikio API Mission Control. At the moment, this module supports only Jobs, Jobs Finished Work and Execution operations. You will need Personal Access Token to Zaikio Mission Control

Environment Variables

Module Specific

The following module configurations can be provided in a data service designer section on weeve platform:

Name Environment Variables type Description
Personal Access Token PERSONAL_ACCESS_TOKEN string Personal Access Token to Zaikio Mission Control. Instructions how to generate.
Zaikio Server ZAIKIO_SERVER string Zaikio server to send requests to. Production (https://mc.zaikio.com/api/v1) or Sandbox Test Server (https://mc.sandbox.zaikio.com/api/v1).
Endpoint ENDPOINT string Zaikio API method and endpoint to send data to. See all methods here
Object ID OBJECT_ID string Provide object's ID if the above endpoint request needs Job ID or Execution ID.

Set by the weeve Agent on the edge-node

Other features required for establishing the inter-container communication between modules in a data service are set by weeve agent.

Environment Variables type Description
MODULE_NAME string Name of the module
MODULE_TYPE string Type of the module (Input, Processing, Output)
INGRESS_HOST string Host to which data will be received
INGRESS_PORT string Port to which data will be received

Dependencies

bottle
requests

Input

Input to this module is:

  • JSON body single object. To create a new job by setting endpoint POST /jobs input data could be:
{
    "job": {
        "name": "My first Job",
        "kind": "business_card",
        "source": "Mission Control Tutorial",
        "version": "1",
        "quantity": 1
    }
}

Output

There is no output for this module.