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

Redesign SQuaSH REST API to make it complaint with lsst.verify

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Attachments

        Issue Links

          Activity

          Hide
          afausti Angelo Fausti added a comment -

          The SQuaSH database models follow closely the objects defined in the lsst.verify package. The
          database entities are:

          • env, user, job, package, blob, measurement,
            metric, spec

          and their relationships are:

          • 1 env : N jobs
          • 1 job : N packages
          • 1 job : N blobs
          • 1 job : N measurements
          • 1 metric : N specs
          • 1 metric : N measurements

          The current model is meant to support multiple execution environments,
          such as jenkins or the local user environment. The metadata associated
          to these environments is stored in the job table and can be used to look
          up for the corresponding job object.

          This implementation uses JSON() datatype in MySQL

          See the https://sqr-009.lsst.io technote for details.

          Show
          afausti Angelo Fausti added a comment - The SQuaSH database models follow closely the objects defined in the lsst.verify package . The database entities are: env, user, job, package, blob, measurement, metric, spec and their relationships are: 1 env : N jobs 1 job : N packages 1 job : N blobs 1 job : N measurements 1 metric : N specs 1 metric : N measurements The current model is meant to support multiple execution environments, such as jenkins or the local user environment. The metadata associated to these environments is stored in the job table and can be used to look up for the corresponding job object. This implementation uses JSON() datatype in MySQL See the https://sqr-009.lsst.io technote for details.
          Hide
          afausti Angelo Fausti added a comment -
          Show
          afausti Angelo Fausti added a comment - See pull request https://github.com/lsst-sqre/squash-rest-api/pull/3

            People

            • Assignee:
              afausti Angelo Fausti
              Reporter:
              afausti Angelo Fausti
              Watchers:
              Angelo Fausti
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: