You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Java developer, I want to change the dotCMS configurator from the https://github.com/dotCMS/internal-infrastructure repo to update the /c/{customerId}/{clusterId} endpoint to consider not only the clusterId field but also the customerId, ensuring that keys are correctly assigned to the right customers.
Acceptance Criteria
The /c/{customerId}/{clusterId} endpoint logic is updated to check both customerId and clusterId.
A new method is added to ApiKeyPanacheRepository to look up an entity by clusterId and customerId.
If no matching entity is found, a new key is created.
If a matching entity exists, it returns the correct key based on both customerId and clusterId.
Tests are written to cover all possible scenarios.
Documentation is updated accordingly.
dotCMS Version
main
Proposed Objective
Core Features
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
to_define
Assumptions & Initiation Needs
The current implementation only considers clusterId, leading to key mismatches.
The ApiKeyPanacheRepository supports adding a new lookup method.
No major architectural changes are needed to implement this fix.
Quality Assurance Notes & Workarounds
Ensure unit and integration tests validate the new logic.
Verify that no performance degradation occurs due to the additional lookup parameter.
Sub-Tasks & Estimates
Implement new lookup method in ApiKeyPanacheRepository (6h)
User Story
As a Java developer, I want to change the dotCMS configurator from the https://github.com/dotCMS/internal-infrastructure repo to update the
/c/{customerId}/{clusterId}
endpoint to consider not only theclusterId
field but also thecustomerId
, ensuring that keys are correctly assigned to the right customers.Acceptance Criteria
/c/{customerId}/{clusterId}
endpoint logic is updated to check bothcustomerId
andclusterId
.ApiKeyPanacheRepository
to look up an entity byclusterId
andcustomerId
.customerId
andclusterId
.dotCMS Version
main
Proposed Objective
Core Features
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
to_define
Assumptions & Initiation Needs
clusterId
, leading to key mismatches.ApiKeyPanacheRepository
supports adding a new lookup method.Quality Assurance Notes & Workarounds
Sub-Tasks & Estimates
ApiKeyPanacheRepository
(6h)/c/{customerId}/{clusterId}
endpoint logic (6h)The text was updated successfully, but these errors were encountered: