summaryrefslogtreecommitdiff
path: root/ironic_python_agent/api/controllers/v1
Commit message (Collapse)AuthorAgeFilesLines
* Replace WSME and Pecan with WerkzeugDmitry Tantsur2019-12-045-415/+0
| | | | | | | | | WSME is no longer maintained and Pecan is an overkill for our (purely internal) API. This change rewrites the API in Werkzeug (the library underneath Flask). I don't use Flask here since it's also an overkill for API with 4 meaningful endpoints. Change-Id: Ifed45f70869adf00e795202a53a2a53c9c57ef30
* Stop using six libraryRiccardo Pittau2019-11-291-2/+1
| | | | | | | | | | Since we've dropped support for Python 2.7, it's time to look at the bright future that Python 3.x will bring and stop forcing compatibility with older versions. This patch removes the six library from requirements, not looking back. Change-Id: I4795417aa649be75ba7162a8cf30eacbb88c7b5e
* Replacing the HTTP protocal with HTTPSzhangshj2018-12-251-1/+1
| | | | Change-Id: I9791b6781158c0ddebda636daeea39665b483dd6
* Fix gate and bump CoreOS version to latest stable.Julia Kreger2018-05-102-1/+3
| | | | | | | | | | | | | | | | | | | | | | Increases the amount of ram for CoreOS IPA to 2GB as the base CoreOS image is now 310MB. Bumped CPU count for CoreOS runs to 2 CPUs as the concurrency helps boot times for the CoreOS ramdisk. Adds netbase, udev, and open-iscsi to debian jessie container as they are no longer present in the default container. Explicitly set path variable for execution in the debian container as udevadm is in /sbin, and we may not have /sbin on the path that is passed through to the chroot. Also fixed new pep8 test failures. Story: #1600228 Task: #16287 Change-Id: I488445dfd261b7bca322a0be7b4d8ca6105750a3
* Update version of flake8-import-order packageJohn L. Villalovos2017-12-081-1/+0
| | | | | | | | | Use latest version of flake8-import-order package, like we do in openstack/ironic Fix two issues detected by new version. Change-Id: Idb8f0fd79c3d6b34611288f77948d042cd837806
* Add metrics support to IPAJosh Gachnang2016-08-032-22/+28
| | | | | | | | | | | | | This utilizes the new metrics support in ironic-lib to allow the agent to report timing metrics for agent API methods as configured in ironic-lib. Additionally, this adds developer docs on how to use metrics in IPA, including some caveats specific to ironic-lib.metrics use in IPA. Co-Authored-By: Jay Faulkner <jay@jvf.cc> Co-Authored-By: Alex Weeks <alex.weeks@gmail.com> Change-Id: Ic08d4ff78b6fb614b474b956a32eac352a14262a Partial-bug: #1526219
* Fixes incorrect description URLMario Villaplana2015-09-151-3/+3
| | | | | | | | A GET to /v1 in the API returns a link to a URL for a repository that is no longer maintained. This commit changes the link to point to the correct documentation. Change-Id: I8779cd1840627ff8759527b7514306293682aaae
* Improve IPA logging and exception handlingJosh Gachnang2015-07-281-4/+4
| | | | | | | | | Debugging the agent is a huge pain point. Tracebacks are rarely logged, error messages are often only returned via the API, and lack of info logging makes it hard to determine where some failures occur. Some errors only return a 500 with no error message or logs. Change-Id: I0a127de6e4abf62e20d5c5ad583ba46738604d2d
* Fix Sphinx Autodoc WARNING/ERROR in docs buildJay Faulkner2015-03-311-10/+10
| | | | | | | | | | The docstrings here were all giving WARNINGs or ERRORs during the docs build, and were generally making unappealing looking developer documentation. I corrected the syntax and did what was neccessary to make the build come out clean. Change-Id: I74b00a7f125770b0468cff3bdf26d0d52cd054d7 (cherry picked from commit c0921cdff372ce1fd6df1c4ab4eb5463e2cba0e4)
* Add docstrings for api/ treeJim Rollenhagen2014-09-222-1/+44
| | | | | | | | Does what it says. Partial-Bug 1367915 Change-Id: Id1a718d652f6d98e6acb1d667f42d9c3cc82aef5
* Fix wait argument on POSTChris Behrens2014-04-211-3/+3
| | | | | | Its type was not declared. Adds tests for this. Change-Id: Iba05ce38f7548cc8400ac78493ef16b5e69905bb
* Get rid of modes. Introduce pluggable extensionsAlexander Gordeev2014-03-271-2/+1
| | | | | | | Allow multiple extensions to be loaded by switching to ExtensionManager from stevedore. Remove any reference to modes. Change-Id: Ic160478625226b4dd17bd68b3d37f3b05823e519
* Replacing teeth/overlord with ipa/ironicJosh Gachnang2014-03-194-7/+7
|
* Renaming to IPAJosh Gachnang2014-03-195-0/+367