Skip to content

vdk-core: named database registration for cloud deployment operators #3223

@DeltaMichael

Description

@DeltaMichael

Prerequisites

#3221
#3222

Overview

Cloud deployment operators should be able to pre-load named databases in plugins. Configuring a named database should automatically configure a corresponding ingester for that database registerd under the same name.

@hookimpl
  def vdk_initialize(self, context: CoreContext) -> None:
      context.register_db(key="default", type="oracle", host="localhost", port="1521", sid="free")
      context.register_db(key="oracle_1", type="oracle", host="http://some_host_whatever/", port="1522", sid="not_free")
      context.register_db(key="impala_1", type="impala", host="http://impala_host/", database="mydatabase")

Acceptance criteria

  1. Above API is created and tested

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions