ilscipio/scipio-erp

View on GitHub
applications/content/scipio-component.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->

<ofbiz-component name="content"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd">
    <resource-loader name="main" type="component"/>
    <classpath type="dir" location="config"/>
    <classpath type="dir" location="dtd"/>
    <classpath type="jar" location="lib/*"/>
    <classpath type="jar" location="lib/uno/*"/>
    <classpath type="jar" location="build/lib/*"/>
    <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
    <entity-resource type="eca" reader-name="main" loader="main" location="entitydef/eecas.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/ContentTypeData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/ContentOperationData.xml"/>
    <!-- SCIPIO: 2017-08-02: new base Tika MimeTypes -->
    <entity-resource type="data" reader-name="seed" loader="main" location="data/MimeTypeTikaData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/MimeTypeData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/MimeTypeTemplate.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/DataCategoryData.xml"/>
    <!-- SCIPIO: Unneeded
    <entity-resource type="data" reader-name="seed" loader="main" location="data/BlogSeedData.xml"/>
    -->
    <entity-resource type="data" reader-name="seed" loader="main" location="data/TemplateData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/ContentSecurityPermissionSeedData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/ContentSecurityGroupDemoData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/MiscData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/ContentHelpData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/ContentHttpErrorData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/ContentPortletData.xml"/>
    <!-- these files cannot be loaded in their original component because they are earlier than the content component -->
    <entity-resource type="data" reader-name="seed" loader="main" location="data/PartyHelpData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/WebtoolsHelpData.xml"/>

    <entity-resource type="data" reader-name="demo" loader="main" location="data/UsersDemoData.xml"/>
    <!-- SCIPIO: Unneeded
    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoBlogPubPtData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoBlogUsersData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoBlogEntryData.xml"/>
    -->
    <entity-resource type="data" reader-name="demo" loader="main" location="data/WebSitePublishPointData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/CompDocData.xml"/>
    <!-- SCIPIO: Unneeded
    <entity-resource type="data" reader-name="demo" loader="main" location="data/ForumDemoData.xml"/>
    -->
    <service-resource type="model" loader="main" location="servicedef/services.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_content.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_contenttypes.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_data.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_document.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_ftp.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_output.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_survey.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_commevent.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_website.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_image.xml"/><!-- SCIPIO -->
    <service-resource type="eca" loader="main" location="servicedef/secas.xml"/>
    <service-resource type="mca" loader="main" location="servicedef/mca.xml"/>
    
    <!-- SCIPIO: NOTE: Even if hidden, this webapp must never be removed because it hosts some
        essential application-agnostic content access requests (such as streaming) part of common rendering -->
    <webapp name="content"
        title="Content"
        server="default-server"
        location="webapp/content"
        base-permission="OFBTOOLS,CONTENTMGR"
        app-bar-display="false"
        mount-point="/content"/>

</ofbiz-component>