From 7fb5c14fe383045f761c7fc2abbef7e8667c7bf1 Mon Sep 17 00:00:00 2001 From: Deepak Dixit Date: Fri, 21 Apr 2017 11:21:32 +0000 Subject: [PATCH] Improved: Removed deprecated entity related migration service, also removed some more deprecated entities that are located in entitymodel.xml instead entitymodel_old.xm (OFBIZ-9327) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792182 13f79535-47bb-0310-9956-ffa450edef68 --- .../accounting/minilang/UpgradeServices.xml | 29 ------------- .../accounting/minilang/rate/RateServices.xml | 32 -------------- .../servicedef/services_upgrade.xml | 11 ----- .../entitydef/accounting-entitymodel.xml | 20 +-------- .../datamodel/entitydef/party-entitymodel.xml | 20 --------- .../humanres/minilang/UpgradeServices.xml | 43 ------------------- applications/humanres/ofbiz-component.xml | 1 - .../humanres/servicedef/services_upgrade.xml | 35 --------------- .../order/minilang/UpgradeServices.xml | 28 ------------ .../order/servicedef/services_upgrade.xml | 23 ---------- .../minilang/product/UpgradeServices.xml | 43 ------------------- .../product/servicedef/services_upgrade.xml | 23 ---------- .../minilang/workeffort/UpgradeServices.xml | 35 --------------- applications/workeffort/ofbiz-component.xml | 1 - .../servicedef/services_upgrade.xml | 35 --------------- .../entity/entitydef/entitymodel_test.xml | 11 ----- 16 files changed, 1 insertion(+), 389 deletions(-) delete mode 100644 applications/humanres/minilang/UpgradeServices.xml delete mode 100644 applications/humanres/servicedef/services_upgrade.xml delete mode 100644 applications/workeffort/minilang/workeffort/UpgradeServices.xml delete mode 100644 applications/workeffort/servicedef/services_upgrade.xml diff --git a/applications/accounting/minilang/UpgradeServices.xml b/applications/accounting/minilang/UpgradeServices.xml index 28247fc9be..32691279ab 100644 --- a/applications/accounting/minilang/UpgradeServices.xml +++ b/applications/accounting/minilang/UpgradeServices.xml @@ -49,33 +49,4 @@ under the License. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/accounting/minilang/rate/RateServices.xml b/applications/accounting/minilang/rate/RateServices.xml index 9063feb73f..d0bbc6aa7a 100644 --- a/applications/accounting/minilang/rate/RateServices.xml +++ b/applications/accounting/minilang/rate/RateServices.xml @@ -386,36 +386,4 @@ under the License. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/accounting/servicedef/services_upgrade.xml b/applications/accounting/servicedef/services_upgrade.xml index 89d0208065..ae43268896 100644 --- a/applications/accounting/servicedef/services_upgrade.xml +++ b/applications/accounting/servicedef/services_upgrade.xml @@ -43,15 +43,4 @@ under the License. - - Copy the FixedAssetMaintMeter entity to FixedAssetMeter. FixedAssetMeter.readingDate will be replaced with FixedAssetMaintMeter.createdStamp. - - - - - Copy the AgreementWorkEffortAppl entity to AgreementWorkEffortApplic - - diff --git a/applications/datamodel/entitydef/accounting-entitymodel.xml b/applications/datamodel/entitydef/accounting-entitymodel.xml index 997d6a3b1b..0c16735565 100644 --- a/applications/datamodel/entitydef/accounting-entitymodel.xml +++ b/applications/datamodel/entitydef/accounting-entitymodel.xml @@ -807,7 +807,7 @@ under the License. Optional, though should be filled in to determine upcoming maintenance for all scheduled maintenance Has field for estimated/actual start and finish dates, etc - UOM for intervalQuantity; if used intervalMeterTypeId is generally not used (ie one or the other); if a meter reading is done as well that is not tied to the interval it should be tracked in a FixedAssetMaintMeter record + UOM for intervalQuantity; if used intervalMeterTypeId is generally not used (ie one or the other); if a meter reading is done as well that is not tied to the interval it should be tracked in a FixedAssetMeter record Meter Type for intervalQuantity; if used intervalUomId is generally not used (ie one or the other) @@ -835,24 +835,6 @@ under the License. - - - - - - - - - - - - - - - - diff --git a/applications/datamodel/entitydef/party-entitymodel.xml b/applications/datamodel/entitydef/party-entitymodel.xml index 5410384d88..066de97a7b 100644 --- a/applications/datamodel/entitydef/party-entitymodel.xml +++ b/applications/datamodel/entitydef/party-entitymodel.xml @@ -2720,26 +2720,6 @@ under the License. - - NOTE: this entity is deprecated by PartyTaxAuthInfo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/humanres/ofbiz-component.xml b/applications/humanres/ofbiz-component.xml index 1e74e69556..9cfac8f37b 100644 --- a/applications/humanres/ofbiz-component.xml +++ b/applications/humanres/ofbiz-component.xml @@ -34,7 +34,6 @@ under the License. - - - - - Humanres Services - OFBiz - - - - Migrate data from OldSalaryStep to SalaryStep. - Since revision 1709214 (2015-10-18) the entity SalaryStep has been deprecated. - This service can be used to upgrade existing data from the OldSalaryStep entity to the new SalaryStep entity. - This service must be run only once, else you will get duplicates. - - - diff --git a/applications/order/minilang/UpgradeServices.xml b/applications/order/minilang/UpgradeServices.xml index 65bea757b4..58ad858ddd 100644 --- a/applications/order/minilang/UpgradeServices.xml +++ b/applications/order/minilang/UpgradeServices.xml @@ -21,34 +21,6 @@ under the License. - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/order/servicedef/services_upgrade.xml b/applications/order/servicedef/services_upgrade.xml index d89eeb439e..f201c31039 100644 --- a/applications/order/servicedef/services_upgrade.xml +++ b/applications/order/servicedef/services_upgrade.xml @@ -22,29 +22,6 @@ under the License. xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd"> Order Services OFBiz - - - - Migrate data from OldOrderItemAssociation to OrderItemAssoc. - Since revision 485144 (2006-12-10) the entity OrderItemAssociation has been deprecated. - This service can be used to upgrade existing data from the OrderItemAssociation entity to the new - OrderItemAssoc entity. - Before running this service, load the seed data for the OrderItemAssocType entity from the file: - order/data/OrderTypeData.xml - - - - - Migrate data from OldCustRequestRole to CustRequestParty. - Since revision 684647 (2008-08-11) the entity CustRequestRole has been deprecated. - This service can be used to upgrade existing data from the OldCustRequestRole entity to the new - CustRequestParty entity. - Before running this service, load the seed data for the RoleType entity from the file: - party/data/PartyTypeData.xml - - diff --git a/applications/product/minilang/product/UpgradeServices.xml b/applications/product/minilang/product/UpgradeServices.xml index 1f973fca7e..4cd1a7338a 100644 --- a/applications/product/minilang/product/UpgradeServices.xml +++ b/applications/product/minilang/product/UpgradeServices.xml @@ -21,30 +21,6 @@ under the License. - - - - - - - - - - - - - - - - - - - - - - - - @@ -56,23 +32,4 @@ under the License. - - - - - - - - - - - - - - - - - - - diff --git a/applications/product/servicedef/services_upgrade.xml b/applications/product/servicedef/services_upgrade.xml index 920981de75..c35608749b 100644 --- a/applications/product/servicedef/services_upgrade.xml +++ b/applications/product/servicedef/services_upgrade.xml @@ -22,18 +22,6 @@ under the License. xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd"> Product Services OFBiz - - - - Migrate data from OldFacilityRole to FacilityParty. - Since revision 698159 (2008-09-23) the entity FacilityRole has been deprecated. - This service can be used to upgrade existing data from the FacilityRole entity to the new - FacilityParty entity. - Before running this service, load the seed data for the RoleType entity from the file: - party/data/PartyTypeData.xml - - @@ -41,16 +29,5 @@ under the License. The field Facility.squareFootageSince has been deprecated since revision 929912 (2010-04-01) - - - Migrate data from oldProductKeyword to ProductKeyword. - The entity oldProductKeyword has been deprecated. - This service can be used to upgrade existing data from the oldProductKeyword entity to the new - ProductKeyword entity. - Before running this service, load the seed data for the KeywordType entity from the file: - common/data/CommonTypeData.xml - - diff --git a/applications/workeffort/minilang/workeffort/UpgradeServices.xml b/applications/workeffort/minilang/workeffort/UpgradeServices.xml deleted file mode 100644 index 812cc07781..0000000000 --- a/applications/workeffort/minilang/workeffort/UpgradeServices.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/applications/workeffort/ofbiz-component.xml b/applications/workeffort/ofbiz-component.xml index 49d986002f..3e3b4c24ed 100644 --- a/applications/workeffort/ofbiz-component.xml +++ b/applications/workeffort/ofbiz-component.xml @@ -38,7 +38,6 @@ under the License. - diff --git a/applications/workeffort/servicedef/services_upgrade.xml b/applications/workeffort/servicedef/services_upgrade.xml deleted file mode 100644 index eb39d98755..0000000000 --- a/applications/workeffort/servicedef/services_upgrade.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - Order Services - OFBiz - - - - Migrate data from OldWorkEffortContactMech to WorkEffortContactMech. - Since revision 827903 (2009-10-21) the entity OldWorkEffortContactMech has been deprecated. - This service can be used to upgrade existing data from the OldWorkEffortContactMech entity to the new - WorkEffortContactMech entity. - - - diff --git a/framework/entity/entitydef/entitymodel_test.xml b/framework/entity/entitydef/entitymodel_test.xml index 1ca1718907..a2b9d936ae 100644 --- a/framework/entity/entitydef/entitymodel_test.xml +++ b/framework/entity/entitydef/entitymodel_test.xml @@ -111,17 +111,6 @@ under the License. - - - Deprecated - use TestFieldType instead - - - -