Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spacetime] Reimplement config Setting classe in java #15679

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

andsel
Copy link
Contributor

@andsel andsel commented Dec 11, 2023

Release notes

[rn:skip]

What does this PR do?

Reimplement the root Ruby Setting class in Java and use it from the Ruby one, wrapping the Java instance.

Why is it important/What is the impact to the user?

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files (and/or docker env variables)
  • I have added tests that prove my fix is effective or that my feature works

Author's Checklist

  • Fix the Ruby side of hierarchy to have green tests

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

@andsel andsel self-assigned this Dec 11, 2023
Copy link

Quality Gate failed Quality Gate failed

Failed conditions

0.0% 0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube

@andsel andsel force-pushed the feature/reimplement_config_classes_in_java branch 2 times, most recently from 221c355 to c5e4e28 Compare May 27, 2024 15:26
@andsel andsel force-pushed the feature/reimplement_config_classes_in_java branch from e688d12 to 560e8c3 Compare May 28, 2024 07:46
Comment on lines -835 to -836
clone.instance_variable_set(:@name, alias_name)
clone.instance_variable_set(:@default, nil)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note for reviewer:

nulling the default value is already done by the deprecate method when create the new instance of the Java Setting class.

Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @andsel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants