Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-4763

Send user friendly message in Test Connection response if validateConfig is not implemented for the serviceDef

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • admin
    • None

    Description

      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 

      {"statusCode":1,"msgDesc":"","messageList":[{"message":""}]} 

      We should send an user-friendly message in this case, indicating that "Configuration validation is not implemented" for that particular service.

      Attachments

        Activity

          People

            anandNadar Anand Nadar
            anandNadar Anand Nadar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: