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
1=== modified file 'snappy_proposed_image_tester/constants.py'
2--- snappy_proposed_image_tester/constants.py 2015-05-28 02:32:54 +0000
3+++ snappy_proposed_image_tester/constants.py 2015-05-28 05:37:26 +0000
4@@ -21,9 +21,9 @@
5 """Constants for this service."""
6 RETRY_COUNT = 3
7
8-SOLUTION_NAME = "snappy-proposed-migration"
9+SOLUTION_NAME = "snappy-proposed"
10
11-SERVICE_NAME = "snappy-proposed-image-tester"
12+SERVICE_NAME = "image-tester"
13
14 HOSTNAME = socket.gethostname()
15
16@@ -33,17 +33,14 @@
17 'hostname': HOSTNAME,
18 }
19
20-# Queue names are constant, rather than being defined in the config.
21-QUEUE_PREFIX = "snappy-proposed"
22-
23 # The queue we listen to for new payloads to check:
24-INPUT_QUEUE = "{}.tests.v1".format(QUEUE_PREFIX)
25+INPUT_QUEUE = "{}.tests.v1".format(SOLUTION_NAME)
26
27 # The queue we put fatally error'd payloads into:
28-DEAD_LETTER_QUEUE = "{}.deadletters.v1".format(QUEUE_PREFIX)
29+DEAD_LETTER_QUEUE = "{}.deadletters.v1".format(SOLUTION_NAME)
30
31 # The queue we put payloads on to re-run the test:
32-TEST_RETRY_QUEUE = "{}.tests.v1".format(QUEUE_PREFIX)
33+TEST_RETRY_QUEUE = "{}.tests.v1".format(SOLUTION_NAME)
34
35 # The queue we put results on:
36-DONE_QUEUE = "{}.results.v1".format(QUEUE_PREFIX)
37+DONE_QUEUE = "{}.results.v1".format(SOLUTION_NAME)

Subscribers

People subscribed via source and target branches