Uploaded image for project: 'FTS'
  1. FTS
  2. FTS-1644

FTS REST Transfer Submit client should also parse "parameters" from bulk submission file

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: fts-rest 3.9.3
    • Fix Version/s: fts-rest 3.10.0
    • Component/s: Client
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • Labels:
      None

      Description

      Given a bulk submission file, fts-rest-transfer-submit only parses the files field. This issue proposes that the client also parse a parameters field.

      Example

      Given the following bulk submission file:

      {
        "files": [
          {
            "sources": ["http://example-01.cern.ch:8443/example/hello.txt"],
            "destinations": ["http:/example-02.cern.ch:8443/example/hello.txt"]
          }
        ],
        "params" : {
          "s3alternate" : true,
          "ipv4" : true,
          "nostreams" : 4
        }
      }
      

      Upon running the client, the parameters are not taken into account:

      > fts-rest-transfer-submit --dry-run -s https://fts3-devel.cern.ch:8446 -f submission.json
      {
        "files": [
          {
            "sources": [
              "http://example-01.cern.ch:8443/example/hello.txt"
            ],
            "metadata": "None",
            "checksum": "ADLER32",
            "filesize": null,
            "destinations": [
              "http:/example-02.cern.ch:8443/example/hello.txt"
            ]
          }
        ],
        "params": {
          "credential": null,
          "timeout": null,
          "fail_nearline": false,
          "gridftp": null,
          "ipv6": false,
          "bring_online": null,
          "multihop": false,
          "s3alternate": false,
          "nostreams": null,
          "overwrite": false,
          "reuse": false,
          "retry": 0,
          "spacetoken": null,
          "copy_pin_lifetime": -1,
          "job_metadata": "None",
          "verify_checksum": "none",
          "source_spacetoken": null,
          "ipv4": false
        }
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              garciacc Carles Garcia Cabot (Inactive)
              Reporter:
              mipatras Mihai Patrascoiu
              Component Watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: