-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
API: move ostypeid from DB id to DB uuid, backports #2528 #3066
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, same as the already merged PR on master.
This is same as: #2608 |
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2472 |
@blueorangutan test |
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With these changes response looks like this:
(localcloud) SBCM5> > list virtualmachines id=6110274a-b86e-4964-b964-f54fec0360e2 filter=name,ostypeid
{
"count": 1,
"virtualmachine": [
{
"name": "VM-6110274a-b86e-4964-b964-f54fec0360e2",
"ostypeid": "d4db1769-f3be-11e8-86d3-063e32010711"
}
]
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM based on the code
We should never return the database IDs, but return a UUID in all cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Trillian test result (tid-3236)
|
Description
This is a backport to 4.11 of #2528
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
Locally