Table of Contents

Search

  1. Preface
  2. Introduction to Edge Data Streaming Custom Entity Types
  3. Managing Custom Entity Types
  4. Custom Entities from Maven Archetypes
  5. REST APIs
  6. HTTP Request and Response Parameters
  7. Sample JSON Requests and Responses
  8. Glossary

Developer Guide

Developer Guide

Deploy Data Flows

Deploy Data Flows

Use the POST method to deploy a data flow in EDS.

POST Request in JSON Format

Generate a POST request. For example, the following POST request deploys a data flow:
POST /api/dataflows/{dataflow-id}/deploy Content-Type: application/json Accept: application/json

POST Response in JSON Format

The following is a sample response for the 200 OK code:
{ "success": true, "name" : {dataflow-name}, "id": {dataflow-id}, "deploymentState": "DEPLOYED" }
The following is the sample responses for the 404 Not Found code:
{ "success": false, "errors": [ { "code": DATAFLOW_NOT_FOUND, "parameters": [{dataflow-id}], "errorMessage": "Dataflow with Id: {dataflow-id} not found" } ] }
The following is a sample response for the 400 Bad Request code:
{ "success": false, "errors": [ { "code": NO_CONNECTION_BETWEEN_ENTITIES, "parameters": null, "errorMessage": "The deploy action failed because there is no connection between entities. Connect source and target entities using connection.", } ] }
The following is a sample response for the 500 Internal Server Error code:
{ "success": false, "errors": [ { "code": INTERNAL_SERVER_ERROR, "parameters": [{error-message}], errorMessage": "Failed to deploy dataflow. Exception : {error-message}." } ] }

0 COMMENTS

We’d like to hear from you!