You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2024/06/21 15:15:00 UTC

[jira] [Updated] (RANGER-4763) Send user friendly message in Test Connection response if validateConfig is not implemented for the serviceDef

     [ https://issues.apache.org/jira/browse/RANGER-4763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Madhan Neethiraj updated RANGER-4763:
-------------------------------------
    Fix Version/s: 2.5.0

> Send user friendly message in Test Connection response if validateConfig is not implemented for the serviceDef
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-4763
>                 URL: https://issues.apache.org/jira/browse/RANGER-4763
>             Project: Ranger
>          Issue Type: Task
>          Components: admin
>            Reporter: Anand Nadar
>            Assignee: Anand Nadar
>            Priority: Major
>             Fix For: 3.0.0, 2.5.0
>
>
> The "Test Connection" feature allows us to validate the configurations mentioned for that particular service.
> If "Test Connection" is not implemented for a particular service definition, which means that the service definition specific implementation is not created which handles the configuration validation.
> If this is the case, then RangerDefaultService is used and the API GET service/plugins/services/validateConfig sends the below response 
> {code:java}
> {"statusCode":1,"msgDesc":"","messageList":[{"message":""}]} {code}
> We should send an user-friendly message in this case, indicating that "Configuration validation is not implemented" for that particular service.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)