Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-18666

Add support for authorization headers to firefly_client

    XMLWordPrintable

    Details

    • Story Points:
      4
    • Epic Link:
    • Sprint:
      SUIT Sprint 2019-03, SUIT Sprint 2019-04, SUIT Sprint 2019-05, SUIT Sprint 2019-06, SUIT Sprint 2019-07
    • Team:
      Science User Interface

      Description

      Please add an interface to firefly_client for supplying authorization headers to be added to the requests and uploads transmitted to the Firefly server.

      At first this should just be an API for "manually" supplying a token obtained elsewhere.

      At a later date it may be appropriate to have an option for firefly_client to pick up a token, if available, from the environment in which it is running, e.g., from an environment variable or a dot-file, but that decision is yet to be taken.

      For now the token, for use in the LSST environment, will be obtained from the API Aspect's Get-Token web page, as recently prototyped by Brian Van Klaveren.

        Attachments

          Issue Links

            Activity

            Hide
            shupe David Shupe added a comment -

            Reviewed once on Github already. I think I just need a re-review from Gregory Dubois-Felsmann.

            Show
            shupe David Shupe added a comment - Reviewed once on Github already. I think I just need a re-review from Gregory Dubois-Felsmann .
            Hide
            shupe David Shupe added a comment -

            Tested that manual tokens are working to https://lsst-lsp-int.ncsa.illinois.edu/portal/app/

            Merged and released as version 2.2.0. Synced to the lsst fork.

            Show
            shupe David Shupe added a comment - Tested that manual tokens are working to https://lsst-lsp-int.ncsa.illinois.edu/portal/app/ Merged and released as version 2.2.0. Synced to the lsst fork.

              People

              Assignee:
              shupe David Shupe
              Reporter:
              gpdf Gregory Dubois-Felsmann
              Reviewers:
              Gregory Dubois-Felsmann, Trey Roby
              Watchers:
              David Shupe, Gregory Dubois-Felsmann, Loi Ly, Trey Roby, Xiuqin Wu [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins Builds

                  No builds found.