Publish a GGSA pipeline
patch
https://{ggsa_host}:{ggsa_port}/{context_path}/services/{version}/pipelines/{id}/publish
Publish a GGSA pipeline
Request
Path Parameters
-
id(required): string
Pipeline id
-
version(required): string
GGSA API versionExample:
v1
Supported Media Types
- application/json
Runtime parameters for the Pipeline.
Root Schema : schema
Type:
Show Source
object-
batchDuration: integer
(int64)
Default Value:
1000Batch duration (millisecond) of streaming job for the pipeline. -
driverCores: integer
(int32)
Minimum Value:
1Default Value:1The number of cores per driver for the pipeline execution. -
driverMemory: integer
(int64)
Minimum Value:
800Default Value:1800Memory per driver instance for the pipeline execution. -
enableCheckPointing: boolean
Turns HA on/off for the pipeline.
-
enableIntermediateTopic: boolean
Pipeline Intermediate Topic Setting.
-
exectorCores: integer
(int32)
Minimum Value:
2Default Value:2The number of cores per executor for the pipeline execution. -
executorInstance: integer
(int32)
Minimum Value:
1The number of executors for the pipeline execution. -
executorMemory: integer
(int64)
Minimum Value:
800Default Value:1500Memory per executor instance for the pipeline execution. -
intermediateTopicRetentionPeriod: integer
(int64)
Default Value:
3600000The Pipeline Topic Retention Period (in milliseconds). -
logLevel: string
Default Value:
InfoAllowed Values:[ "Debug, Info, Warning, Error" ]Logging level for pipeline execution logs. -
resetOffset: boolean
Default Value:
falseInput topics offset hard reset value. -
topicOffset: string
Default Value:
latestAllowed Values:[ "latest, earliest" ]Topic Offset Position.
Response
Supported Media Types
- application/json
200 Response
Successfully published the pipeline.
Root Schema : PipelineDetail
Type:
Show Source
object-
createdAt: string
(date-time)
Creation time of GGSA Pipeline.
-
createdBy: string
Author of the GGSA Pipeline.
-
description: string
GGSA Pipeline Description.
-
displayName: string
GGSA Pipeline Display Name.
-
id: string
GGSA Pipeline ID.
-
name: string
GGSA Pipeline Name.
-
published: boolean
GGSA Pipeline Publish Flag.
-
tagNames: array
tagnames
List of tags defined for the GGSA Pipeline.
Nested Schema : tagnames
Type:
arrayList of tags defined for the GGSA Pipeline.
Show Source
-
Array of:
string
List of tags defined for the GGSA Pipeline.
404 Response
pipeline id not found.
409 Response
Incorrect state / conflict.