Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-6070

Dashboard endpoint /repositories/{repo_key} broken

    • False
    • Hide

      None

      Show
      None
    • False
    • CI/CD Sprint 17

      Endpoint /repositories/

      {repository_key}

      breaks for keys that contain "/" which is the case for all our repos

      
      $ curl -X 'GET' -s -S 'http://localhost:8000/repositories/test-repo-2' -H 'accept: application/json' | jq
      {
        "_id": "689654c4f845f50c7d09e63a",
        "key": "test-repo-2",
        ...
      }
      
      $ curl -X 'GET' -s -S 'http://localhost:8000/repositories/rhaiis%2Fcontainers' -H 'accept: application/json'
      {"detail":"Not Found"}
      
      The document exists:
      $ curl -X 'GET' -s -S 'http://localhost:8000/repositories' -H 'accept: application/json' | jq '.[] | select(.key == "rhaiis/containers")'
      {
        "_id": "68a5a11943e254abe6d5e143",
        "key": "rhaiis/containers",
        ...
      }
      
      
      

              rhit_jmorenas Jose Angel Morena
              ppitonak Pavol Pitoňák
              Klara's Team
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: