diff options
author | ottero <rodrigo.ottero@est.tech> | 2019-05-16 09:00:07 +0000 |
---|---|---|
committer | ottero <rodrigo.ottero@est.tech> | 2019-05-16 09:00:07 +0000 |
commit | 5801ed7abaa58f7ef728ad68c496a3780d438194 (patch) | |
tree | 21e94f4d3c548fdfd24b2c7c9bf08d5807caa041 /cds-ui/client | |
parent | 250b5b2a4ad4020df9c0dd053743d28616e28485 (diff) |
Bugfix: Blueprints Processor always return 200 OK
Currently the Blueprints Processor mS replies with a 200 OK HTTP status
code even if an exception occurs in the server side while executing the
request.
Thus, the only way for a REST client to determine if the request was
successful or not is by analysing the response and evaluate the
content of the element status.code
This bugfix modifies the HTTP status code of the response to match the
one inside the response.
Issue-ID: CCSDK-1327
Change-Id: I05a58cb3ab9359319172f2d8f1a665fdcdc1230b
Signed-off-by: ottero <rodrigo.ottero@est.tech>
Diffstat (limited to 'cds-ui/client')
0 files changed, 0 insertions, 0 deletions