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

Make deployment name an optional parameter. #104

Merged
merged 11 commits into from
Jun 27, 2023

Conversation

Rupesh0688
Copy link
Contributor

@Rupesh0688 Rupesh0688 commented May 22, 2023

Description

Make deployment name an optional parameter. This allows for automatically defined unique deployment names in API response. While it is recommended that the deployment name be specified, it is not a mandatory parameter. This change will help in the scenario where unique naming convention applies. When the deployment name parameter is not set, the VM is named "deployment + deploymentID".

Check List

Validated change on local setup.
Not updating documentation as this is a non-standard scenario.

 Eliminate Unique naming convention issue. This change will help in getting VM name as 'Deployment + DeploymentID'


Signed-off-by: Rupesh0688 <134281322+Rupesh0688@users.noreply.github.com>
Bumped version for "
- Eliminate Unique naming convention issue. This change will help in getting VM name as 'Deployment + DeploymentID'"


Signed-off-by: Rupesh0688 <134281322+Rupesh0688@users.noreply.github.com>
This update will help in getting VM name as 'Deployment + DeploymentID'


Signed-off-by: Rupesh0688 <134281322+Rupesh0688@users.noreply.github.com>
removed commented line to pass chefstyle 

Signed-off-by: Rupesh0688 <134281322+Rupesh0688@users.noreply.github.com>
@vkarve-chef
Copy link
Contributor

@Rupesh0688 thanks for creating the PR. A suggestion, can we make the parameter optional? i.e. it is part of the request payload if non-nil 'name' is supplied and omitted otherwise? This will help folks specify deploymentName when they need to do so via kitchen-vra plugin or another consumer of this gem.
cc @ashiqueps

@Rupesh0688
Copy link
Contributor Author

I am working on getting the requirement as accordingly

Rupesh0688 and others added 7 commits June 14, 2023 02:27
…ed VM via test-kitchen

Signed-off-by: Rupesh0688 <134281322+Rupesh0688@users.noreply.github.com>
Signed-off-by: Rupesh0688 <134281322+Rupesh0688@users.noreply.github.com>
Signed-off-by: Rupesh0688 <134281322+Rupesh0688@users.noreply.github.com>
This will be updated with a separate version bump commit.
Signed-off-by: Vikram Karve <vikram.karve@progress.com>

Signed-off-by: Vikram Karve <85881329+vkarve-chef@users.noreply.github.com>
This will be updated with a separate version bump commit.
Signed-off-by: Vikram Karve <vikram.karve@progress.com>

Signed-off-by: Vikram Karve <85881329+vkarve-chef@users.noreply.github.com>
Signed-off-by: Vikram Karve <vikram.karve@progress.com>

Signed-off-by: Vikram Karve <85881329+vkarve-chef@users.noreply.github.com>
Signed-off-by: Vikram Karve <vikram.karve@progress.com>
@vkarve-chef vkarve-chef changed the title Eliminate Unique naming convention issue. This change will help in getting VM name as 'Deployment + DeploymentID' Make deployment name an optional parameter. This allows for automatically defined unique deployment names in API response. Jun 27, 2023
@vkarve-chef vkarve-chef changed the title Make deployment name an optional parameter. This allows for automatically defined unique deployment names in API response. Make deployment name an optional parameter. Jun 27, 2023
@vkarve-chef vkarve-chef merged commit feb9c25 into test-kitchen:main Jun 27, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants