| Summary: | Support v7 call home to open a new cert | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Hardware Certification Program | Reporter: | Rob Landry <rlandry> |
| Component: | Hardware Catalog | Assignee: | Wei Shen <wshen> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.2 | CC: | gnichols, hwcert-catalog, junwang, wshen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://hardware.redhat.com/ | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-07-12 09:10:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 733411, 782191, 788761 | ||
Created attachment 561776 [details]
the patch for xmlrpc
verified on web2 Created attachment 580384 [details]
the new patch addressing make id
Created attachment 580393 [details]
new Patch for make id
Is the user notified after the cert is opened with unknown vendor/make that they should go to the web UI to make the corrections? Some simple messaging between v7 and catalog is needed here likely. Greg, do you have any feedback for how this does or should happen? (In reply to comment #22) > Is the user notified after the cert is opened with unknown vendor/make that > they should go to the web UI to make the corrections? Some simple messaging > between v7 and catalog is needed here likely. This is not included in the code, I have no idea how to implement this, maybe we can do this later. I have adopted tfu's suggestion, change the return value of create method to a hash(dictionary in python), the structure will be { id => id-value, warning => warning-value}, if warning-value is not an empty string, v7 would print that warning value. e.g.
data = s.Cert.create(params)
data['id'] is the newly created cert's id
if data['warning']:
print data['warning']
What do you think, Rob, Greg?
Created attachment 581564 [details]
new patch for adding warnings
verified on partner |
Description of problem: v7-1.5 needs to able to open a new cert from the command line of the SUT. Steps to Reproduce: 1. v7 {proper commandline with password} Expected results: A new cert/bug is created in parallel with the capabilities of enter.cgi without attachment.