Unable to fetch host name from DSS for Cassandra connect ruleset
The host file in Connect-Cassandra rules does not accept dynamic values and requires a hardcoded IP address. Each environment uses a different IP address, and the rules requiring hardcoded IP addresses block migration.
Steps to Reproduce
- Include 20 connect Cassandra rules and pass the host names from a Dynamic System Settings (DSS) setting.
- Configure a Cassandra connect ruleset to look for IP addresses.
- Move the locked rulesets from one environment to another, ensure that the host names from DSS setting cannot be updated.
Rule-connect-Cassandra contains some environment variables that are tight to the rule form. While migrating the rule from different environments, the values may change due to some mismatches between the environments. Using this feature, values can be overridden on the rule form by defining matching DSS. If there are no matching values defined, then values on the rule form are used.
- Apply HFix-36294.
- For the Rule-connect-Cassandra, define DSS values with predefined prefixes on Pega-BigData Ruleset.
|Host||connector/cassandra/host/||host or comma separated host names|
|Port||connector/cassandra/port/||port number ,default 9042|
|Keyspace||connector/cassandra/keyspace/||keyspace that will be used.|
|Rule Form Value||DSS @ Pega-BigData||Value that will be used|
|host: cassandracluster||connector/cassandra/host/cassandracluster -> host1,host2||host1,host2|
|port: 1234||connector/cassandra/port/1234 -> 9042||9042|
|keyspace : testkeypace||-||testkeypace|
|keyspace : testkeypace||connector/cassandra/keyspace/testkeypace -> prodkeyspace||prodkeyspace|
0% found this useful