Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure the ALM API returns usage stats for counter and pmc #25

Merged
merged 1 commit into from
Sep 5, 2014
Merged

Make sure the ALM API returns usage stats for counter and pmc #25

merged 1 commit into from
Sep 5, 2014

Conversation

mfenner
Copy link
Member

@mfenner mfenner commented Sep 5, 2014

This pull requests gracefully handles situations where the ALM API returns no event data for counter or pmc and fixes #13. Added unit tests to confirm that the generate_data_for_usage_chart method works as expected. Also made a small tweak to the Javascript handling the missing data.

@mfenner
Copy link
Member Author

mfenner commented Sep 5, 2014

I didn't want to create test fixtures, as this project is probably moving to factories soon. I tried to change the existing code as little as possible, in the future we might consider refactoring some of the methods for easier unit testing.

@jure
Copy link
Contributor

jure commented Sep 5, 2014

Looking good Martin, thanks! Merging.

jure added a commit that referenced this pull request Sep 5, 2014
Make sure the ALM API returns usage stats for counter and pmc
@jure jure merged commit 0b14b57 into lagotto:master Sep 5, 2014
@jure jure deleted the sort branch September 5, 2014 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Visualizations 500 in production
2 participants