Bug 562463

Summary: channel.software.create is missing some parameters
Product: [Community] Spacewalk Reporter: Michael Mráka <mmraka>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.7CC: lzap
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-05 15:01:22 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: 559281    

Description Michael Mráka 2010-02-06 20:52:03 UTC
Description of problem:
There is no way how to set
repository url
repository label
sync repo
gpg key url
gpg key id
gpg key fingerprint
parameters via API channel.software.create call. They can be set via webUI.

Version-Release number of selected component (if applicable):
spacewalk-java-0.8.11-1

How reproducible:
always

Steps to Reproduce:
1. 
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Tomas Lestach 2010-02-15 20:05:33 UTC
adding one more channel.software.create API call to be able to set:
- repository url
- repository label
- sync repo
- gpg key url
- gpg key id
- gpg key fingerprint

spacewalk.git: 2e32402b98827780c9e21e0a7fbff687f31f8691

Comment 2 Tomas Lestach 2010-02-17 16:30:53 UTC
2 more commits:

* checkstyle fixes:
 spacewalk.git: 25447b0c66e0ab8ba417c25ee432f9907631fcb8

* combine several API call params to a single Map parameter (because of checkstyle rule a method cannot have more than 12 parameters):
 spacewalk.git: 74e1cf87aec3b6e368930f6a61217c805764b329

Comment 3 Michael Mráka 2010-04-07 21:16:59 UTC
New API is present and works in current nightly repo build.
Package spacewalk-java-0.9.15-1.

Comment 4 Miroslav Suchý 2010-05-05 15:01:22 UTC
This bug has been fixed in Spacewalk 1.0.
Closing.

Comment 5 Lukas Zapletal 2010-09-20 08:54:17 UTC
Nonfunctional possibility to add repository along with new channel over XMLRPC API has been removed from code and documentation. We do need to create new API (client.repo.create()/.delete()/getDetails()/...) that will handle repositories.

See bug 634884.

3d3626e2bb9073f53b3fabc15fbc52d8bdf2aac5