Skip to content

Refactor passing configuration to control plane service #284

@rampage644

Description

@rampage644

PR #280 introduced a way to pass certain configuration parameters to ControlPlaneImpl object. This approach is difficult to generalize, test and maintain.

Instead, it should follow Rust idiomatic approaches with either Builder pattern or new_with_opts (or something like this) constructor.

All configuration parameters should be defined declaratively and readable from either cli args or env (or in some future from configuration file). All components should be parametrizable via constructors only.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions