You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2019/04/19 23:52:36 UTC

[GitHub] [trafficcontrol] rawlinp opened a new issue #3511: Use a common validation solution between Traffic Ops and Traffic Portal

rawlinp opened a new issue #3511: Use a common validation solution between Traffic Ops and Traffic Portal
URL: https://github.com/apache/trafficcontrol/issues/3511
 
 
   Right now, Traffic Ops does server-side request validation, and Traffic Portal has its own implementation of client-side validation. Sometimes these two different validation implementations get out of sync, leading to issues where Traffic Portal thinks a form contains valid input but is rejected by Traffic Ops or thinks a form contains invalid input but would actually be accepted by Traffic Ops.
   
   It's possible to share most of this validation between TO and TP using something like https://json-schema.org/. TO would likely have to augment that with stronger validation than what can be done in the shared validation, but at least TP wouldn't have to reimplement all of the same validation done by TO.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services