[
https://issues.apache.org/jira/browse/CASSSIDECAR-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903093#comment-17903093
]
Jon Haddad commented on CASSSIDECAR-122:
----------------------------------------
It looks like you missed one of my requests - moving the config to a top level
conf dir. We shouldn't expect someone new to the project to know to dive into
the depths of the codebase in order to see the config.
Let's be consistent with the main project and have a top level
conf/cassandra-sidecar.yaml ,or simply sidecar.yaml, I don't feel strongly
about the name, just the location.
> yaml configuration defaults to a file that doesn't exist
> --------------------------------------------------------
>
> Key: CASSSIDECAR-122
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-122
> Project: Sidecar for Apache Cassandra
> Issue Type: Bug
> Components: Configuration
> Reporter: Jon Haddad
> Assignee: Francisco Guerrero
> Priority: Normal
> Time Spent: 2h
> Remaining Estimate: 0h
>
> In the CassandraSidecarDaemon, it loads a default yaml like this:
> {noformat}
> String yamlConfigurationPath = System.getProperty("sidecar.config",
> "file://./conf/config.yaml");
> {noformat}
> but that config file doesn't exist in the distribution.
> {noformat}
> $ ls conf
> logback.xml sidecar.yaml
> {noformat}
> That file doesn't exist in the repository.
> We should pick a default name and have it be consistent.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]