Anand Nadar created RANGER-4763:
-----------------------------------

             Summary: 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


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)

Reply via email to