Re: Gradle daemons in demos and Buildbot builds?

2018-12-24 Thread Jacques Le Roux

Le 24/12/2018 à 17:43, Jacques Le Roux a écrit :

Hi,

So far, from Gradle team recommendation, we were not using Gradle daemons in 
demos and Buildbot builds.

In both, I recently noticed warnings like

   To honour the JVM settings for this build a new JVM will be forked. Please 
consider using the daemon:
   https://docs.gradle.org/5.0/userguide/gradle_daemon.html. Daemon will be 
stopped at the end of the build stopping after processing

There I can read:

   /Continuous integration//
   //Since Gradle 3.0, we enable Daemon by default and recommend using it for 
both developers' machines and Continuous Integration servers. However,
   if you suspect that Daemon makes your CI builds unstable, you can disable it 
to use a fresh runtime for each build since the runtime is
   //completely//isolated from any previous builds./

I think we can try it, what do you think?

Also, I'm using --/parallel /for quite a moment now. Since we switched to Gradle 5 I no longer see warnings about that. Should we not use it in 
demos and Buildbot builds and maybe enforce it generally?


Thank you for your opinions.
//

Jacques



I think the limitations of the parallel option[1] should work for us, but 
please check by yourself in case I missed something

[1] 
https://docs.gradle.org/current/userguide/multi_project_builds.html#sec:parallel_execution

Jacques



Gradle daemons in demos and Buildbot builds?

2018-12-24 Thread Jacques Le Roux

Hi,

So far, from Gradle team recommendation, we were not using Gradle daemons in 
demos and Buildbot builds.

In both, I recently noticed warnings like

   To honour the JVM settings for this build a new JVM will be forked. Please 
consider using the daemon:
   https://docs.gradle.org/5.0/userguide/gradle_daemon.html. Daemon will be 
stopped at the end of the build stopping after processing

There I can read:

   /Continuous integration//
   //Since Gradle 3.0, we enable Daemon by default and recommend using it for 
both developers' machines and Continuous Integration servers. However,
   if you suspect that Daemon makes your CI builds unstable, you can disable it 
to use a fresh runtime for each build since the runtime is
   //completely//isolated from any previous builds./

I think we can try it, what do you think?

Also, I'm using --/parallel /for quite a moment now. Since we switched to Gradle 5 I no longer see warnings about that. Should we not use it in demos 
and Buildbot builds and maybe enforce it generally?


Thank you for your opinions.
//

Jacques



Re: Demo stable down

2018-12-24 Thread Jacques Le Roux

Le 24/12/2018 à 11:54, Jacques Le Roux a écrit :

I'll check that, if anybody has an idea from the top of head I'd be glad to know


OK, the name changed since because of a typo: 
http://svn.apache.org/viewvc?view=revision=1785055

So it was also for R16 and I forgot at some point. We should patch in scripts 
after updating if needed.

Will see later...

Jacques



Re: svn commit: r1849547 - in /ofbiz/ofbiz-framework/trunk/applications/datamodel: data/demo/ data/seed/ entitydef/

2018-12-24 Thread Jacques Le Roux

Thanks Arun

Le 24/12/2018 à 11:38, Arun Patidar a écrit :

Thanks Jacques, added reference ticketId in log message for more details
regarding design and requirement.


Thanks & Regards
---
Arun Patidar
Director of Information SystemsHotWax Commerce 



On Sat, Dec 22, 2018 at 6:34 PM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:


Hi Arun,

I did not have enough time test, but I guess it's an excellent work

I though think a short explanation with a reference to OFBIZ-6964 would
fit here.

Like,

Here are high level design notes based on the requirement specified
under OFBIZ-7355  to support the product level replenishment from
any intra-company facility before raising the ordering from an outside
vendor.

or more ;)

Thanks

Jacques

Le 22/12/2018 à 13:19, arunpati...@apache.org a écrit :

Author: arunpatidar
Date: Sat Dec 22 12:19:19 2018
New Revision: 1849547

URL: http://svn.apache.org/viewvc?rev=1849547=rev
Log:
Added: Demo Data based on the propsed design to support replenishment

planning through any inter-company facility.

(OFBIZ-7357)
Thanks Swapnil and Yashwant for your contribution.

Modified:


ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/OrderDemoData.xml
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/ProductDemoData.xml
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/seed/ManufacturingSeedData.xml
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/seed/OrderSeedData.xml
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/seed/ProductSeedData.xml
ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/manufacturing-entitymodel.xml
ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/order-entitymodel.xml
ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/product-entitymodel.xml

Modified:

ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/OrderDemoData.xml

URL:

http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/OrderDemoData.xml?rev=1849547=1849546=1849547=diff
==

---

ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/OrderDemoData.xml
(original)

+++

ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/OrderDemoData.xml
Sat Dec 22 12:19:19 2018

@@ -186,6 +186,14 @@ under the License.
   
locationSeqId="TLTLTLUL02" geoPointId="9000" fromDate="2009-01-09
00:00:00.000"/>

   
locationSeqId="TLTLTLLL03" geoPointId="9000" fromDate="2009-01-09
00:00:00.000"/>

   
locationSeqId="TLTLTLUL04" geoPointId="9000" fromDate="2009-01-09
00:00:00.000"/>

+
locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_BULK" areaId="TL"
aisleId="TL" sectionId="TL" levelId="UL" positionId="05"/>

+
locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_PICKLOC" areaId="TL"
aisleId="TL" sectionId="TL" levelId="UL" positionId="06"/>

+
locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_BULK" areaId="TL"
aisleId="TL" sectionId="TL" levelId="UL" positionId="05"/>

+
locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_PICKLOC" areaId="TL"
aisleId="TL" sectionId="TL" levelId="UL" positionId="06"/>

+
locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_BULK" areaId="TL"
aisleId="TL" sectionId="TL" levelId="UL" positionId="05"/>

+
locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_PICKLOC" areaId="TL"
aisleId="TL" sectionId="TL" levelId="UL" positionId="06"/>

+
locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_BULK" areaId="TL"
aisleId="TL" sectionId="TL" levelId="UL" positionId="05"/>

+
locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_PICKLOC" areaId="TL"
aisleId="TL" sectionId="TL" levelId="UL" positionId="06"/>

   
Store" companyName="Open For Business" title="Open For Commerce"

 subtitle="Part of the Apache OFBiz Family of Open

Source Software" payToPartyId="Company" daysToCancelNonPay="30"
prorateShipping="Y" prorateTaxes="Y"

@@ -274,6 +282,11 @@ under the License.
   
webAnalyticsTypeId="BING_ANALYTICS" webAnalyticsCode="//--  enter here your
analytic script code --"/>

   
facilityId="WebStoreWarehouse" fromDate="2001-05-13 12:00:00.0"/>

+
facilityId="RegionalWarehouse1" fromDate="2001-05-13 12:00:00.0"/>

+
facilityId="RegionalWarehouse2" fromDate="2001-05-13 12:00:00.0"/>

+
facilityId="StoreWarehouse1" fromDate="2001-05-13 12:00:00.0"/>

+
facilityId="StoreWarehouse2" fromDate="2001-05-13 12:00:00.0"/>

+
   
productStoreId="9000" fromDate="2001-05-13 12:00:00.0"/>

   
fromDate="2001-05-13 12:00:00.0" target="100"
targetTypeEnumId="KOTT_PRODCAT"/>

@@ -1229,6 +1242,10 @@ under the License.
   
facilityId="WebStoreWarehouse" minimumStock="2" reorderQuantity="10"
daysToShip="1"/>

   
facilityId="WebStoreWarehouse" minimumStock="2" reorderQuantity="10"
daysToShip="1"/>

   
facilityId="WebStoreWarehouse" minimumStock="2" reorderQuantity="10"

Re: Demo stable down

2018-12-24 Thread Jacques Le Roux

Le 24/12/2018 à 10:23, Nicolas Malin a écrit :

On 24/12/2018 08:09, Jacques Le Roux wrote:

Hi Nico,

Do you want me to add your address too?

Yes Jacques, we pleasure


Thanks




Thank you Nicolas,

Done

I saw you committed, I don' t remember clearly but maybe another file now 
misses in trunk demo, it's fop.xconf.patch.

I surely created it, but then why only trunk and I did not apply it? I don't 
clearly remember and maybe we should have it in all demos.

I'll check that, if anybody has an idea from the top of head I'd be glad to 
know ;)

I'll add details for file to patch and such in the README.md. Also details on 
how to handle things with Puppet (our HTTPS config is puppetized)

@All, I was wondering, I use 2 .md files in tools, would not be better to have 
Asciidoc files there too?

Jacques



Re: svn commit: r1849547 - in /ofbiz/ofbiz-framework/trunk/applications/datamodel: data/demo/ data/seed/ entitydef/

2018-12-24 Thread Arun Patidar
Thanks Jacques, added reference ticketId in log message for more details
regarding design and requirement.


Thanks & Regards
---
Arun Patidar
Director of Information SystemsHotWax Commerce 



On Sat, Dec 22, 2018 at 6:34 PM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi Arun,
>
> I did not have enough time test, but I guess it's an excellent work
>
> I though think a short explanation with a reference to OFBIZ-6964 would
> fit here.
>
> Like,
>
> Here are high level design notes based on the requirement specified
> under OFBIZ-7355  to support the product level replenishment from
> any intra-company facility before raising the ordering from an outside
> vendor.
>
> or more ;)
>
> Thanks
>
> Jacques
>
> Le 22/12/2018 à 13:19, arunpati...@apache.org a écrit :
> > Author: arunpatidar
> > Date: Sat Dec 22 12:19:19 2018
> > New Revision: 1849547
> >
> > URL: http://svn.apache.org/viewvc?rev=1849547=rev
> > Log:
> > Added: Demo Data based on the propsed design to support replenishment
> planning through any inter-company facility.
> > (OFBIZ-7357)
> > Thanks Swapnil and Yashwant for your contribution.
> >
> > Modified:
> >
> ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/OrderDemoData.xml
> >
> ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/ProductDemoData.xml
> >
> ofbiz/ofbiz-framework/trunk/applications/datamodel/data/seed/ManufacturingSeedData.xml
> >
> ofbiz/ofbiz-framework/trunk/applications/datamodel/data/seed/OrderSeedData.xml
> >
> ofbiz/ofbiz-framework/trunk/applications/datamodel/data/seed/ProductSeedData.xml
> >
> ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/manufacturing-entitymodel.xml
> >
> ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/order-entitymodel.xml
> >
> ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/product-entitymodel.xml
> >
> > Modified:
> ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/OrderDemoData.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/OrderDemoData.xml?rev=1849547=1849546=1849547=diff
> >
> ==
> > ---
> ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/OrderDemoData.xml
> (original)
> > +++
> ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/OrderDemoData.xml
> Sat Dec 22 12:19:19 2018
> > @@ -186,6 +186,14 @@ under the License.
> >locationSeqId="TLTLTLUL02" geoPointId="9000" fromDate="2009-01-09
> 00:00:00.000"/>
> >locationSeqId="TLTLTLLL03" geoPointId="9000" fromDate="2009-01-09
> 00:00:00.000"/>
> >locationSeqId="TLTLTLUL04" geoPointId="9000" fromDate="2009-01-09
> 00:00:00.000"/>
> > + locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_BULK" areaId="TL"
> aisleId="TL" sectionId="TL" levelId="UL" positionId="05"/>
> > + locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_PICKLOC" areaId="TL"
> aisleId="TL" sectionId="TL" levelId="UL" positionId="06"/>
> > + locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_BULK" areaId="TL"
> aisleId="TL" sectionId="TL" levelId="UL" positionId="05"/>
> > + locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_PICKLOC" areaId="TL"
> aisleId="TL" sectionId="TL" levelId="UL" positionId="06"/>
> > + locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_BULK" areaId="TL"
> aisleId="TL" sectionId="TL" levelId="UL" positionId="05"/>
> > + locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_PICKLOC" areaId="TL"
> aisleId="TL" sectionId="TL" levelId="UL" positionId="06"/>
> > + locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_BULK" areaId="TL"
> aisleId="TL" sectionId="TL" levelId="UL" positionId="05"/>
> > + locationSeqId="TLTLTLUL01" locationTypeEnumId="FLT_PICKLOC" areaId="TL"
> aisleId="TL" sectionId="TL" levelId="UL" positionId="06"/>
> >
> >> subtitle="Part of the Apache OFBiz Family of Open
> Source Software" payToPartyId="Company" daysToCancelNonPay="30"
> prorateShipping="Y" prorateTaxes="Y"
> > @@ -274,6 +282,11 @@ under the License.
> >webAnalyticsTypeId="BING_ANALYTICS" webAnalyticsCode="//--  enter here your
> analytic script code --"/>
> >
> >facilityId="WebStoreWarehouse" fromDate="2001-05-13 12:00:00.0"/>
> > + facilityId="RegionalWarehouse1" fromDate="2001-05-13 12:00:00.0"/>
> > + facilityId="RegionalWarehouse2" fromDate="2001-05-13 12:00:00.0"/>
> > + facilityId="StoreWarehouse1" fromDate="2001-05-13 12:00:00.0"/>
> > + facilityId="StoreWarehouse2" fromDate="2001-05-13 12:00:00.0"/>
> > +
> >productStoreId="9000" fromDate="2001-05-13 12:00:00.0"/>
> >fromDate="2001-05-13 12:00:00.0" target="100"
> targetTypeEnumId="KOTT_PRODCAT"/>
> >
> > @@ -1229,6 +1242,10 @@ under the License.
> >facilityId="WebStoreWarehouse" minimumStock="2" reorderQuantity="10"
> daysToShip="1"/>
> >facilityId="WebStoreWarehouse" 

Re: Demo stable down

2018-12-24 Thread Nicolas Malin

On 24/12/2018 08:09, Jacques Le Roux wrote:

Hi Nico,

Do you want me to add your address too?

Yes Jacques, we pleasure


Thanks