Closed Bug 1075574 Opened 10 years ago Closed 10 years ago

[bedrock] Add an entry to the TWITTER_APP_KEYS setting

Categories

(Infrastructure & Operations Graveyard :: WebOps: Product Delivery, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: pmac, Assigned: cturra)

References

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).
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
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
Closed: 10 years ago
Resolution: --- → FIXED
Looks perfect. Thanks Chris!
Status: RESOLVED → VERIFIED
Blocks: 1073647
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.