scramjetorg / transform-hub

Scramjet Transform Hub (STH) is a runtime supervisor that can run data processing programs called Sequences and manage local resources on any Linux server, Docker on small edge servers, and even large-scale Kubernetes clusters in the cloud or datacenters. It connects to Scramjet Spaces in Scramjet Cloud Platform.
GNU Affero General Public License v3.0
67 stars 8 forks source link

[FIX] Add missing hostClient types #982

Closed a-tylenda closed 1 year ago

a-tylenda commented 1 year ago

What? There were a few types missing, which caused some hostClient methods were not available in the Sequence context. Also, there was a discrepancy in the default topic content types between getTopic() and sendTopic(). This PR also fixes that.

The default contentType for both getTopic() and sendTopic() is set to application/x-ndjson, the same as in CLI.

Thanks @patuwwy!

Why?

Usage:

-

-

Clickup Task:

How it works:

-

-

Review checks:

These aspects need to be checked by the reviewer: