Skip to content

Commit

Permalink
Add Push user me API to beans.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiyamSanthosh committed Jan 26, 2025
1 parent 684a259 commit 1cdca3d
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,50 @@
<ref bean="validationInInterceptor"/>
</jaxrs:inInterceptors>
</jaxrs:server>
<jaxrs:server id="pushDeviceMe" address="/users/v1/me/push">
<jaxrs:serviceBeans>
<bean class="org.wso2.carbon.identity.rest.api.user.push.v1.DevicesApi"/>
<bean class="org.wso2.carbon.identity.rest.api.user.push.v1.DiscoveryDataApi"/>
</jaxrs:serviceBeans>
<jaxrs:providers>
<bean class="com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider">
<constructor-arg>
<bean class="com.fasterxml.jackson.databind.ObjectMapper">
<property name="serializationInclusion" value="NON_NULL" />
</bean>
</constructor-arg>
</bean>
<bean class="org.wso2.carbon.identity.api.dispatcher.core.JsonProcessingExceptionMapper"/>
<bean class="org.wso2.carbon.identity.api.dispatcher.core.APIErrorExceptionMapper"/>
<bean class="org.wso2.carbon.identity.api.dispatcher.core.InputValidationExceptionMapper"/>
<bean class="org.wso2.carbon.identity.api.dispatcher.core.DefaultExceptionMapper"/>
</jaxrs:providers>
<jaxrs:inInterceptors>
<ref bean="validationInInterceptor"/>
</jaxrs:inInterceptors>
</jaxrs:server>
<jaxrs:server id="pushDeviceMeOrgPerspective" address="/o/users/v1/me/push">
<jaxrs:serviceBeans>
<bean class="org.wso2.carbon.identity.rest.api.user.push.v1.DevicesApi"/>
<bean class="org.wso2.carbon.identity.rest.api.user.push.v1.DiscoveryDataApi"/>
</jaxrs:serviceBeans>
<jaxrs:providers>
<bean class="com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider">
<constructor-arg>
<bean class="com.fasterxml.jackson.databind.ObjectMapper">
<property name="serializationInclusion" value="NON_NULL" />
</bean>
</constructor-arg>
</bean>
<bean class="org.wso2.carbon.identity.api.dispatcher.core.JsonProcessingExceptionMapper"/>
<bean class="org.wso2.carbon.identity.api.dispatcher.core.APIErrorExceptionMapper"/>
<bean class="org.wso2.carbon.identity.api.dispatcher.core.InputValidationExceptionMapper"/>
<bean class="org.wso2.carbon.identity.api.dispatcher.core.DefaultExceptionMapper"/>
</jaxrs:providers>
<jaxrs:inInterceptors>
<ref bean="validationInInterceptor"/>
</jaxrs:inInterceptors>
</jaxrs:server>
<jaxrs:server id="orgUser" address="/users/v1/me/organizations">
<jaxrs:serviceBeans>
<bean class="org.wso2.carbon.identity.rest.api.user.organization.v1.RootApi"/>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2459,7 +2459,7 @@

<!-- Identity Event Handler Versions -->
<identity.event.handler.account.lock.version>1.9.13</identity.event.handler.account.lock.version>
<identity.event.handler.notification.version>1.9.34</identity.event.handler.notification.version>
<identity.event.handler.notification.version>1.9.35</identity.event.handler.notification.version>

<!--<identity.agent.entitlement.proxy.version>5.1.1</identity.agent.entitlement.proxy.version>-->
<!--<identity.carbon.auth.signedjwt.version>5.1.1</identity.carbon.auth.signedjwt.version>-->
Expand Down

0 comments on commit 1cdca3d

Please sign in to comment.