This is an automated email from the ASF dual-hosted git repository.
ashish 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 a8e41e1dc Improvements: Minor changes, Removed empty file. Formatted
the code. And renamed one *Services.groovy file so it follows the same pattern
with other files in the project.
a8e41e1dc is described below
commit a8e41e1dc3d1a2c08f31b2d1ceee6f18baece617
Author: Ashish Vijaywargiya <[email protected]>
AuthorDate: Wed Feb 11 12:29:08 2026 +0530
Improvements: Minor changes, Removed empty file. Formatted the code. And
renamed one *Services.groovy file so it follows the same pattern with other
files in the project.
---
example/data/ExampleTypeData.xml | 22 ----------------------
example/entitydef/entitymodel_view.xml | 2 +-
example/servicedef/services.xml | 6 +++---
...ervices.groovy => ExampleServicesScript.groovy} | 0
4 files changed, 4 insertions(+), 26 deletions(-)
diff --git a/example/data/ExampleTypeData.xml b/example/data/ExampleTypeData.xml
deleted file mode 100644
index 58393d463..000000000
--- a/example/data/ExampleTypeData.xml
+++ /dev/null
@@ -1,22 +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>
diff --git a/example/entitydef/entitymodel_view.xml
b/example/entitydef/entitymodel_view.xml
index 438a7532f..95bb6d00d 100644
--- a/example/entitydef/entitymodel_view.xml
+++ b/example/entitydef/entitymodel_view.xml
@@ -153,7 +153,7 @@ under the License.
<alias entity-alias="EX" name="exampleTypeId" group-by="true"/>
</view-entity>
-<view-entity entity-name="ExampleTypeView"
package-name="org.apache.ofbiz.example.example">
+ <view-entity entity-name="ExampleTypeView"
package-name="org.apache.ofbiz.example.example">
<member-entity entity-alias="EX" entity-name="Example"/>
<alias entity-alias="EX" name="exampleId" field="exampleId" />
<alias entity-alias="EX" name="exampleTypeId" group-by="true"/>
diff --git a/example/servicedef/services.xml b/example/servicedef/services.xml
index 5193d6949..fcd99a1ff 100644
--- a/example/servicedef/services.xml
+++ b/example/servicedef/services.xml
@@ -42,19 +42,19 @@ under the License.
<attribute name="oldStatusId" type="String" mode="OUT"
optional="false"/>
</service>
<service name="deleteExample" default-entity-name="Example" engine="groovy"
-
location="component://example/src/main/groovy/org/apache/ofbiz/example/ExampleAdditionalServices.groovy"
invoke="deleteExample" auth="true">
+
location="component://example/src/main/groovy/org/apache/ofbiz/example/ExampleServicesScript.groovy"
invoke="deleteExample" auth="true">
<description>Delete an Example</description>
<permission-service service-name="exampleGenericPermission"
main-action="DELETE"/>
<auto-attributes include="pk" mode="INOUT" optional="false"/>
</service>
<service name="findExampleById" default-entity-name="Example"
engine="groovy"
-
location="component://example/src/main/groovy/org/apache/ofbiz/example/ExampleAdditionalServices.groovy"
invoke="findExampleById" auth="true">
+
location="component://example/src/main/groovy/org/apache/ofbiz/example/ExampleServicesScript.groovy"
invoke="findExampleById" auth="true">
<description>Find Example by ID</description>
<auto-attributes include="pk" mode="IN" optional="true"/>
<attribute name="exampleList" mode="OUT" optional="true" type="List"/>
</service>
<service name="createExampleStatus" default-entity-name="ExampleStatus"
engine="groovy"
-
location="component://example/src/main/groovy/org/apache/ofbiz/example/ExampleAdditionalServices.groovy"
invoke="createExampleStatus" auth="true">
+
location="component://example/src/main/groovy/org/apache/ofbiz/example/ExampleServicesScript.groovy"
invoke="createExampleStatus" auth="true">
<description>Create a ExampleStatus</description>
<permission-service service-name="exampleGenericPermission"
main-action="CREATE"/>
<auto-attributes include="all" mode="IN" optional="false">
diff --git
a/example/src/main/groovy/org/apache/ofbiz/example/ExampleAdditionalServices.groovy
b/example/src/main/groovy/org/apache/ofbiz/example/ExampleServicesScript.groovy
similarity index 100%
rename from
example/src/main/groovy/org/apache/ofbiz/example/ExampleAdditionalServices.groovy
rename to
example/src/main/groovy/org/apache/ofbiz/example/ExampleServicesScript.groovy