Skip to content
Permalink
Browse files

Reverted: JSON entity data import and export utility

(OFBIZ-10966)

Implementation was not matching OFBiz code quality requirements.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867342 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
mthl committed Sep 22, 2019
1 parent a86beec commit daa1e6160e79e87cf62e0087ea71e844b8264e81
@@ -58,17 +58,6 @@
<response name="success" type="view" value="EntityExportAll"/>
<response name="error" type="view" value="EntityExportAll"/>
</request-map>
<request-map uri="EntityExportAllJson">
<security https="true" auth="true"/>
<response name="success" type="view" value="EntityExportAllJson"/>
<response name="error" type="view" value="EntityExportAllJson"/>
</request-map>
<request-map uri="entityExportAllJson">
<security https="true" auth="true"/>
<event type="service" path="" invoke="entityExportAllJson"/>
<response name="success" type="view" value="EntityExportAllJson"/>
<response name="error" type="view" value="EntityExportAllJson"/>
</request-map>

<!-- ================ Product Store Requests ============= -->
<request-map uri="FindProductStore">
@@ -217,7 +206,6 @@
<view-map name="EditProductStore" type="screen" page="component://commonext/widget/ofbizsetup/SetupScreens.xml#EditProductStore"/>

<view-map name="EntityExportAll" type="screen" page="component://commonext/widget/ofbizsetup/CommonScreens.xml#EntityExportAll"/>
<view-map name="EntityExportAllJson" type="screen" page="component://commonext/widget/ofbizsetup/CommonScreens.xml#EntityExportAllJson"/>

<view-map name="FindWebSite" type="screen" page="component://commonext/widget/ofbizsetup/SetupScreens.xml#FindWebSite"/>
<view-map name="EditWebSite" type="screen" page="component://commonext/widget/ofbizsetup/SetupScreens.xml#EditWebSite"/>
@@ -153,26 +153,4 @@
</widgets>
</section>
</screen>
<screen name="EntityExportAllJson">
<section>
<actions>
<set field="titleProperty" value="PageTitleEntityExportAllJson"/>
<set field="tabButtonItem" value="entityExportAllJson"/>
<set field="parameters.TRANSACTION_TIMEOUT" value="7200"/>
<set field="results" from-field="parameters.results"/>
<set field="headerItem" value="export"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet title="${uiLabelMap.PageTitleEntityExportAllJson}">
<platform-specific>
<html><html-template location="component://webtools/template/entity/EntityExportAllJson.ftl"/></html>
</platform-specific>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>
@@ -202,7 +202,6 @@ dependencies {
implementation 'wsdl4j:wsdl4j:1.6.3'
implementation 'org.jsoup:jsoup:1.12.1'
implementation 'com.auth0:java-jwt:3.8.2'
implementation 'org.json:json:20140107'
testImplementation 'org.hamcrest:hamcrest:2.1'
testImplementation 'org.hamcrest:hamcrest-library:2.1' // Enable junit4 to not depend on hamcrest-1.3
testImplementation 'org.mockito:mockito-core:3.0.0'

0 comments on commit daa1e61

Please sign in to comment.
You can’t perform that action at this time.