Merge lp:~cprov/snappy-proposed-image-tester/logging into lp:snappy-proposed-image-tester

Proposed by Celso Providelo
Status: Merged
Approved by: Celso Providelo
Approved revision: 40
Merged at revision: 40
Proposed branch: lp:~cprov/snappy-proposed-image-tester/logging
Merge into: lp:snappy-proposed-image-tester
Diff against target: 37 lines (+6/-9)
1 file modified
snappy_proposed_image_tester/constants.py (+6/-9)
To merge this branch: bzr merge lp:~cprov/snappy-proposed-image-tester/logging
Reviewer Review Type Date Requested Status
Celso Providelo (community) Approve
Review via email: mp+260422@code.launchpad.net

Commit message

Fix logstash 'solution' name to match the other services as 'snappy-proposed', derive queue name from it.

Description of the change

Fix logstash 'solution' name to match the other services as 'snappy-proposed', derive queue name from it.

To post a comment you must log in.
Revision history for this message
Celso Providelo (cprov) wrote :

Self-approving because I am evil!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'snappy_proposed_image_tester/constants.py'
--- snappy_proposed_image_tester/constants.py 2015-05-28 02:32:54 +0000
+++ snappy_proposed_image_tester/constants.py 2015-05-28 05:37:26 +0000
@@ -21,9 +21,9 @@
21"""Constants for this service."""21"""Constants for this service."""
22RETRY_COUNT = 322RETRY_COUNT = 3
2323
24SOLUTION_NAME = "snappy-proposed-migration"24SOLUTION_NAME = "snappy-proposed"
2525
26SERVICE_NAME = "snappy-proposed-image-tester"26SERVICE_NAME = "image-tester"
2727
28HOSTNAME = socket.gethostname()28HOSTNAME = socket.gethostname()
2929
@@ -33,17 +33,14 @@
33 'hostname': HOSTNAME,33 'hostname': HOSTNAME,
34}34}
3535
36# Queue names are constant, rather than being defined in the config.
37QUEUE_PREFIX = "snappy-proposed"
38
39# The queue we listen to for new payloads to check:36# The queue we listen to for new payloads to check:
40INPUT_QUEUE = "{}.tests.v1".format(QUEUE_PREFIX)37INPUT_QUEUE = "{}.tests.v1".format(SOLUTION_NAME)
4138
42# The queue we put fatally error'd payloads into:39# The queue we put fatally error'd payloads into:
43DEAD_LETTER_QUEUE = "{}.deadletters.v1".format(QUEUE_PREFIX)40DEAD_LETTER_QUEUE = "{}.deadletters.v1".format(SOLUTION_NAME)
4441
45# The queue we put payloads on to re-run the test:42# The queue we put payloads on to re-run the test:
46TEST_RETRY_QUEUE = "{}.tests.v1".format(QUEUE_PREFIX)43TEST_RETRY_QUEUE = "{}.tests.v1".format(SOLUTION_NAME)
4744
48# The queue we put results on:45# The queue we put results on:
49DONE_QUEUE = "{}.results.v1".format(QUEUE_PREFIX)46DONE_QUEUE = "{}.results.v1".format(SOLUTION_NAME)

Subscribers

People subscribed via source and target branches