You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ar...@apache.org on 2016/09/17 06:51:07 UTC

svn commit: r1761130 - in /ofbiz/trunk: applications/order/servicedef/services_request.xml framework/common/ofbiz-component.xml framework/common/servicedef/services_method.xml

Author: arunpatidar
Date: Sat Sep 17 06:51:07 2016
New Revision: 1761130

URL: http://svn.apache.org/viewvc?rev=1761130&view=rev
Log:
Implemented: Added CRUD services for CustRequestType, CustRequestTypeAttr and CustomMethod entity.
(OFBIZ-8032) (OFBIZ-8033)(OFBIZ-8034)

Thanks: Amit Gadaley for the contribution.

Added:
    ofbiz/trunk/framework/common/servicedef/services_method.xml
Modified:
    ofbiz/trunk/applications/order/servicedef/services_request.xml
    ofbiz/trunk/framework/common/ofbiz-component.xml

Modified: ofbiz/trunk/applications/order/servicedef/services_request.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_request.xml?rev=1761130&r1=1761129&r2=1761130&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_request.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_request.xml Sat Sep 17 06:51:07 2016
@@ -255,5 +255,33 @@ under the License.
         <description>Delete a CustRequestResolution record</description>
         <auto-attributes include="pk" mode="IN"/>
     </service>
+    <service name="createCustRequestType" engine="entity-auto" invoke="create" default-entity-name="CustRequestType" auth="true">
+        <description>Create a CustRequestType record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateCustRequestType" engine="entity-auto" invoke="update" default-entity-name="CustRequestType" auth="true">
+        <description>Update a CustRequestType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteCustRequestType" engine="entity-auto" invoke="delete" default-entity-name="CustRequestType" auth="true">
+        <description>Delete a CustRequestType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+    <service name="createCustRequestTypeAttr" engine="entity-auto" invoke="create" default-entity-name="CustRequestTypeAttr" auth="true">
+        <description>Create a CustRequestTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateCustRequestTypeAttr" engine="entity-auto" invoke="update" default-entity-name="CustRequestTypeAttr" auth="true">
+        <description>Update a CustRequestTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteCustRequestTypeAttr" engine="entity-auto" invoke="delete" default-entity-name="CustRequestTypeAttr" auth="true">
+        <description>Delete a CustRequestTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 </services>
 

Modified: ofbiz/trunk/framework/common/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/ofbiz-component.xml?rev=1761130&r1=1761129&r2=1761130&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/common/ofbiz-component.xml Sat Sep 17 06:51:07 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_method.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"/>

Added: ofbiz/trunk/framework/common/servicedef/services_method.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services_method.xml?rev=1761130&view=auto
==============================================================================
--- ofbiz/trunk/framework/common/servicedef/services_method.xml (added)
+++ ofbiz/trunk/framework/common/servicedef/services_method.xml Sat Sep 17 06:51:07 2016
@@ -0,0 +1,42 @@
+<?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.
+-->
+
+<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
+    <description>OFBiz Method Services</description>
+    <vendor>OFBiz</vendor>
+    <version>1.0</version>
+
+    <service name="createCustomMethod" engine="entity-auto" invoke="create" default-entity-name="CustomMethod" auth="true">
+        <description>Create a Custom Method</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateCustomMethod" engine="entity-auto" invoke="update" default-entity-name="CustomMethod" auth="true">
+        <description>Update a Custom Method</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteCustomMethod" engine="entity-auto" invoke="delete" default-entity-name="CustomMethod" auth="true">
+        <description>Delete a Custom Method</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+    
+</services>



Re: svn commit: r1761130 - in /ofbiz/trunk: applications/order/servicedef/services_request.xml framework/common/ofbiz-component.xml framework/common/servicedef/services_method.xml

Posted by Michael Brohl <mi...@ecomify.de>.
Thanks, Arun!

Michael

Am 19.09.16 um 10:08 schrieb Arun Patidar:
> Good catch Michael. Thanks for reporting.
>
> Correct issues are OFBIZ-8132, OFBIZ-8133 and OFBIZ-8134. I am updating
> commit log message.
>



Re: svn commit: r1761130 - in /ofbiz/trunk: applications/order/servicedef/services_request.xml framework/common/ofbiz-component.xml framework/common/servicedef/services_method.xml

Posted by Arun Patidar <ar...@hotwaxsystems.com>.
Good catch Michael. Thanks for reporting.

Correct issues are OFBIZ-8132, OFBIZ-8133 and OFBIZ-8134. I am updating
commit log message.

-- 
Thanks & Regards
---
Arun Patidar
Manager,Enterprise Software Development
HotWax Mediawww.hotwaxsystems.com


On Sun, Sep 18, 2016 at 2:17 AM, Michael Brohl <mi...@ecomify.de>
wrote:

> Arun,
>
> are you sure about the referenced Jira issues? At least OFBIZ-8033 is
> another issue which I just committed.
>
> Can you please review and correct, it seems that the issues get the commit
> attached which is not correct.
>
> Thanks and regards,
>
> Michael
>
>
> Am 17.09.16 um 08:51 schrieb arunpatidar@apache.org:
>
> Author: arunpatidar
>> Date: Sat Sep 17 06:51:07 2016
>> New Revision: 1761130
>>
>> URL: http://svn.apache.org/viewvc?rev=1761130&view=rev
>> Log:
>> Implemented: Added CRUD services for CustRequestType, CustRequestTypeAttr
>> and CustomMethod entity.
>> (OFBIZ-8032) (OFBIZ-8033)(OFBIZ-8034)
>>
>> Thanks: Amit Gadaley for the contribution.
>>
>> Added:
>>      ofbiz/trunk/framework/common/servicedef/services_method.xml
>> Modified:
>>      ofbiz/trunk/applications/order/servicedef/services_request.xml
>>      ofbiz/trunk/framework/common/ofbiz-component.xml
>>
>> Modified: ofbiz/trunk/applications/order/servicedef/services_request.xml
>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/
>> servicedef/services_request.xml?rev=1761130&r1=1761129&r2=
>> 1761130&view=diff
>> ============================================================
>> ==================
>> --- ofbiz/trunk/applications/order/servicedef/services_request.xml
>> (original)
>> +++ ofbiz/trunk/applications/order/servicedef/services_request.xml Sat
>> Sep 17 06:51:07 2016
>> @@ -255,5 +255,33 @@ under the License.
>>           <description>Delete a CustRequestResolution record</description>
>>           <auto-attributes include="pk" mode="IN"/>
>>       </service>
>> +    <service name="createCustRequestType" engine="entity-auto"
>> invoke="create" default-entity-name="CustRequestType" auth="true">
>> +        <description>Create a CustRequestType record</description>
>> +        <auto-attributes include="pk" mode="INOUT" optional="true"/>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +    </service>
>> +    <service name="updateCustRequestType" engine="entity-auto"
>> invoke="update" default-entity-name="CustRequestType" auth="true">
>> +        <description>Update a CustRequestType record</description>
>> +        <auto-attributes include="pk" mode="IN"/>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +    </service>
>> +    <service name="deleteCustRequestType" engine="entity-auto"
>> invoke="delete" default-entity-name="CustRequestType" auth="true">
>> +        <description>Delete a CustRequestType record</description>
>> +        <auto-attributes include="pk" mode="IN"/>
>> +    </service>
>> +    <service name="createCustRequestTypeAttr" engine="entity-auto"
>> invoke="create" default-entity-name="CustRequestTypeAttr" auth="true">
>> +        <description>Create a CustRequestTypeAttr record</description>
>> +        <auto-attributes include="pk" mode="IN"/>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +    </service>
>> +    <service name="updateCustRequestTypeAttr" engine="entity-auto"
>> invoke="update" default-entity-name="CustRequestTypeAttr" auth="true">
>> +        <description>Update a CustRequestTypeAttr record</description>
>> +        <auto-attributes include="pk" mode="IN"/>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +    </service>
>> +    <service name="deleteCustRequestTypeAttr" engine="entity-auto"
>> invoke="delete" default-entity-name="CustRequestTypeAttr" auth="true">
>> +        <description>Delete a CustRequestTypeAttr record</description>
>> +        <auto-attributes include="pk" mode="IN"/>
>> +    </service>
>>   </services>
>>
>> Modified: ofbiz/trunk/framework/common/ofbiz-component.xml
>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/of
>> biz-component.xml?rev=1761130&r1=1761129&r2=1761130&view=diff
>> ============================================================
>> ==================
>> --- ofbiz/trunk/framework/common/ofbiz-component.xml (original)
>> +++ ofbiz/trunk/framework/common/ofbiz-component.xml Sat Sep 17 06:51:07
>> 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_method.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"/>
>>
>> Added: ofbiz/trunk/framework/common/servicedef/services_method.xml
>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/se
>> rvicedef/services_method.xml?rev=1761130&view=auto
>> ============================================================
>> ==================
>> --- ofbiz/trunk/framework/common/servicedef/services_method.xml (added)
>> +++ ofbiz/trunk/framework/common/servicedef/services_method.xml Sat Sep
>> 17 06:51:07 2016
>> @@ -0,0 +1,42 @@
>> +<?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.
>> +-->
>> +
>> +<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> +        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/
>> services.xsd">
>> +    <description>OFBiz Method Services</description>
>> +    <vendor>OFBiz</vendor>
>> +    <version>1.0</version>
>> +
>> +    <service name="createCustomMethod" engine="entity-auto"
>> invoke="create" default-entity-name="CustomMethod" auth="true">
>> +        <description>Create a Custom Method</description>
>> +        <auto-attributes include="pk" mode="INOUT" optional="true"/>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +    </service>
>> +    <service name="updateCustomMethod" engine="entity-auto"
>> invoke="update" default-entity-name="CustomMethod" auth="true">
>> +        <description>Update a Custom Method</description>
>> +        <auto-attributes include="pk" mode="IN"/>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +    </service>
>> +    <service name="deleteCustomMethod" engine="entity-auto"
>> invoke="delete" default-entity-name="CustomMethod" auth="true">
>> +        <description>Delete a Custom Method</description>
>> +        <auto-attributes include="pk" mode="IN"/>
>> +    </service>
>> +
>> +</services>
>>
>>
>>
>
>

