ilscipio/scipio-erp

View on GitHub
applications/accounting/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="accounting"
        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="jar" location="build/lib/*"/>
    <classpath type="dir" location="config"/>
    <classpath type="jar" location="lib/*"/>

    <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
    <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel_reports.xml"/>
    <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel_old.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/AccountingTypeData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/AccountingHelpData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/UsTaxAccountGroups.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/AccountingSecurityPermissionSeedData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/AccountingSecurityGroupDemoData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/AccountingPortletData.xml"/>
    <entity-resource type="data" reader-name="seed-initial" loader="main" location="data/PaymentGatewayConfData.xml"/>
    <entity-resource type="data" reader-name="seed-initial" loader="main" location="data/AccountingScheduledServiceData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoGeneralChartOfAccounts.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoOrganizationData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoGlSetupData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoFinAccountData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoTaxAuthority.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoAcctgTransactionData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoPaymentsInvoices.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoAccountingUserData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoAssetMaintData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoBudgetData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/AccountingDatevData.xml"/>

    <!-- General Payment Service Definitions -->
    <service-resource type="model" loader="main" location="servicedef/services_agreement.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_admin.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_billing.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_budget.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_finaccount.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_fixedasset.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_invoice.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_ledger.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_payment.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_paymentmethod.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_paymentgateway.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_tax.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_rate.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_cost.xml"/>

    <!-- Payment Processor/Gateway Service Definitions -->
    <service-resource type="model" loader="main" location="servicedef/services_sagepay.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_authorizedotnet.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_clearcommerce.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_cybersource.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_paypal.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_pccharge.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_rita.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_valuelink.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_verisign.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_orbital.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_securepay.xml"/>

    <!-- Accounting Permission Services -->
    <service-resource type="model" loader="main" location="servicedef/services_perm.xml"/>

    <!-- Accounting Migration Service Definition -->
    <service-resource type="model" loader="main" location="servicedef/services_upgrade.xml"/>
    
    <!-- Accounting Accounting Entries import/export Service Definition -->
    <service-resource type="model" loader="main" location="servicedef/services_datev.xml"/>

    <service-resource type="group" loader="main" location="servicedef/groups.xml"/>
    <service-resource type="eca" loader="main" location="servicedef/secas.xml"/>
    <service-resource type="eca" loader="main" location="servicedef/secas_payment.xml"/>
    <service-resource type="eca" loader="main" location="servicedef/secas_ledger.xml"/>
    <service-resource type="eca" loader="main" location="servicedef/secas_invoice.xml"/>

    <test-suite loader="main" location="testdef/accountingtests.xml"/>
    <test-suite loader="main" location="testdef/paymenttests.xml"/>
    <test-suite loader="main" location="testdef/paymentappltests.xml"/>
    <test-suite loader="main" location="testdef/invoicetests.xml"/>
    <test-suite loader="main" location="testdef/fixedassettests.xml"/>

    <webapp name="accounting"
        title="Accounting"
        server="default-server"
        location="webapp/accounting"
        base-permission="OFBTOOLS,ACCOUNTING"
        mount-point="/accounting"/>

    <!-- SCIPIO: AP/AR are reintegrated into accounting -->
    <!-- All requests are being redirected to accounting -->
    <webapp name="ar"
        title="Accounting - AR"
        server="default-server"
        location="webapp/ar"
        base-permission="OFBTOOLS,ACCOUNTING"
        mount-point="/ar"
        app-bar-display="false"/>

    <webapp name="ap"
        title="Accounting - AP"
        server="default-server"
        location="webapp/ap"
        base-permission="OFBTOOLS,ACCOUNTING"
        mount-point="/ap"
        app-bar-display="false"/>
        

</ofbiz-component>