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

[Spring Cleanup] Remove Spring dependencies in user authorized apps API #246

Merged
merged 6 commits into from
Jan 26, 2025

Conversation

lashinijay
Copy link
Contributor

Purpose

This PR removes dependencies and usages of the Spring framework in the user authorized apps API.

Related Issue(s)

@lashinijay
Copy link
Contributor Author

lashinijay commented Jan 25, 2025

Authorized apps v1

Screenshot 2025-01-25 at 16 19 43

Authorized apps v2

Screenshot 2025-01-25 at 16 20 17

Comment on lines +38 to +39
static final ApplicationManagementService SERVICE = (ApplicationManagementService) PrivilegedCarbonContext
.getThreadLocalCarbonContext().getOSGiService(ApplicationManagementService.class, null);
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't these have the same null check as the realm service

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lashinijay and others added 5 commits January 25, 2025 21:30
…rg.wso2.carbon.identity.rest.api.user.authorized.apps.v1/src/main/java/org/wso2/carbon/identity/rest/api/user/authorized/apps/v1/utils/AuthorizedAppsServicesHolder.java

Co-authored-by: Thamindu R <[email protected]>
…rg.wso2.carbon.identity.rest.api.user.authorized.apps.v2/src/gen/java/org/wso2/carbon/identity/rest/api/user/authorized/apps/v2/factories/AuthorizedAppsApiServiceFactory.java

Co-authored-by: Thamindu R <[email protected]>
…rg.wso2.carbon.identity.rest.api.user.authorized.apps.v2/src/gen/java/org/wso2/carbon/identity/rest/api/user/authorized/apps/v2/factories/AuthorizedAppsApiServiceFactory.java

Co-authored-by: Thamindu R <[email protected]>
…rg.wso2.carbon.identity.rest.api.user.authorized.apps.v2/src/main/java/org/wso2/carbon/identity/rest/api/user/authorized/apps/v2/utils/AuthorizedAppsServicesHolder.java

Co-authored-by: Thamindu R <[email protected]>
@lashinijay lashinijay merged commit 1834e3b into wso2:master Jan 26, 2025
4 checks passed
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.

3 participants