You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Rishi Solanki (JIRA)" <ji...@apache.org> on 2018/01/11 14:37:00 UTC

[jira] [Commented] (OFBIZ-9501) Move all data in applications to the datamodel component

    [ https://issues.apache.org/jira/browse/OFBIZ-9501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16322334#comment-16322334 ] 

Rishi Solanki commented on OFBIZ-9501:
--------------------------------------

[~taher] and all,

I'm looking into it further and check that as per review comment from Taher that the data useless without that component then it should belongs to that component only. On this we were agree to leave some data in the component itself. Here I'm looking into demo data now and taking accounting component example for now. Below are the demo data files in the accounting component and I see most of the files data should belongs to component itself. So do we need to proceed further with this ticket or we should discuss the accounting component as example and try to move selective demo data as well. Like all seed-initial data belongs to component as per last discussion.
I think demo fall in the same category so no movement required. Also I'm open to discuss the part data which can be move and then will apply the patterns to other components. Here is the quick reference;

{code}
    <entity-resource type="data" reader-name="demo" loader="main" location="data/AccountingSecurityGroupDemoData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/PaymentGatewayConfData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/GeneralChartOfAccountsDemoData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/OrganizationDemoData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/GlSetupDemoData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/FinAccountDemoData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/TaxAuthorityDemoData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/AcctgTransactionDemoData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/InvoicePaymentsDemoData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/AccountingUserDemoData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/AssetMaintDemoData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/BudgetDemoData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/StandardCostingDemoData.xml"/>
{code}

> Move all data in applications to the datamodel component
> --------------------------------------------------------
>
>                 Key: OFBIZ-9501
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9501
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL APPLICATIONS
>    Affects Versions: 17.12.01
>            Reporter: Taher Alkhateeb
>            Assignee: Rishi Solanki
>            Priority: Minor
>              Labels: application, data
>         Attachments: OFBIZ-9051-004.patch, OFBIZ-9501-001.patch, OFBIZ-9501-002.patch, OFBIZ-9501-003.patch, OFBIZ-9501-WorkEffortSeedData.patch, OFBIZ-9501_Consolidated-2.patch, OFBIZ-9501_Consolidated.patch
>
>
> As per a community [discussion thread|https://lists.apache.org/thread.html/eb6ea79195204356a362dbf208c5dbb6d321d001bf2b79819dc45a24@%3Cdev.ofbiz.apache.org%3E] we decided to move all data (seed, seed-initial, demo) to the datamodel component. and to also reduce and cleanup this data to ease debugging and maintenance.
> After moving all the data, the directory and file structure would be similar to the below:
> data/
> ├── demo
> │   ├── AccountingDemoData.xml
> │   ├── CommonDemoData.xml
> │   ├── ContentDemoData.xml
> │   ├── HumanresDemo.xml
> │   ├── ManufacturingDemoData.xml
> │   ├── MarketingDemoData.xml
> │   ├── OrderDemoData.xml
> │   ├── PartyDemoData.xml
> │   ├── ProductDemoData.xml
> │   ├── ShipmentDemoData.xml
> │   └── WorkEffortDemoData.xml
> ├── seed
> │   ├── AccountingSeedData.xml
> │   ├── CommonSeedData.xml
> │   ├── ContentSeedData.xml
> │   ├── HumanresSeedData.xml
> │   ├── ManufacturingSeedData.xml
> │   ├── MarketingSeedData.xml
> │   ├── OrderSeedData.xml
> │   ├── PartySeedData.xml
> │   ├── ProductSeedData.xml
> │   ├── ShipmentSeedData.xml
> │   └── WorkEffortSeedData.xml
> └── seed-initial
>     ├── AccountingSeedInitialData.xml
>     ├── CommonSeedInitialData.xml
>     ├── ContentSeedInitialData.xml
>     ├── HumanresSeedInitialData.xml
>     ├── ManufacturingSeedInitialData.xml
>     ├── MarketingSeedInitialData.xml
>     ├── OrderSeedInitialData.xml
>     ├── PartySeedInitialData.xml
>     ├── ProductSeedInitialData.xml
>     ├── ShipmentSeedInitialData.xml
>     └── WorkEffortSeedInitialData.xml



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)