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

Processing inputs from user workspace #30

Open
rconway opened this issue Dec 5, 2022 · 2 comments
Open

Processing inputs from user workspace #30

rconway opened this issue Dec 5, 2022 · 2 comments

Comments

@rconway
Copy link
Contributor

rconway commented Dec 5, 2022

It has been reported that ADES stage-in from user workspace resources does not work - it seems that the job gets an empty catalogue response with no items - for example an input url such as http://resource-catalogue.guide-user-xbob.185.178.87.100.nip.io/csw/?mode=opensearch&service=CSW&version=3.0.0&request=GetRecords&elementsetname=full&resulttype=results&typenames=csw:Record&recordids=f.

Since the user’s workspace services and their S3 object storage bucket are protected, the ADES stage-in needs to take account of:

  • security headers (Bearer token with user’s ID token) for access to the protected user resource-catalogue
  • use of user’s bucket credentials for S3 access to the assets referenced in the catalogue results
@rconway
Copy link
Contributor Author

rconway commented Dec 5, 2022

Ticket EOEPCA-761 has been created for this issue.

@rconway
Copy link
Contributor Author

rconway commented Dec 5, 2022

As a quick test the protection of the resource-catalogue can be bypassed by editing the config of the agent that protects the workspace services, to set 'open' access'.

kubectl -n guide-user-xbob edit cm/guide-user-xbob-agent

Edit the field to set openAccess: true.

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

No branches or pull requests

1 participant