| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| List<NetworkVO> networks = _networkDao.listByOwner(project.getProjectAccountId()); | ||
| List<? extends Vpc> vpcs = _vpcMgr.getVpcsForAccount(project.getProjectAccountId()); | ||
|
|
||
| Optional<String> message = Stream.of(userTemplates, vmSnapshots, vms, volumes, networks, vpcs) |
There was a problem hiding this comment.
Overall, LGTM. But would it be better, if we could inform the user about all the resources that are tied to the project as opposed to the first one that's found - by doing something like this:
List<String> message = Stream.of(userTemplates, vmSnapshots, vms, volumes, networks, vpcs)
.filter(entity -> !entity.isEmpty())
.map(entity -> entity.size() + " " + entity.get(0).getEntityType().getSimpleName())
.collect(Collectors.toList());
...
String msg = String.join(",", message) + " to clean up";
CloudRuntimeException e = new CloudRuntimeException("Can't delete the project yet because it has " + msg);
...
Such that the end error would look like:
Or is this too much info??
Sorry, something went wrong.
There was a problem hiding this comment.
@Pearl1594 I can do that
Sorry, something went wrong.
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✖centos7 ✖centos8 ✖debian. JID-2880 |
Sorry, something went wrong.
|
@ravening can you investigate the build failure, I'll rekick as well |
Sorry, something went wrong.
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 254 |
Sorry, something went wrong.
|
@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Sorry, something went wrong.
|
Trillian Build Failed (tid-1092) |
Sorry, something went wrong.
|
@davidjumani a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✖️ el7 ✖️ el8 ✖️ debian ✖️ suse15. SL-JID 583 |
Sorry, something went wrong.
|
@ravening Can you fix the conflicts ? Thanks |
Sorry, something went wrong.
|
Hi @ravening can you please fix the conflicts? |
Sorry, something went wrong.
|
@rhtyd @nvazquez @davidjumani done |
Sorry, something went wrong.
There was a problem hiding this comment.
code lgtm
Sorry, something went wrong.
|
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 922 |
Sorry, something went wrong.
|
Trillian test result (tid-1958)
|
Sorry, something went wrong.
|
@ravening can you review and fix the failing project related smoketests? |
Sorry, something went wrong.
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✖️ el7 ✔️ el8 ✖️ debian ✖️ suse15. SL-JID 1364 |
Sorry, something went wrong.
@rhtyd will look into it |
Sorry, something went wrong.
be deleted only when there are no resources left in the project. If users click on delete project by mistake then everything is deleted.
|
@rhtyd @nvazquez fixed travis issues.. can you trigger it again? |
Sorry, something went wrong.
|
@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1375 |
Sorry, something went wrong.
|
@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Sorry, something went wrong.
|
Trillian Build Failed (tid-2191) |
Sorry, something went wrong.
|
@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Sorry, something went wrong.
|
Trillian test result (tid-2193)
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
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.
Ui changes ported from apache/cloudstack-primate#848
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?