Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
147c1088
Commit
147c1088
authored
Nov 20, 2018
by
Lukas Burgey
Browse files
Change broker exchanges
parent
dc4b1b95
Changes
1
Hide whitespace changes
Inline
Side-by-side
feudal/backend/models/brokers.py
View file @
147c1088
...
...
@@ -16,9 +16,9 @@ RABBITMQ_CONNECTION = None
def
exchanges_default
():
return
[
'entitlements'
,
'groups'
,
'users'
,
'sites'
,
'services'
,
]
...
...
@@ -166,13 +166,6 @@ class RabbitMQInstance(SingletonModel):
msg
,
)
def
publish_by_site
(
self
,
site
,
msg
):
self
.
_publish
(
'sites'
,
site
.
name
,
msg
,
)
def
publish_to_user
(
self
,
user
,
msg
):
self
.
_publish
(
'users'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment