svn commit: r1759879 - in /ofbiz/trunk/framework/common: ofbiz-component.xml servicedef/services_geo.xml

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

svn commit: r1759879 - in /ofbiz/trunk/framework/common: ofbiz-component.xml servicedef/services_geo.xml

Arun Patidar-4
Author: arunpatidar
Date: Thu Sep  8 18:19:04 2016
New Revision: 1759879

URL: http://svn.apache.org/viewvc?rev=1759879&view=rev
Log:
Applied patch for "Added CRUD services for CountryCapital entity"  from issue [OFBIZ-8092]

Thanks Amit Gadaley and Rishi Solanki for your contribution.

Added:
    ofbiz/trunk/framework/common/servicedef/services_geo.xml
Modified:
    ofbiz/trunk/framework/common/ofbiz-component.xml

Modified: ofbiz/trunk/framework/common/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/ofbiz-component.xml?rev=1759879&r1=1759878&r2=1759879&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/common/ofbiz-component.xml Thu Sep  8 18:19:04 2016
@@ -65,6 +65,7 @@ under the License.
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_cdyne.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_email.xml"/>
+    <service-resource type="model" loader="main" location="servicedef/services_geo.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_qrcode.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_security.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_test.xml"/>

Added: ofbiz/trunk/framework/common/servicedef/services_geo.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services_geo.xml?rev=1759879&view=auto
==============================================================================
--- ofbiz/trunk/framework/common/servicedef/services_geo.xml (added)
+++ ofbiz/trunk/framework/common/servicedef/services_geo.xml Thu Sep  8 18:19:04 2016
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
+    <description>OFBiz Geo Services</description>
+    <vendor>OFBiz</vendor>
+    <version>1.0</version>
+
+    <service name="createCountryCapital" engine="entity-auto" invoke="create" default-entity-name="CountryCapital" auth="true">
+        <description>Create a Country Capital</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateCountryCapital" engine="entity-auto" invoke="update" default-entity-name="CountryCapital" auth="true">
+        <description>Update a Country Capital</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteCountryCapital" engine="entity-auto" invoke="delete" default-entity-name="CountryCapital" auth="true">
+        <description>Delete a Country Capital</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+    
+</services>