-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(repos) all elastic mq repos should be based on libtrustbirdge (#48)
- Loading branch information
1 parent
0d64783
commit 3074e49
Showing
4 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from intergov.repos.base.elasticmq import elasticmqrepo | ||
from libtrustbridge.repos.elasticmqrepo import ElasticMQRepo | ||
|
||
|
||
class APIInboxElasticRepo(elasticmqrepo.ElasticMQRepo): | ||
class APIInboxElasticRepo(ElasticMQRepo): | ||
def _get_queue_name(self): | ||
return 'api-inbox' |
14 changes: 7 additions & 7 deletions
14
intergov/repos/channel_pending_message/elasticmq/elasticmqrepo.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
from intergov.repos.base.elasticmq import elasticmqrepo | ||
from libtrustbridge.repos.elasticmqrepo import ElasticMQRepo | ||
|
||
""" | ||
This repo receives pending messages to provide | ||
them to worker which will poll their status from the | ||
coresponding channels. | ||
""" | ||
|
||
class ChannelPendingMessageElasticMQRepo(ElasticMQRepo): | ||
""" | ||
This repo receives pending messages to provide | ||
them to worker which will poll their status from the | ||
coresponding channels. | ||
""" | ||
|
||
class ChannelPendingMessageElasticMQRepo(elasticmqrepo.ElasticMQRepo): | ||
def _get_queue_name(self): | ||
return 'channel-pending-messages' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from intergov.repos.base.elasticmq import elasticmqrepo | ||
from libtrustbridge.repos.elasticmqrepo import ElasticMQRepo | ||
|
||
|
||
class DeliveryOutboxRepo(elasticmqrepo.ElasticMQRepo): | ||
class DeliveryOutboxRepo(ElasticMQRepo): | ||
def _get_queue_name(self): | ||
return 'delivery-outbox' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
from intergov.repos.base.elasticmq import elasticmqrepo | ||
from libtrustbridge.repos.elasticmqrepo import ElasticMQRepo | ||
|
||
""" | ||
This repo is used to delay message updates | ||
""" | ||
|
||
class MessageUpdatesElasticMQRepo(ElasticMQRepo): | ||
""" | ||
This repo is used to delay message updates | ||
""" | ||
|
||
class MessageUpdatesElasticMQRepo(elasticmqrepo.ElasticMQRepo): | ||
def _get_queue_name(self): | ||
return 'message-updates' |