The deployed ingest definitions, for the source dialog and for re-checking saved sources: its own port, so hosts without them need none. Calls fail with a CubeEngineError: with no node for listing and describing, with the node's id for schemas

interface CubeIngestCatalog {
    environmentTypes: readonly CubeDataProductEnvironmentType[];
    describe(
        urn: string,
        environment: CubeIngestEnvironmentKey,
        options?: { fresh?: boolean },
    ): Promise<readonly CubeIngestDataSet[]>;
    getProducerNames(
        deploymentIds: readonly string[],
    ): Promise<ReadonlyMap<string, string>>;
    listDefinitions(
        environment: CubeIngestEnvironmentKey,
        producerDeploymentId: string,
    ): Promise<CubeIngestDefinitionList>;
    listEnvironments(): Promise<readonly CubeIngestEnvironment[]>;
    listProducers(
        environment: CubeIngestEnvironmentKey,
    ): Promise<readonly CubeIngestProducer[]>;
    resolveEnvironment(
        environment: CubeIngestEnvironmentKey,
    ): Promise<CubeIngestEnvironment>;
    resolveSchemas(
        environment: CubeIngestEnvironmentKey,
        sources: ReadonlyMap<string, CubeIngestDataSetLocation>,
        options?: { fresh?: boolean },
    ): Promise<Map<string, CubeEngineError | Schema>>;
}

Properties

environmentTypes: readonly CubeDataProductEnvironmentType[]

The classes the host lists, the default first

Methods

  • The names of producer deployments, by deployment id, from the host's deployment directory: none for an id it doesn't know. Only the Ingest tab reads them, to label its producers; hosts without a directory leave it out, and producers show their ids alone

    Parameters

    • deploymentIds: readonly string[]

    Returns Promise<ReadonlyMap<string, string>>