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 PUT Route to Config API #24

Closed
KevinMackenzie opened this issue Oct 9, 2017 · 1 comment
Closed

Add PUT Route to Config API #24

KevinMackenzie opened this issue Oct 9, 2017 · 1 comment

Comments

@KevinMackenzie
Copy link
Owner

One major feature of the API is to allow the server to update their configuration state. This will allow them to do that by submitting JSON to a route TBD with the applicable information. The format of this is also TBD, but will contain the name of the config, the db_lines and the local_lines.

@KevinMackenzie KevinMackenzie added this to In Progress in Traffic Ops Oct 9, 2017
@KevinMackenzie KevinMackenzie changed the title Add POST Route to Config API Add PUT Route to Config API Oct 20, 2017
@KevinMackenzie
Copy link
Owner Author

More or less complete with b07047b (pending more rigorous testing).
While the API will request JSON with anything in the fileName attribute while PUTting since the API uses the name in the URL, we should validate that either: the fileName in the JSON is blank OR is equal to the one in the URL.

@KevinMackenzie KevinMackenzie moved this from In Progress to Pending Testing in Traffic Ops Oct 20, 2017
@KevinMackenzie KevinMackenzie moved this from Pending Testing to Done in Traffic Ops Oct 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant