smart-data-lake icon indicating copy to clipboard operation
smart-data-lake copied to clipboard

Export state, config, schema and stats to UI endpoint

Open zzeekk opened this issue 11 months ago • 0 comments

Is your feature request related to a problem? Please describe. For the direct integration of the UI different exports of SDLB should be written to the REST endpoint of the UI backend.

Describe the solution you'd like Export to REST endpoint:

  • state: StateUploader should be extended with an additional parameter "uploadStateUpdates" - if true intermediate state notifications should be uploaded as well with method=PATCH instead of PUT. Additional url parameters for application, runId and attemptId should be set.
  • config: ConfigJsonExporter should be extended with an additional parameter "target" - it can be set to file (e.g. file:./export.json) or an apiUrl (e.g. https://ui-demo.test.com/api/v1).
  • schema + state: DataObjectSchemaExporter should be extended with an additional parameter "target" - it can be set to path (e.g. file:./schema) or an apiUrl (e.g. https://ui-demo.test.com/api/v1).

zzeekk avatar Mar 26 '24 19:03 zzeekk