Kotagiri, Ramprasad (rp5662) | f6c222c | 2019-03-28 16:44:25 -0400 | [diff] [blame] | 1 | CREATE SCHEMA IF NOT EXISTS dashboard_pg_db_common AUTHORIZATION dashboard_pg_admin; |
| 2 | |
| 3 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.service( |
| 4 | id varchar(1024) primary key, |
| 5 | name varchar(1024), |
| 6 | address varchar(80), |
| 7 | port int); |
| 8 | |
| 9 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.healthcheck ( |
| 10 | id varchar(1024) references dashboard_pg_db_common.service (id), |
| 11 | date timestamp without time zone default (now() at time zone 'utc'), |
| 12 | status varchar(80), |
| 13 | notes varchar(256), |
| 14 | output varchar(4096)); |
| 15 | |
| 16 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.blueprints ( |
| 17 | id varchar(80) primary key not null, |
| 18 | name varchar(80), |
| 19 | blueprint bytea); |
| 20 | |
| 21 | -- --------------------------------------------------------------------------------------------------------------- |
| 22 | -- This script creates tables for the ECOMP Controller Dashboard web app. |
| 23 | -- in the 1707 release, same tables for both internal and external use. |
| 24 | -- ------------------------------------------------------------------------------------------------------------------ |
| 25 | --- CREATE SCHEMA (schema name); |
| 26 | |
| 27 | --- SET SEARCH_PATH = (schema name); |
| 28 | |
| 29 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_lu_timezone ( |
| 30 | timezone_id serial primary key, |
| 31 | timezone_name character varying(100) not null, |
| 32 | timezone_value character varying(100) not null |
| 33 | ); |
| 34 | |
| 35 | -- this sequence is named in Fusion.hbm.xml |
| 36 | CREATE SEQUENCE IF NOT EXISTS dashboard_pg_db_common.seq_fn_user; |
| 37 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_user ( |
| 38 | user_id integer NOT NULL DEFAULT nextval('dashboard_pg_db_common.seq_fn_user') primary key, |
| 39 | org_id int, |
| 40 | manager_id int, |
| 41 | first_name character varying(25), |
| 42 | middle_name character varying(25), |
| 43 | last_name character varying(25), |
| 44 | phone character varying(25), |
| 45 | fax character varying(25), |
| 46 | cellular character varying(25), |
| 47 | email character varying(50), |
| 48 | address_id int, |
| 49 | alert_method_cd character varying(10), |
| 50 | hrid character varying(20), |
| 51 | org_user_id character varying(20), |
| 52 | org_code character varying(30), |
| 53 | login_id character varying(25), |
| 54 | login_pwd character varying(25), |
| 55 | last_login_date timestamp, |
| 56 | active_yn character varying(1) default 'y' not null, |
| 57 | created_id int, |
| 58 | created_date timestamp default now(), |
| 59 | modified_id int, |
| 60 | modified_date timestamp default now(), |
| 61 | is_internal_yn character(1) default 'n' not null, |
| 62 | address_line_1 character varying(100), |
| 63 | address_line_2 character varying(100), |
| 64 | city character varying(50), |
| 65 | state_cd character varying(3), |
| 66 | zip_code character varying(11), |
| 67 | country_cd character varying(3), |
| 68 | location_clli character varying(8), |
| 69 | org_manager_userid character varying(6), |
| 70 | company character varying(100), |
| 71 | department_name character varying(100), |
| 72 | job_title character varying(100), |
| 73 | timezone int, |
| 74 | department character varying(25), |
| 75 | business_unit character varying(25), |
| 76 | business_unit_name character varying(100), |
| 77 | cost_center character varying(25), |
| 78 | fin_loc_code character varying(10), |
| 79 | silo_status character varying(10) |
| 80 | ); |
| 81 | |
| 82 | ALTER SEQUENCE dashboard_pg_db_common.seq_fn_user OWNED BY dashboard_pg_db_common.fn_user.user_id; |
| 83 | |
| 84 | -- this sequence is named in Fusion.hbm.xml |
| 85 | CREATE SEQUENCE IF NOT EXISTS dashboard_pg_db_common.seq_fn_role; |
| 86 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_role ( |
| 87 | role_id integer NOT NULL DEFAULT nextval('dashboard_pg_db_common.seq_fn_role') primary key, |
| 88 | role_name character varying(50) not null, |
| 89 | active_yn character varying(1) default 'y' not null, |
| 90 | priority numeric(4,0) |
| 91 | ); |
| 92 | ALTER SEQUENCE dashboard_pg_db_common.seq_fn_role OWNED BY dashboard_pg_db_common.fn_role.role_id; |
| 93 | |
| 94 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_audit_action ( |
| 95 | audit_action_id integer primary key, |
| 96 | class_name character varying(500) not null, |
| 97 | method_name character varying(50) not null, |
| 98 | audit_action_cd character varying(20) not null, |
| 99 | audit_action_desc character varying(200), |
| 100 | active_yn character varying(1) |
| 101 | ); |
| 102 | |
| 103 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_audit_action_log ( |
| 104 | audit_log_id serial primary key, |
| 105 | audit_action_cd character varying(200), |
| 106 | action_time timestamp, |
| 107 | user_id int, |
| 108 | class_name character varying(100), |
| 109 | method_name character varying(50), |
| 110 | success_msg character varying(20), |
| 111 | error_msg character varying(500) |
| 112 | ); |
| 113 | |
| 114 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_lu_activity ( |
| 115 | activity_cd character varying(50) not null primary key, |
| 116 | activity character varying(50) not null |
| 117 | ); |
| 118 | |
| 119 | -- this sequence is named in Fusion.hbm.xml |
| 120 | CREATE SEQUENCE IF NOT EXISTS dashboard_pg_db_common.seq_fn_audit_log; |
| 121 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_audit_log ( |
| 122 | log_id integer NOT NULL DEFAULT nextval('dashboard_pg_db_common.seq_fn_audit_log') primary key, |
| 123 | user_id int not null, |
| 124 | activity_cd character varying(50) not null, |
| 125 | audit_date timestamp default now() not null, |
| 126 | comments character varying(1000), |
| 127 | affected_record_id_bk character varying(500), |
| 128 | affected_record_id character varying(4000), |
| 129 | constraint fk_fn_audit_ref_209_fn_user foreign key (user_id) references dashboard_pg_db_common.fn_user(user_id) |
| 130 | ); |
| 131 | ALTER SEQUENCE dashboard_pg_db_common.seq_fn_audit_log OWNED BY dashboard_pg_db_common.fn_audit_log.log_id; |
| 132 | |
| 133 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_datasource ( |
| 134 | id serial primary key, |
| 135 | name character varying(50), |
| 136 | driver_name character varying(256), |
| 137 | server character varying(256), |
| 138 | port integer, |
| 139 | user_name character varying(256), |
| 140 | password character varying(256), |
| 141 | url character varying(256), |
| 142 | min_pool_size integer, |
| 143 | max_pool_size integer, |
| 144 | adapter_id integer, |
| 145 | ds_type character varying(20) |
| 146 | ); |
| 147 | |
| 148 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_function ( |
| 149 | function_cd character varying(30) not null primary key, |
| 150 | function_name character varying(50) not null |
| 151 | ); |
| 152 | |
| 153 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_lu_alert_method ( |
| 154 | alert_method_cd character varying(10) not null, |
| 155 | alert_method character varying(50) not null |
| 156 | ); |
| 157 | |
| 158 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_lu_broadcast_site ( |
| 159 | broadcast_site_cd character varying(50) not null, |
| 160 | broadcast_site_descr character varying(100) |
| 161 | ); |
| 162 | |
| 163 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_lu_call_times ( |
| 164 | call_time_id int not null, |
| 165 | call_time_amount int not null, |
| 166 | call_time_display character varying(50) not null |
| 167 | ); |
| 168 | |
| 169 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_lu_city ( |
| 170 | city_cd character varying(2) not null, |
| 171 | city character varying(100) not null, |
| 172 | state_cd character varying(2) not null, |
| 173 | primary key (city_cd, state_cd) |
| 174 | ); |
| 175 | |
| 176 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_lu_country ( |
| 177 | country_cd character varying(3) not null primary key, |
| 178 | country character varying(100) not null, |
| 179 | full_name character varying(100), |
| 180 | webphone_country_label character varying(30) |
| 181 | ); |
| 182 | |
| 183 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_lu_menu_set ( |
| 184 | menu_set_cd character varying(10) not null primary key, |
| 185 | menu_set_name character varying(50) not null |
| 186 | ); |
| 187 | |
| 188 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_lu_priority ( |
| 189 | priority_id int not null, |
| 190 | priority character varying(50) not null, |
| 191 | active_yn character(1) not null, |
| 192 | sort_order numeric(5,0) |
| 193 | ); |
| 194 | |
| 195 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_lu_role_type ( |
| 196 | role_type_id int not null, |
| 197 | role_type character varying(50) not null |
| 198 | ); |
| 199 | |
| 200 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_lu_state ( |
| 201 | state_cd character varying(2) not null, |
| 202 | state character varying(100) not null |
| 203 | ); |
| 204 | |
| 205 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_lu_tab_set ( |
| 206 | tab_set_cd character varying(30) not null, |
| 207 | tab_set_name character varying(50) not null |
| 208 | ); |
| 209 | |
| 210 | -- this sequence is named in Fusion.hbm.xml |
| 211 | CREATE SEQUENCE IF NOT EXISTS dashboard_pg_db_common.seq_fn_menu; |
| 212 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_menu ( |
| 213 | menu_id integer NOT NULL DEFAULT nextval('dashboard_pg_db_common.seq_fn_menu') primary key, |
| 214 | label character varying(100), |
| 215 | parent_id int, |
| 216 | sort_order numeric(4,0), |
| 217 | action character varying(200), |
| 218 | function_cd character varying(30), |
| 219 | active_yn character varying(1) default 'y' not null, |
| 220 | servlet character varying(50), |
| 221 | query_string character varying(200), |
| 222 | external_url character varying(200), |
| 223 | target character varying(25), |
| 224 | menu_set_cd character varying(10) default 'app', |
| 225 | separator_yn character(1) default 'n', |
| 226 | image_src character varying(100), |
| 227 | constraint fk_fn_menu_ref_196_fn_menu foreign key (parent_id) references dashboard_pg_db_common.fn_menu(menu_id), |
| 228 | constraint fk_fn_menu_menu_set_cd foreign key (menu_set_cd) references dashboard_pg_db_common.fn_lu_menu_set(menu_set_cd), |
| 229 | constraint fk_fn_menu_ref_223_fn_funct foreign key (function_cd) references dashboard_pg_db_common.fn_function(function_cd) |
| 230 | ); |
| 231 | ALTER SEQUENCE dashboard_pg_db_common.seq_fn_menu OWNED BY dashboard_pg_db_common.fn_menu.menu_id; |
| 232 | |
| 233 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_org ( |
| 234 | org_id int not null, |
| 235 | org_name character varying(50) not null, |
| 236 | access_cd character varying(10) |
| 237 | ); |
| 238 | |
| 239 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_restricted_url ( |
| 240 | restricted_url character varying(250) not null, |
| 241 | function_cd character varying(30) not null |
| 242 | ); |
| 243 | |
| 244 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_role_composite ( |
| 245 | parent_role_id int not null, |
| 246 | child_role_id int not null, |
| 247 | constraint fk_fn_role_composite_child foreign key (child_role_id) references dashboard_pg_db_common.fn_role(role_id), |
| 248 | constraint fk_fn_role_composite_parent foreign key (parent_role_id) references dashboard_pg_db_common.fn_role(role_id) |
| 249 | ); |
| 250 | |
| 251 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_role_function ( |
| 252 | role_id int not null, |
| 253 | function_cd character varying(30) not null, |
| 254 | constraint fk_fn_role__ref_198_fn_role foreign key (role_id) references dashboard_pg_db_common.fn_role(role_id) |
| 255 | ); |
| 256 | |
| 257 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_tab ( |
| 258 | tab_cd character varying(30) not null, |
| 259 | tab_name character varying(50) not null, |
| 260 | tab_descr character varying(100), |
| 261 | action character varying(100) not null, |
| 262 | function_cd character varying(30) not null, |
| 263 | active_yn character(1) not null, |
| 264 | sort_order int not null, |
| 265 | parent_tab_cd character varying(30), |
| 266 | tab_set_cd character varying(30) |
| 267 | ); |
| 268 | |
| 269 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_tab_selected ( |
| 270 | selected_tab_cd character varying(30) not null, |
| 271 | tab_uri character varying(40) not null |
| 272 | ); |
| 273 | |
| 274 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_user_pseudo_role ( |
| 275 | pseudo_role_id int not null, |
| 276 | user_id int not null |
| 277 | ); |
| 278 | |
| 279 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_user_role ( |
| 280 | user_id int not null, |
| 281 | role_id int not null, |
| 282 | priority numeric(4,0), |
| 283 | app_id int default 1, |
| 284 | constraint fk_fn_user__ref_172_fn_user foreign key (user_id) references dashboard_pg_db_common.fn_user(user_id), |
| 285 | constraint fk_fn_user__ref_175_fn_role foreign key (role_id) references dashboard_pg_db_common.fn_role(role_id) |
| 286 | ); |
| 287 | |
| 288 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_xmltype ( |
| 289 | id int not null, |
| 290 | xml_document text |
| 291 | ); |
| 292 | |
| 293 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.schema_info ( |
| 294 | schema_id character varying(25) not null, |
| 295 | schema_desc character varying(75) not null, |
| 296 | datasource_type character varying(100), |
| 297 | connection_url varchar(200) not null, |
| 298 | user_name varchar(45) not null, |
| 299 | password varchar(45) null default null, |
| 300 | driver_class varchar(100) not null, |
| 301 | min_pool_size int not null, |
| 302 | max_pool_size int not null, |
| 303 | idle_connection_test_period int not null |
| 304 | ); |
| 305 | |
| 306 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_app ( |
| 307 | app_id serial primary key, |
| 308 | app_name varchar(100) not null default '?', |
| 309 | app_image_url varchar(256) default null, |
| 310 | app_description varchar(512) default null, |
| 311 | app_notes varchar(4096) default null, |
| 312 | app_url varchar(256) default null, |
| 313 | app_alternate_url varchar(256) default null, |
| 314 | app_rest_endpoint varchar(2000) default null, |
| 315 | ml_app_name varchar(50) not null default '?', |
| 316 | ml_app_admin_id varchar(7) not null default '?', |
| 317 | mots_id int default null, |
| 318 | app_password varchar(256) not null default '?', |
| 319 | open char(1) default 'n', |
| 320 | enabled char(1) default 'y', |
| 321 | thumbnail bytea, |
| 322 | app_username varchar(50), |
| 323 | ueb_key varchar(256) default null, |
| 324 | ueb_secret varchar(256) default null, |
| 325 | ueb_topic_name varchar(256) default null |
| 326 | ); |
| 327 | |
| 328 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_workflow ( |
| 329 | id serial primary key, |
| 330 | name varchar(20) NOT NULL unique, |
| 331 | description varchar(500) DEFAULT NULL, |
| 332 | run_link varchar(300) DEFAULT NULL, |
| 333 | suspend_link varchar(300) DEFAULT NULL, |
| 334 | modified_link varchar(300) DEFAULT NULL, |
| 335 | active_yn varchar(300) DEFAULT NULL, |
| 336 | created varchar(300) DEFAULT NULL, |
| 337 | created_by int DEFAULT NULL, |
| 338 | modified varchar(300) DEFAULT NULL, |
| 339 | modified_by int DEFAULT NULL, |
| 340 | workflow_key varchar(50) DEFAULT NULL |
| 341 | ); |
| 342 | |
| 343 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_schedule_workflows ( |
| 344 | id_schedule_workflows serial primary key, |
| 345 | workflow_server_url varchar(45) default null, |
| 346 | workflow_key varchar(45) not null, |
| 347 | workflow_arguments varchar(45) default null, |
| 348 | startdatetimecron varchar(45) default null, |
| 349 | enddatetime timestamp default now(), |
| 350 | start_date_time timestamp default now(), |
| 351 | recurrence varchar(45) default null |
| 352 | ); |
| 353 | |
| 354 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_license ( |
| 355 | id int not null, |
| 356 | app_id int not null, |
| 357 | ip_address character varying(100) not null, |
| 358 | quantum_version_id int not null, |
| 359 | created_date timestamp default now(), |
| 360 | modified_date timestamp default now(), |
| 361 | created_id int, |
| 362 | modified_id int, |
| 363 | end_date timestamp default '2036-01-19 03:14:07' |
| 364 | ); |
| 365 | |
| 366 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_license_app ( |
| 367 | id int not null, |
| 368 | app_name character varying(100) not null, |
| 369 | ctxt_name character varying(100) |
| 370 | ); |
| 371 | |
| 372 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_license_contact ( |
| 373 | id int not null, |
| 374 | license_id integer, |
| 375 | sbcid character varying(20) |
| 376 | ); |
| 377 | |
| 378 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_license_history ( |
| 379 | id int not null, |
| 380 | license_id int, |
| 381 | app_id int, |
| 382 | ip_address character varying(100), |
| 383 | quantum_version_id int, |
| 384 | created_date timestamp default now(), |
| 385 | modified_date timestamp default now(), |
| 386 | created_id int, |
| 387 | modified_id int |
| 388 | ); |
| 389 | |
| 390 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_license_version ( |
| 391 | id int not null, |
| 392 | quantum_version character varying(25) |
| 393 | ); |
| 394 | |
| 395 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.fn_lu_message_location ( |
| 396 | message_location_id int primary key, |
| 397 | message_location_descr character varying(30) not null |
| 398 | ); |
| 399 | |
| 400 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.ecd_endpoint ( |
| 401 | user_id int not null primary key, |
| 402 | name character varying(64), |
| 403 | url character varying(512) |
| 404 | ); |
| 405 | |
| 406 | alter table dashboard_pg_db_common.ecd_endpoint |
| 407 | add constraint fk_ecd_endpoint_ref_fn_user foreign key (user_id) references dashboard_pg_db_common.fn_user(user_id); |
| 408 | |
| 409 | create view dashboard_pg_db_common.v_url_access as |
| 410 | select distinct m.action as url, |
| 411 | m.function_cd |
| 412 | from dashboard_pg_db_common.fn_menu m |
| 413 | where (m.action is not null) |
| 414 | union |
| 415 | select distinct t.action as url, |
| 416 | t.function_cd |
| 417 | from dashboard_pg_db_common.fn_tab t |
| 418 | where (t.action is not null) |
| 419 | union |
| 420 | select r.restricted_url as url, |
| 421 | r.function_cd |
| 422 | from dashboard_pg_db_common.fn_restricted_url r; |
| 423 | |
| 424 | alter table dashboard_pg_db_common.fn_audit_log |
| 425 | add constraint fk_fn_audit_ref_205_fn_lu_ac foreign key (activity_cd) references dashboard_pg_db_common.fn_lu_activity(activity_cd); |
| 426 | |
| 427 | alter table dashboard_pg_db_common.fn_role_function |
| 428 | add constraint fk_fn_role__ref_201_fn_funct foreign key (function_cd) references dashboard_pg_db_common.fn_function(function_cd); |
| 429 | |
| 430 | alter table dashboard_pg_db_common.fn_lu_alert_method |
| 431 | add constraint fn_lu_alert_method_alert_method_cd primary key (alert_method_cd); |
| 432 | |
| 433 | alter table dashboard_pg_db_common.fn_lu_broadcast_site |
| 434 | add constraint fn_lu_broadcast_site_broadcast_site_cd primary key (broadcast_site_cd); |
| 435 | |
| 436 | alter table dashboard_pg_db_common.fn_lu_call_times |
| 437 | add constraint fn_lu_call_times_call_time_id primary key (call_time_id); |
| 438 | |
| 439 | alter table dashboard_pg_db_common.fn_lu_priority |
| 440 | add constraint fn_lu_priority_priority_id primary key (priority_id); |
| 441 | |
| 442 | alter table dashboard_pg_db_common.fn_lu_role_type |
| 443 | add constraint fn_lu_role_type_role_type_id primary key (role_type_id); |
| 444 | |
| 445 | alter table dashboard_pg_db_common.fn_lu_state |
| 446 | add constraint fn_lu_state_state_cd primary key (state_cd); |
| 447 | |
| 448 | alter table dashboard_pg_db_common.fn_lu_tab_set |
| 449 | add constraint fn_lu_tab_set_tab_set_cd primary key (tab_set_cd); |
| 450 | |
| 451 | alter table dashboard_pg_db_common.fn_org |
| 452 | add constraint fn_org_org_id primary key (org_id); |
| 453 | |
| 454 | alter table dashboard_pg_db_common.fn_restricted_url |
| 455 | add constraint fn_restricted_url_restricted_urlfunction_cd primary key (restricted_url, function_cd); |
| 456 | |
| 457 | alter table dashboard_pg_db_common.fn_role_composite |
| 458 | add constraint fn_role_composite_parent_role_idchild_role_id primary key (parent_role_id, child_role_id); |
| 459 | |
| 460 | alter table dashboard_pg_db_common.fn_role_function |
| 461 | add constraint fn_role_function_role_idfunction_cd primary key (role_id, function_cd); |
| 462 | |
| 463 | alter table dashboard_pg_db_common.fn_tab |
| 464 | add constraint fn_tab_tab_cd primary key (tab_cd); |
| 465 | |
| 466 | alter table dashboard_pg_db_common.fn_tab_selected |
| 467 | add constraint fn_tab_selected_selected_tab_cdtab_uri primary key (selected_tab_cd, tab_uri); |
| 468 | |
| 469 | alter table dashboard_pg_db_common.fn_user_pseudo_role |
| 470 | add constraint fn_user_pseudo_role_pseudo_role_iduser_id primary key (pseudo_role_id, user_id); |
| 471 | |
| 472 | alter table dashboard_pg_db_common.fn_user_role |
| 473 | add constraint fn_user_role_user_idrole_id primary key (user_id, role_id, app_id); |
| 474 | |
| 475 | alter table dashboard_pg_db_common.fn_license |
| 476 | add constraint fn_license_id primary key (id); |
| 477 | |
| 478 | alter table dashboard_pg_db_common.fn_license_contact |
| 479 | add constraint fn_license_contact_id primary key (id); |
| 480 | |
| 481 | alter table dashboard_pg_db_common.fn_license_history |
| 482 | add constraint fn_license_history_id primary key (id); |
| 483 | |
| 484 | alter table dashboard_pg_db_common.fn_license_version |
| 485 | add constraint fn_license_version_id primary key (id); |
| 486 | |
| 487 | create index fn_audit_log_activity_cd on dashboard_pg_db_common.fn_audit_log using btree(activity_cd); |
| 488 | |
| 489 | create index fn_audit_log_user_id on dashboard_pg_db_common.fn_audit_log using btree(user_id); |
| 490 | |
| 491 | create index fn_menu_function_cd on dashboard_pg_db_common.fn_menu using btree(function_cd); |
| 492 | |
| 493 | create index fn_org_access_cd on dashboard_pg_db_common.fn_org using btree(access_cd); |
| 494 | |
| 495 | create index fn_role_function_function_cd on dashboard_pg_db_common.fn_role_function using btree (function_cd); |
| 496 | |
| 497 | create index fn_role_function_role_id on dashboard_pg_db_common.fn_role_function using btree(role_id); |
| 498 | |
| 499 | create index fn_user_address_id on dashboard_pg_db_common.fn_user using btree(address_id); |
| 500 | |
| 501 | create index fn_user_alert_method_cd on dashboard_pg_db_common.fn_user using btree (alert_method_cd); |
| 502 | |
| 503 | create unique index fn_user_hrid on dashboard_pg_db_common.fn_user using btree (hrid); |
| 504 | |
| 505 | create unique index fn_user_login_id on dashboard_pg_db_common.fn_user using btree(login_id); |
| 506 | |
| 507 | create index fn_user_org_id on dashboard_pg_db_common.fn_user using btree(org_id); |
| 508 | |
| 509 | create index fn_user_role_role_id on dashboard_pg_db_common.fn_user_role using btree(role_id); |
| 510 | |
| 511 | create index fn_user_role_user_id on dashboard_pg_db_common.fn_user_role using btree(user_id); |
| 512 | |
| 513 | create unique index fn_xmltype_id on dashboard_pg_db_common.fn_xmltype using btree(id); |
| 514 | |
| 515 | create index fk_fn_user__ref_178_fn_app_IDX on dashboard_pg_db_common.fn_user_role using btree(app_id); |
| 516 | |
| 517 | create index fn_license_app_id on dashboard_pg_db_common.fn_license_app using btree(id); |
| 518 | |
| 519 | alter table dashboard_pg_db_common.fn_user_role |
| 520 | add constraint fk_fn_user__ref_178_fn_app foreign key (app_id) references dashboard_pg_db_common.fn_app(app_id); |
| 521 | |
| 522 | alter table dashboard_pg_db_common.fn_tab |
| 523 | add constraint fk_fn_tab_function_cd foreign key (function_cd) references dashboard_pg_db_common.fn_function(function_cd); |
| 524 | |
| 525 | alter table dashboard_pg_db_common.fn_tab_selected |
| 526 | add constraint fk_fn_tab_selected_tab_cd foreign key (selected_tab_cd) references dashboard_pg_db_common.fn_tab(tab_cd); |
| 527 | |
| 528 | alter table dashboard_pg_db_common.fn_tab |
| 529 | add constraint fk_fn_tab_set_cd foreign key (tab_set_cd) references dashboard_pg_db_common.fn_lu_tab_set(tab_set_cd); |
| 530 | |
| 531 | alter table dashboard_pg_db_common.fn_user |
| 532 | add constraint fk_fn_user_ref_110_fn_org foreign key (org_id) references dashboard_pg_db_common.fn_org(org_id); |
| 533 | |
| 534 | alter table dashboard_pg_db_common.fn_user |
| 535 | add constraint fk_fn_user_ref_123_fn_lu_al foreign key (alert_method_cd) references dashboard_pg_db_common.fn_lu_alert_method(alert_method_cd); |
| 536 | |
| 537 | alter table dashboard_pg_db_common.fn_user |
| 538 | add constraint fk_fn_user_ref_197_fn_user foreign key (manager_id) references dashboard_pg_db_common.fn_user(user_id); |
| 539 | |
| 540 | alter table dashboard_pg_db_common.fn_user |
| 541 | add constraint fk_fn_user_ref_198_fn_user foreign key (created_id) references dashboard_pg_db_common.fn_user(user_id); |
| 542 | |
| 543 | alter table dashboard_pg_db_common.fn_user |
| 544 | add constraint fk_fn_user_ref_199_fn_user foreign key (modified_id) references dashboard_pg_db_common.fn_user(user_id); |
| 545 | |
| 546 | alter table dashboard_pg_db_common.fn_user_pseudo_role |
| 547 | add constraint fk_pseudo_role_pseudo_role_id foreign key (pseudo_role_id) references dashboard_pg_db_common.fn_role(role_id); |
| 548 | |
| 549 | alter table dashboard_pg_db_common.fn_user_pseudo_role |
| 550 | add constraint fk_pseudo_role_user_id foreign key (user_id) references dashboard_pg_db_common.fn_user(user_id); |
| 551 | |
| 552 | alter table dashboard_pg_db_common.fn_restricted_url |
| 553 | add constraint fk_restricted_url_function_cd foreign key (function_cd) references dashboard_pg_db_common.fn_function(function_cd); |
| 554 | |
| 555 | alter table dashboard_pg_db_common.fn_license |
| 556 | add constraint fn_license_r02 foreign key (quantum_version_id) references dashboard_pg_db_common.fn_license_version(id); |
| 557 | |
| 558 | |
| 559 | -- --------------------------------------------------------------------------------------------------------------- |
| 560 | -- This script populates tables for the ECOMP Controller Dashboard web app. |
| 561 | -- in the 1707 release with data for all versions. |
| 562 | -- --------------------------------------------------------------------------------------------------------------- |
| 563 | |
| 564 | --- SET SEARCH_PATH = (schema name); |
| 565 | |
| 566 | -- fn_lu_activity |
| 567 | Insert into dashboard_pg_db_common.fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('add_role','add_role'); |
| 568 | Insert into dashboard_pg_db_common.fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('remove_role','remove_role'); |
| 569 | Insert into dashboard_pg_db_common.fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('add_user_role','add_user_role'); |
| 570 | Insert into dashboard_pg_db_common.fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('remove_user_role','remove_user_role'); |
| 571 | Insert into dashboard_pg_db_common.fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('add_role_function','add_role_function'); |
| 572 | Insert into dashboard_pg_db_common.fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('remove_role_function','remove_role_function'); |
| 573 | Insert into dashboard_pg_db_common.fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('add_child_role','add_child_role'); |
| 574 | Insert into dashboard_pg_db_common.fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('remove_child_role','remove_child_role'); |
| 575 | Insert into dashboard_pg_db_common.fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('login','Login'); |
| 576 | Insert into dashboard_pg_db_common.fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('logout','Logout'); |
| 577 | |
| 578 | -- fn_lu_alert_method |
| 579 | Insert into dashboard_pg_db_common.fn_lu_alert_method (ALERT_METHOD_CD,ALERT_METHOD) values ('PHONE','Phone'); |
| 580 | Insert into dashboard_pg_db_common.fn_lu_alert_method (ALERT_METHOD_CD,ALERT_METHOD) values ('FAX','Fax'); |
| 581 | Insert into dashboard_pg_db_common.fn_lu_alert_method (ALERT_METHOD_CD,ALERT_METHOD) values ('PAGER','Pager'); |
| 582 | Insert into dashboard_pg_db_common.fn_lu_alert_method (ALERT_METHOD_CD,ALERT_METHOD) values ('EMAIL','Email'); |
| 583 | Insert into dashboard_pg_db_common.fn_lu_alert_method (ALERT_METHOD_CD,ALERT_METHOD) values ('SMS','SMS'); |
| 584 | |
| 585 | -- fn_lu_country |
| 586 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('YU','Yugoslavia','Yugoslavia',null); |
| 587 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('ZA','South Africa','South Africa',null); |
| 588 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('ZM','Zambia','Zambia',null); |
| 589 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('ZR','Zaire','Zaire',null); |
| 590 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('ZW','Zimbabwe','Zimbabwe',null); |
| 591 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AD','Andorra','Andorra',null); |
| 592 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AE','United Arab Emirates','United Arab Emirates',null); |
| 593 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AF','Afghanistan','Afghanistan',null); |
| 594 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AG','Antigua and Barbuda','Antigua and Barbuda',null); |
| 595 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AI','Anguilla','Anguilla',null); |
| 596 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AL','Albania','Albania',null); |
| 597 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AM','Armenia','Armenia',null); |
| 598 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AN','Netherlands Antilles','Netherlands Antilles',null); |
| 599 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AO','Angola','Angola',null); |
| 600 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AQ','Antarctica','Antarctica',null); |
| 601 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AR','Argentina','Argentina',null); |
| 602 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AS','American Samoa','American Samoa',null); |
| 603 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AT','Austria','Austria',null); |
| 604 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AU','Australia','Australia',null); |
| 605 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AW','Aruba','Aruba',null); |
| 606 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('AZ','Azerbaidjan','Azerbaidjan',null); |
| 607 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BA','Bosnia-Herzegovina','Bosnia-Herzegovina',null); |
| 608 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BB','Barbados','Barbados',null); |
| 609 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BD','Bangladesh','Bangladesh',null); |
| 610 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BE','Belgium','Belgium',null); |
| 611 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BF','Burkina Faso','Burkina Faso',null); |
| 612 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BG','Bulgaria','Bulgaria',null); |
| 613 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BH','Bahrain','Bahrain',null); |
| 614 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BI','Burundi','Burundi',null); |
| 615 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BJ','Benin','Benin',null); |
| 616 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BM','Bermuda','Bermuda',null); |
| 617 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BN','Brunei Darussalam','Brunei Darussalam',null); |
| 618 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BO','Bolivia','Bolivia',null); |
| 619 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BR','Brazil','Brazil',null); |
| 620 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BS','Bahamas','Bahamas',null); |
| 621 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BT','Bhutan','Bhutan',null); |
| 622 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BV','Bouvet Island','Bouvet Island',null); |
| 623 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BW','Botswana','Botswana',null); |
| 624 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BY','Belarus','Belarus',null); |
| 625 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('BZ','Belize','Belize',null); |
| 626 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CA','Canada','Canada',null); |
| 627 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CC','Cocos (Keeling) Islands','Cocos (Keeling) Islands',null); |
| 628 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CF','Central African Republic','Central African Republic',null); |
| 629 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CG','Congo','Congo',null); |
| 630 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CH','Switzerland','Switzerland',null); |
| 631 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CI','Ivory Coast (Cote D''Ivoire)','Ivory Coast (Cote D''Ivoire)',null); |
| 632 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CK','Cook Islands','Cook Islands',null); |
| 633 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CL','Chile','Chile',null); |
| 634 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CM','Cameroon','Cameroon',null); |
| 635 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CN','China','China','China'); |
| 636 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CO','Colombia','Colombia',null); |
| 637 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CR','Costa Rica','Costa Rica',null); |
| 638 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CS','Former Czechoslovakia','Former Czechoslovakia',null); |
| 639 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CU','Cuba','Cuba',null); |
| 640 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CV','Cape Verde','Cape Verde',null); |
| 641 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CX','Christmas Island','Christmas Island',null); |
| 642 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CY','Cyprus','Cyprus',null); |
| 643 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('CZ','Czech Republic','Czech Republic',null); |
| 644 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('DE','Germany','Germany',null); |
| 645 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('DJ','Djibouti','Djibouti',null); |
| 646 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('DK','Denmark','Denmark',null); |
| 647 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('DM','Dominica','Dominica',null); |
| 648 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('DO','Dominican Republic','Dominican Republic',null); |
| 649 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('DZ','Algeria','Algeria',null); |
| 650 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('EC','Ecuador','Ecuador',null); |
| 651 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('EE','Estonia','Estonia',null); |
| 652 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('EG','Egypt','Egypt',null); |
| 653 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('EH','Western Sahara','Western Sahara',null); |
| 654 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('ER','Eritrea','Eritrea',null); |
| 655 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('ES','Spain','Spain',null); |
| 656 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('ET','Ethiopia','Ethiopia',null); |
| 657 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('FI','Finland','Finland',null); |
| 658 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('FJ','Fiji','Fiji',null); |
| 659 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('FK','Falkland Islands','Falkland Islands',null); |
| 660 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('FM','Micronesia','Micronesia',null); |
| 661 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('FO','Faroe Islands','Faroe Islands',null); |
| 662 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('FR','France','France',null); |
| 663 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('FX','France (European Territory)','France (European Territory)',null); |
| 664 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GA','Gabon','Gabon',null); |
| 665 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GB','Great Britain','Great Britain',null); |
| 666 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GD','Grenada','Grenada',null); |
| 667 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GE','Georgia','Georgia',null); |
| 668 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GF','French Guyana','French Guyana',null); |
| 669 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GH','Ghana','Ghana',null); |
| 670 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GI','Gibraltar','Gibraltar',null); |
| 671 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GL','Greenland','Greenland',null); |
| 672 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GM','Gambia','Gambia',null); |
| 673 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GN','Guinea','Guinea',null); |
| 674 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GP','Guadeloupe (French)','Guadeloupe (French)',null); |
| 675 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GQ','Equatorial Guinea','Equatorial Guinea',null); |
| 676 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GR','Greece','Greece',null); |
| 677 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GS','S. Georgia and S. Sandwich Isls.','S. Georgia and S. Sandwich Isls.',null); |
| 678 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GT','Guatemala','Guatemala',null); |
| 679 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GU','Guam (USA)','Guam (USA)',null); |
| 680 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GW','Guinea Bissau','Guinea Bissau',null); |
| 681 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('GY','Guyana','Guyana',null); |
| 682 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('HK','Hong Kong','Hong Kong',null); |
| 683 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('HM','Heard and McDonald Islands','Heard and McDonald Islands',null); |
| 684 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('HN','Honduras','Honduras',null); |
| 685 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('HR','Croatia','Croatia',null); |
| 686 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('HT','Haiti','Haiti',null); |
| 687 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('HU','Hungary','Hungary',null); |
| 688 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('ID','Indonesia','Indonesia',null); |
| 689 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('IE','Ireland','Ireland',null); |
| 690 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('IL','Israel','Israel',null); |
| 691 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('IN','India','India',null); |
| 692 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('IO','British Indian Ocean Territory','British Indian Ocean Territory',null); |
| 693 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('IQ','Iraq','Iraq',null); |
| 694 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('IR','Iran','Iran',null); |
| 695 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('IS','Iceland','Iceland',null); |
| 696 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('IT','Italy','Italy',null); |
| 697 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('JM','Jamaica','Jamaica',null); |
| 698 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('JO','Jordan','Jordan',null); |
| 699 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('JP','Japan','Japan',null); |
| 700 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('KE','Kenya','Kenya',null); |
| 701 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('KG','Kyrgyzstan','Kyrgyzstan',null); |
| 702 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('KH','Cambodia','Cambodia',null); |
| 703 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('KI','Kiribati','Kiribati',null); |
| 704 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('KM','Comoros','Comoros',null); |
| 705 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('KN','Saint Kitts and Nevis Anguilla','Saint Kitts and Nevis Anguilla',null); |
| 706 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('KP','North Korea','North Korea',null); |
| 707 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('KR','South Korea','South Korea',null); |
| 708 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('KW','Kuwait','Kuwait',null); |
| 709 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('KY','Cayman Islands','Cayman Islands',null); |
| 710 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('KZ','Kazakhstan','Kazakhstan',null); |
| 711 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('LA','Laos','Laos',null); |
| 712 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('LB','Lebanon','Lebanon',null); |
| 713 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('LC','Saint Lucia','Saint Lucia',null); |
| 714 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('LI','Liechtenstein','Liechtenstein',null); |
| 715 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('LK','Sri Lanka','Sri Lanka',null); |
| 716 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('LR','Liberia','Liberia',null); |
| 717 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('LS','Lesotho','Lesotho',null); |
| 718 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('LT','Lithuania','Lithuania',null); |
| 719 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('LU','Luxembourg','Luxembourg',null); |
| 720 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('LV','Latvia','Latvia',null); |
| 721 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('LY','Libya','Libya',null); |
| 722 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MA','Morocco','Morocco',null); |
| 723 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MC','Monaco','Monaco',null); |
| 724 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MD','Moldavia','Moldavia',null); |
| 725 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MG','Madagascar','Madagascar',null); |
| 726 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MH','Marshall Islands','Marshall Islands',null); |
| 727 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MK','Macedonia','Macedonia',null); |
| 728 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('ML','Mali','Mali',null); |
| 729 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MM','Myanmar','Myanmar',null); |
| 730 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MN','Mongolia','Mongolia',null); |
| 731 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MO','Macau','Macau',null); |
| 732 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MP','Northern Mariana Islands','Northern Mariana Islands',null); |
| 733 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MQ','Martinique (French)','Martinique (French)',null); |
| 734 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MR','Mauritania','Mauritania',null); |
| 735 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MS','Montserrat','Montserrat',null); |
| 736 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MT','Malta','Malta',null); |
| 737 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MU','Mauritius','Mauritius',null); |
| 738 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MV','Maldives','Maldives',null); |
| 739 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MW','Malawi','Malawi',null); |
| 740 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MX','Mexico','Mexico','Mexico'); |
| 741 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MY','Malaysia','Malaysia',null); |
| 742 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('MZ','Mozambique','Mozambique',null); |
| 743 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('NA','Namibia','Namibia',null); |
| 744 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('NC','New Caledonia (French)','New Caledonia (French)',null); |
| 745 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('NE','Niger','Niger',null); |
| 746 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('NF','Norfolk Island','Norfolk Island',null); |
| 747 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('NG','Nigeria','Nigeria',null); |
| 748 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('NI','Nicaragua','Nicaragua',null); |
| 749 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('NL','Netherlands','Netherlands',null); |
| 750 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('NO','Norway','Norway',null); |
| 751 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('NP','Nepal','Nepal',null); |
| 752 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('NR','Nauru','Nauru',null); |
| 753 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('NU','Niue','Niue',null); |
| 754 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('NZ','New Zealand','New Zealand',null); |
| 755 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('OM','Oman','Oman',null); |
| 756 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('PA','Panama','Panama',null); |
| 757 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('PE','Peru','Peru',null); |
| 758 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('PF','Polynesia (French)','Polynesia (French)',null); |
| 759 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('PG','Papua New Guinea','Papua New Guinea',null); |
| 760 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('PH','Philippines','Philippines',null); |
| 761 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('PK','Pakistan','Pakistan',null); |
| 762 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('PL','Poland','Poland',null); |
| 763 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('PM','Saint Pierre and Miquelon','Saint Pierre and Miquelon',null); |
| 764 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('PN','Pitcairn Island','Pitcairn Island',null); |
| 765 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('PR','Puerto Rico','Puerto Rico',null); |
| 766 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('PT','Portugal','Portugal',null); |
| 767 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('PW','Palau','Palau',null); |
| 768 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('PY','Paraguay','Paraguay',null); |
| 769 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('QA','Qatar','Qatar',null); |
| 770 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('RE','Reunion (French)','Reunion (French)',null); |
| 771 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('RO','Romania','Romania',null); |
| 772 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('RU','Russian Federation','Russian Federation',null); |
| 773 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('RW','Rwanda','Rwanda',null); |
| 774 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SA','Saudi Arabia','Saudi Arabia',null); |
| 775 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SB','Solomon Islands','Solomon Islands',null); |
| 776 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SC','Seychelles','Seychelles',null); |
| 777 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SD','Sudan','Sudan',null); |
| 778 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SE','Sweden','Sweden',null); |
| 779 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SG','Singapore','Singapore',null); |
| 780 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SH','Saint Helena','Saint Helena',null); |
| 781 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SI','Slovenia','Slovenia',null); |
| 782 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SJ','Svalbard and Jan Mayen Islands','Svalbard and Jan Mayen Islands',null); |
| 783 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SK','Slovak Republic','Slovak Republic',null); |
| 784 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SL','Sierra Leone','Sierra Leone',null); |
| 785 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SM','San Marino','San Marino',null); |
| 786 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SN','Senegal','Senegal',null); |
| 787 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SO','Somalia','Somalia',null); |
| 788 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SR','Suriname','Suriname',null); |
| 789 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('ST','Saint Tome (Sao Tome) and Principe','Saint Tome (Sao Tome) and Principe',null); |
| 790 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SU','Former USSR','Former USSR',null); |
| 791 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SV','El Salvador','El Salvador',null); |
| 792 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SY','Syria','Syria',null); |
| 793 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('SZ','Swaziland','Swaziland',null); |
| 794 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TC','Turks and Caicos Islands','Turks and Caicos Islands',null); |
| 795 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TD','Chad','Chad',null); |
| 796 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TF','French Southern Territories','French Southern Territories',null); |
| 797 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TG','Togo','Togo',null); |
| 798 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TH','Thailand','Thailand',null); |
| 799 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TJ','Tadjikistan','Tadjikistan',null); |
| 800 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TK','Tokelau','Tokelau',null); |
| 801 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TM','Turkmenistan','Turkmenistan',null); |
| 802 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TN','Tunisia','Tunisia',null); |
| 803 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TO','Tonga','Tonga',null); |
| 804 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TP','East Timor','East Timor',null); |
| 805 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TR','Turkey','Turkey',null); |
| 806 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TT','Trinidad and Tobago','Trinidad and Tobago',null); |
| 807 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TV','Tuvalu','Tuvalu',null); |
| 808 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TW','Taiwan','Taiwan',null); |
| 809 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('TZ','Tanzania','Tanzania',null); |
| 810 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('UA','Ukraine','Ukraine',null); |
| 811 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('UG','Uganda','Uganda',null); |
| 812 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('UK','United Kingdom','United Kingdom',null); |
| 813 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('UM','USA Minor Outlying Islands','USA Minor Outlying Islands',null); |
| 814 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('US','United States','United States','USA'); |
| 815 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('UY','Uruguay','Uruguay',null); |
| 816 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('UZ','Uzbekistan','Uzbekistan',null); |
| 817 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('VA','Vatican City State','Vatican City State',null); |
| 818 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('VC','Saint Vincent and Grenadines','Saint Vincent and Grenadines',null); |
| 819 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('VE','Venezuela','Venezuela',null); |
| 820 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('VG','Virgin Islands (British)','Virgin Islands (British)',null); |
| 821 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('VI','Virgin Islands (USA)','Virgin Islands (USA)',null); |
| 822 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('VN','Vietnam','Vietnam',null); |
| 823 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('VU','Vanuatu','Vanuatu',null); |
| 824 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('WF','Wallis and Futuna Islands','Wallis and Futuna Islands',null); |
| 825 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('WS','Samoa','Samoa',null); |
| 826 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('YE','Yemen','Yemen',null); |
| 827 | Insert into dashboard_pg_db_common.fn_lu_country (COUNTRY_CD,COUNTRY,FULL_NAME,WEBPHONE_COUNTRY_LABEL) values ('YT','Mayotte','Mayotte',null); |
| 828 | |
| 829 | -- fn_lu_menu_set |
| 830 | Insert into dashboard_pg_db_common.fn_lu_menu_set (MENU_SET_CD,MENU_SET_NAME) values ('APP','Application Menu'); |
| 831 | |
| 832 | -- fn_lu_priority |
| 833 | Insert into dashboard_pg_db_common.fn_lu_priority (PRIORITY_ID,PRIORITY,ACTIVE_YN,SORT_ORDER) values (10,'Low','Y',10); |
| 834 | Insert into dashboard_pg_db_common.fn_lu_priority (PRIORITY_ID,PRIORITY,ACTIVE_YN,SORT_ORDER) values (20,'Normal','Y',20); |
| 835 | Insert into dashboard_pg_db_common.fn_lu_priority (PRIORITY_ID,PRIORITY,ACTIVE_YN,SORT_ORDER) values (30,'High','Y',30); |
| 836 | Insert into dashboard_pg_db_common.fn_lu_priority (PRIORITY_ID,PRIORITY,ACTIVE_YN,SORT_ORDER) values (40,'Urgent','Y',40); |
| 837 | Insert into dashboard_pg_db_common.fn_lu_priority (PRIORITY_ID,PRIORITY,ACTIVE_YN,SORT_ORDER) values (50,'Fatal','Y',50); |
| 838 | |
| 839 | -- fn_lu_state |
| 840 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('NJ','NJ - New Jersey'); |
| 841 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('NY','NY - New York'); |
| 842 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('CA','CA - California'); |
| 843 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('CO','CO - Colorado'); |
| 844 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('FL','FL - Florida'); |
| 845 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('GA','GA - Georgia'); |
| 846 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('VA','VA - Virginia'); |
| 847 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('KY','KY - Kentucky'); |
| 848 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('TX','TX - Texas'); |
| 849 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('AK','AK - Alaska'); |
| 850 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('AL','AL - Alabama'); |
| 851 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('AR','AR - Arkansas'); |
| 852 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('AZ','AZ - Arizona'); |
| 853 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('CT','CT - Connecticut'); |
| 854 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('DC','DC - District Of Columbia'); |
| 855 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('DE','DE - Delaware'); |
| 856 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('HI','HI - Hawaii'); |
| 857 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('ID','ID - Idaho'); |
| 858 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('IL','IL - Illinois'); |
| 859 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('IN','IN - Indiana'); |
| 860 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('IA','IA - Iowa'); |
| 861 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('KS','KS - Kansas'); |
| 862 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('LA','LA - Louisiana'); |
| 863 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('MA','MA - Massachusetts'); |
| 864 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('MD','MD - Maryland'); |
| 865 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('ME','ME - Maine'); |
| 866 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('MI','MI - Michigan'); |
| 867 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('MN','MN - Minnesota'); |
| 868 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('MO','MO - Missouri'); |
| 869 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('MS','MS - Mississippi'); |
| 870 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('MT','MT - Montana'); |
| 871 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('NC','NC - North Carolina'); |
| 872 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('ND','ND - North Dakota'); |
| 873 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('NE','NE - Nebraska'); |
| 874 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('NH','NH - New Hampshire'); |
| 875 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('NM','NM - New Mexico'); |
| 876 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('NV','NV - Nevada'); |
| 877 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('OH','OH - Ohio'); |
| 878 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('OK','OK - Oklahoma'); |
| 879 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('OR','OR - Oregon'); |
| 880 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('PA','PA - Pennsylvania'); |
| 881 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('PR','PR - Puerto Rico'); |
| 882 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('RI','RI - Rhode Island'); |
| 883 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('SC','SC - South Carolina'); |
| 884 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('SD','SD - South Dakota'); |
| 885 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('TN','TN - Tennessee'); |
| 886 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('UT','UT - Utah'); |
| 887 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('VT','VT - Vermont'); |
| 888 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('WA','WA - Washington'); |
| 889 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('WV','WV - West Virginia'); |
| 890 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('WI','WI - Wisconsin'); |
| 891 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('WY','WY - Wyoming'); |
| 892 | Insert into dashboard_pg_db_common.fn_lu_state (STATE_CD,STATE) values ('VI','VI-Virgin Island'); |
| 893 | |
| 894 | -- fn_lu_tab_set |
| 895 | Insert into dashboard_pg_db_common.fn_lu_tab_set (TAB_SET_CD,TAB_SET_NAME) values ('APP','Application Tabs'); |
| 896 | |
| 897 | -- fn_lu_timezone |
| 898 | Insert into dashboard_pg_db_common.fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (10,'US/Eastern','US/Eastern'); |
| 899 | Insert into dashboard_pg_db_common.fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (20,'US/Central','US/Central'); |
| 900 | Insert into dashboard_pg_db_common.fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (30,'US/Mountain','US/Mountain'); |
| 901 | Insert into dashboard_pg_db_common.fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (40,'US/Arizona','America/Phoenix'); |
| 902 | Insert into dashboard_pg_db_common.fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (50,'US/Pacific','US/Pacific'); |
| 903 | Insert into dashboard_pg_db_common.fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (60,'US/Alaska','US/Alaska'); |
| 904 | Insert into dashboard_pg_db_common.fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (70,'US/Hawaii','US/Hawaii'); |
| 905 | |
| 906 | -- fn_function |
| 907 | Insert into dashboard_pg_db_common.fn_function (FUNCTION_CD,FUNCTION_NAME) values ('login','Login'); |
| 908 | Insert into dashboard_pg_db_common.fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_ecd','Home Menu'); |
| 909 | Insert into dashboard_pg_db_common.fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_inventory','Inventory Menu'); |
| 910 | Insert into dashboard_pg_db_common.fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_consul','Consul Menu'); |
| 911 | Insert into dashboard_pg_db_common.fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_profile','Profile Menu'); |
| 912 | Insert into dashboard_pg_db_common.fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_profile_create','Profile Create'); |
| 913 | Insert into dashboard_pg_db_common.fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_profile_import','Profile Import'); |
| 914 | Insert into dashboard_pg_db_common.fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_admin','Admin Menu'); |
| 915 | Insert into dashboard_pg_db_common.fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_logout','Logout Menu'); |
| 916 | |
| 917 | -- fn_menu |
| 918 | INSERT INTO dashboard_pg_db_common.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) |
| 919 | VALUES (1, 'Root', NULL, 10, 'ecd', 'menu_ecd', 'N', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); |
| 920 | INSERT INTO dashboard_pg_db_common.fn_menu |
| 921 | (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) |
| 922 | VALUES (30001,'Home', 1, 15,'ecd#', 'menu_ecd', 'Y','N/A','N/A','N/A','N/A','APP','N','icon-building-home'); |
| 923 | INSERT INTO dashboard_pg_db_common.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) |
| 924 | VALUES (30007,'System Health', 1, 45,'#', 'menu_consul', 'Y','N/A','N/A','N/A','N/A','APP','N','icon-datanetwork-softwareasaservice'); |
| 925 | INSERT INTO dashboard_pg_db_common.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) |
| 926 | VALUES (30008,'Service Health', 30007, 50,'ecd#/sh', 'menu_consul', 'Y','N/A','N/A','N/A','N/A','APP','N',NULL); |
| 927 | INSERT INTO dashboard_pg_db_common.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) |
| 928 | VALUES (30009,'Node Health', 30007, 55,'ecd#/nh', 'menu_consul', 'Y','N/A','N/A','N/A','N/A','APP','N',NULL); |
| 929 | INSERT INTO dashboard_pg_db_common.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) |
| 930 | VALUES (30010,'Data Centers', 30007, 60,'ecd#/dc', 'menu_consul', 'N','N/A','N/A','N/A','N/A','APP','N',NULL); |
| 931 | INSERT INTO dashboard_pg_db_common.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) |
| 932 | VALUES (30011,'Inventory', 1, 25,'#', 'menu_inventory', 'Y','N/A','N/A','N/A','N/A','APP','N','icon-building-door'); |
| 933 | INSERT INTO dashboard_pg_db_common.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) |
| 934 | VALUES (30012,'Blueprints', 30011, 35,'ecd#/ibp', 'menu_inventory', 'Y','N/A','N/A','N/A','N/A','APP','N',NULL); |
| 935 | INSERT INTO dashboard_pg_db_common.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) |
| 936 | VALUES (30013,'Deployments', 30011, 40,'ecd#/idep', 'menu_inventory', 'Y','N/A','N/A','N/A','N/A','APP','N',NULL); |
| 937 | INSERT INTO dashboard_pg_db_common.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) |
| 938 | VALUES (9, 'Users', 1, 90, '#', 'menu_profile', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-people-oneperson'); |
| 939 | INSERT INTO dashboard_pg_db_common.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) |
| 940 | VALUES (930, 'Search', 9, 15, 'ecd#/profile_search', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); |
| 941 | INSERT INTO dashboard_pg_db_common.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) |
| 942 | VALUES (94, 'Self', 9, 40, 'ecd#/self_profile', 'menu_profile', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); |
| 943 | INSERT INTO dashboard_pg_db_common.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) |
| 944 | VALUES (10, 'Admin', 1, 110, '#', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', 'icon-controls-settingsconnectedactivity'); |
| 945 | INSERT INTO dashboard_pg_db_common.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) |
| 946 | VALUES (101, 'Roles', 10, 20, 'ecd#/role_list', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); |
| 947 | INSERT INTO dashboard_pg_db_common.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) |
| 948 | VALUES (102, 'Role Functions', 10, 30, 'ecd#/role_function_list', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); |
| 949 | INSERT INTO dashboard_pg_db_common.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) |
| 950 | VALUES (105, 'Cache Admin', 10, 40, 'ecd#/jcs_admin', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); |
| 951 | INSERT INTO dashboard_pg_db_common.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) |
| 952 | VALUES (108, 'Usage', 10, 80, 'ecd#/usage_list', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); |
| 953 | INSERT INTO dashboard_pg_db_common.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) |
| 954 | VALUES (150022, 'Menus', 10, 60, 'ecd#/admin_menu_edit', 'menu_admin', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); |
| 955 | |
| 956 | -- fn_restricted_url |
| 957 | INSERT INTO dashboard_pg_db_common.fn_restricted_url (restricted_url, function_cd) VALUES ('role.htm','menu_admin'); |
| 958 | INSERT INTO dashboard_pg_db_common.fn_restricted_url (restricted_url, function_cd) VALUES ('role_function.htm','menu_admin'); |
| 959 | INSERT INTO dashboard_pg_db_common.fn_restricted_url (restricted_url, function_cd) VALUES ('profile.htm','menu_profile_create'); |
| 960 | |
| 961 | -- fn_role |
| 962 | Insert into dashboard_pg_db_common.fn_role (ROLE_ID,ROLE_NAME,ACTIVE_YN,PRIORITY) values (1,'System Administrator','Y',1); |
| 963 | Insert into dashboard_pg_db_common.fn_role (ROLE_ID,ROLE_NAME,ACTIVE_YN,PRIORITY) values (2,'Write Access','Y',2); |
| 964 | Insert into dashboard_pg_db_common.fn_role (ROLE_ID,ROLE_NAME,ACTIVE_YN,PRIORITY) values (3,'Read Access','Y',3); |
| 965 | Insert into dashboard_pg_db_common.fn_role (ROLE_ID,ROLE_NAME,ACTIVE_YN,PRIORITY) values (16,'Standard User','Y',5); |
| 966 | |
| 967 | -- fn_role_composite |
| 968 | Insert into dashboard_pg_db_common.fn_role_composite (PARENT_ROLE_ID,CHILD_ROLE_ID) values (1,16); |
| 969 | Insert into dashboard_pg_db_common.fn_role_composite (PARENT_ROLE_ID,CHILD_ROLE_ID) values (1,2); |
| 970 | Insert into dashboard_pg_db_common.fn_role_composite (PARENT_ROLE_ID,CHILD_ROLE_ID) values (1,3); |
| 971 | Insert into dashboard_pg_db_common.fn_role_composite (PARENT_ROLE_ID,CHILD_ROLE_ID) values (2,3); |
| 972 | |
| 973 | -- fn_role_function |
| 974 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'login'); |
| 975 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_ecd'); |
| 976 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_inventory'); |
| 977 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_consul'); |
| 978 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_profile'); |
| 979 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_admin'); |
| 980 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_profile_create'); |
| 981 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_profile_import'); |
| 982 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_logout'); |
| 983 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (2,'login'); |
| 984 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (2,'menu_ecd'); |
| 985 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (2,'menu_inventory'); |
| 986 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (2,'menu_consul'); |
| 987 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (2,'menu_profile'); |
| 988 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (2,'menu_logout'); |
| 989 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (3,'login'); |
| 990 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (3,'menu_ecd'); |
| 991 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (3,'menu_inventory'); |
| 992 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (3,'menu_consul'); |
| 993 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (3,'menu_profile'); |
| 994 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (3,'menu_logout'); |
| 995 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'login'); |
| 996 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_ecd'); |
| 997 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_inventory'); |
| 998 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_consul'); |
| 999 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_profile'); |
| 1000 | Insert into dashboard_pg_db_common.fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_logout'); |
| 1001 | |
| 1002 | -- fn_user |
| 1003 | -- This row defines a superuser which is accepted by login_extern.htm |
| 1004 | -- The superuser entry is disabled in this checked-in version, ACTIVE = N, |
| 1005 | -- because it is a security hole that should not exist in IST, ETE and PROD. |
| 1006 | Insert into dashboard_pg_db_common.fn_user |
| 1007 | (USER_ID,ORG_ID,MANAGER_ID,FIRST_NAME,MIDDLE_NAME,LAST_NAME,PHONE,FAX,CELLULAR,EMAIL,ADDRESS_ID,ALERT_METHOD_CD,HRID,ORG_USER_ID,ORG_CODE,LOGIN_ID,LOGIN_PWD,LAST_LOGIN_DATE,ACTIVE_YN,CREATED_ID,CREATED_DATE,MODIFIED_ID,MODIFIED_DATE,IS_INTERNAL_YN,ADDRESS_LINE_1,ADDRESS_LINE_2,CITY,STATE_CD,ZIP_CODE,COUNTRY_CD,LOCATION_CLLI,ORG_MANAGER_USERID,COMPANY,DEPARTMENT_NAME,JOB_TITLE,TIMEZONE,DEPARTMENT,BUSINESS_UNIT,BUSINESS_UNIT_NAME,COST_CENTER,FIN_LOC_CODE,SILO_STATUS) |
| 1008 | values |
| 1009 | (1,null,null,'Super',null,'User','908-901-2494',null,null,'email@ecomp.att.com',null,null,null,'su1234',null,'su','fusion',to_date('21-AUG-14','%d-%M-%Y'),'Y',null,to_date('15-DEC-05','%d-%M-%Y'),1,to_date('21-AUG-14','%d-%M-%Y'),'N',null,null,null,'NJ',null,'US',null,null,null,null,null,10,null,null,null,null,null,null) |
| 1010 | ; |
| 1011 | |
| 1012 | -- fn_app |
| 1013 | -- Use name "DMAAP-BC-APP" (originally "Default") |
| 1014 | Insert into dashboard_pg_db_common.fn_app (APP_ID,APP_NAME,APP_IMAGE_URL,APP_DESCRIPTION,APP_NOTES,APP_URL,APP_ALTERNATE_URL,APP_REST_ENDPOINT,ML_APP_NAME,ML_APP_ADMIN_ID,MOTS_ID,APP_PASSWORD,OPEN,ENABLED,THUMBNAIL,APP_USERNAME,UEB_KEY,UEB_SECRET,UEB_TOPIC_NAME) VALUES (1,'EC-DASH-APP','assets/images/tmp/portal1.png','Some Default Description','Some Default Note','http://www.att.com','http://www.att.com',null,'ECPP','?','1','JuCerIRKt/faEcx8QdgncLEEv+IOZjpHe7Pi5DEPqKs=','N','Y',null,'Default',null,null,'ECOMP-PORTAL-INBOX'); |
| 1015 | |
| 1016 | -- fn_user_role |
| 1017 | Insert into dashboard_pg_db_common.fn_user_role (USER_ID,ROLE_ID,PRIORITY,APP_ID) values (1,1,null,1); |
| 1018 | |
| 1019 | -- --------------------------------------------------------------------------------------------------------------- |
| 1020 | -- This script populates tables for the ECOMP Controller Dashboard web app. |
| 1021 | -- in the 1707 release with data for the internal AT&T version. |
| 1022 | -- --------------------------------------------------------------------------------------------------------------- |
| 1023 | |
| 1024 | --- SET SEARCH_PATH = ecd_att_1707; |
| 1025 | |
| 1026 | -- fn_menu |
| 1027 | INSERT INTO dashboard_pg_db_common.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) |
| 1028 | VALUES (92, 'Import from WEBPHONE', 9, 30, 'ecd#/post_search', 'menu_profile_import', 'Y', NULL, NULL, NULL, NULL, 'APP', 'N', NULL); |
| 1029 | |
| 1030 | |
| 1031 | ALTER ROLE dashboard_pg_admin SET search_path TO dashboard_pg_db_common; |
| 1032 | |
| 1033 | -- --------------------------------------------------------------------------------------------------------------- |
| 1034 | -- This script creates and populates component table for the ECOMP Controller Dashboard web app. |
| 1035 | -- --------------------------------------------------------------------------------------------------------------- |
| 1036 | |
| 1037 | CREATE SEQUENCE IF NOT EXISTS dashboard_pg_db_common.seq_ecd_component; |
| 1038 | CREATE TABLE IF NOT EXISTS dashboard_pg_db_common.ecd_component ( |
| 1039 | ecd_component_id integer NOT NULL DEFAULT nextval('dashboard_pg_db_common.seq_ecd_component') primary key, |
| 1040 | ecd_component_name varchar(80), |
| 1041 | ecd_component_display varchar(80)); |
| 1042 | |
| 1043 | ALTER SEQUENCE dashboard_pg_db_common.seq_ecd_component OWNED BY dashboard_pg_db_common.ecd_component.ecd_component_id; |
| 1044 | |
| 1045 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1046 | ecd_component_name, ecd_component_display) |
| 1047 | VALUES ('controller', 'CONTROLLER'); |
| 1048 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1049 | ecd_component_name, ecd_component_display) |
| 1050 | VALUES ('mso', 'MSO'); |
| 1051 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1052 | ecd_component_name, ecd_component_display) |
| 1053 | VALUES ('appc', 'APP-C'); |
| 1054 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1055 | ecd_component_name, ecd_component_display) |
| 1056 | VALUES ('clamp', 'CLAMP'); |
| 1057 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1058 | ecd_component_name, ecd_component_display) |
| 1059 | VALUES ('scheduler', 'ECOMP SCHEDULER'); |
| 1060 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1061 | ecd_component_name, ecd_component_display) |
| 1062 | VALUES ('policy', 'POLICY'); |
| 1063 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1064 | ecd_component_name, ecd_component_display) |
| 1065 | VALUES ('vid', 'VID'); |
| 1066 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1067 | ecd_component_name, ecd_component_display) |
| 1068 | VALUES ('conductor', 'CONDUCTOR'); |
| 1069 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1070 | ecd_component_name, ecd_component_display) |
| 1071 | VALUES ('eipam', 'EIPAM'); |
| 1072 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1073 | ecd_component_name, ecd_component_display) |
| 1074 | VALUES ('sdc', 'ASDC'); |
| 1075 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1076 | ecd_component_name, ecd_component_display) |
| 1077 | VALUES ('sdncp', 'SDN-CP'); |
| 1078 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1079 | ecd_component_name, ecd_component_display) |
| 1080 | VALUES ('sdngc', 'SDN-GC'); |
| 1081 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1082 | ecd_component_name, ecd_component_display) |
| 1083 | VALUES ('sniro', 'SNIRO'); |
| 1084 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1085 | ecd_component_name, ecd_component_display) |
| 1086 | VALUES ('valet', 'E-VALET'); |
| 1087 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1088 | ecd_component_name, ecd_component_display) |
| 1089 | VALUES ('cpads-sdba', 'SDBA'); |
| 1090 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1091 | ecd_component_name, ecd_component_display) |
| 1092 | VALUES ('pdasms', 'PDAS'); |
| 1093 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1094 | ecd_component_name, ecd_component_display) |
| 1095 | VALUES ('aai', 'A&AI'); |
| 1096 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1097 | ecd_component_name, ecd_component_display) |
| 1098 | VALUES ('dcae', 'DCAE'); |
| 1099 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1100 | ecd_component_name, ecd_component_display) |
| 1101 | VALUES ('portal', 'PORTAL'); |
| 1102 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1103 | ecd_component_name, ecd_component_display) |
| 1104 | VALUES ('sdngp', 'SDN-GP'); |
| 1105 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1106 | ecd_component_name, ecd_component_display) |
| 1107 | VALUES ('sdna', 'SDN-A'); |
| 1108 | INSERT INTO dashboard_pg_db_common.ecd_component( |
| 1109 | ecd_component_name, ecd_component_display) |
| 1110 | VALUES ('music', 'MUSIC'); |
| 1111 | |
| 1112 | CREATE unique index ecd_component_nm on dashboard_pg_db_common.ecd_component using btree (ecd_component_name); |
| 1113 | |
| 1114 | -- --------------------------------------------------------------------------------------------------------------- |
| 1115 | -- set of changes to keep schema in sync with current portal SDK library |
| 1116 | -- --------------------------------------------------------------------------------------------------------------- |
| 1117 | |
| 1118 | INSERT INTO dashboard_pg_db_common.fn_restricted_url (restricted_url, function_cd) VALUES ('profile/removeRole','menu_profile_create'); |
| 1119 | INSERT INTO dashboard_pg_db_common.fn_restricted_url (restricted_url, function_cd) VALUES ('profile/addNewRole','menu_profile_create'); |
| 1120 | |
| 1121 | alter table dashboard_pg_db_common.fn_function |
| 1122 | add type VARCHAR(20); |
| 1123 | |
| 1124 | alter table dashboard_pg_db_common.fn_function |
| 1125 | add action VARCHAR(20); |
| 1126 | |
| 1127 | ALTER TABLE dashboard_pg_db_common.fn_function |
| 1128 | ADD CONSTRAINT function UNIQUE (FUNCTION_CD,TYPE,ACTION); |
| 1129 | |
| 1130 | update dashboard_pg_db_common.fn_function set type = 'menu' , action = '*' where function_cd = 'menu_ecd'; |
| 1131 | update dashboard_pg_db_common.fn_function set type = 'menu' , action = '*' where function_cd = 'menu_inventory'; |
| 1132 | update dashboard_pg_db_common.fn_function set type = 'menu' , action = '*' where function_cd = 'menu_consul'; |
| 1133 | update dashboard_pg_db_common.fn_function set type = 'menu' , action = '*' where function_cd = 'menu_profile'; |
| 1134 | update dashboard_pg_db_common.fn_function set type = 'menu' , action = '*' where function_cd = 'menu_profile_create'; |
| 1135 | update dashboard_pg_db_common.fn_function set type = 'menu' , action = '*' where function_cd = 'menu_profile_import'; |
| 1136 | update dashboard_pg_db_common.fn_function set type = 'menu' , action = '*' where function_cd = 'menu_admin'; |
| 1137 | update dashboard_pg_db_common.fn_function set type = 'menu' , action = '*' where function_cd = 'menu_logout'; |
| 1138 | update dashboard_pg_db_common.fn_function set type = 'menu' , action = '*' where function_cd = 'login'; |
| 1139 | |
| 1140 | -- 1902 feature set changes |
| 1141 | |
| 1142 | -- Insert rows into fn_function table |
| 1143 | |
| 1144 | INSERT INTO dashboard_pg_db_common.fn_function(function_cd, function_name, type, action) VALUES ('menu_ops', 'OPS Tools', '*', '*'); |
| 1145 | INSERT INTO dashboard_pg_db_common.fn_function(function_cd, function_name, type, action) VALUES ('menu_cnsl', 'Consul', '*', '*'); |
| 1146 | INSERT INTO dashboard_pg_db_common.fn_function(function_cd, function_name, type, action) VALUES ('menu_cfy', 'Cloudify Manager', '*', '*'); |
| 1147 | INSERT INTO dashboard_pg_db_common.fn_function(function_cd, function_name, type, action) VALUES ('menu_grf', 'Grafana', '*', '*'); |
| 1148 | INSERT INTO dashboard_pg_db_common.fn_function(function_cd, function_name, type, action) VALUES ('menu_prometh', 'Prometheus', '*', '*'); |
| 1149 | INSERT INTO dashboard_pg_db_common.fn_function(function_cd, function_name, type, action) VALUES ('menu_k8s', 'Kubernetes Dashboard', '*', '*'); |
| 1150 | INSERT INTO dashboard_pg_db_common.fn_function(function_cd, function_name, type, action) VALUES ('menu_dbcl', 'DBCL Dashboard', '*', '*'); |
| 1151 | |
| 1152 | -- Insert rows into fn_menu table |
| 1153 | |
| 1154 | INSERT INTO dashboard_pg_db_common.fn_menu( |
| 1155 | 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) |
| 1156 | VALUES (6, 'OPS Tools', 1, 60, '#', 'menu_ops', 'Y', 'NULL', 'NULL', 'NULL', 'NULL', 'APP', 'N', 'icon-building-factory'); |
| 1157 | INSERT INTO dashboard_pg_db_common.fn_menu( |
| 1158 | 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) |
| 1159 | VALUES (7, 'DMaaP Bus Controller', 1, 70, '#', 'menu_dbcl', 'Y', 'NULL', 'NULL', 'NULL', 'NULL', 'APP', 'N', 'icon-building-factory'); |
| 1160 | INSERT INTO dashboard_pg_db_common.fn_menu( |
| 1161 | 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) |
| 1162 | VALUES (61, 'Cloudify Manager', 6, 10, 'ecd#/cfy', 'menu_cfy', 'Y', 'NULL', 'NULL', 'NULL', 'NULL', 'APP', 'N', 'NULL'); |
| 1163 | INSERT INTO dashboard_pg_db_common.fn_menu( |
| 1164 | 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) |
| 1165 | VALUES (62, 'Consul', 6, 20, 'ecd#/cnsl', 'menu_cnsl', 'Y', 'NULL', 'NULL', 'NULL', 'NULL', 'APP', 'N', 'NULL'); |
| 1166 | INSERT INTO dashboard_pg_db_common.fn_menu( |
| 1167 | 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) |
| 1168 | VALUES (63, 'Kubernetes Dashboard', 6, 30, 'ecd#/k8s', 'menu_k8s', 'Y', 'NULL', 'NULL', 'NULL', 'NULL', 'APP', 'N', 'NULL'); |
| 1169 | INSERT INTO dashboard_pg_db_common.fn_menu( |
| 1170 | 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) |
| 1171 | VALUES (64, 'Grafana', 6, 40, 'ecd#/grf', 'menu_grf', 'Y', 'NULL', 'NULL', 'NULL', 'NULL', 'APP', 'N', 'NULL'); |
| 1172 | INSERT INTO dashboard_pg_db_common.fn_menu( |
| 1173 | 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) |
| 1174 | VALUES (65, 'Prometheus', 6, 50, 'ecd#/prom', 'menu_prometh', 'Y', 'NULL', 'NULL', 'NULL', 'NULL', 'APP', 'N', 'NULL'); |
| 1175 | |
| 1176 | |
| 1177 | -- Insert rows into fn_role_function |
| 1178 | |
| 1179 | INSERT INTO dashboard_pg_db_common.fn_role_function( |
| 1180 | role_id, function_cd) |
| 1181 | VALUES (1, 'menu_ops'); |
| 1182 | INSERT INTO dashboard_pg_db_common.fn_role_function( |
| 1183 | role_id, function_cd) |
| 1184 | VALUES (1, 'menu_dbcl'); |
| 1185 | INSERT INTO dashboard_pg_db_common.fn_role_function( |
| 1186 | role_id, function_cd) |
| 1187 | VALUES (1, 'menu_cfy'); |
| 1188 | INSERT INTO dashboard_pg_db_common.fn_role_function( |
| 1189 | role_id, function_cd) |
| 1190 | VALUES (1, 'menu_cnsl'); |
| 1191 | INSERT INTO dashboard_pg_db_common.fn_role_function( |
| 1192 | role_id, function_cd) |
| 1193 | VALUES (1,'menu_k8s'); |
| 1194 | INSERT INTO dashboard_pg_db_common.fn_role_function( |
| 1195 | role_id, function_cd) |
| 1196 | VALUES (1, 'menu_grf'); |
| 1197 | INSERT INTO dashboard_pg_db_common.fn_role_function( |
| 1198 | role_id, function_cd) |
| 1199 | VALUES (1, 'menu_prometh'); |
| 1200 | |
| 1201 | -- Update action for DBCL menu |
| 1202 | |
| 1203 | update fn_menu set action='ecd#/dbcl' where function_cd='menu_dbcl'; |