-- SQL statements which are executed at application startup if hibernate.hbm2ddl.auto is 'create' or 'create-drop'
INSERT INTO xcpd_configuration(id, variable, value) VALUES (1,'gazelle_bin','/opt/gazelle/bin');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (2,'xcpd_request_schema','/opt/gazelle/bin/schematron/xcpd/xcpd-identification/schemas/HL7V3/NE2008/multicacheschemas/PRPA_IN201305UV02PLA.xsd');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (3,'xcpd_response_schema','/opt/gazelle/bin/schematron/xcpd/xcpd-identification/schemas/HL7V3/NE2008/multicacheschemas/PRPA_IN201306UV02PLA.xsd');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (4,'family','NOVAK');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (5,'given','JAN');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (6,'birthdate','19501201');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (7,'root','');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (8,'gender','');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (9,'extension','');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (10,'street','');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (11,'city','');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (12,'country','');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (13,'postalcode','');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (14,'maidenname','');
INSERT INTO xcpd_configuration(id, variable, value) VALUES (15,'is_xua','True');
INSERT INTO app_configuration(id, variable, value) VALUES (20,'epsosFolder','/opt/XCPD/INIT');
INSERT INTO app_configuration(id, variable, value) VALUES (21,'keyStorePassword','gazelle');
INSERT INTO app_configuration(id, variable, value) VALUES (22,'trustStorePassword','gazelle');
INSERT INTO app_configuration(id, variable, value) VALUES (23,'nameID','ihelocal');
INSERT INTO app_configuration(id, variable, value) VALUES (24,'homeCommunityID','1.3.6.1.4.1.12559.11.1.2.2.2.1');
INSERT INTO app_configuration(id, variable, value) VALUES (25, 'application_admin_email', 'eric.poiseau@inria.fr');
INSERT INTO app_configuration(id, variable, value) VALUES (26, 'application_issue_tracker_url', 'http://gazelle.ihe.net/jira');
INSERT INTO app_configuration(id, variable, value) VALUES (27, 'application_name', 'XCPD Initiating Gateway Simulator');
INSERT INTO app_configuration(id, variable, value) VALUES (28, 'application_release_notes_url', 'http://gazelle.ihe.net');
INSERT INTO app_configuration(id, variable, value) VALUES (29, 'application_time_zone', 'UTC+01');
INSERT INTO app_configuration(id, variable, value) VALUES (30, 'application_admin_name', 'Eric Poiseau');
INSERT INTO app_configuration(id, variable, value) VALUES (31, 'url', 'http://localhost:8080/XCPDINITSimulator/');
INSERT INTO app_configuration(id, variable, value) VALUES (32, 'schematron_validator', 'http://jumbo.irisa.fr:8080/SchematronValidator-SchematronValidator-ejb/GazelleObjectValidatorWS?wsdl');
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);

INSERT INTO tf_transaction(id, description, keyword, name) VALUES (1, 'Cross Gateway Patient Discovery', 'ITI-55', 'Cross Gateway Patient Discovery');

INSERT INTO gs_test_instance_status(id, keyword, label_to_display, description) VALUES (1, 'started', 'started', 'started');
INSERT INTO gs_test_instance_status(id, keyword, label_to_display, description) VALUES (2, 'completed', 'completed', 'completed');