mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
This change enables floaty delete to accept request-ids (UUID format) in addition to hostnames. When a request-id is detected, floaty will: 1. Cancel pending ondemand requests by marking status as 'deleted' 2. Move any already-provisioned VMs to the termination queue Implementation: - Modified Pooler.delete to detect UUID format and use ondemandvm endpoint - Updated command syntax and examples to document request-id support - Added comprehensive tests for request-id deletion - Fixed Ruby 3.1+ compatibility by adding abbrev and base64 gems Fixes issue where users had no way to cancel ondemand requests or bulk-delete VMs from a completed request.
20 lines
363 B
Ruby
20 lines
363 B
Ruby
# frozen_string_literal: true
|
|
|
|
source 'https://rubygems.org'
|
|
|
|
gemspec
|
|
|
|
gem 'rake', require: false
|
|
|
|
group :test do
|
|
gem 'abbrev'
|
|
gem 'base64'
|
|
gem 'simplecov', '~> 0.22.0'
|
|
gem 'simplecov-html', '~> 0.13.1'
|
|
gem 'simplecov-lcov', '~> 0.8.0'
|
|
gem 'pry'
|
|
gem 'rb-readline'
|
|
gem 'rspec', '~> 3.13.0'
|
|
gem 'rubocop', '~> 1.66'
|
|
gem 'webmock', '~> 3.23'
|
|
end
|