summaryrefslogtreecommitdiff
path: root/src/services/vyos-http-api-server
AgeCommit message (Collapse)Author
2020-07-25Revert "Merge pull request #423 from thomas-mangin/T2494"Christian Poessinger
This reverts commit bfbf51acb2d4b6b5fe2d22d39f7259686f98d2a0, reversing changes made to 1a85e758b105d493bb9d95916816bd206345bc5d.
2020-07-25Merge pull request #423 from thomas-mangin/T2494Christian Poessinger
systemd: T2494: allow to restart vyos-hostsd without consequence
2020-07-22http-api: remove unneeded check for VyOSErrorJohn Estabrook
The only calls to config (return_value, return_values, exists) do not throw VyOSError; remove unneeded except.
2020-06-25systemd: T2494: use Type=notify with daemonThomas Mangin
Notify systemd via the notify API when the python daemon are ready to take connection https://github.com/torfsen/python-systemd-tutorial
2020-06-25http-api: T2494: always exit with non zero on failureThomas Mangin
systemd is setup with Restart=on-failure thereforer the service will only be restarted if the daemon died and reported an error. Previously any OsError would cause a exit(0) and therefore the API would not have been restarted. https://www.freedesktop.org/software/systemd/man/systemd.service.html
2020-05-06http api: T2395: add waitress as production WSGI serverJohn Estabrook
2020-05-06http api: T2395: replace bottle with flask as microframeworkJohn Estabrook
2020-05-06http api: use decorator to get command data from requestJohn Estabrook
2020-05-06http api: catch appropriate errorsJohn Estabrook
2020-05-06http api: function names should be consistentJohn Estabrook
2020-04-22http api: T2096: form of show/generate should be consistent with other cmdsJohn Estabrook
2020-04-20http api: T2292: handle SIGTERM from systemd restart; raise SIGINTJohn Estabrook
2020-03-11http api: T2096: Added show and generateMatthias Fetzer
2020-02-14http api: T2040: reload Config in route definitionJohn Estabrook
2019-12-03T1801: move escaping of backslashes into configtreeJohn Estabrook
2019-11-17T1801: escape isolated backslashes before passing to ConfigTree()John Estabrook
2019-11-05T1774: fix error outputJohn Estabrook
2019-10-27T1773, T1774: add a show config operation with JSON and raw options.Daniil Baturin
2019-10-23[HTTP API] Add endpoints for config file and image management.Daniil Baturin
2019-10-23[HTTP API] Use a decorator for functions that require authentication.Daniil Baturin
2019-08-05T1431: add showConfig operation to the HTTP API.Daniil Baturin
2019-06-17[HTTP API] T1431: disallow empty config paths.Daniil Baturin
2019-06-17[HTTP API] T1431: make the value field optional.Daniil Baturin
2019-06-17[HTTP API] T1431: allow sending a single command, and make sure commands are ↵Daniil Baturin
dicts.
2019-06-17[HTTP API] T1431: make the value field optional and add better validation.Daniil Baturin
2019-06-17T1431: release the lock even if discard() caused an exception.Daniil Baturin
It may be better to crash the process in that situation.
2019-06-16T1431: initial implementation of the HTTP API.Daniil Baturin