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

improve: ConfigManager better functionality/code clarity/maintainability #1887

Merged
merged 4 commits into from Nov 23, 2023

Conversation

beats-dh
Copy link
Collaborator

@beats-dh beats-dh commented Nov 23, 2023

Revamp of the ConfigManager component, aimed at not only improving functionality and code clarity but also enhancing long-term maintainability.

Changes Made:

• Extensively restructured the ConfigManager to optimize functionality, making it more robust and versatile.
• Focused on enhancing code clarity, making the codebase more comprehensible and maintainable for future contributors.
• Introduced magic enums to streamline enum registration for the Lua interface, improving maintainability and reducing potential issues.

These modifications will not only benefit the project's current state but also set the stage for easier maintenance and further development. This demonstrates our commitment to maintaining a high-quality with a codebase that is both efficient and sustainable.

beats-dh and others added 2 commits November 23, 2023 01:06
It avoids code repetition and facilitates maintainability, as now the enums will be registered in lua automatically.
@dudantas dudantas merged commit 94f9769 into main Nov 23, 2023
34 checks passed
@dudantas dudantas deleted the beats/rework-configmanager branch November 23, 2023 15:43
Copy link

sonarcloud bot commented Nov 23, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Mazukz pushed a commit to Mazukz/canary that referenced this pull request Dec 4, 2023
…ity (opentibiabr#1887)

Revamp of the ConfigManager component, aimed at not only improving functionality and code clarity but also enhancing long-term maintainability.

• Changes Made:
◦ Extensively restructured the ConfigManager to optimize functionality, making it more robust and versatile.
◦ Focused on enhancing code clarity, making the codebase more comprehensible and maintainable for future contributors.
◦ Introduced magic enums to streamline enum registration for the Lua interface, improving maintainability and reducing potential issues.
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

2 participants