microsoft / ga4gh-tes

C# implementation of the GA4GH TES API; provides distributed batch task execution on Microsoft Azure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TES file type enum is wrong

vsmalladi opened this issue · comments

Describe the bug
TES file type enum is wrong. Currently 0 or 1, should be FILE and DIRECTORY

Steps to Reproduce

{
  "id": "027dc307384d48d5b0b00c27c71566f7",
  "state": "EXECUTOR_ERROR",
  "name": "CompTest",
  "description": "CompTest",
  "inputs": [
    {
      "name": "access-file",
      "description": "Access file resource via streaming",
      "url": "s3://my-object-store/file1",
      "path": "/data/file1",
      "type": 0,
      "streamable": true
    }
  ],
  "outputs": null,
  "resources": null,
  "executors": [
    {
      "image": "alpine",
      "command": [
        "echo",
        "hello"
      ],
      "workdir": null,
      "stdin": null,
      "stdout": null,
      "stderr": null,
      "env": null
    }
  ],
  "volumes": null,
  "tags": null,
  "logs": [
    {
      "logs": [
        {
          "start_time": "2024-04-05T00:41:44.738487+00:00",
          "end_time": "2024-04-05T00:41:49.014142+00:00",
          "exit_code": 10
        }
      ],
      "metadata": {
        "vm_size": "Standard_D1_v2",
        "vm_family": "standardDv2Family",
        "vm_low_priority": "true",
        "vm_memory_in_gib": "3.5",
        "vm_vcpus_available": "1",
        "vm_regions_available": "[\"australiacentral\",\"australiaeast\",\"australiasoutheast\",\"brazilsouth\",\"brazilsoutheast\",\"canadacentral\",\"canadaeast\",\"centralindia\",\"centralus\",\"centraluseuap\",\"eastasia\",\"eastus\",\"eastus2\",\"eastus2euap\",\"francecentral\",\"germanywestcentral\",\"israelcentral\",\"italynorth\",\"japaneast\",\"japanwest\",\"jioindiawest\",\"koreacentral\",\"koreasouth\",\"northcentralus\",\"northeurope\",\"norwayeast\",\"polandcentral\",\"qatarcentral\",\"southafricanorth\",\"southcentralus\",\"southeastasia\",\"southindia\",\"swedencentral\",\"switzerlandnorth\",\"uaenorth\",\"uksouth\",\"ukwest\",\"westcentralus\",\"westeurope\",\"westindia\",\"westus\",\"westus2\",\"westus3\"]",
        "vm_price_per_hour_usd": "0.0146",
        "vm_hyper_v_generations": "[\"V1\"]",
        "vm_max_data_disk_count": "4",
        "encryption_at_host_supported": "false",
        "vm_resource_disk_size_in_gib": "50.0",
        "failure_reason": "FailureExitCode"
      },
      "start_time": "2024-04-05T00:38:13.7333828+00:00",
      "end_time": "2024-04-05T00:41:49.4501751+00:00",
      "outputs": []
    }
  ],
  "creation_time": "2024-04-05T00:38:10.5109466+00:00"
}

Expected behavior
FILE and DIRECTORY

@MattMcL4475 is this closed. The PR seems still open?