Hello
I have rest apis
Calls to those apis was working but since I migrated to platform 7.1.0, the api rest doesn’t work in production.
it works in local but not in production
différences are production is on https and use Nginx in front of tomcat
exemple :
http://localhost:8088/rest/api/test2
return a simple OK
in production
https://verify.stickup.biz/rest/api/test2
return nothing
Nothing in the log helps me to find out the issue
Can you help me ? or it’s possible to downgrade the platform version to 7.0.10,
Thanks
my rest-dispatcher-spring.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:security="http://www.springframework.org/schema/security"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-4.2.xsd">
<!-- Define a base package for your controllers-->
<context:component-scan base-package="com.tchooks.stickup.rest"/>
<security:http pattern="/rest/api/**"
create-session="stateless"
entry-point-ref="oauthAuthenticationEntryPoint"
xmlns="http://www.springframework.org/schema/security">
<!-- Specify one or more protected URL patterns-->
<intercept-url pattern="/rest/api/**" access="isAuthenticated()"/>
<anonymous enabled="true"/>
<csrf disabled="true"/>
<cors configuration-source-ref="cuba_RestCorsSource"/>
<custom-filter ref="resourceFilter" before="PRE_AUTH_FILTER"/>
<custom-filter ref="cuba_AnonymousAuthenticationFilter" after="PRE_AUTH_FILTER"/>
</security:http>