ilscipio/scipio-erp

View on GitHub
framework/entityext/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="entityext"
        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="jar" location="build/lib/*"/>
    
    <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
    
    <entity-resource type="data" reader-name="seed" loader="main" location="data/EntityExtTypeData.xml"/>
    <entity-resource type="data" reader-name="seed-initial" loader="main" location="data/EntityScheduledServices.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/EntityExtSecurityPermissionSeedData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/EntityExtSecurityGroupDemoData.xml"/>
    
    <service-resource type="model" loader="main" location="servicedef/services.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_group.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_synchronization.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_tenant.xml"/>
    <service-resource type="group" loader="main" location="servicedef/groups.xml"/>

    <!-- load the data load container, runs the entity data load stuff -->
    <container name="dataload-container" loaders="load-data" class="org.ofbiz.entityext.data.EntityDataLoadContainer">
        <property name="delegator-name" value="default"/>
        <property name="entity-group-name" value="org.ofbiz"/>
    </container>
</ofbiz-component>