This is an automated email from the ASF dual-hosted git repository. mbrohl pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
commit 1a6e4f82947f14ab4725d5763985b68972259ca7 Author: Michael Brohl <michael.br...@ecomify.de> AuthorDate: Mon Mar 22 21:34:21 2021 +0100 Improved: Removes "ofbiz" prefix from files and folders, code cleanup (OFBIZ-12197) --- rest-api/config/ApiUiLabels.xml | 20 ------ rest-api/data/Ofbiz-rest-jerseyDemoData.xml | 23 ------- .../Ofbiz-rest-jerseySecurityGroupDemoData.xml | 36 ----------- ...Ofbiz-rest-jerseySecurityPermissionSeedData.xml | 35 ----------- rest-api/data/Ofbiz-rest-jerseyTypeData.xml | 23 ------- rest-api/entitydef/entitymodel.xml | 31 ---------- rest-api/ofbiz-component.xml | 27 +++----- rest-api/servicedef/services.xml | 2 +- ...fbiz-rest-jerseyTests.xml => rest-apiTests.xml} | 2 +- .../ofbiz-rest-jersey/WEB-INF/controller.xml | 47 -------------- rest-api/webapp/ofbiz-rest-jersey/index.jsp | 20 ------ .../WEB-INF/web.xml | 11 +--- rest-api/widget/CommonScreens.xml | 71 ---------------------- rest-api/widget/Ofbiz-rest-jerseyForms.xml | 26 -------- rest-api/widget/Ofbiz-rest-jerseyMenus.xml | 29 --------- rest-api/widget/Ofbiz-rest-jerseyScreens.xml | 40 ------------ 16 files changed, 12 insertions(+), 431 deletions(-) diff --git a/rest-api/config/ApiUiLabels.xml b/rest-api/config/ApiUiLabels.xml index 7cad87e..c1d5a0d 100644 --- a/rest-api/config/ApiUiLabels.xml +++ b/rest-api/config/ApiUiLabels.xml @@ -20,26 +20,6 @@ under the License. <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-properties.xsd"> - <property key="Ofbiz-rest-jerseyApplication"> - <value xml:lang="en">OFBiz-rest-jersey Application</value> - <value xml:lang="zh">Ofbiz-rest-jersey应用程序</value> - <value xml:lang="zh-TW">Ofbiz-rest-jersey應用程式</value> - </property> - <property key="Ofbiz-rest-jerseyCompanyName"> - <value xml:lang="en">OFBiz: OFBiz-rest-jersey</value> - <value xml:lang="zh-TW">OFBiz: OFBiz-rest-jersey</value> - </property> - <property key="Ofbiz-rest-jerseyCompanySubtitle"> - <value xml:lang="en">Part of the Apache OFBiz Family of Open Source Software</value> - <value xml:lang="it">Un modulo della famiglia di software open source Apache OFBiz</value> - <value xml:lang="zh">开源软件OFBiz的组成部分</value> - <value xml:lang="zh-TW">開源軟體OFBiz的組成部分</value> - </property> - <property key="Ofbiz-rest-jerseyViewPermissionError"> - <value xml:lang="en">You are not allowed to view this page.</value> - <value xml:lang="zh">不允许你浏览这个页面。</value> - <value xml:lang="zh-TW">不允許您檢視這個頁面.</value> - </property> <property key="GenericServiceValidationErrorMessage"> <value xml:lang="en">${service} validation failed. The request contained invalid information and could not be processed.</value> </property> diff --git a/rest-api/data/Ofbiz-rest-jerseyDemoData.xml b/rest-api/data/Ofbiz-rest-jerseyDemoData.xml deleted file mode 100644 index b76e67e..0000000 --- a/rest-api/data/Ofbiz-rest-jerseyDemoData.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?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> - -</entity-engine-xml> \ No newline at end of file diff --git a/rest-api/data/Ofbiz-rest-jerseySecurityGroupDemoData.xml b/rest-api/data/Ofbiz-rest-jerseySecurityGroupDemoData.xml deleted file mode 100644 index cd952cd..0000000 --- a/rest-api/data/Ofbiz-rest-jerseySecurityGroupDemoData.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?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> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FULLADMIN" - permissionId="OFBIZ-REST-JERSEY_ADMIN"/> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" - permissionId="OFBIZ-REST-JERSEY_CREATE"/> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" - permissionId="OFBIZ-REST-JERSEY_DELETE"/> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" - permissionId="OFBIZ-REST-JERSEY_UPDATE"/> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" - permissionId="OFBIZ-REST-JERSEY_VIEW"/> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="VIEWADMIN" - permissionId="OFBIZ-REST-JERSEY_VIEW"/> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="BIZADMIN" - permissionId="OFBIZ-REST-JERSEY_ADMIN"/> -</entity-engine-xml> diff --git a/rest-api/data/Ofbiz-rest-jerseySecurityPermissionSeedData.xml b/rest-api/data/Ofbiz-rest-jerseySecurityPermissionSeedData.xml deleted file mode 100644 index 597f97a..0000000 --- a/rest-api/data/Ofbiz-rest-jerseySecurityPermissionSeedData.xml +++ /dev/null @@ -1,35 +0,0 @@ -<?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> - <SecurityPermission description="View operations in the OFBiz-rest-jersey Component." - permissionId="OFBIZ-REST-JERSEY_VIEW"/> - <SecurityPermission description="Create operations in the OFBiz-rest-jersey Component." - permissionId="OFBIZ-REST-JERSEY_CREATE"/> - <SecurityPermission description="Update operations in the OFBiz-rest-jersey Component." - permissionId="OFBIZ-REST-JERSEY_UPDATE"/> - <SecurityPermission description="Delete operations in the OFBiz-rest-jersey Component." - permissionId="OFBIZ-REST-JERSEY_DELETE"/> - <SecurityPermission description="ALL operations in the OFBiz-rest-jersey Component." - permissionId="OFBIZ-REST-JERSEY_ADMIN"/> - - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="SUPER" permissionId="OFBIZ-REST-JERSEY_ADMIN"/> - -</entity-engine-xml> diff --git a/rest-api/data/Ofbiz-rest-jerseyTypeData.xml b/rest-api/data/Ofbiz-rest-jerseyTypeData.xml deleted file mode 100644 index b76e67e..0000000 --- a/rest-api/data/Ofbiz-rest-jerseyTypeData.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?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> - -</entity-engine-xml> \ No newline at end of file diff --git a/rest-api/entitydef/entitymodel.xml b/rest-api/entitydef/entitymodel.xml deleted file mode 100644 index 4ffbc30..0000000 --- a/rest-api/entitydef/entitymodel.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?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. ---> - -<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitymodel.xsd"> - <!-- ========================================================= --> - <!-- ======================== Defaults ======================= --> - <!-- ========================================================= --> - <title>Entity of OFBiz-rest-jersey Component</title> - <description>None</description> - <copyright></copyright> - <version></version> - -</entitymodel> \ No newline at end of file diff --git a/rest-api/ofbiz-component.xml b/rest-api/ofbiz-component.xml index 47bc4f9..ec9764f 100644 --- a/rest-api/ofbiz-component.xml +++ b/rest-api/ofbiz-component.xml @@ -18,7 +18,7 @@ specific language governing permissions and limitations under the License. --> -<ofbiz-component name="ofbiz-rest-jersey" +<ofbiz-component name="rest-api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd"> <!-- define resource loaders; most common is to use the component resource loader --> @@ -26,32 +26,19 @@ under the License. <!-- place the config directory on the classpath to access configuration files --> <classpath type="dir" location="config"/> - <!-- entity resources: model(s), eca(s), group, and data definitions --> - <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> - <!-- <entity-resource type="eca" reader-name="main" loader="main" location="entitydef/eecas.xml"/> --> - <entity-resource type="data" reader-name="seed" loader="main" location="data/Ofbiz-rest-jerseyTypeData.xml"/> - <entity-resource type="data" reader-name="seed" loader="main" - location="data/Ofbiz-rest-jerseySecurityPermissionSeedData.xml"/> - <entity-resource type="data" reader-name="demo" loader="main" - location="data/Ofbiz-rest-jerseySecurityGroupDemoData.xml"/> - <entity-resource type="data" reader-name="demo" loader="main" location="data/Ofbiz-rest-jerseyDemoData.xml"/> - + <!-- service resources: model(s), eca(s) and group definitions --> <service-resource type="model" loader="main" location="servicedef/services.xml"/> - <!-- - <service-resource type="eca" loader="main" location="servicedef/secas.xml"/> - <service-resource type="group" loader="main" location="servicedef/groups.xml"/> - --> - <test-suite loader="main" location="testdef/Ofbiz-rest-jerseyTests.xml"/> + <test-suite loader="main" location="testdef/rest-apiTests.xml"/> <!-- web applications; will be mounted when using the embedded container --> - <webapp name="ofbiz-rest-jersey" - title="Rest-jersey" + <webapp name="rest-api" + title="REST API" server="default-server" - location="webapp/ofbiz-rest-jersey" - base-permission="OFBTOOLS,OFBIZ-REST-JERSEY" + location="webapp/rest-api" mount-point="/rest"/> + <webapp name="api-docs" title="REST API Docs" app-bar-display="false" diff --git a/rest-api/servicedef/services.xml b/rest-api/servicedef/services.xml index 759faaa..017f1b4 100644 --- a/rest-api/servicedef/services.xml +++ b/rest-api/servicedef/services.xml @@ -20,7 +20,7 @@ under the License. <services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd"> - <description>OFBiz-rest-jersey Services</description> + <description>rest-api Services</description> <vendor></vendor> <version>1.0</version> diff --git a/rest-api/testdef/Ofbiz-rest-jerseyTests.xml b/rest-api/testdef/rest-apiTests.xml similarity index 94% rename from rest-api/testdef/Ofbiz-rest-jerseyTests.xml rename to rest-api/testdef/rest-apiTests.xml index 35e51bf..5251500 100644 --- a/rest-api/testdef/Ofbiz-rest-jerseyTests.xml +++ b/rest-api/testdef/rest-apiTests.xml @@ -18,7 +18,7 @@ specific language governing permissions and limitations under the License. --> -<test-suite suite-name="Ofbiz-rest-jerseytests" +<test-suite suite-name="rest-api-tests" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/test-suite.xsd"> diff --git a/rest-api/webapp/ofbiz-rest-jersey/WEB-INF/controller.xml b/rest-api/webapp/ofbiz-rest-jersey/WEB-INF/controller.xml deleted file mode 100644 index b0bdffb..0000000 --- a/rest-api/webapp/ofbiz-rest-jersey/WEB-INF/controller.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?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. ---> - -<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns="http://ofbiz.apache.org/Site-Conf" xsi:schemaLocation="http://ofbiz.apache.org/Site-Conf http://ofbiz.apache.org/dtds/site-conf.xsd"> - <!-- The controller elements that are common to all OFBiz components - can be found in the following xml file. A component can override the - elements found in the common-controller.xml file. --> - <include location="component://common/webcommon/WEB-INF/common-controller.xml"/> - - <description>OFBiz-rest-jersey Component Site Configuration File</description> - - <!-- Events to run on every request before security (chains exempt) --> - <!-- - <preprocessor> - </preprocessor> - --> - <!-- Events to run on every request after all other processing (chains exempt) --> - <!-- - <postprocessor> - <event name="test" type="java" path="org.apache.ofbiz.webapp.event.TestEvent" invoke="test"/> - </postprocessor> - --> - - <!-- Request Mappings --> - <request-map uri="main"><security https="true" auth="true"/><response name="success" type="view" value="main"/></request-map> - - <!-- View Mappings --> - <view-map name="main" type="screen" page="component://ofbiz-rest-jersey/widget/Ofbiz-rest-jerseyScreens.xml#main"/> -</site-conf> \ No newline at end of file diff --git a/rest-api/webapp/ofbiz-rest-jersey/index.jsp b/rest-api/webapp/ofbiz-rest-jersey/index.jsp deleted file mode 100644 index 4ea7d0c..0000000 --- a/rest-api/webapp/ofbiz-rest-jersey/index.jsp +++ /dev/null @@ -1,20 +0,0 @@ -<%-- -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. ---%> - -<%response.sendRedirect("control/main");%> \ No newline at end of file diff --git a/rest-api/webapp/ofbiz-rest-jersey/WEB-INF/web.xml b/rest-api/webapp/rest-api/WEB-INF/web.xml similarity index 81% rename from rest-api/webapp/ofbiz-rest-jersey/WEB-INF/web.xml rename to rest-api/webapp/rest-api/WEB-INF/web.xml index 9c08a8a..f4038fd 100644 --- a/rest-api/webapp/ofbiz-rest-jersey/WEB-INF/web.xml +++ b/rest-api/webapp/rest-api/WEB-INF/web.xml @@ -19,17 +19,12 @@ under the License. --> <web-app version="4.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"> - <display-name>Apache OFBiz - OFBiz-rest-jersey Component</display-name> - <description>OFBiz-rest-jersey Component of the Apache OFBiz Project</description> + <display-name>Apache OFBiz - rest-api Component</display-name> + <description>rest-api Component of the Apache OFBiz Project</description> - <!-- context-param> - <param-name>webSiteId</param-name> - <param-value>ofbiz-rest-jerseySite</param-value> - <description>A unique ID used to look up the WebSite entity. Only for component using a WebSite entity, like ecommerce</description> - </context-param--> <context-param> <description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description> - <param-name>localDispatcherName</param-name><param-value>ofbiz-rest-jersey</param-value> + <param-name>localDispatcherName</param-name><param-value>rest-api</param-value> </context-param> <context-param> <description>The Name of the Entity Delegator to use, defined in entityengine.xml</description> diff --git a/rest-api/widget/CommonScreens.xml b/rest-api/widget/CommonScreens.xml deleted file mode 100644 index b99f18b..0000000 --- a/rest-api/widget/CommonScreens.xml +++ /dev/null @@ -1,71 +0,0 @@ -<?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. ---> - -<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns="http://ofbiz.apache.org/Widget-Screen" - xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen http://ofbiz.apache.org/dtds/widget-screen.xsd"> - - <screen name="main-decorator"> - <section> - <actions> - <property-map resource="Ofbiz-rest-jerseyUiLabels" map-name="uiLabelMap" global="true"/> - <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> - - <set field="layoutSettings.companyName" from-field="uiLabelMap.Ofbiz-rest-jerseyCompanyName" - global="true"/> - <set field="layoutSettings.companySubtitle" from-field="uiLabelMap.Ofbiz-rest-jerseyCompanySubtitle" - global="true"/> - - <set field="activeApp" value="ofbiz-rest-jersey" global="true"/> - <set field="applicationMenuName" value="MainAppBar" global="true"/> - <set field="applicationMenuLocation" - value="component://ofbiz-rest-jersey/widget/Ofbiz-rest-jerseyMenus.xml" global="true"/> - <set field="applicationTitle" from-field="uiLabelMap.Ofbiz-rest-jerseyApplication" global="true"/> - </actions> - <widgets> - <include-screen name="GlobalDecorator" location="component://common/widget/CommonScreens.xml"/> - </widgets> - </section> - </screen> - - <screen name="Ofbiz-rest-jerseyCommonDecorator"> - <section> - <actions> - </actions> - <widgets> - <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> - <decorator-section name="body"> - <section> - <condition> - <if-has-permission permission="OFBIZ-REST-JERSEY" action="_VIEW"/> - </condition> - <widgets> - <decorator-section-include name="body"/> - </widgets> - <fail-widgets> - <label style="h3">${uiLabelMap.Ofbiz-rest-jerseyViewPermissionError}</label> - </fail-widgets> - </section> - </decorator-section> - </decorator-screen> - </widgets> - </section> - </screen> -</screens> \ No newline at end of file diff --git a/rest-api/widget/Ofbiz-rest-jerseyForms.xml b/rest-api/widget/Ofbiz-rest-jerseyForms.xml deleted file mode 100644 index 0fcdc58..0000000 --- a/rest-api/widget/Ofbiz-rest-jerseyForms.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?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. ---> - -<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns="http://ofbiz.apache.org/Widget-Form" - xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd"> - - -</forms> \ No newline at end of file diff --git a/rest-api/widget/Ofbiz-rest-jerseyMenus.xml b/rest-api/widget/Ofbiz-rest-jerseyMenus.xml deleted file mode 100644 index bf7c73c..0000000 --- a/rest-api/widget/Ofbiz-rest-jerseyMenus.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?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. ---> - -<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ofbiz.apache.org/Widget-Menu" - xsi:schemaLocation="http://ofbiz.apache.org/Widget-Menu http://ofbiz.apache.org/dtds/widget-menu.xsd"> - <menu name="MainAppBar" title="${uiLabelMap.Ofbiz-rest-jerseyApplication}" extends="CommonAppBarMenu" - extends-resource="component://common/widget/CommonMenus.xml"> - <menu-item name="main" title="${uiLabelMap.CommonMain}"> - <link target="main"/> - </menu-item> - </menu> -</menus> \ No newline at end of file diff --git a/rest-api/widget/Ofbiz-rest-jerseyScreens.xml b/rest-api/widget/Ofbiz-rest-jerseyScreens.xml deleted file mode 100644 index 05944e3..0000000 --- a/rest-api/widget/Ofbiz-rest-jerseyScreens.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?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. ---> - -<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns="http://ofbiz.apache.org/Widget-Screen" - xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen http://ofbiz.apache.org/dtds/widget-screen.xsd"> - - <screen name="main"> - <section> - <actions> - <set field="headerItem" value="main"/><!-- this highlights the selected menu-item with name "main" --> - </actions> - <widgets> - <decorator-screen name="Ofbiz-rest-jerseyCommonDecorator" - location="${parameters.mainDecoratorLocation}"> - <decorator-section name="body"> - </decorator-section> - </decorator-screen> - </widgets> - </section> - </screen> - -</screens> \ No newline at end of file