Shims need to take configurable username and password

RESOLVED FIXED

Status

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: mcote, Assigned: mcote)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
When we implement the new Pulse security model[1], all publishers will be using unique passwords.  Therefore, all shims in hg.mozilla.org/automation/pulseshims will have to load account details from a config file in lieu of hard-coded data.

[1] https://wiki.mozilla.org/Auto-tools/Projects/Pulse#Security_Model
(Assignee)

Comment 1

5 years ago
Created attachment 8481375 [details] [diff] [review]
Configurable user and password for heartbeat shim

heartbeat.py now requires a user and password to be specified in the config file.  Also removed "sent once a minute" from the message, since the rate is arbitrary; each time heartbeat.py is executed, one message is sent.
Attachment #8481375 - Flags: review?(jgriffin)
Attachment #8481375 - Flags: review?(jgriffin) → review+
(Assignee)

Comment 2

5 years ago
Realized I forgot to update config.ini.example, so I snuck that into this commit.

I think that covers all the shims, certainly the ones in use right now.

https://hg.mozilla.org/automation/pulseshims/rev/09a57a284772
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.