svn commit: r1768166 - in /ofbiz/trunk/applications/product: minilang/shipment/shipment/ShipmentGatewayConfigServices.xml servicedef/services_shipmentgateway.xml

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

svn commit: r1768166 - in /ofbiz/trunk/applications/product: minilang/shipment/shipment/ShipmentGatewayConfigServices.xml servicedef/services_shipmentgateway.xml

Arun Patidar-4
Author: arunpatidar
Date: Sat Nov  5 09:12:15 2016
New Revision: 1768166

URL: http://svn.apache.org/viewvc?rev=1768166&view=rev
Log:
Fixed: Converted Update service of ShipmentGatewayConfig and ShipmentGatewayConfigType into entity-auto.
(OFBIZ-8454)(OFBIZ-8455)

Thanks: Jacques for reporting issue.

Removed:
    ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
Modified:
    ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml

Modified: ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml?rev=1768166&r1=1768165&r2=1768166&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml Sat Nov  5 09:12:15 2016
@@ -24,13 +24,6 @@ under the License.
     <vendor>OFBiz</vendor>
     <version>1.0</version>
     
-    <!-- Shipment Gateway Config Method services -->
-    <service name="updateShipmentGatewayConfig" engine="simple" location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml" invoke="updateShipmentGatewayConfig">
-        <description>Update Shipment Gateway Config</description>
-        <auto-attributes entity-name="ShipmentGatewayConfig" include="pk" mode="IN" optional="false"/>
-        <auto-attributes entity-name="ShipmentGatewayConfig" include="nonpk" mode="IN" optional="true"/>
-    </service>
-
     <service name="createShipmentGatewayDhl" default-entity-name="ShipmentGatewayDhl" engine="entity-auto" invoke="create" auth="true">
         <description>Create a ShipmentGatewayDhl</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>
@@ -92,18 +85,17 @@ under the License.
         <description>Delete a ShipmentGatewayUsps</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>
-    
-    <service name="updateShipmentGatewayConfigType" engine="simple" location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml" invoke="updateShipmentGatewayConfigType">
-        <description>Update Shipment Gateway Config Type</description>
-        <auto-attributes entity-name="ShipmentGatewayConfigType" include="pk" mode="IN" optional="false"/>
-        <auto-attributes entity-name="ShipmentGatewayConfigType" include="nonpk" mode="IN" optional="true"/>
-    </service>
 
     <service name="createShipmentGatewayConfig" engine="entity-auto" invoke="create" default-entity-name="ShipmentGatewayConfig" auth="true">
         <description>Create a ShipmentGatewayConfig record</description>
         <auto-attributes include="pk" mode="INOUT"  optional="true"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
+    <service name="updateShipmentGatewayConfig" default-entity-name="ShipmentGatewayConfig" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a ShipmentGatewayConfig</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
     <service name="deleteShipmentGatewayConfig" engine="entity-auto" invoke="delete" default-entity-name="ShipmentGatewayConfig" auth="true">
         <description>Delete a ShipmentGatewayConfig record</description>
         <auto-attributes include="pk" mode="IN"/>
@@ -114,6 +106,11 @@ under the License.
         <auto-attributes include="pk" mode="INOUT" optional="true"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
+    <service name="updateShipmentGatewayConfigType" default-entity-name="ShipmentGatewayConfigType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a ShipmentGatewayConfigType</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
     <service name="deleteShipmentGatewayConfigType" engine="entity-auto" default-entity-name="ShipmentGatewayConfigType" invoke="delete" auth="true">
         <description>Delete ShipmentGatewayConfigType</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>