-- SQL statements which are executed at application startup if hibernate.hbm2ddl.auto is 'create' or 'create-drop'
INSERT INTO app_configuration(id, variable, value) VALUES (1,'application_url','http://localhost:8080/PIXPDQV3Simulator/');
INSERT INTO app_configuration(id, variable, value) VALUES (2,'pds_server_port','3603');
INSERT INTO app_configuration(id, variable, value) VALUES (3,'dds_web_service','http://131.254.209.12:8080/DDS-prod-DemographicDataServer-ejb/DemographicDataServerBean?wsdl');
INSERT INTO app_configuration(id, variable, value) VALUES (4, 'application_admin_email', 'eric.poiseau@inria.fr');
INSERT INTO app_configuration(id, variable, value) VALUES (5, 'application_issue_tracker_url', 'http://gazelle.ihe.net/jira/');
INSERT INTO app_configuration(id, variable, value) VALUES (6, 'application_name', 'PDQ PDS Simulator');
INSERT INTO app_configuration(id, variable, value) VALUES (7, 'application_release_notes_url', 'http://gazelle.ihe.net');
INSERT INTO app_configuration(id, variable, value) VALUES (8, 'application_time_zone', 'UTC+01');
INSERT INTO app_configuration(id, variable, value) VALUES (9, 'application_admin_name', 'Eric Poiseau');
INSERT INTO app_configuration(id, variable, value) VALUES (10, 'openempi_db', 'openempi');
INSERT INTO app_configuration(id, variable, value) VALUES (11, 'sending_application', 'PDSSimulator');
INSERT INTO app_configuration(id, variable, value) VALUES (12, 'sending_facility', 'IHE');

INSERT INTO app_configuration(id, variable, value) VALUES (14,'family','NOVAK');
INSERT INTO app_configuration(id, variable, value) VALUES (15,'given','JAN');
INSERT INTO app_configuration(id, variable, value) VALUES (16,'birthdate','19501201');
INSERT INTO app_configuration(id, variable, value) VALUES (17,'root','');
INSERT INTO app_configuration(id, variable, value) VALUES (18,'gender','');
INSERT INTO app_configuration(id, variable, value) VALUES (19,'extension','');
INSERT INTO app_configuration(id, variable, value) VALUES (20,'street','');
INSERT INTO app_configuration(id, variable, value) VALUES (21,'city','');
INSERT INTO app_configuration(id, variable, value) VALUES (22,'country','');
INSERT INTO app_configuration(id, variable, value) VALUES (23,'postalcode','');
INSERT INTO app_configuration(id, variable, value) VALUES (24,'maidenname','');

INSERT INTO app_configuration(id, variable, value) VALUES (25,'pds_server_name','jumbo-4.irisa.fr');
INSERT INTO app_configuration(id, variable, value) VALUES (26,'pds_server_port','3603');
INSERT INTO app_configuration(id, variable, value) VALUES (27,'process','Complete');

INSERT INTO app_configuration(id, variable, value) VALUES (28, 'system_id_root', '1.3.6.1.4.1.12559.11.1.2.2.3.1');
insert into user_role (id, name, conditional) values (1, 'admin', false);
insert into user_role (id, name, conditional) values (2, 'member', false);
insert into user_role (id, name, conditional) values (3, 'guest', true);
insert into user_account_role (account_id, member_of_role) values (1, 1);
insert into user_role_group (role_id, member_of_role) values (1, 2);

-- transaction definition
INSERT INTO tf_transaction(id, description, keyword, name) VALUES (1, 'ITI-21', 'ITI-21', 'ITI-21');
