Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't declare exchanges when consuming #191

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

jeremycline
Copy link
Member

The CLI (by way of Twisted) does not declare exchanges when consuming,
it assumes the exchange already exists. This seems reasonable, consumers
will still learn about configuration mistakes during the binding
process. This makes it impossible to consume from the public vhost in
Fedora, so this is a quick bugfix release while the transition to
Crochet and Twisted are worked on and polished.

Fixes: #171

Signed-off-by: Jeremy Cline jcline@redhat.com

The CLI (by way of Twisted) does not declare exchanges when consuming,
it assumes the exchange already exists. This seems reasonable, consumers
will still learn about configuration mistakes during the binding
process. This makes it impossible to consume from the public vhost in
Fedora, so this is a quick bugfix release while the transition to
Crochet and Twisted are worked on and polished.

Fixes: fedora-infra#171

Signed-off-by: Jeremy Cline <jcline@redhat.com>
Copy link
Member

@abompard abompard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@codecov-io
Copy link

codecov-io commented Jun 24, 2019

Codecov Report

Merging #191 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #191      +/-   ##
==========================================
- Coverage   94.91%   94.89%   -0.02%     
==========================================
  Files          14       14              
  Lines        1455     1450       -5     
  Branches      190      189       -1     
==========================================
- Hits         1381     1376       -5     
  Misses         55       55              
  Partials       19       19
Impacted Files Coverage Δ
fedora_messaging/_session.py 95.34% <ø> (-0.11%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update af2a56d...bd7feff. Read the comment docs.

@mergify mergify bot merged commit d43c261 into fedora-infra:master Jun 24, 2019
@jeremycline jeremycline deleted the fix-sync-consume-fail branch June 24, 2019 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

api.consume against fedora endpoint hits permissions issue
3 participants