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

Add eco_scenario.json endpoint to support modeling #24

Merged
merged 1 commit into from
Jul 16, 2014

Conversation

jwalgran
Copy link
Contributor

I factored some code out of the eco.json endpoint to keep things DRY. While moving the code I added more descriptive error messages for the different failure modes, to help with debugging.

I renamed some of the generically named structures used for JSON marshaling so that they are more specific about their contents and the endpoints to which they are related.

I factored some code out of the eco.json endpoint to keep things DRY.
While moving the code I added more descriptive error messages for the
different failure modes, to help with debugging.

I renamed some of the generically named structures used for JSON
marshaling so that they are more specific about their contents and the
endpoints to which they are related.
@maurizi
Copy link
Contributor

maurizi commented Jul 15, 2014

It would be nice to see some unit tests for this new endpoint

@maurizi
Copy link
Contributor

maurizi commented Jul 15, 2014

Otherwise it looks good, +1

@jwalgran
Copy link
Contributor Author

I did not want to block the creation of this endpoint with the creation of an equally large functional test harness, so I made a separate issue (#25) to get the coverage up to snuff.

jwalgran added a commit that referenced this pull request Jul 16, 2014
Add eco_scenario.json endpoint to support modeling
@jwalgran jwalgran merged commit b309d65 into OpenTreeMap:master Jul 16, 2014
@jwalgran jwalgran deleted the topic/scenario-endpoint branch July 16, 2014 15:59
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.

3 participants