allow filtering of listDiskOffering and listServiceOffering APIs by account or project#7082
Conversation
…ccount or project
Codecov Report
@@ Coverage Diff @@
## 4.18 #7082 +/- ##
============================================
+ Coverage 13.02% 13.07% +0.04%
- Complexity 9040 9107 +67
============================================
Files 2720 2720
Lines 257094 257518 +424
Branches 40092 40151 +59
============================================
+ Hits 33491 33658 +167
- Misses 219398 219629 +231
- Partials 4205 4231 +26
... and 50 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
@blueorangutan package |
|
@DaanHoogland a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5245 |
|
@blueorangutan test |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-5815)
|
|
SonarCloud Quality Gate failed. |
BryanMLima
left a comment
There was a problem hiding this comment.
CLGTM, did not manually tested.
stephankruggg
left a comment
There was a problem hiding this comment.
CLGTM, did not manually test it.
|
@kiranchavala a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
Trillian test result (tid-6234)
|
|
Manually tested Able to see the account id and project id in the api calls when execting the api calls Tested by creating service offerings and was able to filter them based on account id |
|
@blueorangutan package |
|
@soreana a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6694 |
|
@blueorangutan package |
|
@DaanHoogland a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
@blueorangutan package |
|
@DaanHoogland a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7242 |
|
@blueorangutan test |
|
@DaanHoogland a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-7863)
|
|
@weizhouapache can you check if all "owner" vs "caller" references are now correct (afayct of course) |
@DaanHoogland I caught up with lots of work, I can't test it now but I can test it later this week. |
|
@soreana busy weekend ? ;) @weizhouapache can you approve now? |
|
Hi @soreana, will you be able to test it this week? |
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7782 |
|
@blueorangutan LLtest |
|
@DaanHoogland a [LL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[LL] Trillian Build Failed (tid-6898) |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-8360)
|
|
@weizhouapache can you approve of the current state of this PR? |
|
@DaanHoogland @RodrigoDLopez I'm checking this one. |
|
@blueorangutan package |
|
@soreana a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7839 |
@DaanHoogland @RodrigoDLopez The PR LGTM. I tested it manually, get the same result as my previous tests.. |
…ccount or project (apache#7082)








Description
ACS does not allow disk and service offerings to be filtered by account or project. An extension was created that allows operators to inform a project or an account and domain when executing the
listDiskOfferingandlistServiceOfferingAPIs. In this way, the APIs will only return offers whose account/project has access permission.Types of changes
Feature/Enhancement Scale
How Has This Been Tested?
Tests were executed via CMK by calling
listDiskOfferingandlistServiceOfferinginforming the parameters account and domainId or projectId. To verify the consistency of the data returned by the APIs,listDiskOfferingandlistServiceOfferingcalls were executed with the target account from the previous step, without informing the filtering parameters.