diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-06-05 09:51:55 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2017-06-05 09:51:55 -0500 |
commit | 85e12563d2092018f83b456f5926f2b28f9742c7 (patch) | |
tree | ed4ee62525a83b6b0eeae28ee7078fce24c23781 /packages/base/src/files/data/mysql | |
parent | 68536f36971c101150ec35d44bd445355ffd0384 (diff) |
[POLICY-8] cleaned up unused code
Change-Id: Ifebf67db574e1c4eadf9d50ca0f178ab7ddba033
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'packages/base/src/files/data/mysql')
18 files changed, 0 insertions, 644 deletions
diff --git a/packages/base/src/files/data/mysql/160400_droolspdp_downgrade_script.sql b/packages/base/src/files/data/mysql/160400_droolspdp_downgrade_script.sql deleted file mode 100644 index 44f49198..00000000 --- a/packages/base/src/files/data/mysql/160400_droolspdp_downgrade_script.sql +++ /dev/null @@ -1,23 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -drop table if exists drools.sessioninfo; -drop table if exists drools.WORKITEMINFO; -drop table if exists drools.droolspdpentity; diff --git a/packages/base/src/files/data/mysql/160400_droolspdp_upgrade_script.sql b/packages/base/src/files/data/mysql/160400_droolspdp_upgrade_script.sql deleted file mode 100644 index 03e96521..00000000 --- a/packages/base/src/files/data/mysql/160400_droolspdp_upgrade_script.sql +++ /dev/null @@ -1,57 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - --- use BLOB instead of LONGVARBINARY -drop table if exists drools.sessioninfo; -CREATE TABLE drools.SESSIONINFO -( -ID BIGINT NOT NULL, -LASTMODIFICATIONDATE TIMESTAMP, -RULESBYTEARRAY BLOB, -STARTDATE TIMESTAMP default current_timestamp, -OPTLOCK INTEGER, -PRIMARY KEY (ID) -); - -drop table if exists drools.WORKITEMINFO; -CREATE TABLE drools.WORKITEMINFO -( -WORKITEMID BIGINT NOT NULL, -CREATIONDATE TIMESTAMP default current_timestamp, -`NAME` VARCHAR(500), -PROCESSINSTANCEID BIGINT, -STATE BIGINT, -OPTLOCK INTEGER, -WORKITEMBYTEARRAY BLOB, -PRIMARY KEY (WORKITEMID) -); - -drop table if exists drools.droolspdpentity; -CREATE TABLE drools.DROOLSPDPENTITY -( - PDPID VARCHAR(100) NOT NULL, - DESIGNATED BOOLEAN NOT NULL DEFAULT FALSE, - PRIORITY INT NOT NULL DEFAULT 0, - UPDATEDDATE DATE NOT NULL, - GROUPID VARCHAR(100) NOT NULL, - SESSIONID BIGINT NOT NULL -); - - diff --git a/packages/base/src/files/data/mysql/160401_droolspdp_downgrade_script.sql b/packages/base/src/files/data/mysql/160401_droolspdp_downgrade_script.sql deleted file mode 100644 index c8bbe035..00000000 --- a/packages/base/src/files/data/mysql/160401_droolspdp_downgrade_script.sql +++ /dev/null @@ -1,30 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -drop table if exists drools.droolspdpentity; -CREATE TABLE drools.DROOLSPDPENTITY -( - PDPID VARCHAR(100) NOT NULL, - DESIGNATED BOOLEAN NOT NULL DEFAULT FALSE, - PRIORITY INT NOT NULL DEFAULT 0, - UPDATEDDATE DATE NOT NULL, - GROUPID VARCHAR(100) NOT NULL, - SESSIONID BIGINT NOT NULL -); diff --git a/packages/base/src/files/data/mysql/160401_droolspdp_upgrade_script.sql b/packages/base/src/files/data/mysql/160401_droolspdp_upgrade_script.sql deleted file mode 100644 index e7d92216..00000000 --- a/packages/base/src/files/data/mysql/160401_droolspdp_upgrade_script.sql +++ /dev/null @@ -1,30 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -drop table if exists drools.droolspdpentity; -CREATE TABLE drools.DROOLSPDPENTITY -( - PDPID VARCHAR(100) NOT NULL, - DESIGNATED BOOLEAN NOT NULL DEFAULT FALSE, - PRIORITY INT NOT NULL DEFAULT 0, - UPDATEDDATE TIMESTAMP NOT NULL, - GROUPID VARCHAR(100) NOT NULL, - SESSIONID BIGINT NOT NULL -); diff --git a/packages/base/src/files/data/mysql/160700_droolspdp_downgrade_script.sql b/packages/base/src/files/data/mysql/160700_droolspdp_downgrade_script.sql deleted file mode 100644 index c8613bb7..00000000 --- a/packages/base/src/files/data/mysql/160700_droolspdp_downgrade_script.sql +++ /dev/null @@ -1,25 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -drop table if exists drools.droolssessionentity; -drop table if exists drools.droolspdpentity; -drop table if exists drools.sessioninfo; -drop table if exists drools.WORKITEMINFO; - diff --git a/packages/base/src/files/data/mysql/160700_droolspdp_upgrade_script.sql b/packages/base/src/files/data/mysql/160700_droolspdp_upgrade_script.sql deleted file mode 100644 index 3350859e..00000000 --- a/packages/base/src/files/data/mysql/160700_droolspdp_upgrade_script.sql +++ /dev/null @@ -1,68 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -drop table if exists drools.droolssessionentity; -drop table if exists drools.droolspdpentity; - -CREATE TABLE drools.DROOLSPDPENTITY -( - PDPID VARCHAR(100) NOT NULL, - DESIGNATED BOOLEAN NOT NULL DEFAULT FALSE, - PRIORITY INT NOT NULL DEFAULT 0, - UPDATEDDATE TIMESTAMP NOT NULL, - GROUPID VARCHAR(100) NOT NULL, - SESSIONID BIGINT NOT NULL, - PRIMARY KEY(PDPID) -); - -CREATE TABLE drools.DROOLSSESSIONENTITY -( - PDPID VARCHAR(100) NOT NULL, - SESSIONNAME VARCHAR(100) NOT NULL, - SESSIONID BIGINT NOT NULL, - PDPENTITY_pdpId BIGINT NOT NULL, - PRIMARY KEY(PDPID,SESSIONNAME) -); -ALTER TABLE drools.DROOLSSESSIONENTITY ADD CONSTRAINT FK_DROOLSSESSIONENTITY_DROOLSPDPENTITY_PDPID -FOREIGN KEY (PDPID) REFERENCES drools.DROOLSPDPENTITY (PDPID); - -drop table if exists drools.sessioninfo; -CREATE TABLE drools.SESSIONINFO -( -ID BIGINT NOT NULL, -LASTMODIFICATIONDATE TIMESTAMP, -RULESBYTEARRAY BLOB, -STARTDATE TIMESTAMP default current_timestamp, -OPTLOCK INTEGER, -PRIMARY KEY (ID) -); - -drop table if exists drools.WORKITEMINFO; -CREATE TABLE drools.WORKITEMINFO -( -WORKITEMID BIGINT NOT NULL, -CREATIONDATE TIMESTAMP default current_timestamp, -`NAME` VARCHAR(500), -PROCESSINSTANCEID BIGINT, -STATE BIGINT, -OPTLOCK INTEGER, -WORKITEMBYTEARRAY BLOB, -PRIMARY KEY (WORKITEMID) -); diff --git a/packages/base/src/files/data/mysql/161000_droolspdp_downgrade_script.sql b/packages/base/src/files/data/mysql/161000_droolspdp_downgrade_script.sql deleted file mode 100644 index b1ab793c..00000000 --- a/packages/base/src/files/data/mysql/161000_droolspdp_downgrade_script.sql +++ /dev/null @@ -1,47 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -drop table if exists drools.droolssessionentity; -drop table if exists drools.droolspdpentity; - -CREATE TABLE drools.DROOLSPDPENTITY -( - PDPID VARCHAR(100) NOT NULL, - DESIGNATED BOOLEAN NOT NULL DEFAULT FALSE, - PRIORITY INT NOT NULL DEFAULT 0, - UPDATEDDATE TIMESTAMP NOT NULL, - GROUPID VARCHAR(100) NOT NULL, - SESSIONID BIGINT NOT NULL, - PRIMARY KEY(PDPID) -); - -CREATE TABLE drools.DROOLSSESSIONENTITY -( - PDPID VARCHAR(100) NOT NULL, - SESSIONNAME VARCHAR(100) NOT NULL, - SESSIONID BIGINT NOT NULL, - PDPENTITY_pdpId BIGINT NOT NULL, - PRIMARY KEY(PDPID,SESSIONNAME) -); -ALTER TABLE drools.DROOLSSESSIONENTITY ADD CONSTRAINT FK_DROOLSSESSIONENTITY_DROOLSPDPENTITY_PDPID -FOREIGN KEY (PDPID) REFERENCES drools.DROOLSPDPENTITY (PDPID); - -drop table if exists drools.LastSiteEntity; - diff --git a/packages/base/src/files/data/mysql/161000_droolspdp_upgrade_script.sql b/packages/base/src/files/data/mysql/161000_droolspdp_upgrade_script.sql deleted file mode 100644 index 9ef24426..00000000 --- a/packages/base/src/files/data/mysql/161000_droolspdp_upgrade_script.sql +++ /dev/null @@ -1,54 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -DROP TABLE if exists drools.DROOLSSESSIONENTITY; -DROP TABLE if exists drools.DROOLSPDPENTITY; - -CREATE TABLE if not exists drools.DROOLSPDPENTITY -( -pdpId VARCHAR(255) NOT NULL, -designated TINYINT(1) default 0 NOT NULL, -priority INTEGER NOT NULL, -site VARCHAR(50), -updatedDate DATETIME NOT NULL, -PRIMARY KEY (pdpId) -); - -CREATE TABLE if not exists drools.DROOLSSESSIONENTITY -( -sessionName VARCHAR(255) NOT NULL, -pdpId VARCHAR(255) NOT NULL, -sessionId BIGINT NOT NULL, -PDPENTITY_pdpId VARCHAR(255), -PRIMARY KEY (sessionName, pdpId) -); - -ALTER TABLE drools.DROOLSSESSIONENTITY ADD CONSTRAINT FK_DROOLSSESSIONENTITY_PDPENTITY_pdpId -FOREIGN KEY (PDPENTITY_pdpId) -REFERENCES drools.DROOLSPDPENTITY (pdpId); - -drop table if exists drools.LastSiteEntity; - -CREATE TABLE `drools`.`LastSiteEntity` -( `id` INT NOT NULL , -`siteName` VARCHAR(50) NOT NULL -); - - diff --git a/packages/base/src/files/data/mysql/161001_droolspdp_downgrade_script.sql b/packages/base/src/files/data/mysql/161001_droolspdp_downgrade_script.sql deleted file mode 100644 index 983a9f3c..00000000 --- a/packages/base/src/files/data/mysql/161001_droolspdp_downgrade_script.sql +++ /dev/null @@ -1,56 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -set foreign_key_checks=0; - -drop table if exists drools.LastSiteEntity; - -CREATE TABLE `drools`.`LastSiteEntity` -( `id` INT NOT NULL , -`siteName` VARCHAR(50) NOT NULL -); - -drop table if exists drools.DROOLSPDPENTITY; - -CREATE TABLE if not exists drools.DROOLSPDPENTITY -( -pdpId VARCHAR(255) NOT NULL, -designated TINYINT(1) default 0 NOT NULL, -priority INTEGER NOT NULL, -site VARCHAR(50), -updatedDate DATETIME NOT NULL, -PRIMARY KEY (pdpId) -); - -drop table if exists drools.DROOLSSESSIONENTITY; -CREATE TABLE if not exists drools.DROOLSSESSIONENTITY -( -sessionName VARCHAR(255) NOT NULL, -pdpId VARCHAR(255) NOT NULL, -sessionId BIGINT NOT NULL, -PDPENTITY_pdpId VARCHAR(255), -PRIMARY KEY (sessionName, pdpId) -); - -ALTER TABLE drools.DROOLSSESSIONENTITY ADD CONSTRAINT FK_DROOLSSESSIONENTITY_PDPENTITY_pdpId -FOREIGN KEY (PDPENTITY_pdpId) -REFERENCES drools.DROOLSPDPENTITY (pdpId); - -set foreign_key_checks=1; diff --git a/packages/base/src/files/data/mysql/161001_droolspdp_upgrade_script.sql b/packages/base/src/files/data/mysql/161001_droolspdp_upgrade_script.sql deleted file mode 100644 index 2731e1bd..00000000 --- a/packages/base/src/files/data/mysql/161001_droolspdp_upgrade_script.sql +++ /dev/null @@ -1,52 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -set foreign_key_checks=0; - -drop table if exists drools.LastSiteEntity; - -drop table if exists drools.DROOLSPDPENTITY; - -CREATE TABLE if not exists drools.DROOLSPDPENTITY -( -pdpId VARCHAR(255) NOT NULL, -designated TINYINT(1) default 0 NOT NULL, -priority INTEGER NOT NULL, -site VARCHAR(50), -updatedDate DATETIME NOT NULL, -designatedDate DATETIME NOT NULL, -PRIMARY KEY (pdpId) -); - -drop table if exists drools.DROOLSSESSIONENTITY; -CREATE TABLE if not exists drools.DROOLSSESSIONENTITY -( -sessionName VARCHAR(255) NOT NULL, -pdpId VARCHAR(255) NOT NULL, -sessionId BIGINT NOT NULL, -PDPENTITY_pdpId VARCHAR(255), -PRIMARY KEY (sessionName, pdpId) -); - -ALTER TABLE drools.DROOLSSESSIONENTITY ADD CONSTRAINT FK_DROOLSSESSIONENTITY_PDPENTITY_pdpId -FOREIGN KEY (PDPENTITY_pdpId) -REFERENCES drools.DROOLSPDPENTITY (pdpId); - -set foreign_key_checks=1; diff --git a/packages/base/src/files/data/mysql/161002_droolspdp_downgrade_script.sql b/packages/base/src/files/data/mysql/161002_droolspdp_downgrade_script.sql deleted file mode 100644 index 90ed6457..00000000 --- a/packages/base/src/files/data/mysql/161002_droolspdp_downgrade_script.sql +++ /dev/null @@ -1,21 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -drop table if exists drools.IntegrityAuditEntity; diff --git a/packages/base/src/files/data/mysql/161002_droolspdp_upgrade_script.sql b/packages/base/src/files/data/mysql/161002_droolspdp_upgrade_script.sql deleted file mode 100644 index ff99d36a..00000000 --- a/packages/base/src/files/data/mysql/161002_droolspdp_upgrade_script.sql +++ /dev/null @@ -1,41 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -drop table if exists drools.IntegrityAuditEntity; -create table if not exists drools.IntegrityAuditEntity -( - id int not null auto_increment, - persistenceUnit varchar(100) not null, - site varchar(100), - nodeType varchar(100), - resourceName varchar(100) not null, - designated boolean default false, - jdbcDriver varchar(100) not null, - jdbcUrl varchar(100) not null, - jdbcUser varchar(30) not null, - jdbcPassword varchar(30) not null, - createdDate TIMESTAMP NOT NULL default current_timestamp, - lastUpdated TIMESTAMP NOT NULL, - primary key(id) -); - -alter table drools.IntegrityAuditEntity add constraint resourceName_uniq unique(resourceName); - - diff --git a/packages/base/src/files/data/mysql/161003_droolspdp_downgrade_script.sql b/packages/base/src/files/data/mysql/161003_droolspdp_downgrade_script.sql deleted file mode 100644 index ba9ac573..00000000 --- a/packages/base/src/files/data/mysql/161003_droolspdp_downgrade_script.sql +++ /dev/null @@ -1,22 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -drop table if exists drools.SEQUENCE; - diff --git a/packages/base/src/files/data/mysql/161003_droolspdp_upgrade_script.sql b/packages/base/src/files/data/mysql/161003_droolspdp_upgrade_script.sql deleted file mode 100644 index 7f8c17ca..00000000 --- a/packages/base/src/files/data/mysql/161003_droolspdp_upgrade_script.sql +++ /dev/null @@ -1,29 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -drop table if exists drools.SEQUENCE; -CREATE TABLE drools.SEQUENCE -( -SEQ_NAME VARCHAR(50) NOT NULL, -SEQ_COUNT NUMERIC(38), -PRIMARY KEY (SEQ_NAME) -); - -INSERT INTO drools.SEQUENCE (SEQ_NAME,SEQ_COUNT) VALUES ('SEQ_GEN',3050); diff --git a/packages/base/src/files/data/mysql/161004_droolspdp_downgrade_script.sql b/packages/base/src/files/data/mysql/161004_droolspdp_downgrade_script.sql deleted file mode 100644 index 5cabefbf..00000000 --- a/packages/base/src/files/data/mysql/161004_droolspdp_downgrade_script.sql +++ /dev/null @@ -1,22 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP POLICY - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -alter table drools.droolsPdpEntity modify updatedDate datetime not null; -alter table drools.droolsPdpEntity modify designatedDate datetime not null; diff --git a/packages/base/src/files/data/mysql/161004_droolspdp_upgrade_script.sql b/packages/base/src/files/data/mysql/161004_droolspdp_upgrade_script.sql deleted file mode 100644 index 5069aad8..00000000 --- a/packages/base/src/files/data/mysql/161004_droolspdp_upgrade_script.sql +++ /dev/null @@ -1,25 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP POLICY - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -alter table drools.droolsPdpEntity modify updatedDate timestamp not null; -alter table drools.droolsPdpEntity modify designatedDate timestamp not null; - - - diff --git a/packages/base/src/files/data/mysql/170200_droolspdp_downgrade_script.sql b/packages/base/src/files/data/mysql/170200_droolspdp_downgrade_script.sql deleted file mode 100644 index 928a584e..00000000 --- a/packages/base/src/files/data/mysql/170200_droolspdp_downgrade_script.sql +++ /dev/null @@ -1,21 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -alter table drools.IntegrityAuditEntity modify jdbcUrl varchar(100) not null; diff --git a/packages/base/src/files/data/mysql/170200_droolspdp_upgrade_script.sql b/packages/base/src/files/data/mysql/170200_droolspdp_upgrade_script.sql deleted file mode 100644 index 93bb69e3..00000000 --- a/packages/base/src/files/data/mysql/170200_droolspdp_upgrade_script.sql +++ /dev/null @@ -1,21 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Base Package - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed 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. - * ============LICENSE_END========================================================= - */ - -alter table drools.IntegrityAuditEntity modify jdbcUrl varchar(200) not null; |