[jira] [Comment Edited] (OFBIZ-9501) move all data in applications to the datamodel component

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (OFBIZ-9501) move all data in applications to the datamodel component

Nicolas Malin (Jira)

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

Saurabh Dixit edited comment on OFBIZ-9501 at 7/22/17 2:14 PM:
---------------------------------------------------------------

Provided patch to move data from content component to datamodel component. In the patch we have moved the data which only belongs to content. For now leaving other data in the file.

Also I noticed that DataResource and ElectronicText exists in the seed data. On exploring I came to know that the data is for rendering the subcontent. Please suggest if we should consider it as demo or it is fine to have such data in seed/type data file.
Reference: OFBIZ-9501-003.patch


was (Author: saurabh.dixit):
Attached the third patch in the sequence for review. Moved data from content component under applications to datamodel component. Although, I'm not sure if we should move some of them to demo instead of seed, like DataResource and its associated ElectronicText for rendering standard sub content?

> 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: Upcoming Release
>            Reporter: Taher Alkhateeb
>            Priority: Minor
>              Labels: application, data
>         Attachments: OFBIZ-9051-004.patch, OFBIZ-9501-001.patch, OFBIZ-9501-002.patch, OFBIZ-9501-003.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)