Bug 743284

Summary: RFE: Unable to edit details of channel through the api, although you can through the web ui
Product: [Community] Spacewalk Reporter: lance dillon <ldillon>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.5Keywords: Reopened
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-22 16:51:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 723481, 737830    

Description lance dillon 2011-10-04 13:39:33 UTC
Description of problem:
There does not seem to be a way to edit the details of a channel (for example, gpg key information) that already exists through the api, although you can through the web ui.  The only api methods that seem to exist that can manage those are channel.software.clone and channel.software.create, and those don't edit current channels, they create new channels.

Comment 1 Tomas Lestach 2011-10-04 13:58:37 UTC
channel_map parameter of channel.software.setDetails contains also:
 string "gpg_key_url" - new channel gpg key url (optional)
 string "gpg_key_id" - new channel gpg key id (optional)
 string "gpg_key_fp" - new channel gpg key fingerprint (optional)

Looks implemented for me. Closing as CURRENTRELEASE.

Comment 2 lance dillon 2011-10-04 14:28:41 UTC
Thanks, I was only looking at the currently released version (1.5), not at the nightly (http://spacewalk.redhat.com/yum/nightly/RHEL/5/x86_64).  I will probably end up waiting for the official 1.6 release.

Thanks

Comment 3 Tomas Lestach 2011-10-04 15:06:31 UTC
Oh, I am sorry. I thought it's in Spacewalk 1.5. My fault.

This feature was implemented within Bug 662200.

Moving back to MODIFIED.

Comment 4 Milan Zázrivec 2011-12-22 16:51:18 UTC
Spacewalk 1.6 has been released.