Conversation
…and ensure health checks for PostgreSQL
…Registry and add new operation classes for service management, configuration, and script execution.
…nfig modules; update driver initialization and error handling
…update environment variables in Docker Compose files and related settings.
…'examples' for consistency across models
…stency in PureSNMP and Service models
…ation and update API response verification
…ption and remove outdated sections
… adjustments, and consistent styling across components
…ge attribute, and layout adjustments
…tbound events and webhook functionality
…eckError in unit tests for improved exception handling
…e exception serialization in executor
…ndant pip command; clean up unit tests by removing unused code and dependencies.
- Updated type hints from `Optional` and `Union` to use the new `|` syntax for better readability. - Reorganized import statements for consistency and clarity. - Removed unnecessary imports and cleaned up code in various files including models, routers, and utilities. - Adjusted datetime handling to use `datetime.now(UTC)` instead of `timezone.utc`. - Enhanced logging messages for clarity. - Improved code structure in test files by removing unused imports and optimizing type hints.
- Created tests for Jinja2 template utility, including rendering and template retrieval. - Added tests for the ls (list files) utility to verify template and script listing functionality. - Implemented tests for Pydantic models and database models, covering various model behaviors. - Developed tests for the OperationRegistry to ensure proper registration and execution of operations. - Added tests for the Scheduler, focusing on job dispatching and scheduling logic. - Created tests for the template router, covering routes for Jinja2 templates, scripts, and webhooks. - Implemented tests for the universal template manager utility, verifying template addition, retrieval, and removal. - Added tests for the webhook runner utility to ensure proper execution and initialization of webhooks.
…ty and consistency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces foundational changes for the Netpalm modernisation project.
This will be updated as work progresses