hi Shiva,

Currently thumbnails and banners comes with default assets in ES are stored
in the below datasource mentioned in the master-datasources.xml config
file. So they are not saved in registry.

        <datasource>
            <name>JAGH2</name>
            <description>The datasource used for by the Jaggery Storage
Manager</description>
            <jndiConfig>
                <name>jdbc/test</name>
            </jndiConfig>
            <definition type="RDBMS">
                <configuration>

<url>jdbc:h2:repository/database/ES_STORAGE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url>
                    <username>sa</username>
                    <password></password>
                    <driverClassName>org.h2.Driver</driverClassName>
                    <maxActive>50</maxActive>
                    <maxWait>60000</maxWait>
                </configuration>
            </definition>
        </datasource>

In a clustered environment pointing to the same datasource by all the nodes
will enable accessing files without any issue.

Thanks!
- Ayesha


On Thu, Dec 18, 2014 at 1:16 AM, Shiva Balachandran <[email protected]> wrote:
>
> Hi All,
>
> I have a requirement to add zip file (size could vary from 2 mb- 10 mb)
> along with an asset. Basically our asset will have its properties filled
> and the user will have to attached a zip file. This zip file should not be
> stored in the registry due to the large size of the zip file
>
> Does ES support this type of functionality? How can we achieve this?
>
> It would be great if you could clarify how the thumbnails and banners are
> currently stored in the ES model?
>
> If we are able to store the zip file in a local location, not in the
> registry, how are we to access the file in a clustered environment?
>
> Thank you.
>
> Regards
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>

-- 
*Ayesha Dissanayaka*
Software Engineer,
WSO2, Inc : http://wso2.com
<http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
20, Palmgrove Avenue, Colombo 3
E-Mail: [email protected] <[email protected]>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to