listUse case

Deploy, pause, resume and undeploy use cases

Overview

The Use case API allows developers to deploy, test, validate and undeploy use case. Use case definitions provide the required binding of the stream and data transports.

For further information on the structure of the content payload refer to this documentation.

Example use case content

{
  "use case": {
    "name": "basic_twindow_analytics",
    "sources": [
      "nasdaq_quotes_stream"
    ],
    "stream name": "basic_tumbling_window_pipeline",
    "sinks": [
      "kafka_analytics_view"
    ]
  }
} 

Deploy use case

post

Deploy and start a use case processing using pre-registered components

Body
namestringOptional
enabledbooleanRequired
sourcesstring[]Optional
referenceDataSourcesstring[]Optional
streamNamestringOptional
sinksstring[]Optional
Responses
chevron-right
201

Successful deployed and started use case

No content

post
/joule/management/usecase/deploy

No content

Get deployed use cases specification

get
Query parameters
namestringRequired

Use case logical name.

Responses
chevron-right
201

Successful detail provided for use cases

No content

get
/joule/management/usecase/detail

No content

List registered use cases

get
Responses
chevron-right
201

Successful list use cases

No content

get
/joule/management/usecase/list

No content

Undeploy use case

delete

Stop and undeploy a use case from the Joule process

Query parameters
namestringRequired

Name of use case to unregistered

Example: quoteStream
Responses
chevron-right
201

Successfully unregistered use case

No content

delete
/joule/management/usecase/undeploy

No content


Pause use case processing

put
Path parameters
namestringRequired

Name of use case to pause

Example: quoteStream
Responses
chevron-right
201

Successful paused stream

No content

put
/joule/management/usecase/pause

No content

Resume use case processing

post
Path parameters
namestringRequired

Nane of stream to resume processing

Example: quoteStream
Responses
chevron-right
201

Successful restarted stream processing

No content

post
/joule/management/usecase/resume

No content

Last updated