yasithdev opened a new pull request, #687: URL: https://github.com/apache/airavata/pull/687
The seeded SFTP credential token had a `credentials` row but no sharing-registry `entity`, so `getAllCredentialSummaries` (which is sharing-scoped via `searchEntityIds`) returned nothing — `/admin/credentials` was empty and the gateway resource profile showed no default SSH credential. This adds the `default:CREDENTIAL_TOKEN` sharing entity + `OWNER` grant for `default-admin` (mirroring how `generateAndRegisterSSHKeys` shares a newly-created credential), and sets `gateway_profile.CS_TOKEN` to the token. Test plan (applied to the live dev DB and verified): `GET /api/credential-summaries/?type=SSH` now returns the SFTP credential (previously `[]`), and `GET /api/gateway-resource-profile/` now reports `credential_store_token=24bc9035-…` (previously empty). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
