-
Notifications
You must be signed in to change notification settings - Fork 0
fix: fetch tenant id from organization if not available then fetch it from IMS client API #21
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
Conversation
| } catch (error) { | ||
| log.error('Error loading IMS_ORG_TENANT_ID_MAPPINGS mapping:', error.message); | ||
| } | ||
| if (!name) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please take note to remove these stale secres from Secret Manager after deployment
|
This PR will trigger no release when merged. |
rpapani
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good.
Build is failing, please check.
| // Get tenantId from IMS org details if tenantId is not there in organization | ||
| let imsOrgDetails; | ||
| try { | ||
| imsOrgDetails = await context.imsClient.getImsOrganizationDetails(imsOrgId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const { imsClient } = context;
backup would be
const imsClient = IMSClient.createFrom(context);
## [1.1.3](v1.1.2...v1.1.3) (2025-08-14) ### Bug Fixes * fetch tenant id from organization ([#21](#21)) ([dae1bc3](dae1bc3))
|
🎉 This PR is included in version 1.1.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
please add IMS_HOST, IMS_CLIENT_ID, IMS_CLIENT_CODE, IMS_CLIENT_SECRET to task-manager secrets in prod and please use ims client
aem-project-collab-serviceas that's the ims client has access to all the tenants, otheriwise, we'll run intoIMS getProductContextsByImsOrgId request failed with status: 400