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

[GEN-1286]: Refactor configuration handling to replace deprecated dropdowns with checkboxes for Clickhouse, Gigapipe and Qryn destinations #2033

Merged
merged 18 commits into from
Dec 20, 2024

Conversation

BenElferink
Copy link
Contributor

@BenElferink BenElferink commented Dec 19, 2024

This pull request includes several changes to the configuration handling and documentation for the Clickhouse and Qryn destinations. The main focus is on updating deprecated values and improving the handling of boolean configurations.

Configuration Handling Improvements:

  • common/config/clickhouse.go: Replaced direct boolean conversion with a helper function getBooleanConfig for create_schema configuration.
  • common/config/qryn.go: Updated the ModifyConfig function to use pre-parsed configuration values and replaced string comparisons with boolean values using getBooleanConfig. [1] [2] [3]
  • common/config/qryn_oss.go: Deprecated "Yes/No" values in favor of "true/false" for resourceToTelemetryConversion and addExporterName configurations.
  • common/config/utils.go: Added a new utility function getBooleanConfig to handle deprecated boolean configuration values.

Documentation Updates:

  • docs/backends/clickhouse.mdx: Updated documentation to reflect the change from "Create/Skip" to "true/false" for the Create Scheme configuration. [1] [2] [3] [4]
  • docs/backends/gigapipe.mdx, docs/backends/qryn.mdx: Updated documentation to reflect the change from "Yes/No" to "true/false" for boolean configurations. [1] [2]

UI and Frontend Adjustments:

YAML Specification Changes:

  • destinations/data/clickhouse.yaml, destinations/data/gigapipe.yaml, destinations/data/qryn.yaml: Changed component types from dropdown to checkbox for boolean configurations and updated initial values accordingly. [1] [2] [3] [4]

Copy link

Copy link
Collaborator

@blumamir blumamir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

@BenElferink BenElferink enabled auto-merge (squash) December 20, 2024 09:37
@BenElferink BenElferink merged commit f9b527c into odigos-io:main Dec 20, 2024
29 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants