IDEMPIERE-460 Integrate and migrate 3e services / Peer review migration scripts
This commit is contained in:
parent
3e40575eb3
commit
eca83846d6
|
@ -1536,5 +1536,5 @@ UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2009-01-30 20:03:13','YYYY-M
|
||||||
UPDATE AD_Tab SET AD_Column_ID=56765,Updated=TO_DATE('2009-02-01 19:49:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53190
|
UPDATE AD_Tab SET AD_Column_ID=56765,Updated=TO_DATE('2009-02-01 19:49:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53190
|
||||||
;
|
;
|
||||||
|
|
||||||
SELECT register_migration_script('WS001_WebServices.sql') FROM dual
|
SELECT register_migration_script('201212131723_WS001_WebServices.sql') FROM dual
|
||||||
;
|
;
|
|
@ -30,5 +30,5 @@ INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Descri
|
||||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'Access records via conditions on columns - return data rows','Y','Query Data',TO_DATE('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'queryData',50001,50028)
|
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'Access records via conditions on columns - return data rows','Y','Query Data',TO_DATE('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'queryData',50001,50028)
|
||||||
;
|
;
|
||||||
|
|
||||||
SELECT register_migration_script('WS002_WebServicesDefinition.sql') FROM dual
|
SELECT register_migration_script('201212131724_WS002_WebServicesDefinition.sql') FROM dual
|
||||||
;
|
;
|
|
@ -81,5 +81,5 @@ INSERT INTO WS_WebServiceFieldInput (AD_Client_ID,AD_Column_ID,AD_Org_ID,Created
|
||||||
INSERT INTO WS_WebServiceTypeAccess (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,IsReadWrite,Updated,UpdatedBy,WS_WebServiceType_ID) VALUES (11,0,50004,TO_DATE('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y',TO_DATE('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,50001)
|
INSERT INTO WS_WebServiceTypeAccess (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,IsReadWrite,Updated,UpdatedBy,WS_WebServiceType_ID) VALUES (11,0,50004,TO_DATE('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y',TO_DATE('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,50001)
|
||||||
;
|
;
|
||||||
|
|
||||||
SELECT register_migration_script('WS003_WebServicesConfigGardenWorldSample.sql') FROM dual
|
SELECT register_migration_script('201212131725_WS003_WebServicesConfigGardenWorldSample.sql') FROM dual
|
||||||
;
|
;
|
|
@ -1,5 +1,4 @@
|
||||||
update AD_Column set SeqNo=2 WHERE AD_Column_ID=56714;
|
update AD_Column set SeqNo=2 WHERE AD_Column_ID=56714;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201212131726_WS004_WebServicesFixDict.sql') FROM dual
|
||||||
SELECT register_migration_script('WS004_WebServicesFixDict.sql') FROM dual
|
|
||||||
;
|
;
|
|
@ -64,6 +64,16 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
|
||||||
ALTER TABLE WS_WebServiceFieldInput ADD IdentifierLogic NVARCHAR2(2000) DEFAULT NULL
|
ALTER TABLE WS_WebServiceFieldInput ADD IdentifierLogic NVARCHAR2(2000) DEFAULT NULL
|
||||||
;
|
;
|
||||||
|
|
||||||
|
-- Dec 12, 2012 9:33:11 PM IST
|
||||||
|
-- IDEMPIERE-460 Adding support for composite service
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2012-12-12 21:33:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=202042
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 12, 2012 9:33:22 PM IST
|
||||||
|
-- IDEMPIERE-460 Adding support for composite service
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2012-12-12 21:33:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=202041
|
||||||
|
;
|
||||||
|
|
||||||
-- Dec 12, 2012 9:36:10 PM IST
|
-- Dec 12, 2012 9:36:10 PM IST
|
||||||
-- IDEMPIERE-460 Adding support for composite service
|
-- IDEMPIERE-460 Adding support for composite service
|
||||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202044,'D','N','N','N',0,'N',1,'N',20,'N',382,'N','Y','f0baaca8-7437-4a9d-a02d-26827b0b54b2','Y','IsIdentifier','This column is part of the record identifier','N','The Identifier checkbox indicates that this column is part of the identifier or key for this table. ','Identifier','Y',100,TO_DATE('2012-12-12 21:36:09','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-12-12 21:36:09','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,IsEncrypted,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable) VALUES (0,'N','N',0,53166,202044,'D','N','N','N',0,'N',1,'N',20,'N',382,'N','Y','f0baaca8-7437-4a9d-a02d-26827b0b54b2','Y','IsIdentifier','This column is part of the record identifier','N','The Identifier checkbox indicates that this column is part of the identifier or key for this table. ','Identifier','Y',100,TO_DATE('2012-12-12 21:36:09','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-12-12 21:36:09','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N')
|
||||||
|
@ -116,7 +126,6 @@ ALTER TABLE WS_WebServiceFieldInput MODIFY IsIdentifier CHAR(1) DEFAULT 'N'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- Dec 12, 2012 10:36:44 PM IST
|
-- Dec 12, 2012 10:36:44 PM IST
|
||||||
-- IDEMPIERE-460 Adding support for composite service
|
-- IDEMPIERE-460 Adding support for composite service
|
||||||
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('WS_WebServiceType_UU',200594,'D','WS_WebServiceType_UU','WS_WebServiceType_UU','1be8e032-ddc3-489c-8c3d-9a4416968d32',0,TO_DATE('2012-12-12 22:36:43','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-12-12 22:36:43','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('WS_WebServiceType_UU',200594,'D','WS_WebServiceType_UU','WS_WebServiceType_UU','1be8e032-ddc3-489c-8c3d-9a4416968d32',0,TO_DATE('2012-12-12 22:36:43','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-12-12 22:36:43','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y')
|
||||||
|
@ -246,7 +255,6 @@ ALTER TABLE WS_WebServiceTypeAccess ADD WS_WebServiceTypeAccess_UU NVARCHAR2(36)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- Dec 12, 2012 11:49:01 PM IST
|
-- Dec 12, 2012 11:49:01 PM IST
|
||||||
-- IDEMPIERE-460 Adding support for composite service
|
-- IDEMPIERE-460 Adding support for composite service
|
||||||
UPDATE AD_Column SET MandatoryLogic='@AD_Column_ID@=0',Updated=TO_DATE('2012-12-12 23:49:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=202041
|
UPDATE AD_Column SET MandatoryLogic='@AD_Column_ID@=0',Updated=TO_DATE('2012-12-12 23:49:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=202041
|
||||||
|
@ -609,13 +617,13 @@ UPDATE AD_Field SET XPosition=2,Updated=TO_DATE('2012-12-13 00:16:09','YYYY-MM-D
|
||||||
|
|
||||||
-- Dec 13, 2012 4:27:02 PM IST
|
-- Dec 13, 2012 4:27:02 PM IST
|
||||||
-- IDEMPIERE-460 Adding support for composite service
|
-- IDEMPIERE-460 Adding support for composite service
|
||||||
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Help,IsActive,WS_WebService_ID,Name,Updated,UpdatedBy,Value,WS_WebService_UU) VALUES (0,0,TO_DATE('2012-12-13 16:26:45','YYYY-MM-DD HH24:MI:SS'),100,'Composite service','Y',200001,'CompositeInterface',TO_DATE('2012-12-13 16:26:45','YYYY-MM-DD HH24:MI:SS'),100,'CompositeInterface','df6cc221-05a7-403f-8abb-bdf24344094a')
|
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Help,IsActive,WS_WebService_ID,Name,Updated,UpdatedBy,Value) VALUES (0,0,TO_DATE('2012-12-13 16:26:45','YYYY-MM-DD HH24:MI:SS'),100,'Composite service','Y',200001,'CompositeInterface',TO_DATE('2012-12-13 16:26:45','YYYY-MM-DD HH24:MI:SS'),100,'CompositeInterface')
|
||||||
;
|
;
|
||||||
|
|
||||||
-- Dec 13, 2012 4:27:28 PM IST
|
-- Dec 13, 2012 4:27:28 PM IST
|
||||||
-- IDEMPIERE-460 Adding support for composite service
|
-- IDEMPIERE-460 Adding support for composite service
|
||||||
INSERT INTO WS_WebServiceMethod (CreatedBy,AD_Client_ID,AD_Org_ID,Created,IsActive,WS_WebServiceMethod_ID,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_UU) VALUES (100,0,0,TO_DATE('2012-12-13 16:27:27','YYYY-MM-DD HH24:MI:SS'),'Y',200001,'composite',TO_DATE('2012-12-13 16:27:27','YYYY-MM-DD HH24:MI:SS'),100,'composite',200001,'a3a5ce29-792a-4e99-b0c9-68779fdc89e3')
|
INSERT INTO WS_WebServiceMethod (CreatedBy,AD_Client_ID,AD_Org_ID,Created,IsActive,WS_WebServiceMethod_ID,Name,Updated,UpdatedBy,Value,WS_WebService_ID) VALUES (100,0,0,TO_DATE('2012-12-13 16:27:27','YYYY-MM-DD HH24:MI:SS'),'Y',200001,'composite',TO_DATE('2012-12-13 16:27:27','YYYY-MM-DD HH24:MI:SS'),100,'composite',200001)
|
||||||
;
|
;
|
||||||
|
|
||||||
SELECT register_migration_script('WS005_IdempiereWebservice.sql') FROM dual
|
SELECT register_migration_script('201212131727_WS005_IdempiereWebservice.sql') FROM dual
|
||||||
;
|
;
|
|
@ -1536,5 +1536,5 @@ UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2009-01-30 20:03:13','Y
|
||||||
UPDATE AD_Tab SET AD_Column_ID=56765,Updated=TO_TIMESTAMP('2009-02-01 19:49:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53190
|
UPDATE AD_Tab SET AD_Column_ID=56765,Updated=TO_TIMESTAMP('2009-02-01 19:49:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53190
|
||||||
;
|
;
|
||||||
|
|
||||||
SELECT register_migration_script('WS001_WebServices.sql') FROM dual
|
SELECT register_migration_script('201212131723_WS001_WebServices.sql') FROM dual
|
||||||
;
|
;
|
|
@ -1,3 +1,5 @@
|
||||||
|
-- Jan 30, 2009 7:13:26 PM COT
|
||||||
|
-- Web Service Definition and Security
|
||||||
|
|
||||||
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,Help,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:17:43','YYYY-MM-DD HH24:MI:SS'),100,'Contributed by http://www.globalqss.com - implemented security','This web services are very generic - so it''s necessary to configure the security layer in the web services security window to make them work. You can take a look to GardenWorld samples.','Y','Model Oriented Web Services',TO_TIMESTAMP('2009-01-30 19:17:43','YYYY-MM-DD HH24:MI:SS'),100,'ModelADService',50001)
|
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,Help,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:17:43','YYYY-MM-DD HH24:MI:SS'),100,'Contributed by http://www.globalqss.com - implemented security','This web services are very generic - so it''s necessary to configure the security layer in the web services security window to make them work. You can take a look to GardenWorld samples.','Y','Model Oriented Web Services',TO_TIMESTAMP('2009-01-30 19:17:43','YYYY-MM-DD HH24:MI:SS'),100,'ModelADService',50001)
|
||||||
;
|
;
|
||||||
|
@ -28,5 +30,5 @@ INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Descri
|
||||||
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'Access records via conditions on columns - return data rows','Y','Query Data',TO_TIMESTAMP('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'queryData',50001,50028)
|
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'Access records via conditions on columns - return data rows','Y','Query Data',TO_TIMESTAMP('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'queryData',50001,50028)
|
||||||
;
|
;
|
||||||
|
|
||||||
SELECT register_migration_script('WS002_WebServicesDefinition.sql') FROM dual
|
SELECT register_migration_script('201212131724_WS002_WebServicesDefinition.sql') FROM dual
|
||||||
;
|
;
|
|
@ -81,5 +81,5 @@ INSERT INTO WS_WebServiceFieldInput (AD_Client_ID,AD_Column_ID,AD_Org_ID,Created
|
||||||
INSERT INTO WS_WebServiceTypeAccess (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,IsReadWrite,Updated,UpdatedBy,WS_WebServiceType_ID) VALUES (11,0,50004,TO_TIMESTAMP('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y',TO_TIMESTAMP('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,50001)
|
INSERT INTO WS_WebServiceTypeAccess (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,IsReadWrite,Updated,UpdatedBy,WS_WebServiceType_ID) VALUES (11,0,50004,TO_TIMESTAMP('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y',TO_TIMESTAMP('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,50001)
|
||||||
;
|
;
|
||||||
|
|
||||||
SELECT register_migration_script('WS003_WebServicesConfigGardenWorldSample.sql') FROM dual
|
SELECT register_migration_script('201212131725_WS003_WebServicesConfigGardenWorldSample.sql') FROM dual
|
||||||
;
|
;
|
|
@ -1,4 +1,4 @@
|
||||||
update AD_Column set SeqNo=2 WHERE AD_Column_ID=56714;
|
update AD_Column set SeqNo=2 WHERE AD_Column_ID=56714;
|
||||||
|
|
||||||
SELECT register_migration_script('WS004_WebServicesFixDict.sql') FROM dual
|
SELECT register_migration_script('201212131726_WS004_WebServicesFixDict.sql') FROM dual
|
||||||
;
|
;
|
|
@ -617,14 +617,13 @@ UPDATE AD_Field SET XPosition=2,Updated=TO_TIMESTAMP('2012-12-13 00:16:09','YYYY
|
||||||
|
|
||||||
-- Dec 13, 2012 4:27:02 PM IST
|
-- Dec 13, 2012 4:27:02 PM IST
|
||||||
-- IDEMPIERE-460 Adding support for composite service
|
-- IDEMPIERE-460 Adding support for composite service
|
||||||
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Help,IsActive,WS_WebService_ID,Name,Updated,UpdatedBy,Value,WS_WebService_UU) VALUES (0,0,TO_TIMESTAMP('2012-12-13 16:26:45','YYYY-MM-DD HH24:MI:SS'),100,'Composite service','Y',200001,'CompositeInterface',TO_TIMESTAMP('2012-12-13 16:26:45','YYYY-MM-DD HH24:MI:SS'),100,'CompositeInterface','df6cc221-05a7-403f-8abb-bdf24344094a')
|
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Help,IsActive,WS_WebService_ID,Name,Updated,UpdatedBy,Value) VALUES (0,0,TO_TIMESTAMP('2012-12-13 16:26:45','YYYY-MM-DD HH24:MI:SS'),100,'Composite service','Y',200001,'CompositeInterface',TO_TIMESTAMP('2012-12-13 16:26:45','YYYY-MM-DD HH24:MI:SS'),100,'CompositeInterface')
|
||||||
;
|
;
|
||||||
|
|
||||||
-- Dec 13, 2012 4:27:28 PM IST
|
-- Dec 13, 2012 4:27:28 PM IST
|
||||||
-- IDEMPIERE-460 Adding support for composite service
|
-- IDEMPIERE-460 Adding support for composite service
|
||||||
INSERT INTO WS_WebServiceMethod (CreatedBy,AD_Client_ID,AD_Org_ID,Created,IsActive,WS_WebServiceMethod_ID,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_UU) VALUES (100,0,0,TO_TIMESTAMP('2012-12-13 16:27:27','YYYY-MM-DD HH24:MI:SS'),'Y',200001,'composite',TO_TIMESTAMP('2012-12-13 16:27:27','YYYY-MM-DD HH24:MI:SS'),100,'composite',200001,'a3a5ce29-792a-4e99-b0c9-68779fdc89e3')
|
INSERT INTO WS_WebServiceMethod (CreatedBy,AD_Client_ID,AD_Org_ID,Created,IsActive,WS_WebServiceMethod_ID,Name,Updated,UpdatedBy,Value,WS_WebService_ID) VALUES (100,0,0,TO_TIMESTAMP('2012-12-13 16:27:27','YYYY-MM-DD HH24:MI:SS'),'Y',200001,'composite',TO_TIMESTAMP('2012-12-13 16:27:27','YYYY-MM-DD HH24:MI:SS'),100,'composite',200001)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201212131727_WS005_IdempiereWebservice.sql') FROM dual
|
||||||
SELECT register_migration_script('WS005_IdempiereWebservice.sql') FROM dual
|
|
||||||
;
|
;
|
Loading…
Reference in New Issue