-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22264/
-----------------------------------------------------------
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-6030
https://issues.apache.org/jira/browse/AMBARI-6030
Repository: ambari
Description
-------
Structured_out attribute from Custom Action API is now a stringified JSON. This
should be changed to pure JSON.
Stringified JSON is really hard to read, does not format well, and also there's
no reason for the FE to do JSON parse twice (once for the API response and then
another to parse structured_out).
We should fix this for 1.6.1 before this becomes permanent.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/TaskResourceProvider.java
f0d2c06
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/TaskResourceProviderTest.java
7efd0f3
Diff: https://reviews.apache.org/r/22264/diff/
Testing
-------
mvn clean test
Thanks,
Dmitro Lisnichenko