~allenap/maas/use-atomic-delete-and-write-scripts

Viewing all changes in revision 5833.

  • Committer: MAAS Lander
  • Author(s): Lee Trager
  • Date: 2017-03-21 21:01:04 UTC
  • mfrom: (5751.6.17 script_api)
  • Revision ID: maas_lander-20170321210104-2aa66dfnbw6q7bc0
[r=blake-rouse][bug=][author=ltrager] Migration the commission-scripts API endpoint to use the Script model and add the scripts endpoint.

Migrate the commission-script and commission-scripts API endpoints to use the Script model in an API compatible fashion. To expose all of the features of the script model create a new script and scripts endpoint. This allows for creating, modifying, reverting, and downloading of all script types.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: