Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DeltaMichael opened this issue Mar 18, 2024 · 0 comments
Open

Comments

@DeltaMichael
Copy link
Contributor

DeltaMichael commented Mar 18, 2024

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
@DeltaMichael DeltaMichael changed the title vdk-core: named database registration vdk-core: named database registration for operators Mar 18, 2024
@DeltaMichael DeltaMichael changed the title vdk-core: named database registration for operators vdk-core: named database registration for cloud deployment operators Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant