Moved the "birt" component out of framework to specialpurpose; moved all the birt reports from the applications to the birt component itself, where the application webapps are overriden to inject the reports; the end result is the same but since all these birt reports are simply a proof of concepts that cannot be used in production (for example they use hardcoded userlogin for authentication) the birt component should be probably disabled by default (but this will be discussed in the dev list).
Now it will be very easy to extract the birt component (for OFBiz Extras) or to disable it when deploying to production or when interested in sparing some hardware resources. I did some cursory tests but since the work has been challenging and rather complex I would appreciate testing help and also reviews to finds chunks of code that I could have missed and that could be moved out as well. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1361130 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -25,7 +25,6 @@ under the License.
|
||||
elements found in the common-controller.xml file. -->
|
||||
<include location="component://common/webcommon/WEB-INF/common-controller.xml"/>
|
||||
<include location="component://common/webcommon/WEB-INF/portal-controller.xml"/>
|
||||
<include location="component://example/webapp/birt/WEB-INF/controller.xml"/>
|
||||
|
||||
<description>Example Component Site Configuration File</description>
|
||||
|
||||
@@ -218,22 +217,6 @@ under the License.
|
||||
<request-map uri="ExampleOsmGeoLocationPointSet2"><security https="true" auth="true"/><response name="success" type="view" value="ExampleOsmGeoLocationPointSet2"/></request-map>
|
||||
<request-map uri="ExampleOsmGeoLocationPointSet3"><security https="true" auth="true"/><response name="success" type="view" value="ExampleOsmGeoLocationPointSet3"/></request-map>
|
||||
<request-map uri="ExampleOsmGeoLocationPointSet4"><security https="true" auth="true"/><response name="success" type="view" value="ExampleOsmGeoLocationPointSet4"/></request-map>
|
||||
|
||||
<!-- BIRT example Requests -->
|
||||
<request-map uri="BirtMain">
|
||||
<security https="true" auth="true"/>
|
||||
<response name="success" type="view" value="BirtMain"/>
|
||||
</request-map>
|
||||
|
||||
<!--flot example requests-->
|
||||
<request-map uri="ExampleBarChart">
|
||||
<security https="true" auth="true"/>
|
||||
<response name="success" type="view" value="ExampleBarChart"/>
|
||||
</request-map>
|
||||
<request-map uri="ExamplePieChart">
|
||||
<security https="true" auth="true"/>
|
||||
<response name="success" type="view" value="ExamplePieChart"/>
|
||||
</request-map>
|
||||
<!-- end of request mappings -->
|
||||
|
||||
<!-- View Mappings -->
|
||||
@@ -273,9 +256,6 @@ under the License.
|
||||
<view-map name="ExampleOsmGeoLocationPointSet3" type="screen" page="component://example/widget/example/ExampleScreens.xml#ExampleOsmGeoLocationPointSet3"/>
|
||||
<view-map name="ExampleOsmGeoLocationPointSet4" type="screen" page="component://example/widget/example/ExampleScreens.xml#ExampleOsmGeoLocationPointSet4"/>
|
||||
|
||||
<!-- BIRT example View Mappings -->
|
||||
<view-map name="BirtMain" type="screen" page="component://example/widget/example/BirtScreens.xml#main"/>
|
||||
|
||||
<!-- Flot view mapping -->
|
||||
<view-map name="ExampleBarChart" page="component://example/widget/example/ExampleScreens.xml#ExampleBarChart" type="screen"/>
|
||||
<view-map name="ExamplePieChart" page="component://example/widget/example/ExampleScreens.xml#ExamplePieChart" type="screen"/>
|
||||
|
||||
Reference in New Issue
Block a user