Shuicheng Lin aebc9ee1fa Enable fm-rest-api to return json format error message
Closes-Bug: 1789979

fm-rest-api returns json format message for the correct api
access. For the invalid api access, the message is with html
format, need add wrap_app to convert it to json format.
Fix:
The implementation code is copied from upstream Ironic API,
and minor modification to pass tox pep8 check.
Also remove "x" attribute for the py file.
Test:
Pass build and multi node deploy test. Confirmed the return
message is json format.

Change-Id: I36fa89b82377d52008a467316c42c06caa65cd90
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
2018-12-03 22:14:21 +08:00
2018-11-22 21:09:27 +08:00
2018-08-23 13:31:24 -05:00
2018-09-05 21:35:07 -04:00
2018-09-25 15:55:02 -07:00
2018-05-31 07:36:00 -07:00
2018-11-01 23:38:13 -05:00
2018-05-31 07:36:00 -07:00
2018-10-24 10:06:43 -05:00

stx-fault

StarlingX Fault Management

Description
StarlingX Fault Management
Readme 5.8 MiB
Languages
Python 60.9%
C++ 31.7%
Shell 3.1%
C 3.1%
Makefile 1.1%