ilscipio/scipio-erp

View on GitHub
applications/solr/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="solr"
       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 location="lib/*" type="jar"/>
    <classpath type="jar" location="build/lib/*"/>
    <classpath type="dir" location="src/*" />
    
    <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/SolrTypeData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/SolrSecurityPermissionSeedData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/SolrSecurityGroupDemoData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/SolrSeedData.xml"/>   
    <entity-resource type="data" reader-name="demo" loader="main" location="data/SolrUserDemoData.xml"/>   
    <entity-resource type="data" reader-name="seed-initial" loader="main" location="data/SolrScheduledServiceData.xml"/>
    <entity-resource type="data" reader-name="seed-initial" loader="main" location="data/SolrMarkDirtyData.xml"/>

    <entity-resource type="eca" reader-name="main" loader="main" location="entitydef/eecas.xml"/>

    <service-resource type="model" loader="main" location="servicedef/services_entity.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services.xml"/>
    <service-resource type="eca" loader="main" location="servicedef/secas.xml"/>
    
    <webapp name="solr"
       title="solr"
       server="default-server"
       location="webapp"
       base-permission="SOLRADM"
       mount-point="/solr"
       app-bar-display="false"/>

</ofbiz-component>