Skip to content
This repository has been archived by the owner on Sep 27, 2018. It is now read-only.

Include the app_key in report keys #11

Merged
merged 2 commits into from Mar 6, 2017
Merged

Conversation

davidor
Copy link
Contributor

@davidor davidor commented Mar 6, 2017

Closes #10

If we do not include the app_key in the report key, the flusher will not be able to know which app keys it needs to renew the TTL for.
We were including other credentials already like app_id, user_key, access_token, etc. but we forgot about app_key.

If we do not include the app_key in the report key, the flusher will not be able to know which app keys it needs to renew the TTL for.
We were including other credentials already like app_id, user_key, access_token, etc. but we forgot about app_key.
@andrewdavidmackenzie
Copy link

Failing test before the fix possible?

@davidor
Copy link
Contributor Author

davidor commented Mar 6, 2017

I added a test that not only checks that app_key is included in a report key, but also checks that all the other possible credentials (access_token, user_key, etc.) are.

@davidor
Copy link
Contributor Author

davidor commented Mar 6, 2017

Travis build here: https://travis-ci.org/3scale/apicast-xc/builds/208170144
For some reason it doesn't show in the PR. We'll need to fix the integration.

@unleashed unleashed merged commit 67886f0 into master Mar 6, 2017
@unleashed unleashed deleted the app_key_in_report_keys branch March 6, 2017 11:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants