Skip to content

Commit acbfbfd

Browse files
committed
Fixed: Errors and warnings in webtools' ArtifactInfo
(OFBIZ-10760) This fixes an engine declaration mistake introduced in OFBIZ-9111, removes an unused service which should have been deleted in OFBIZ-8722 and removes unused services which should have been deleted in OFBIZ-10146. Thanks Mathieu Lirzin for reporting and providing the patches. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1851158 13f79535-47bb-0310-9956-ffa450edef68
1 parent 18b420b commit acbfbfd

File tree

3 files changed

+2
-50
lines changed

3 files changed

+2
-50
lines changed

applications/humanres/servicedef/services.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -253,12 +253,12 @@ under the License.
253253
<auto-attributes mode="IN" include="nonpk" optional="true"/>
254254
</service>
255255

256-
<service name="deletePayHistory" engine="simple" default-entity-name="PayHistory" invoke="delete" auth="true">
256+
<service name="deletePayHistory" engine="entity-auto" default-entity-name="PayHistory" invoke="delete" auth="true">
257257
<description>Delete Pay History</description>
258258
<permission-service service-name="humanResManagerPermission" main-action="DELETE"/>
259259
<auto-attributes mode="IN" include="pk" optional="false"/>
260260
</service>
261-
<service name="expirePayHistory" engine="simple" default-entity-name="PayHistory" invoke="expire" auth="true">
261+
<service name="expirePayHistory" engine="entity-auto" default-entity-name="PayHistory" invoke="expire" auth="true">
262262
<description>Expire Pay History</description>
263263
<permission-service service-name="humanResManagerPermission" main-action="UPDATE"/>
264264
<auto-attributes mode="IN" include="pk" optional="false"/>

applications/product/servicedef/services.xml

-43
Original file line numberDiff line numberDiff line change
@@ -1574,49 +1574,6 @@ under the License.
15741574
<attribute name="drDataResourceName" mode="IN" type="String" optional="false"/>
15751575
</service>
15761576

1577-
<!-- Best Selling Category Services -->
1578-
<service name="loadBestSellingCategory" engine="simple"
1579-
location="component://product/minilang/product/category/CategoryServices.xml" invoke="loadBestSellingCategory" auth="true">
1580-
<description>Load data of best selling category by week.</description>
1581-
<attribute name="productStoreId" mode="IN" type="String" optional="false"/>
1582-
</service>
1583-
1584-
<service name="RemoveProductFromBestSellCategory" engine="simple"
1585-
location="component://product/minilang/product/category/CategoryServices.xml" invoke="RemoveProductFromBestSellCategory" auth="true">
1586-
<description>Remove products from best selling category.</description>
1587-
<attribute name="prodCatalogId" mode="IN" type="String" optional="false"/>
1588-
</service>
1589-
1590-
<service name="AddProductToBestSellCategory" engine="simple"
1591-
location="component://product/minilang/product/category/CategoryServices.xml" invoke="AddProductToBestSellCategory" auth="true">
1592-
<description>Add products to best selling category.</description>
1593-
<attribute name="productStoreId" mode="IN" type="String" optional="false"/>
1594-
<attribute name="prodCatalogId" mode="IN" type="String" optional="false"/>
1595-
<attribute name="week" mode="IN" type="Long" optional="false"/>
1596-
<attribute name="year" mode="IN" type="Long" optional="false"/>
1597-
</service>
1598-
1599-
<service name="FindCategoryChild" engine="simple"
1600-
location="component://product/minilang/product/category/CategoryServices.xml" invoke="FindCategoryChild" auth="true">
1601-
<description>Find category child.</description>
1602-
<attribute name="productStoreId" mode="IN" type="String" optional="false"/>
1603-
<attribute name="productCategoryId" mode="IN" type="String" optional="false"/>
1604-
<attribute name="primaryProductCategoryId" mode="IN" type="String" optional="false"/>
1605-
<attribute name="week" mode="IN" type="Long" optional="false"/>
1606-
<attribute name="year" mode="IN" type="Long" optional="false"/>
1607-
</service>
1608-
1609-
<service name="FindBestSellingProduct" engine="simple"
1610-
location="component://product/minilang/product/category/CategoryServices.xml" invoke="FindBestSellingProduct" auth="true">
1611-
<description>Find best selling product.</description>
1612-
<attribute name="productStoreId" mode="IN" type="String" optional="false"/>
1613-
<attribute name="productCategoryId" mode="IN" type="String" optional="false"/>
1614-
<attribute name="primaryProductCategoryId" mode="IN" type="String" optional="false"/>
1615-
<attribute name="week" mode="IN" type="Long" optional="false"/>
1616-
<attribute name="year" mode="IN" type="Long" optional="false"/>
1617-
<attribute name="productCategoryId" mode="OUT" type="String" optional="true"/>
1618-
</service>
1619-
16201577
<!-- Alternative URLs -->
16211578
<service name="createMissingCategoryAndProductAltUrls" engine="simple"
16221579
location="component://product/minilang/product/catalog/CatalogServices.xml" invoke="createMissingCategoryAndProductAltUrls" auth="true" use-transaction="false">

framework/entityext/servicedef/services.xml

-5
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,6 @@ under the License.
200200
<permission-service service-name="entitySyncPermissionCheck" main-action="DELETE"/>
201201
<auto-attributes include="pk" mode="IN" optional="false"/>
202202
</service>
203-
<service name="updateEntitySyncRunning" engine="simple"
204-
location="component://entityext/minilang/EntitySyncServices.xml" invoke="updateEntitySync" auth="true" require-new-transaction="true">
205-
<description>Update EntitySync while Running</description>
206-
<implements service="updateEntitySync"/>
207-
</service>
208203
<service name="createEntitySyncHistory" default-entity-name="EntitySyncHistory" engine="simple"
209204
location="component://entityext/minilang/EntitySyncServices.xml" invoke="createEntitySyncHistory" auth="true" require-new-transaction="true">
210205
<description>Create EntitySyncHistory</description>

0 commit comments

Comments
 (0)