blob: acc06179614f150b84cb6cf647bcef934b16fe23 [file] [log] [blame]
Rina Roibfcf8e42019-07-15 10:36:26 +03001--liquibase formatted sql
2
3--changeset da797d:1
4CREATE TABLE IF NOT EXISTS `vid_openecomp_epsdk`.`vid_service_info` (
5 `ID` INT(11) NOT NULL AUTO_INCREMENT,
6 `JOB_ID` BINARY(16) NOT NULL,
7 `USER_ID` INT(11),
8 `CREATED_DATE` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
9 `MODIFIED_DATE` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
10 `JOB_STATUS` VARCHAR(50) NULL COLLATE 'utf8_bin',
11 `PAUSE` TINYINT(1) NULL,
12 `OWNING_ENTITY_ID` VARCHAR(50) NULL COLLATE 'utf8_bin',
13 `OWNING_ENTITY_NAME` VARCHAR(50) NULL COLLATE 'utf8_bin',
14 `PROJECT` VARCHAR(50) NULL COLLATE 'utf8_bin',
15 `AIC_ZONE_ID` VARCHAR(50) NULL COLLATE 'utf8_bin',
16 `AIC_ZONE_NAME` VARCHAR(50) NULL COLLATE 'utf8_bin',
17 `TENANT_ID` VARCHAR(50) NULL COLLATE 'utf8_bin',
18 `TENANT_NAME` VARCHAR(50) NULL COLLATE 'utf8_bin',
19 `REGION_ID` VARCHAR(50) NULL COLLATE 'utf8_bin',
20 `REGION_NAME` VARCHAR(50) NULL COLLATE 'utf8_bin',
21 `SERVICE_TYPE` VARCHAR(50) NULL COLLATE 'utf8_bin',
22 `SUBSCRIBER_NAME` VARCHAR(50) NULL COLLATE 'utf8_bin',
23 `SERVICE_INSTANCE_ID` VARCHAR(50) NULL COLLATE 'utf8_bin',
24 `SERVICE_INSTANCE_NAME` VARCHAR(50) NULL COLLATE 'utf8_bin',
25 `SERVICE_MODEL_ID` VARCHAR(50) NULL COLLATE 'utf8_bin',
26 `SERVICE_MODEL_NAME` VARCHAR(50) NULL COLLATE 'utf8_bin',
27 `SERVICE_MODEL_VERSION` VARCHAR(20) NULL COLLATE 'utf8_bin',
28 PRIMARY KEY (`ID`),
29 CONSTRAINT `vid_service_info_vid_job_JOB_ID_fk` FOREIGN KEY (`JOB_ID`) REFERENCES `vid_openecomp_epsdk`.`vid_job` (`JOB_ID`)
30) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
31--rollback drop table `vid_openecomp_epsdk`.`vid_service_info`;
32
33--changeset em088y:2
34ALTER TABLE `vid_openecomp_epsdk`.`vid_service_info`
35ADD COLUMN CREATED_BULK_DATE TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
36ADD COLUMN IS_HIDDEN BIT,
37ADD COLUMN IS_PAUSE BIT,
38ADD COLUMN STATUS_MODIFIED_DATE TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
39DROP COLUMN PAUSE;
40--rollback alter `vid_openecomp_epsdk`.`vid_service_info` drop CREATED_BULK_DATE, drop IS_HIDDEN, drop IS_PAUSE, drop STATUS_MODIFIED_DATE;
41
42--changeset em088y:3
43delete from `vid_openecomp_epsdk`.`vid_service_info`;
44delete from `vid_openecomp_epsdk`.`vid_job`;
45
46alter table `vid_openecomp_epsdk`.`vid_service_info` drop foreign key vid_service_info_vid_job_JOB_ID_fk;
47
48alter table `vid_openecomp_epsdk`.`vid_job`
49drop index `FK_OWNING_VID_JOB_PARENT`,
50drop FOREIGN KEY `FK_OWNING_VID_JOB_PARENT`,
51drop primary key,
52modify JOB_ID CHAR(36),
53modify PARENT_JOB_ID CHAR(36),
54add PRIMARY KEY (`JOB_ID`);
55
56alter table `vid_openecomp_epsdk`.`vid_job`
57add CONSTRAINT `FK_OWNING_VID_JOB_PARENT` FOREIGN KEY (`PARENT_JOB_ID`) REFERENCES `vid_job` (`JOB_ID`);
58
59alter table `vid_openecomp_epsdk`.`vid_service_info`
60modify JOB_ID CHAR(36),
61add FOREIGN KEY `FK_SERVICE_INFO_VID_JOB_ID`(`JOB_ID`) REFERENCES `vid_job` (`JOB_ID`);
62
63--changeset rr155p:4
64ALTER TABLE `vid_openecomp_epsdk`.`vid_job`
65DROP FOREIGN KEY `FK_OWNING_VID_JOB_PARENT`;
66
67ALTER TABLE `vid_openecomp_epsdk`.`vid_job`
68 CHANGE COLUMN `PARENT_JOB_ID` `TEMPLATE_ID` CHAR(36) NULL DEFAULT NULL COLLATE 'utf8_bin' AFTER `JOB_DATA`;
69
70--changeset is9613:5
71ALTER TABLE `vid_openecomp_epsdk`.`vid_service_info`
72ADD COLUMN `TEMPLATE_ID` CHAR(36) NULL DEFAULT NULL;
73
74--changeset rr155p:6
75ALTER TABLE `vid_openecomp_epsdk`.`vid_job`
76ADD COLUMN `USER_ID` VARCHAR(50) NULL COLLATE 'utf8_bin';
77
78--changeset is9613:7
79ALTER TABLE `vid_openecomp_epsdk`.`vid_job`
80 ADD COLUMN `AGE` INT NOT NULL default '0';
81
82--changeset rr155p:8
83ALTER TABLE `vid_openecomp_epsdk`.`vid_service_info`
84 CHANGE COLUMN `USER_ID` `USER_ID` VARCHAR(50) NULL COLLATE 'utf8_bin';
85
86--changeset cl0627:9
87ALTER TABLE `vid_openecomp_epsdk`.`vid_job`
88 ADD COLUMN DELETED_AT TIMESTAMP NULL DEFAULT NULL;
89
90ALTER TABLE `vid_openecomp_epsdk`.`vid_service_info`
91 ADD COLUMN DELETED_AT TIMESTAMP NULL DEFAULT NULL;
92
93--changeset em088y:10
94UPDATE `vid_openecomp_epsdk`.`fn_menu` SET `SORT_ORDER` = 13 where MENU_ID=110;
95UPDATE `vid_openecomp_epsdk`.`fn_menu` SET `SORT_ORDER` = 12 where MENU_ID=109;
96INSERT INTO `vid_openecomp_epsdk`.`fn_menu` (`MENU_ID`, `LABEL`, `PARENT_ID`, `SORT_ORDER`, `ACTION`, `FUNCTION_CD`, `ACTIVE_YN`, `SERVLET`, `QUERY_STRING`, `EXTERNAL_URL`, `TARGET`, `MENU_SET_CD`, `SEPARATOR_YN`, `IMAGE_SRC`) VALUES
97(111, 'Macro Instantiation Status', 1, 11, 'serviceModels.htm#/instantiationStatus', 'menu_searchexisting', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-location-pin');
98
99--changeset is9613:job_index_in_bulk
100ALTER TABLE `vid_openecomp_epsdk`.`vid_job`
101 ADD COLUMN `INDEX_IN_BULK` INT NOT NULL default '0';
102
103
104--changeset rr155:vid_job_audit_status
105CREATE TABLE `vid_openecomp_epsdk`.`vid_job_audit_status` (
106 `ID` INT(11) NOT NULL AUTO_INCREMENT,
107 `JOB_ID` CHAR(36) NOT NULL,
108 `JOB_STATUS` VARCHAR(50) NULL COLLATE 'utf8_bin',
109 `SOURCE` VARCHAR(50) NULL COLLATE 'utf8_bin',
110 `REQUEST_ID` CHAR(36) NULL,
111 `ADDITIONAL_INFO` VARCHAR (255) NULL,
112 `CREATED_DATE` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
113 `MODIFIED_DATE` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
114 PRIMARY KEY (`ID`)
115) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
116
117--changeset em088y:name_counter
118CREATE TABLE `vid_openecomp_epsdk`.`vid_name_counter` (
119 `NAME` VARCHAR(100) NOT NULL COLLATE 'utf8_bin',
120 `COUNTER` INT NOT NULL,
121 PRIMARY KEY (`NAME`)
122) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
123
124--changeset em088y:increase_names_maxsize_500
125alter table `vid_openecomp_epsdk`.`vid_service_info`
126modify `OWNING_ENTITY_NAME` VARCHAR(500) NULL COLLATE 'utf8_bin',
127modify `AIC_ZONE_NAME` VARCHAR(500) NULL COLLATE 'utf8_bin',
128modify `TENANT_NAME` VARCHAR(500) NULL COLLATE 'utf8_bin',
129modify `REGION_NAME` VARCHAR(500) NULL COLLATE 'utf8_bin',
130modify `SUBSCRIBER_NAME` VARCHAR(500) NULL COLLATE 'utf8_bin',
131modify `SERVICE_INSTANCE_NAME` VARCHAR(500) NULL COLLATE 'utf8_bin',
132modify `SERVICE_MODEL_NAME` VARCHAR(500) NULL COLLATE 'utf8_bin';
133
134alter table `vid_openecomp_epsdk`.`vid_name_counter`
135modify `NAME` VARCHAR(255) NOT NULL COLLATE 'utf8_bin';
136
137--changeset is9613:add_SUBSCRIBER_ID_to_vid_service_info
138ALTER TABLE `vid_openecomp_epsdk`.`vid_service_info`
139 ADD COLUMN `SUBSCRIBER_ID` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8_bin' AFTER `SUBSCRIBER_NAME`;
140
141--changeset em088y:additional_info_maxsize_2000
142alter table `vid_openecomp_epsdk`.`vid_job_audit_status`
143modify `ADDITIONAL_INFO` VARCHAR(2000) NULL COLLATE 'utf8_bin';
144
145--changeset er767y:change_'Macro Instantiation Status'_menu_item
146UPDATE `vid_openecomp_epsdk`.`fn_menu` SET `LABEL` = 'Instantiation Status' WHERE `MENU_ID`=111;
147
148--changeset cl0627:add_MSO_REQUEST_ID_and_IS_A_LA_CARTE_to_vid_service_info
149ALTER TABLE `vid_openecomp_epsdk`.`vid_service_info`
150 ADD COLUMN `MSO_REQUEST_ID` CHAR(36) NULL AFTER `USER_ID`,
151 ADD COLUMN `IS_A_LA_CARTE` BIT NULL AFTER `MSO_REQUEST_ID`;
152
153--changeset cl0627:change_IS_A_LA_CARTE_to_not_null_and_default_false
154UPDATE `vid_openecomp_epsdk`.`vid_service_info` SET `IS_A_LA_CARTE` = 0 WHERE ISNULL(`IS_A_LA_CARTE`);
155ALTER TABLE `vid_openecomp_epsdk`.`vid_service_info`
156 MODIFY `IS_A_LA_CARTE` bit(1) NOT NULL DEFAULT 0;
157
158
159--changeset vid:add_Action_and_Type_to_fn_function
160ALTER TABLE `vid_openecomp_epsdk`.`fn_function`
161 ADD COLUMN IF NOT EXISTS `type` VARCHAR(50) NULL AFTER `function_name`,
162 ADD COLUMN IF NOT EXISTS `action` VARCHAR(100) NULL AFTER `type`;
163
164--changeset em088y:increase_ids_maxsize_500
165alter table `vid_openecomp_epsdk`.`vid_service_info`
166modify `USER_ID` VARCHAR(500) NULL DEFAULT NULL COLLATE 'utf8_bin',
167modify `MSO_REQUEST_ID` VARCHAR(500) NULL DEFAULT NULL COLLATE 'utf8_bin',
168modify `OWNING_ENTITY_ID` VARCHAR(500) NULL DEFAULT NULL COLLATE 'utf8_bin',
169modify `PROJECT` VARCHAR(500) NULL DEFAULT NULL COLLATE 'utf8_bin',
170modify `AIC_ZONE_ID` VARCHAR(500) NULL DEFAULT NULL COLLATE 'utf8_bin',
171modify `TENANT_ID` VARCHAR(500) NULL DEFAULT NULL COLLATE 'utf8_bin',
172modify `REGION_ID` VARCHAR(500) NULL DEFAULT NULL COLLATE 'utf8_bin',
173modify `SERVICE_TYPE` VARCHAR(500) NULL DEFAULT NULL COLLATE 'utf8_bin',
174modify `SUBSCRIBER_ID` VARCHAR(500) NULL DEFAULT NULL COLLATE 'utf8_bin',
175modify `SERVICE_INSTANCE_ID` VARCHAR(500) NULL DEFAULT NULL COLLATE 'utf8_bin',
176modify `SERVICE_MODEL_ID` VARCHAR(500) NULL DEFAULT NULL COLLATE 'utf8_bin',
177modify `SERVICE_MODEL_VERSION` VARCHAR(500) NULL DEFAULT NULL COLLATE 'utf8_bin';
178
179--changeset ah0398:restrict_url_for_role_management
180INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES ('get_user_roles','menu_admin');
181INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES ('addRoleFunction','menu_admin');
182
183--changeset rs282j:add_ACTION_to_vid_service_info
184ALTER TABLE `vid_openecomp_epsdk`.`vid_service_info`
185 ADD COLUMN `ACTION` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8_bin';
186
187UPDATE `vid_openecomp_epsdk`.`vid_service_info` SET `ACTION` = 'INSTANTIATE' where ISNULL(ACTION);
188ALTER TABLE `vid_openecomp_epsdk`.`vid_service_info`
189 MODIFY `ACTION` VARCHAR(50) NOT NULL;
190
191--changeset ag137v:welcome_page_used_by_epsdk_2_5_0
192INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES ('welcome','menu_home');
193
194--changeset ag137v:welcome_page_used_by_epsdk_2_5_0_fn_menu
195UPDATE `vid_openecomp_epsdk`.`fn_menu` SET `ACTION` = 'welcome' WHERE `ACTION` = 'welcome.htm';
196
197--changeset em088y:remove_all_foreign_keys_from_fn_user
198alter table `vid_openecomp_epsdk`.`fn_user`
199drop foreign key FK_FN_USER_REF_110_FN_ORG,
200drop foreign key FK_FN_USER_REF_123_FN_LU_AL,
201drop foreign key FK_FN_USER_REF_197_FN_USER,
202drop foreign key FK_FN_USER_REF_198_FN_USER,
203drop foreign key FK_FN_USER_REF_199_FN_USER,
204drop foreign key FK_TIMEZONE;
205
206--changeset em088y:add_IS_RETRY_ENABLED_to_vid_service_info
207ALTER TABLE `vid_openecomp_epsdk`.`vid_service_info`
208 ADD COLUMN `IS_RETRY_ENABLED` bit(1) NOT NULL DEFAULT 0 AFTER `IS_PAUSE`;
209
210--changeset em088y:create_table_vid_job_request
211CREATE TABLE `vid_openecomp_epsdk`.`vid_job_request` (
212 `JOB_ID` CHAR(36) NOT NULL COLLATE 'utf8_bin',
213 `REQUEST` MEDIUMTEXT NOT NULL COLLATE 'utf8_bin',
214 `CREATED_DATE` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
215 `MODIFIED_DATE` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
216 PRIMARY KEY (`JOB_ID`)
217) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
218
219--changeset cp2122:vid_resource_info
220CREATE TABLE `vid_openecomp_epsdk`.`vid_resource_info` (
221 `ROOT_JOB_ID` CHAR(36) NOT NULL COLLATE 'utf8_bin',
222 `TRACK_BY_ID` CHAR(36) NOT NULL COLLATE 'utf8_bin',
223 `JOB_STATUS` VARCHAR(50) NULL COLLATE 'utf8_bin',
224 `INSTANCE_ID` VARCHAR(50) NULL COLLATE 'utf8_bin',
225 `CREATED_DATE` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
226 `MODIFIED_DATE` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
227 PRIMARY KEY (`TRACK_BY_ID`),
228 INDEX `ROOT_JOB_ID_IND` (`ROOT_JOB_ID` )
229) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
230
231--changeset ag137v:welcome_page_used_by_epsdk_2_5_0
232INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES ('welcome','menu_home');
233
234--changeset er767y:add_error_message_to_vid_resource_info
235ALTER TABLE `vid_openecomp_epsdk`.`vid_resource_info`
236 ADD COLUMN `ERROR_MESSAGE` TEXT NULL DEFAULT NULL COLLATE 'utf8_bin' AFTER `INSTANCE_ID`;
237
238--changeset em088y:drop_foreign_key_from_service_info_to_jobs
239ALTER TABLE `vid_openecomp_epsdk`.`vid_service_info`
240 DROP FOREIGN KEY `FK_SERVICE_INFO_VID_JOB_ID`;
241
242--changeset em088y:add_BUILD_to_vid_job
243ALTER TABLE `vid_openecomp_epsdk`.`vid_job`
244 ADD COLUMN `BUILD` VARCHAR(100) NULL DEFAULT NULL COLLATE 'utf8_bin';
245
246--changeset eb7504:add_category_parameter_release
247INSERT IGNORE INTO vid_category_parameter (CATEGORY_ID, NAME, ID_SUPPORTED,FAMILY) VALUES (7,'release', 0, 'TENANT_ISOLATION');
248
249--changeset ah0398:restrict_url_for_role_functions
250INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('get_role_functions','menu_admin');
251
252--changeset ah0398:restrict_all_required_urls_according_to_sdk_2_5_0
253INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('admin','menu_admin');
254INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('addRole','menu_admin');
255INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('get_role','menu_admin');
256INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('profile/*','menu_admin');
257INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('post_search/process','menu_admin');
258INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('post_search/search','menu_admin');
259INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('post_search/search','menu_profile');
260INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('role/saveRole.htm','menu_admin');
261INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('role_list/*','menu_admin');
262INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('role_function_list/*','menu_admin');
263INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('removeRole','menu_admin');
264INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('removeRoleFunction','menu_admin');
265INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('samplePage','menu_sample');
266INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('workflows','menu_admin');
267INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('workflows/list','menu_admin');
268INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('workflows/addWorkflow','menu_admin');
269INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('workflows/saveCronJob','menu_admin');
270INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('workflows/editWorkflow','menu_admin');
271INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('workflows/removeWorkflow','menu_admin');
272INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('workflows/removeAllWorkflows','menu_admin');
273INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('report/wizard/retrieve_def_tab_wise_data/*','menu_reports');
274INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('report/wizard/retrieve_form_tab_wise_data/*','menu_reports');
275INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('report/wizard/retrieve_sql_tab_wise_data/*','menu_reports');
276INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('report/wizard/security/*','menu_reports');
277INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('report/wizard/copy_report/*','menu_reports');
278INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('report/wizard/save_def_tab_data/*','menu_reports');
279INSERT IGNORE INTO fn_restricted_url (restricted_url, function_cd) VALUES('report/wizard/retrieve_data/true','menu_reports');
280
281--changeset is9613:add_ordinal_to_vid_job_audit_status
282ALTER TABLE `vid_openecomp_epsdk`.`vid_job_audit_status`
283 ADD COLUMN `ORDINAL` INT DEFAULT 0;
284
285--changeset vid:align_changes_from_ecomp
286INSERT INTO `vid_workflow` (`WORKFLOW_DB_ID`, `WORKFLOW_APP_NAME`) VALUES (6, 'VNF Scale Out') ON DUPLICATE KEY UPDATE WORKFLOW_DB_ID=6, WORKFLOW_APP_NAME='VNF Scale Out';
287INSERT INTO `vid_workflow` (`WORKFLOW_DB_ID`, `WORKFLOW_APP_NAME`) VALUES (4, 'VNF Config Update') ON DUPLICATE KEY UPDATE WORKFLOW_DB_ID=4, WORKFLOW_APP_NAME='VNF Config Update';
288
289UPDATE `vid_openecomp_epsdk`.`fn_function` SET `type` = 'menu', `action` = '*';
290UPDATE `vid_openecomp_epsdk`.`fn_function` SET `type` = 'url' WHERE `FUNCTION_NAME`='Login';
291
292UPDATE `vid_openecomp_epsdk`.`fn_menu` SET `LABEL`='Browse SDC Service Models' WHERE `LABEL`='Browse ASDC Service Models';
293
294INSERT INTO `fn_role` VALUES (1,'System Administrator','Y',1) ON DUPLICATE KEY UPDATE ROLE_NAME='System Administrator', ACTIVE_YN='Y', PRIORITY=1;
295INSERT INTO `fn_role` VALUES (16,'Standard User','Y',5) ON DUPLICATE KEY UPDATE ROLE_NAME='Standard User', ACTIVE_YN='Y', PRIORITY=5;
296INSERT INTO `fn_role` VALUES (17,'Demonstration___vFWCL','Y',5) ON DUPLICATE KEY UPDATE ROLE_NAME='Demonstration___vFWCL', ACTIVE_YN='Y', PRIORITY=5;
297INSERT INTO `fn_role` VALUES (18,'Demonstration___vFW','Y',5) ON DUPLICATE KEY UPDATE ROLE_NAME='Demonstration___vFW', ACTIVE_YN='Y', PRIORITY=5;
298INSERT INTO `fn_role` VALUES (19,'Demonstration___vCPE','Y',5) ON DUPLICATE KEY UPDATE ROLE_NAME='Demonstration___vCPE', ACTIVE_YN='Y', PRIORITY=5;
299INSERT INTO `fn_role` VALUES (20,'Demonstration___vIMS','Y',5) ON DUPLICATE KEY UPDATE ROLE_NAME='Demonstration___vIMS', ACTIVE_YN='Y', PRIORITY=5;
300INSERT INTO `fn_role` VALUES (21,'Demonstration___vLB','Y',5) ON DUPLICATE KEY UPDATE ROLE_NAME='Demonstration___vLB', ACTIVE_YN='Y', PRIORITY=5;
301INSERT INTO `fn_role` VALUES (22,'Demonstration___gNB','Y',5) ON DUPLICATE KEY UPDATE ROLE_NAME='Demonstration___gNB', ACTIVE_YN='Y', PRIORITY=5;
302
303INSERT IGNORE `fn_user` VALUES (1,null,null,'Demo',null,'User',null,null,null,null,null,null,null,'demo',null,'demo','Kp8bJ4SXszM0WX','2016-11-14 13:24:07','Y',null,'2016-10-17 00:00:00',1,'2016-11-14 13:24:07','N',null,null,null,'NJ',null,'US',null,null,null,null,null,10,null,null,null,null,null,null);
304INSERT IGNORE `fn_user` VALUES (2,null,null,'vid1',null,'User',null,null,null,null,null,null,null,'vid1',null,'vid1','Kp8bJ4SXszM0WX','2016-11-14 13:24:07','Y',null,'2016-10-17 00:00:00',1,'2016-11-14 13:24:07','N',null,null,null,'NJ',null,'US',null,null,null,null,null,10,null,null,null,null,null,null);
305INSERT IGNORE `fn_user` VALUES (3,null,null,'vid2',null,'User',null,null,null,null,null,null,null,'vid2',null,'vid2','Kp8bJ4SXszM0WX','2016-11-14 13:24:07','Y',null,'2016-10-17 00:00:00',1,'2016-11-14 13:24:07','N',null,null,null,'NJ',null,'US',null,null,null,null,null,10,null,null,null,null,null,null);
306INSERT IGNORE `fn_user` VALUES (4,null,null,'vid3',null,'User',null,null,null,null,null,null,null,'vid3',null,'vid3','Kp8bJ4SXszM0WX','2016-11-14 13:24:07','Y',null,'2016-10-17 00:00:00',1,'2016-11-14 13:24:07','N',null,null,null,'NJ',null,'US',null,null,null,null,null,10,null,null,null,null,null,null);
307INSERT IGNORE `fn_user` VALUES (5,null,null,'vid4',null,'User',null,null,null,null,null,null,null,'vid4',null,'vid4','Kp8bJ4SXszM0WX','2016-11-14 13:24:07','Y',null,'2016-10-17 00:00:00',1,'2016-11-14 13:24:07','N',null,null,null,'NJ',null,'US',null,null,null,null,null,10,null,null,null,null,null,null);
308
309INSERT IGNORE `fn_user_role` VALUES (1,1,NULL,1);
310INSERT IGNORE `fn_user_role` VALUES (2,1,NULL,1);
311INSERT IGNORE `fn_user_role` VALUES (3,1,NULL,1);
312INSERT IGNORE `fn_user_role` VALUES (4,1,NULL,1);
313INSERT IGNORE `fn_user_role` VALUES (5,1,NULL,1);
314INSERT IGNORE `fn_user_role` VALUES (1,17,NULL,1);
315INSERT IGNORE `fn_user_role` VALUES (1,18,NULL,1);
316INSERT IGNORE `fn_user_role` VALUES (1,19,NULL,1);
317INSERT IGNORE `fn_user_role` VALUES (1,20,NULL,1);
318INSERT IGNORE `fn_user_role` VALUES (1,21,NULL,1);
319INSERT IGNORE `fn_user_role` VALUES (1,22,NULL,1);
320UPDATE `fn_app` SET `APP_IMAGE_URL`=null,`APP_URL`=null,`APP_ALTERNATE_URL`=null WHERE `APP_ID`=1;