Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-1545 handling metadata in 5.0
  3. PM-1546

add metadata to entry in replica catalog

    XMLWordPrintable

    Details

      Description

      In the replica catalog, we will need to add metadata in there. As it stands, a replica catalog entry is as follows:
      {
        site: <string>,
        lfn: <string>,
        pfn: <string>,
        checksum: {
          type: <string>,
          value: <string>
        }
      }

      Per 5/18 dev meeting (https://docs.google.com/document/d/1URPG6SLG481Y7DDAajjVtedKjS5pwIQ41UOhwSQYbhk/edit#bookmark=id.6b8rt2t6hoti) we have decided to go with:

      replicas:
      [
      {
        lfn: <string>,
        pfns: [
          {
            site: <string>,
            path: <string>
          }, ...
        ],
        checksum: {
          sha256: <string>
        },
        metadata: {
          k: v,
         ...
        }
      }
      ]

        Attachments

          Activity

            People

            • Assignee:
              tanaka Ryan Tanaka
              Reporter:
              tanaka Ryan Tanaka
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: