[
https://issues.apache.org/jira/browse/CASSANDRA-17166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17446640#comment-17446640
]
David Capwell commented on CASSANDRA-17166:
-------------------------------------------
Here is a quick POC: https://github.com/apache/cassandra/pull/1335. Ideally it
would be good to go through ObjectMapper and have the SnakeYaml backend (need
to add jar), this would give us access to the full set of Jackson object
mapping capabilities (such as constructor properties).
Here is the CI results to see what breaks:
https://app.circleci.com/pipelines/github/dcapwell/cassandra?branch=CASSANDRA-17166
> Switch to Jackson for config property definition to allow private fields and
> getter/setter support
> --------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-17166
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17166
> Project: Cassandra
> Issue Type: Improvement
> Components: Local/Config
> Reporter: David Capwell
> Priority: Normal
> Fix For: 4.x
>
>
> SnakeYaml is rather limited in the “object mapping” layer, which forces our
> internal code to match specific patterns (all fields public and camel case);
> we can remove this restriction by leveraging Jackson for property lookup, and
> leaving the YAML handling to SnakeYAML
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]