<?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: Where did the ActivitiRestApplication class go in 5.16.4? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205315#M158445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Edit: This also applies to org.activiti.rest.service.application.ActivitiRestServicesApplication in activiti-rest.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Dec 2014 15:57:49 GMT</pubDate>
    <dc:creator>mjustin</dc:creator>
    <dc:date>2014-12-04T15:57:49Z</dc:date>
    <item>
      <title>Where did the ActivitiRestApplication class go in 5.16.4?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205314#M158444</link>
      <description>I just attempted to upgrade my version of activiti-common-rest in my application from 5.16.3 to 5.16.4, and I see that the org.activiti.rest.common.application.ActivitiRestApplication class no longer exists in activiti-common-rest.&amp;nbsp; We were extending the class, but using our own "AlwaysPassRestAuthe</description>
      <pubDate>Thu, 04 Dec 2014 15:35:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205314#M158444</guid>
      <dc:creator>mjustin</dc:creator>
      <dc:date>2014-12-04T15:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Where did the ActivitiRestApplication class go in 5.16.4?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205315#M158445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Edit: This also applies to org.activiti.rest.service.application.ActivitiRestServicesApplication in activiti-rest.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 15:57:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205315#M158445</guid>
      <dc:creator>mjustin</dc:creator>
      <dc:date>2014-12-04T15:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Where did the ActivitiRestApplication class go in 5.16.4?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205316#M158446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Upon further investigation into the 5.16.4 code, it looks like the way things are wired and such has been rewritten and changed in a lot of ways.&amp;nbsp; Is there documentation somewhere that says how to make use of things post-rewrite?&amp;nbsp; Specifically, what I need to be able to do to maintain feature parity with my 5.16.3 version:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Be able to access the REST resource without any authentication being passed in, and setting the user to a specific hardcoded user ID ("system")&lt;/LI&gt;&lt;LI&gt;Be able to set my servlet mapping to be under /bpm-rest. We are currently achieving this with the following web.xml fragment (where MyAppActivitiRestApplication is our custom subclass of ActivitiRestServicesApplication):&lt;/LI&gt;&lt;CODE&gt;&amp;lt;servlet&amp;gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;lt;servlet-name&amp;gt;RestletServlet&amp;lt;/servlet-name&amp;gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;lt;servlet-class&amp;gt;org.restlet.ext.servlet.ServerServlet&amp;lt;/servlet-class&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;init-param&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param-name&amp;gt;org.restlet.application&amp;lt;/param-name&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param-value&amp;gt;my.organization.appname.MyAppActivitiRestApplication&amp;lt;/param-value&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/init-param&amp;gt;&lt;BR /&gt;&amp;lt;/servlet&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;servlet-mapping&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;servlet-name&amp;gt;RestletServlet&amp;lt;/servlet-name&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url-pattern&amp;gt;/bpm-rest/*&amp;lt;/url-pattern&amp;gt;&lt;BR /&gt;&amp;lt;/servlet-mapping&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;LI&gt;Add my own custom variable converters to the RestResponseFactory. We are currently achieving this by usng the following RestResponseFactory within our custom subclass of ActivitiRestServicesApplication:&lt;/LI&gt;&lt;CODE&gt;public class MyAppRestResponseFactory extends RestResponseFactory {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void initializeVariableConverters() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; super.initializeVariableConverters();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; super.variableConverters.add(new MyFirstObjectTypeConverter());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; super.variableConverters.add(new MySecondObjectTypeConverter());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/CODE&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 16:53:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205316#M158446</guid>
      <dc:creator>mjustin</dc:creator>
      <dc:date>2014-12-04T16:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Where did the ActivitiRestApplication class go in 5.16.4?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205317#M158447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This change was announced in the 5.16.4 release notes and this blogpost:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bpmn20inaction.blogspot.nl/2014/10/activiti-5164-released.html" rel="nofollow noopener noreferrer"&gt;http://bpmn20inaction.blogspot.nl/2014/10/activiti-5164-released.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We moved to Spring MVC away from Restlet. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To changed the security you can override the SecurityConfiguration implementation. The easiest way to do this is to create a new custom web application, using the activiti-webapp-rest2 module as a foundation. This project only contains the configuration of the webapp and the REST resources are imported from the activiti-rest module.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Changing the servlet mapping can be done by overriding the WebConfigurer class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The RestResponseFactory can be defined in the RestConfiguration class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll add more support for overriding the default configuration in an easier way in the 5.17 release coming up in a few weeks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 12:43:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205317#M158447</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-12-05T12:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Where did the ActivitiRestApplication class go in 5.16.4?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205318#M158448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have downloaded Activiti 5.17.0 and need to customize WebConfigurer&amp;nbsp; and other classes. I've tried to find jar files of these classes and no luck. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would anybody please let me know where to find jar files of these classes and also how to override these classes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 12:46:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205318#M158448</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2015-02-16T12:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Where did the ActivitiRestApplication class go in 5.16.4?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205319#M158449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The configuration classes are not in Jar .. You can find them on GITHUB -&amp;gt; &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-webapp-rest2/src/main/java/org/activiti/rest/servlet/WebConfigurer.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-webapp-rest2/src/main/java/org/activiti/rest/servlet/WebConfigurer.java&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 17:29:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205319#M158449</guid>
      <dc:creator>solanki</dc:creator>
      <dc:date>2015-02-17T17:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Where did the ActivitiRestApplication class go in 5.16.4?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205320#M158450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To customize the rest api's, earlier I had extended the ActivitiRestServicesApplication class and adding the my customized rest urls in the method public synchronized Restlet createInboundRoot() { CPSRestServicesInit.attachResources(router); } . I have no clue how to achieve the same in latet version through WebConfigurer class. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyhelp is appreciated&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 06:27:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205320#M158450</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2015-02-18T06:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Where did the ActivitiRestApplication class go in 5.16.4?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205321#M158451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The clue would be to look into Spring MVC. Resources are discovered using component scanning. if you create a resource in the same package as activiti resources and put it on the classpath, it will be found and used at runtime. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 16:46:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-did-the-activitirestapplication-class-go-in-5-16-4/m-p/205321#M158451</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-18T16:46:57Z</dc:date>
    </item>
  </channel>
</rss>

