Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-2163

optimize credential store data models

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • 0.17
    • Airavata API
    • Development

    Description

      This improvement is based on the following Pull request : https://github.com/apache/airavata/pull/54.

      *Improvements agreed upon :*

      Followings are few suggestions to improve your pull request.

      • We can do this in a better way by adding generic API method(to AiravataAPIServer) like "getAllCredentialSummary" instead of adding API method for each credential types eg: "getAllGatewaySSHPubKeysSummary" which will return all the credential summary for that particular gatewayId. You may be able to remove few redundant methods from Airavata API server.
      • Let's introduced one credential summary struct to all credential types, how we differentiate is we have credential type enum field( SSH, PASSWD, CERT etc ) in the credential summary thrift struct.
      • Move credential data model thrift file to data model directory and merge credential summary thrift file with it.
      • Credential stubs still have date fields in generated thrift files, not because your changes, but we need to fix it so remove it.

      Attachments

        Activity

          People

            anujbhan Anuj Bhandar
            anujbhan Anuj Bhandar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: