<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I change the Spring MVC servlet mapping for only the Activiti REST endpoints? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-change-the-spring-mvc-servlet-mapping-for-only-the/m-p/197504#M150634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One option is to have a custom DispatcherServletCOnfiguration (like we have in activiti-rest-webapp) that you map onto a different url&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 09:38:09 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2015-03-17T09:38:09Z</dc:date>
    <item>
      <title>How do I change the Spring MVC servlet mapping for only the Activiti REST endpoints?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-change-the-spring-mvc-servlet-mapping-for-only-the/m-p/197501#M150631</link>
      <description>I am working on an application where we are using Spring Boot and Activiti REST version 5.17.0 (using spring-boot-starter-rest-api).&amp;nbsp; As the application already has REST endpoints of its own, we would like to put the Activiti REST endpoints in a separate path, e.g.www.example.com:1234/myAppNameHere/</description>
      <pubDate>Thu, 05 Feb 2015 16:38:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-change-the-spring-mvc-servlet-mapping-for-only-the/m-p/197501#M150631</guid>
      <dc:creator>mjustin</dc:creator>
      <dc:date>2015-02-05T16:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the Spring MVC servlet mapping for only the Activiti REST endpoints?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-change-the-spring-mvc-servlet-mapping-for-only-the/m-p/197502#M150632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The REST API request are handled by the Spring dispatcher servlet, so you just need to change the servlet mapping for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The quickest way to do this is to add the following entry to your applications properties file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;server.servletPath=/my_path/&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 11:10:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-change-the-spring-mvc-servlet-mapping-for-only-the/m-p/197502#M150632</guid>
      <dc:creator>jim1</dc:creator>
      <dc:date>2015-03-16T11:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the Spring MVC servlet mapping for only the Activiti REST endpoints?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-change-the-spring-mvc-servlet-mapping-for-only-the/m-p/197503#M150633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe this doesn't solve my problem, as won't this change all Spring MVC paths (including my own), and not just the REST API paths?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 14:57:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-change-the-spring-mvc-servlet-mapping-for-only-the/m-p/197503#M150633</guid>
      <dc:creator>mjustin</dc:creator>
      <dc:date>2015-03-16T14:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the Spring MVC servlet mapping for only the Activiti REST endpoints?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-change-the-spring-mvc-servlet-mapping-for-only-the/m-p/197504#M150634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One option is to have a custom DispatcherServletCOnfiguration (like we have in activiti-rest-webapp) that you map onto a different url&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 09:38:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-change-the-spring-mvc-servlet-mapping-for-only-the/m-p/197504#M150634</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-03-17T09:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the Spring MVC servlet mapping for only the Activiti REST endpoints?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-do-i-change-the-spring-mvc-servlet-mapping-for-only-the/m-p/197505#M150635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@jarrez I have this same use case, could you elaborate on your proposed solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've looked at the DispatcherServletConfiguration in the rest module but I don't see how I would use it to add a prefix to the activiti rest endpoints. I see that you are providing your own RequestMappingHandlerMapping object but it appears to collect all @RequestMapping methods not just the Activiti ones. Even if I could filter the mappings to just the Activiti mappings how would I map them to a different path prefix?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help you can give&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 15:20:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-do-i-change-the-spring-mvc-servlet-mapping-for-only-the/m-p/197505#M150635</guid>
      <dc:creator>raedius</dc:creator>
      <dc:date>2016-09-16T15:20:25Z</dc:date>
    </item>
  </channel>
</rss>