Re: svn commit: r1761130 - in /ofbiz/trunk: applications/order/servicedef/services_request.xml framework/common/ofbiz-component.xml framework/common/servicedef/services_method.xml

Posted by Michael Brohl <mi...@ecomify.de>.
Arun,

are you sure about the referenced Jira issues? At least OFBIZ-8033 is 
another issue which I just committed.

Can you please review and correct, it seems that the issues get the 
commit attached which is not correct.

Thanks and regards,

Michael


Am 17.09.16 um 08:51 schrieb arunpatidar@apache.org:
> Author: arunpatidar
> Date: Sat Sep 17 06:51:07 2016
> New Revision: 1761130
>
> URL: http://svn.apache.org/viewvc?rev=1761130&view=rev
> Log:
> Implemented: Added CRUD services for CustRequestType, CustRequestTypeAttr and CustomMethod entity.
> (OFBIZ-8032) (OFBIZ-8033)(OFBIZ-8034)
>
> Thanks: Amit Gadaley for the contribution.
>
> Added:
>      ofbiz/trunk/framework/common/servicedef/services_method.xml
> Modified:
>      ofbiz/trunk/applications/order/servicedef/services_request.xml
>      ofbiz/trunk/framework/common/ofbiz-component.xml
>
> Modified: ofbiz/trunk/applications/order/servicedef/services_request.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_request.xml?rev=1761130&r1=1761129&r2=1761130&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/order/servicedef/services_request.xml (original)
> +++ ofbiz/trunk/applications/order/servicedef/services_request.xml Sat Sep 17 06:51:07 2016
> @@ -255,5 +255,33 @@ under the License.
>           <description>Delete a CustRequestResolution record</description>
>           <auto-attributes include="pk" mode="IN"/>
>       </service>
> +    <service name="createCustRequestType" engine="entity-auto" invoke="create" default-entity-name="CustRequestType" auth="true">
> +        <description>Create a CustRequestType record</description>
> +        <auto-attributes include="pk" mode="INOUT" optional="true"/>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +    </service>
> +    <service name="updateCustRequestType" engine="entity-auto" invoke="update" default-entity-name="CustRequestType" auth="true">
> +        <description>Update a CustRequestType record</description>
> +        <auto-attributes include="pk" mode="IN"/>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +    </service>
> +    <service name="deleteCustRequestType" engine="entity-auto" invoke="delete" default-entity-name="CustRequestType" auth="true">
> +        <description>Delete a CustRequestType record</description>
> +        <auto-attributes include="pk" mode="IN"/>
> +    </service>
> +    <service name="createCustRequestTypeAttr" engine="entity-auto" invoke="create" default-entity-name="CustRequestTypeAttr" auth="true">
> +        <description>Create a CustRequestTypeAttr record</description>
> +        <auto-attributes include="pk" mode="IN"/>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +    </service>
> +    <service name="updateCustRequestTypeAttr" engine="entity-auto" invoke="update" default-entity-name="CustRequestTypeAttr" auth="true">
> +        <description>Update a CustRequestTypeAttr record</description>
> +        <auto-attributes include="pk" mode="IN"/>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +    </service>
> +    <service name="deleteCustRequestTypeAttr" engine="entity-auto" invoke="delete" default-entity-name="CustRequestTypeAttr" auth="true">
> +        <description>Delete a CustRequestTypeAttr record</description>
> +        <auto-attributes include="pk" mode="IN"/>
> +    </service>
>   </services>
>   
>
> Modified: ofbiz/trunk/framework/common/ofbiz-component.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/ofbiz-component.xml?rev=1761130&r1=1761129&r2=1761130&view=diff
> ==============================================================================
> --- ofbiz/trunk/framework/common/ofbiz-component.xml (original)
> +++ ofbiz/trunk/framework/common/ofbiz-component.xml Sat Sep 17 06:51:07 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_method.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"/>
>
> Added: ofbiz/trunk/framework/common/servicedef/services_method.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services_method.xml?rev=1761130&view=auto
> ==============================================================================
> --- ofbiz/trunk/framework/common/servicedef/services_method.xml (added)
> +++ ofbiz/trunk/framework/common/servicedef/services_method.xml Sat Sep 17 06:51:07 2016
> @@ -0,0 +1,42 @@
> +<?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.
> +-->
> +
> +<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> +        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
> +    <description>OFBiz Method Services</description>
> +    <vendor>OFBiz</vendor>
> +    <version>1.0</version>
> +
> +    <service name="createCustomMethod" engine="entity-auto" invoke="create" default-entity-name="CustomMethod" auth="true">
> +        <description>Create a Custom Method</description>
> +        <auto-attributes include="pk" mode="INOUT" optional="true"/>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +    </service>
> +    <service name="updateCustomMethod" engine="entity-auto" invoke="update" default-entity-name="CustomMethod" auth="true">
> +        <description>Update a Custom Method</description>
> +        <auto-attributes include="pk" mode="IN"/>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +    </service>
> +    <service name="deleteCustomMethod" engine="entity-auto" invoke="delete" default-entity-name="CustomMethod" auth="true">
> +        <description>Delete a Custom Method</description>
> +        <auto-attributes include="pk" mode="IN"/>
> +    </service>
> +
> +</services>
>
>