Commit Graph
20 Commits
Author SHA1 Message Date
baodev0 5d3ed57b32 feat: Enhance vCenter integration with resource pool and folder support
- Added methods to ResourceService for fetching resource pools and updated existing methods to include datacenter filtering.
- Modified CreateVirtualMachine to accept folder and resource pool parameters from product data.
- Updated various jobs to synchronize resource pools and include them in the provisioning process.
- Introduced new ModuleResourcePool model and migration for resource pool management.
- Enhanced existing models (ModuleDatastore, ModuleNetwork, Os) to include relationships with vCenter and resource pools.
- Added netmask field to IpPool and updated related logic for IP reservation.
- Improved error handling and logging in VM creation and IP reservation processes.
- Updated API routes to include sync functionality for vCenter.
2026-07-21 21:37:28 +07:00
baodev0 2d43e95855 Add datastore_id to OS model and related functionality; update validation and relationships 2026-07-21 11:10:45 +07:00
baodev0 d283a2c694 Enhance VM provisioning logging by integrating VmProvisionLogger into CreateVirtualMachineJob and AssignIpToGuestJob; update composer dependencies for Plesk integration 2026-07-13 13:45:22 +07:00
baodev0 8d3410f8cc Implement VM provision locking mechanism and enhance VM job handling 2026-07-13 11:23:53 +07:00
baodev0 0c436153c6 update 2026-06-22 08:43:32 +07:00
baodev0 7ae237ee9d Refactor VM provisioning pipeline into focused services and add IP pool
management
2026-05-29 12:03:35 +07:00
baodev0 520f21cb11 feat: add GeneratesUniqueSlug class for unique slug generation
feat: create PostCategoryFactory for generating post category data

feat: create PostFactory for generating post data

feat: add retry_requested_at column to services table

feat: add vcenter provisioning fields to products table

feat: add module_host_id to os table

feat: create email_notification_templates table for email templates

feat: add scenario and format fields to template table

feat: add admin fields to transactions table

fix: update ticket table columns and types

feat: add uuid to ticket table and backfill existing records

fix: make ticket_reply user_id nullable

feat: create notifications table for user notifications

fix: make ticket uuid nullable

feat: create post_categories table for blog categories

feat: create posts table for blog posts

feat: add invoice email template for PDF generation
2026-05-25 15:39:42 +07:00
pbao9 8aef607e1f feat: Implement IP assignment and verification for VM guests; add related PowerShell scripts 2026-04-18 08:51:02 +07:00
pbao9 5043bea79a feat: Add IP address and DNS fields to module_vmware table
- Introduced `ip` and `dns` columns to the `module_vmware` table to store assigned IP addresses and DNS configurations.
- Implemented `ChangePasswordViaSshJob` for secure password changes via SSH.
- Created `ChangePasswordJob` for handling password changes during VM provisioning.
- Developed `ChangePasswordViaVsphereJob` to reset VM guest OS passwords using PowerShell scripts executed on the vSphere host.
- Added `SendVmCredentialsEmailJob` to send final VM credentials to customers.
- Implemented `WaitVmReadyJob` to poll vSphere API until VMware Tools are running and guest IP is available.
- Created `VmProvisionService` for managing VM provisioning tasks, including password generation and updates.
- Developed `VsphereHostSshService` for executing PowerShell scripts on the vSphere host via SSH.
- Added `IpPoolSeeder` to populate IP pools for VM service initialization.
2026-04-16 23:21:27 +07:00
pbao9 d68fda2cf0 Enhance VM service management: add service_id and plain_password fields, sync service records, and update related migrations 2026-04-16 09:39:52 +07:00
pbao9 dbd3cdafcd feat: Implement UUID-based customer routing, enhance order request validation, and refactor VM creation job with updated payment logic and ModuleVmware handling. 2026-03-12 16:30:02 +07:00
pbao9 508d5186db feat: Reorganize database migrations for module snapshots, VMware, and OS groups, and implement customer order creation email notifications. 2026-03-12 12:31:52 +07:00
pbao9 5649674eb4 feat: Implement payment method fields, refactor order creation logic to support detailed order items and VM provisioning, and add admin notifications. 2026-03-11 10:14:32 +07:00
pbao9 1cfcaee871 feat: implement VMware vCenter integration, enhance product pricing display, and update order processing logic. 2026-03-01 23:10:35 +07:00
pbao9 4f2fdbaaa5 update change port 2026-01-17 11:27:54 +07:00
pbaodev 197fe413e5 update change password 2025-08-24 22:41:15 +07:00
Pham Bao 983964e573 update assign ip windows 2025-07-30 00:07:09 +07:00
Pham Bao 5d6e2060a8 update assign ip windows 2025-07-29 23:49:33 +07:00
Pham Bao 21a2dfe855 update bug 2025-07-29 22:49:14 +07:00
pbao9 69851ac7bc Update source into github 2025-07-24 16:18:27 +07:00