Actions
Bug #27712
closed[Modularity Filters] - Add a way to create modularity filter rule using hammer cli
Difficulty:
trivial
Triaged:
Yes
Description
[Modularity Filters] - Add a way to create modularity filter rule using hammer CLI
Currently, we tried
Option details:
Following parameters accept format defined by its schema (bold are required):
--module-streams "name=string\,stream=string, ... "
hammer>
hammer> content-view filter rule create --name "exclude duck module stream" --content-view-id 9 --content-view-filter-id 24 --module-streams "name='duck', stream='0'"
Could not create the filter rule:
Missing arguments for 'module_streams[0][stream]', 'module_streams[1][name]'
hammer> content-view filter rule create --name "exclude duck module stream" --content-view-id 9 --content-view-filter-id 24 --module-streams "name=duck, stream=0"
Could not create the filter rule:
Missing arguments for 'module_streams[0][stream]', 'module_streams[1][name]'
Detailed Discussion happened here :
https://github.com/Katello/katello/pull/8295#issuecomment-524827010
Solution Suggested :
https://github.com/Katello/katello/pull/8295#issuecomment-524861843
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/681 added
Updated by James Jeffers over 5 years ago
- Target version set to Katello 3.14.0
- Triaged changed from No to Yes
Updated by Partha Aji over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-katello|846067f4f9456737205ee1d2f9c6df680466186c.
Actions