In 4.15.07, a new feature Code with Configuration (CWC) is introduced to the Cassandra component.
Changing Cassandra configurations requires understanding of the following:
${APIGEE_ROOT}/apigee4/source
contains Cassandra-related files with the configuration names. ${APIGEE_ROOT}/apigee4/token/application/cassandra.properties
contains all of the default configuration values for Cassandra. ${APIGEE_ROOT}/apigee4/customer/application/cassandra.properties
and add the configuration definition to the file.How to make the change:
For example, to change authenticator in cassandra.yaml
from AllowAllAuthenticator to PasswordAuthenticator.
${APIGEE_ROOT}/apigee4/source/conf/cassandra/cassandra.yaml
and it is authenticator: {T}conf_cassandra_cassandra_authenticator{/T}${APIGEE_ROOT}/apigee4/customer/application/cassandra.properties
to include this line:
conf_cassandra_cassandra_authenticator=PasswordAuthenticator
${APIGEE_ROOT}/apigee4/bin/all-stop.sh
, then ${APIGEE_ROOT}/apigee4/bin/all-start.sh
${APIGEE_ROOT}/apigee4/etc/init.d/apigee-cassandra stop
, then ${APIGEE_ROOT}/apigee4/etc/init.d/apigee-cassandra start
${APIGEE_ROOT}/apigee4/conf/cassandra/cassandra.yaml
.Changes made to ${APIGEE_ROOT}/opt/apigee4/conf/cassandra/cassandra.yaml
directly could be overridden after a Cassandra restart.
Please be aware that the CWC feature will be applied to all components in 4.16.01. There are improvements and directory hierarchy changes.The feature will have a complete set of instructions.
Hey @corinna fu - Sorry for the lag time. This is ready to publish. When you're ready, use the cog icon next to the title to move it to the forum you want. Thanks.