[bedrock] Add an entry to the TWITTER_APP_KEYS setting

VERIFIED FIXED

Status

Infrastructure & Operations Graveyard
WebOps: Product Delivery
VERIFIED FIXED
4 years ago
2 years ago

People

(Reporter: pmac, Assigned: cturra)

Tracking

Details

(Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1374] )

We need a new entry in this setting on all environments (dev, demo[1-5], stage, and prod). It currently looks like this:

TWITTER_APP_KEYS = {
    'mozstudents': {
        'CONSUMER_KEY': '<RANDOM_KEY>',
        'CONSUMER_SECRET': '<RANDOM_KEY>',
        'ACCESS_TOKEN': '<RANDOM_KEY>',
        'ACCESS_TOKEN_SECRET': '<RANDOM_KEY>',
    },
}

We need to add a "default" entry using the same keys from the "mozstudents" entry. So the final would look like:

TWITTER_APP_KEYS = {
    'mozstudents': {
        'CONSUMER_KEY': '<RANDOM_KEY>',
        'CONSUMER_SECRET': '<RANDOM_KEY>',
        'ACCESS_TOKEN': '<RANDOM_KEY>',
        'ACCESS_TOKEN_SECRET': '<RANDOM_KEY>',
    },
    'default': {
        'CONSUMER_KEY': '<RANDOM_KEY>',
        'CONSUMER_SECRET': '<RANDOM_KEY>',
        'ACCESS_TOKEN': '<RANDOM_KEY>',
        'ACCESS_TOKEN_SECRET': '<RANDOM_KEY>',
    },
}

Where the keys are all the same for both entries (respective of key type). This can go out to all environments whenever you're ready. We'll be pushing the code to use the new key after this is complete as it is required for the new code to work, but will not affect the app as it exists now.

Hope this makes sense. Needinfo me or ping me on IRC with questions (pmac).

Updated

4 years ago
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1374]
Note:  It would be great to have this done by October 7 so that we can test before our October 15 launch date.
Due Date: 2014-10-07
(Assignee)

Comment 2

4 years ago
this twitter settings/local.py config change has been made to all dev, demo, stage and prod environments as requested.
Assignee: server-ops-webops → cturra
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Looks perfect. Thanks Chris!
Status: RESOLVED → VERIFIED

Updated

4 years ago
Blocks: 1073647
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.