Skip to main content

createHttpDataSourceExecutor

@lowcode/runtime-host


Function: createHttpDataSourceExecutor()

createHttpDataSourceExecutor(options?): RuntimeDataSourceExecutor

Defined in: apps/runtime-host/src/runtime/httpDataSourceExecutor.ts:462

Production-executor для runtime-host:

  • НЕ использует моков;
  • static → config.data;
  • rest → реальный HTTP через fetch.
  • SecretValue резолвится из options.secrets.

Parameters​

options?​

dataSources?​

DataSource[]

projectId?​

string

secrets?​

Record<string, string>

Returns​

RuntimeDataSourceExecutor