Skip to content

fix(hub): validate exposed services through their subdomain routes - #109

Open
gmolto wants to merge 1 commit into
develfrom
gmolto-hub-subdomain-validation
Open

gmolto wants to merge 1 commit into
develfrom
gmolto-hub-subdomain-validation

Conversation

@gmolto

@gmolto gmolto commented Oct 2, 2026

Copy link
Copy Markdown
Member

Summary

  • Read the exposed-service routing flag from the cluster's nested /system/config response.
  • Send HTTP acceptance requests to the service subdomain when subdomain routing is enabled, while retaining the legacy path for other clusters.
  • Make --print-acceptance-commands generate the same route used by the validator.
  • Add tests for routing, authentication, URL generation, and cluster configuration responses.

Verification

  • go test ./... and go vet ./... passed.
  • Local cluster: hub validate posenet-tf passed (HTTP 200, valid ZIP).
  • oscar.test.fedcloud.eu-grycap: the generated URL uses the correct service subdomain, but validation currently returns HTTP 503 because the deployment remains pending. The user quota was raised from 4 to 8 GiB; deleting and redeploying the service did not resolve the issue. This must be tested again before accepting the PR.

Related

  • Remote deployment and acceptance verification: grycap/issue-tracker#310.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants