[ofbiz-plugins] branch trunk updated: Improved: Add JAX-RS capabilities (Jersey)

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

[ofbiz-plugins] branch trunk updated: Improved: Add JAX-RS capabilities (Jersey)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 3ade20a  Improved: Add JAX-RS capabilities (Jersey)
3ade20a is described below

commit 3ade20a4f8f9b983584b2df92d61f61f69fba55f
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Mon Mar 1 11:23:48 2021 +0100

    Improved: Add JAX-RS capabilities (Jersey)
   
    The real name of ofbiz is OFBiz. This renames it in descriptions.
    It also renames the webapp title from Ofbiz-rest-jersey to Rest-jersey.
    We know it's in OFBiz.
---
 ofbiz-rest-impl/config/ApiUiLabels.xml                         |  6 +++---
 .../data/Ofbiz-rest-jerseySecurityPermissionSeedData.xml       | 10 +++++-----
 ofbiz-rest-impl/entitydef/entitymodel.xml                      |  2 +-
 ofbiz-rest-impl/ofbiz-component.xml                            |  2 +-
 ofbiz-rest-impl/servicedef/services.xml                        |  2 +-
 .../webapp/ofbiz-rest-jersey/WEB-INF/controller.xml            |  2 +-
 ofbiz-rest-impl/webapp/ofbiz-rest-jersey/WEB-INF/web.xml       |  4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/ofbiz-rest-impl/config/ApiUiLabels.xml b/ofbiz-rest-impl/config/ApiUiLabels.xml
index 88795e0..7cad87e 100644
--- a/ofbiz-rest-impl/config/ApiUiLabels.xml
+++ b/ofbiz-rest-impl/config/ApiUiLabels.xml
@@ -21,13 +21,13 @@ 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="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>
+        <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>
diff --git a/ofbiz-rest-impl/data/Ofbiz-rest-jerseySecurityPermissionSeedData.xml b/ofbiz-rest-impl/data/Ofbiz-rest-jerseySecurityPermissionSeedData.xml
index 8b4c4ed..597f97a 100644
--- a/ofbiz-rest-impl/data/Ofbiz-rest-jerseySecurityPermissionSeedData.xml
+++ b/ofbiz-rest-impl/data/Ofbiz-rest-jerseySecurityPermissionSeedData.xml
@@ -19,15 +19,15 @@ under the License.
 -->
 
 <entity-engine-xml>
-    <SecurityPermission description="View operations in the Ofbiz-rest-jersey Component."
+    <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."
+    <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."
+    <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."
+    <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."
+    <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"/>
diff --git a/ofbiz-rest-impl/entitydef/entitymodel.xml b/ofbiz-rest-impl/entitydef/entitymodel.xml
index c204cff..4ffbc30 100644
--- a/ofbiz-rest-impl/entitydef/entitymodel.xml
+++ b/ofbiz-rest-impl/entitydef/entitymodel.xml
@@ -23,7 +23,7 @@ under the License.
     <!-- ========================================================= -->
     <!-- ======================== Defaults ======================= -->
     <!-- ========================================================= -->
-    <title>Entity of Ofbiz-rest-jersey Component</title>
+    <title>Entity of OFBiz-rest-jersey Component</title>
     <description>None</description>
     <copyright></copyright>
     <version></version>
diff --git a/ofbiz-rest-impl/ofbiz-component.xml b/ofbiz-rest-impl/ofbiz-component.xml
index 2790b61..47bc4f9 100644
--- a/ofbiz-rest-impl/ofbiz-component.xml
+++ b/ofbiz-rest-impl/ofbiz-component.xml
@@ -47,7 +47,7 @@ under the License.
 
     <!-- web applications; will be mounted when using the embedded container -->
     <webapp name="ofbiz-rest-jersey"
-            title="Ofbiz-rest-jersey"
+            title="Rest-jersey"
             server="default-server"
             location="webapp/ofbiz-rest-jersey"
             base-permission="OFBTOOLS,OFBIZ-REST-JERSEY"
diff --git a/ofbiz-rest-impl/servicedef/services.xml b/ofbiz-rest-impl/servicedef/services.xml
index cdef6d7..759faaa 100644
--- a/ofbiz-rest-impl/servicedef/services.xml
+++ b/ofbiz-rest-impl/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>OFBiz-rest-jersey Services</description>
     <vendor></vendor>
     <version>1.0</version>
 
diff --git a/ofbiz-rest-impl/webapp/ofbiz-rest-jersey/WEB-INF/controller.xml b/ofbiz-rest-impl/webapp/ofbiz-rest-jersey/WEB-INF/controller.xml
index e079106..b0bdffb 100644
--- a/ofbiz-rest-impl/webapp/ofbiz-rest-jersey/WEB-INF/controller.xml
+++ b/ofbiz-rest-impl/webapp/ofbiz-rest-jersey/WEB-INF/controller.xml
@@ -25,7 +25,7 @@ under the License.
          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>
+    <description>OFBiz-rest-jersey Component Site Configuration File</description>
 
     <!-- Events to run on every request before security (chains exempt) -->
     <!--
diff --git a/ofbiz-rest-impl/webapp/ofbiz-rest-jersey/WEB-INF/web.xml b/ofbiz-rest-impl/webapp/ofbiz-rest-jersey/WEB-INF/web.xml
index 8bc16ed..9c08a8a 100644
--- a/ofbiz-rest-impl/webapp/ofbiz-rest-jersey/WEB-INF/web.xml
+++ b/ofbiz-rest-impl/webapp/ofbiz-rest-jersey/WEB-INF/web.xml
@@ -19,8 +19,8 @@ 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 - OFBiz-rest-jersey Component</display-name>
+    <description>OFBiz-rest-jersey Component of the Apache OFBiz Project</description>
 
     <!-- context-param>
         <param-name>webSiteId</param-name>