You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/02/26 17:52:01 UTC

[jira] [Commented] (AMBARI-24906) JSON document validation for "Add Service" request

    [ https://issues.apache.org/jira/browse/AMBARI-24906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16778256#comment-16778256 ] 

Hudson commented on AMBARI-24906:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10471 (See [https://builds.apache.org/job/Ambari-trunk-Commit/10471/])
[Ambari-24906] JSON validation for AddServiceRequest (#2617) (vishalsuvagia: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=119dcf94d05abb5cdefe5a69a0c43dfe7cf2af5b])
* (add) ambari-server/src/main/java/org/apache/ambari/server/topology/ConfigurableHelper.java
* (add) ambari-server/src/test/resources/add_service_api/invalid_configurables.txt
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AddServiceRequest.java
* (add) ambari-server/src/test/resources/add_service_api/request_invalid_3.json
* (edit) ambari-server/src/main/java/org/apache/ambari/server/topology/Configurable.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/topology/ConfigurableTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/topology/ConfigurationFactory.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/AddServiceRequestTest.java


> JSON document validation for "Add Service" request
> --------------------------------------------------
>
>                 Key: AMBARI-24906
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24906
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>            Reporter: Balázs Bence Sári
>            Assignee: Balázs Bence Sári
>            Priority: Critical
>             Fix For: trunk
>
>
> Validation logic needs to be implemented for JSON deserialization of the Configuration object embedded into an AddService request. The rest of the request is already validated by Jackson and the constructor.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)