FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Provide option to force delete the project by ravening · Pull Request #848 · apache/cloudstack-primate · GitHub

This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Repository navigation

Provide option to force delete the project - #848

Open
ravening wants to merge 2 commits into
apache:masterfrom
ravening:cleanup-project
Open

ravening wants to merge 2 commits into
apache:masterfrom
ravening:cleanup-project

Conversation

ravening commented Nov 6, 2020

Copy link
Copy Markdown
Member

Provide a cleanup flag so that the project will
be deleted only when there are no resources left
in the project. If users click on delete project
by mistake then everything is deleted.

NOTE: Backend change is in apache/cloudstack#4453

GabrielBrascher left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Code LGTM

Copy link
Copy Markdown
Contributor

@blueorangutan package

Copy link
Copy Markdown

@davidjumani a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress.

yadvr added this to the 1.1 milestone Nov 11, 2020

davidjumani commented Nov 11, 2020 •
edited
Loading

Copy link
Copy Markdown
Contributor

@ravening Could you add a check whether the parameter exists for the API, similar to https://github.com/apache/cloudstack-primate/blob/master/src/config/section/compute.js#L112
It breaks on versions without the cleanup parameter

Copy link
Copy Markdown

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/848 (JID-3660)

Copy link
Copy Markdown
Member Author

@ravening Could you add a check whether the parameter exists for the API, similar to https://github.com/apache/cloudstack-primate/blob/master/src/config/section/compute.js#L112
It breaks on versions without the cleanup parameter

@davidjumani I can add that but this feature is supported 4.15 onwards only. I dont think there will be other version where this is supported

Provide a cleanup flag so that the project will
be deleted only when there are no resources left
in the project. If users click on delete project
by mistake then everything is deleted.

Copy link
Copy Markdown
Member Author

@ravening Could you add a check whether the parameter exists for the API, similar to https://github.com/apache/cloudstack-primate/blob/master/src/config/section/compute.js#L112
It breaks on versions without the cleanup parameter

@davidjumani I can add that but this feature is supported 4.15 onwards only. I dont think there will be other version where this is supported

@davidjumani made changes

Copy link
Copy Markdown
Contributor

@blueorangutan package

Copy link
Copy Markdown

@davidjumani a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress.

Copy link
Copy Markdown

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/848 (JID-3681)

davidjumani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature New Feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL