Skip to content

GH-264 allowing the ProviderService to be built with custom (auth and headers) request interceptors#265

Open
francoisledroff wants to merge 5 commits intomainfrom
GH-264
Open

GH-264 allowing the ProviderService to be built with custom (auth and headers) request interceptors#265
francoisledroff wants to merge 5 commits intomainfrom
GH-264

Conversation

@francoisledroff
Copy link
Copy Markdown
Collaborator

Description

GH-264 allowing the ProviderService to be built with custom (auth and headers) request interceptors

Related Issue

Copy link
Copy Markdown
Collaborator

@pratyushbanerjee pratyushbanerjee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor comments

Comment on lines 64 to 66
* @throws IllegalStateException if the Workspace authentication context is not valid.
* @throws IllegalArgumentException if the Workspace authentication context is not valid.
*/
public ImsService build() throws IllegalStateException {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Javadoc and body were updated to IllegalArgumentException, but the method signature still declares throws IllegalStateException

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks I fixed the javadocs

Comment on lines -73 to -81
}
if (StringUtils.isEmpty(apiKey)) {
throw new IllegalStateException("Your `Workspace` is missing an apiKey");
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Javadoc still claims to validate "any properties," but apiKey and authContext checks were removed

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks ! I polished the javadocs

@francoisledroff francoisledroff deployed to aio_stage_oauth March 27, 2026 16:18 — with GitHub Actions Active
@francoisledroff francoisledroff deployed to prod_oauth_itest March 27, 2026 16:18 — with GitHub Actions Active
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