-
Notifications
You must be signed in to change notification settings - Fork 0
ADD V1 release #15
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
ADD V1 release #15
Conversation
…e a normal command is called
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Feature/re write strcuture
WalkthroughThis update implements a substantial refactor and modularization of the Proxmox addon and the core application, introducing a new service-oriented architecture for Proxmox management. The Proxmox addon is restructured, splitting monolithic models and CLI scripts into focused service classes for virtual machines, networking, storage, tasks, users, and QEMU agent management. FastAPI routes are refactored to use dependency-injected service instances, and new endpoints are added for network, storage, QEMU, software, and task management. The core application introduces a database layer using SQLAlchemy, with CLI commands for database setup and user management. Logging, versioning, and configuration handling are improved, and deployment scripts and environment management are updated for better security and maintainability. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant FastAPI_Router
participant ProxmoxService
participant ProxmoxerAPI
Client->>FastAPI_Router: API Request (e.g., /proxmox/v1/vm/start)
FastAPI_Router->>ProxmoxService: Inject Proxmox client (Depends)
ProxmoxService->>ProxmoxerAPI: Perform requested operation (e.g., start_vm)
ProxmoxerAPI-->>ProxmoxService: Return result/status
ProxmoxService-->>FastAPI_Router: Return result/status
FastAPI_Router-->>Client: API Response
sequenceDiagram
participant CLI_User
participant Typer_CLI
participant DatabaseLayer
participant DB
CLI_User->>Typer_CLI: Run 'clicx db create'
Typer_CLI->>DatabaseLayer: Create tables, add user
DatabaseLayer->>DB: Execute SQLAlchemy ORM commands
DB-->>DatabaseLayer: Commit or error
DatabaseLayer-->>Typer_CLI: Success/Error message
Typer_CLI-->>CLI_User: Output result
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (65)
💤 Files with no reviewable changes (15)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
Improvements
Bug Fixes
Documentation
Chores
Removals