<?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: Implementing new ContentStorage locations in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202851#M155981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joram - you are still not getting addressing our need as stated above:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"What we would want to do on startup is check that the Stencil scripts are there, and generate them if missing."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that how the system is currently designed? We want to be able to treat the generated stencil scripts as disposable, and also, regenerateable upon startup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Dec 2015 13:57:59 GMT</pubDate>
    <dc:creator>jonnyg</dc:creator>
    <dc:date>2015-12-22T13:57:59Z</dc:date>
    <item>
      <title>Implementing new ContentStorage locations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202842#M155972</link>
      <description>As best as we can tell, ContentStorage is used for 2 very different use cases – export of StencilSets files, and user attachments. The latter we will be using an ECM (which may be Alfresco One, or another system). The former we would like to move out of the filesystem.It looks easy enough provide a</description>
      <pubDate>Wed, 28 Oct 2015 14:58:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202842#M155972</guid>
      <dc:creator>jonnyg</dc:creator>
      <dc:date>2015-10-28T14:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing new ContentStorage locations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202843#M155973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;(moved post to Activiti Enterprise)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Content storage is used for attachments, stencil scripts, generated documents (BPMN/Step editor document generation task) and for storing the LDAP sync logs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No factory method is needed. You make the implementation implement the interface and add @Component to id. Then, put that class on the classpath in a component scanned package (eg com.activiti.extension.bean). Also add @Primary to override the default one. That's it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 19:37:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202843#M155973</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-28T19:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing new ContentStorage locations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202844#M155974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks. One other thought – in our mind, stencils ought to go in a completely different repository (e.g., a table in the Activiti database) than user attachments. The latter, we want to hook into an ECM. Is there a way to distinguish that in the code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I'm also trying to better understand how Activiti integrates with ECM's. I understand we can update activiti-app.properties to point to an Activiti One installation, but I'm not sure how that happens at the code layer (e.g., what if we need to store in 3rd party ECM?)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 21:33:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202844#M155974</guid>
      <dc:creator>jonnyg</dc:creator>
      <dc:date>2015-10-28T21:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing new ContentStorage locations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202845#M155975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Stencils actually go into the database, it's only when defining custom scripts that these scripts are stored in the content store. The SCRIPT_FILE table has a foreign key to the STENCIL_SET, and a store_id, that is the id from the content store. The reason is performance: streaming a file from disk is quicker than via the database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But no, there is no way to distinguish that in the code, the ContentStorage only takes in an Inputstream and has no knowledge about the calling method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;About the ECM integration: this is for&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) finding documents in Alfresco (or Google Drive/Box if you enable it) and attaching them to a task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) publishing documents from task attachments / document generation tasks to Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You enable Alfresco in the properties, but configure the Alfresco repository in the 'Tenant &amp;gt; Alfresco Repositories' tab&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 09:32:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202845#M155975</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-29T09:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing new ContentStorage locations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202846#M155976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;…and memory is faster still. Does Activiti have a caching model for application artifacts, whereby (processes/forms/stencils) are generated to files and/or cached in memory by the server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see in 1.3.2 that the script files are generated – via createTenantMergedScriptFile() upon saveStencilSetForEditor() (coming from the editor), as well as from importStencilData() – coming from the import. It seems to me that the application startup could also do this: check that the scripts are there, and generate them if missing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 10:46:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202846#M155976</guid>
      <dc:creator>jonnyg</dc:creator>
      <dc:date>2015-10-29T10:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing new ContentStorage locations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202847#M155977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, scripts are cached. Forms definitions and process definitions are too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Documents are not cached, as they can be changed on other nodes and are not static.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The application could do that on startup, but with lots and lots of tenants this might not be a good idea.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 12:36:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202847#M155977</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-11-03T12:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing new ContentStorage locations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202848#M155978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad to hear the code pieces are cached. We don't need to cache documents. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What we would want to do on startup is check that the Stencil scripts are there, and generate them if missing. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 18:11:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202848#M155978</guid>
      <dc:creator>jonnyg</dc:creator>
      <dc:date>2015-11-03T18:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing new ContentStorage locations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202849#M155979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;from last month: "What we would want to do on startup is check that the Stencil scripts are there, and generate them if missing."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any comment on this? As said, our requirements are that there can be no shared drive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Attachments will go into an ECM (e.g., Alfresco).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Helper files like stencils we expect will be generated as needed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible today? What will it take to get there?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 14:36:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202849#M155979</guid>
      <dc:creator>jonnyg</dc:creator>
      <dc:date>2015-12-21T14:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing new ContentStorage locations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202850#M155980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Stencil scripts are stored in the SCRIPT_FILE table, with a store_id. So if you have plugged the content storage interface, this should work for stencil scripts too (they will be stored in the ECM system if that's the implementation for the ContentStorage interface)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 11:30:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202850#M155980</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-12-22T11:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing new ContentStorage locations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202851#M155981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joram - you are still not getting addressing our need as stated above:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"What we would want to do on startup is check that the Stencil scripts are there, and generate them if missing."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that how the system is currently designed? We want to be able to treat the generated stencil scripts as disposable, and also, regenerateable upon startup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 13:57:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202851#M155981</guid>
      <dc:creator>jonnyg</dc:creator>
      <dc:date>2015-12-22T13:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing new ContentStorage locations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202852#M155982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'll try to express myself better if my answer was inadequate: no, they are not generated on the fly by design.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now, stencil scripts are stored in the content store, and there is a link to the store using the store_id (see my comment above).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The stencil script is created when the stencil is saved. If there are existing scripts, they are merged and&amp;nbsp; the merged result is stored again in the content store. When they are needed, they are fetched from the db and content store (and cached).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In theory, you could remove that, and on bootup walk through all your stencils, parse them and execute similar logic and put them in the cache. But that's theoretically and as far as I know, nobody has tried this path yet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 19:31:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/implementing-new-contentstorage-locations/m-p/202852#M155982</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-01-04T19:31:10Z</dc:date>
    </item>
  </channel>
</rss>

