Create DatacenterAwareConfig to add Hosts in CQL Session Through ecc.yml #671
Labels
enhancement
New feature or request
PoC/Agent
Tasks related to new generation of ecchronos as an agent
Story Description:
Create new object in package com.ericsson.bss.cassandra.ecchronos.application.config.connection called DatacenterAwareConfig, it must represent the below configuration in ecc.yml:
connection.cql.datacenterAware.enabled must be false by default to avoid breaking the sidecar functionality; these described hosts will be added in the CQLSession on the application startup; in the a future task we'll create a new NativeConnectionProvider specific for the agent, which will be activated by the connection.cql.datacenterAware.enabled=true and connection.cql.provider=DatacenterNativeConnectionProvider.java, so to avoid future problems, expose the DatacenterAwareConfig in the NativeConnection.java class.
Acceptance Criteria:
Definition of Done:
Code tested and approved by maintainers.
Notes:
Related to #652
The text was updated successfully, but these errors were encountered: