Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different structures of the links generated in the Swift and NFS versions #9

Open
thiagoyeds opened this issue Nov 13, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@thiagoyeds
Copy link
Contributor

It is necessary that the methods return a single structure for the API to return information known to the developer when using it. We have that NFS returns links from folders, however the Swift version returns links from file to file:

NFS:

[
  {
    "name": "inputdownloading",
    "url": "http://10.11.19.35:80/archiver/45b1a50e-2d2d-4f23-8fe8-33fbdbfbbe0c/inputdownloading"
  },
  {
    "name": "preprocessing",
    "url": "http://10.11.19.35:80/archiver/45b1a50e-2d2d-4f23-8fe8-33fbdbfbbe0c/preprocessing"
  },
  {
    "name": "processing",
    "url": "http://10.11.19.35:80/archiver/45b1a50e-2d2d-4f23-8fe8-33fbdbfbbe0c/processing"
  }
]

Swift:

[
  {
    "name": "preprocessing/LT05_L1TP_215065_19900125_20170131_01_T1_cpu_usage.txt",
    "url": "https://cloud5.lsd.ufcg.edu.br:8080/swift/v1/<container-name>/archiver/<id>/preprocessing/LT05_L1TP_215065_19900125_20170131_01_T1_cpu_usage.txt?temp_url_sig=2ebcf98d8fa633980c0f6b7e610b49769fb053ae&temp_url_expires=9223372036854775807&filename=LT05_L1TP_215065_19900125_20170131_01_T1_cpu_usage.txt"
  },
  ...
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant