svn commit: r1739995 - in /ofbiz/trunk/specialpurpose/bi: data/BiSystemPropertyData.xml ofbiz-component.xml

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

svn commit: r1739995 - in /ofbiz/trunk/specialpurpose/bi: data/BiSystemPropertyData.xml ofbiz-component.xml

jleroux@apache.org
Author: jleroux
Date: Tue Apr 19 20:10:42 2016
New Revision: 1739995

URL: http://svn.apache.org/viewvc?rev=1739995&view=rev
Log:
Patches from Pierre Smits for "Have configuration options for bi" https://issues.apache.org/jira/browse/OFBIZ-6193

These patches address the inclusion of BISystemPropertyData.xml in ofbiz-component.xml of the bi component.

Added:
    ofbiz/trunk/specialpurpose/bi/data/BiSystemPropertyData.xml   (with props)
Modified:
    ofbiz/trunk/specialpurpose/bi/ofbiz-component.xml

Added: ofbiz/trunk/specialpurpose/bi/data/BiSystemPropertyData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/bi/data/BiSystemPropertyData.xml?rev=1739995&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/bi/data/BiSystemPropertyData.xml (added)
+++ ofbiz/trunk/specialpurpose/bi/data/BiSystemPropertyData.xml Tue Apr 19 20:10:42 2016
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<entity-engine-xml>
+<!--
+# The fromDate value for business intelligence
+bi.properties setting is: fromDate=2013-09-01
+-->
+    <SystemProperty systemResourceId="bi" systemPropertyId="fromDate" systemPropertyValue="2013-09-01"
+    description="The fromDate value for business intelligence. Convention: yyyy-mm-dd"
+    />
+    <!--
+# The thruDate value for for business intelligence
+bi.properties setting is: 2023-09-01
+-->
+    <SystemProperty systemResourceId="bi" systemPropertyId="thruDate" systemPropertyValue="2023-09-01"
+    description="The thruDate value for business intelligence. Convention: yyyy-mm-dd"
+    />
+    
+</entity-engine-xml>
\ No newline at end of file

Propchange: ofbiz/trunk/specialpurpose/bi/data/BiSystemPropertyData.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/bi/data/BiSystemPropertyData.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/bi/data/BiSystemPropertyData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/specialpurpose/bi/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/bi/ofbiz-component.xml?rev=1739995&r1=1739994&r2=1739995&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/bi/ofbiz-component.xml (original)
+++ ofbiz/trunk/specialpurpose/bi/ofbiz-component.xml Tue Apr 19 20:10:42 2016
@@ -27,9 +27,15 @@ under the License.
 
     <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
     <entity-resource type="group" reader-name="main" loader="main" location="entitydef/entitygroup.xml"/>
-
+    
+    <!-- seed data -->
     <entity-resource type="data" reader-name="seed" loader="main" location="data/BiTypeData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/BiSecurityPermissionSeedData.xml"/>
+    
+    <!-- seed-initial data -->
+    <entity-resource type="data" reader-name="seed-initial" loader="main" location="data/BiSystemPropertyData.xm"/>
+    
+    <!-- demo data -->
     <entity-resource type="data" reader-name="demo" loader="main" location="data/BiSecurityGroupDemoData.xml"/>
 
     <service-resource type="eca" loader="main" location="servicedef/secas.xml"/>