Bug 562463 - channel.software.create is missing some parameters
Summary: channel.software.create is missing some parameters
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: API
Version: 0.7
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space09
TreeView+ depends on / blocked
 
Reported: 2010-02-06 20:52 UTC by Michael Mráka
Modified: 2010-09-20 08:54 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-05-05 15:01:22 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 562463 0 medium CLOSED channel.software.create is missing some parameters 2021-02-22 00:41:40 UTC

Internal Links: 562463

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


Note You need to log in before you can comment on or make changes to this bug.