diff --git a/GazelleHL7v2Validator-ear/src/main/sql/init-3.4.1.sql b/GazelleHL7v2Validator-ear/src/main/sql/init-3.4.1.sql deleted file mode 100644 index ad075fee856773c2782b7e9395ea029775a288c3..0000000000000000000000000000000000000000 --- a/GazelleHL7v2Validator-ear/src/main/sql/init-3.4.1.sql +++ /dev/null @@ -1,33 +0,0 @@ -INSERT INTO app_configuration (id, variable, value) VALUES (1, 'application_url', 'http://localhost/GazelleHL7Validator'); -INSERT INTO app_configuration (id, variable, value) VALUES (2, 'application_name', 'Gazelle HL7v2.x Validator'); -INSERT INTO app_configuration (id, variable, value) VALUES (3, 'application_admin_name', 'Anne-Gaelle Berge'); -INSERT INTO app_configuration (id, variable, value) VALUES (4, 'application_admin_email', 'anne-gaelle@ihe-europe.net'); -INSERT INTO app_configuration (id, variable, value) VALUES (5, 'time_zone', 'UTC+01'); -INSERT INTO app_configuration (id, variable, value) VALUES (6, 'application_issue_tracker_url', 'http://gazelle.ihe.net/jira/HLVAL'); -INSERT INTO app_configuration (id, variable, value) VALUES (7, 'application_gazelle_release_notes_url', 'http://gazelle.ihe.net/'); -INSERT INTO app_configuration (id, variable, value) VALUES (8, 'gmm_hl7messageprofile_wsdl', 'http://jumbo.irisa.fr:8080/gazelle-tm-gazelle-tf/Hl7MessageProfile?wsdl'); -INSERT INTO app_configuration (id, variable, value) VALUES (9, 'gmm_iheconcepts_wsdl', 'http://jumbo.irisa.fr:8080/gazelle-tm-gazelle-tf/IHEConcepts?wsdl'); -INSERT INTO app_configuration (id, variable, value) VALUES (10, 'xsd_location', 'HL7RegistrationSchema.xsd'); -INSERT INTO app_configuration (id, variable, value) VALUES (11, 'report_xsl_location', 'http://gazelle.ihe.net/xsl/hl7Validation/resultStylesheet.xsl'); -INSERT INTO app_configuration (id, variable, value) VALUES (12, 'length_is_an_error', 'false'); -INSERT INTO app_configuration (id, variable, value) VALUES (13, 'value_is_an_error', 'false'); -INSERT INTO app_configuration (id, variable, value) VALUES (14, 'xsd_directory_location', '/home/gazelle/xsd/HL7V3/NE2008/multicacheschemas'); -INSERT INTO app_configuration (id, variable, value) VALUES (15, 'hl7_profiles_directory', '/home/gazelle/Data/HL7MessageProfiles/ProfilesPerOid'); -INSERT INTO app_configuration (id, variable, value) VALUES (16, 'hl7_table_directory', '/home/gazelle/Data/HL7Tables/TablesPerOid'); -INSERT INTO app_configuration (id, variable, value) VALUES (17, 'hl7_profile_xsd', 'http://gazelle.ihe.net/xsd/HL7MessageProfileSchema.xsd'); -INSERT INTO app_configuration (id, variable, value) VALUES (18, 'hl7_resource_xsd', 'http://gazelle.ihe.net/xsd/HL7TableSchema.xsd'); -INSERT INTO app_configuration (id, variable, value) VALUES (19, 'ip_login', 'true'); -INSERT INTO app_configuration (id, variable, value) VALUES (20, 'ip_login_admin', '.*'); -INSERT INTO app_configuration (id, variable, value) VALUES (21, 'force_stylesheet', 'false'); -INSERT INTO app_configuration (id, variable, value) VALUES (22, 'profile_xsl_url', 'none'); -INSERT INTO app_configuration (id, variable, value) VALUES (23, 'resource_xsl_url', 'none'); -INSERT INTO app_configuration (id, variable, value) VALUES (24, 'application_works_without_cas', 'false'); -INSERT INTO app_configuration (id, variable, value) VALUES (26, 'svs_repository_url', 'http://gazelle.ihe.net/SVSSimulator/rest/RetrieveValueSetForSimulator'); -INSERT INTO app_configuration (id, variable, value) VALUES (27, 'xcpd_plq_xsd_location', '/home/gazelle/xsd/IHE/XCPD_PLQ.xsd'); - -SELECT pg_catalog.setval('app_configuration_id_seq', 27, true); - -INSERT INTO oid_generator (id, target, root, next_value) VALUES (1, 'profile', 'to be defined.', 1); -INSERT INTO oid_generator (id, target, root, next_value) VALUES (2, 'resource','to be defined.', 1); -INSERT INTO oid_generator (id, target, root, next_value) VALUES (3, 'message', 'to be defined.', 1); -INSERT INTO oid_generator (id, target, root, next_value) VALUES (4, 'log-v3', 'to be defined.', 1); diff --git a/GazelleHL7v2Validator-ear/src/main/sql/init-3.5.0.sql b/GazelleHL7v2Validator-ear/src/main/sql/init-3.5.0.sql new file mode 100644 index 0000000000000000000000000000000000000000..f59195d2b5cfc88964d7bf1f9e4e1abad1bf9af4 --- /dev/null +++ b/GazelleHL7v2Validator-ear/src/main/sql/init-3.5.0.sql @@ -0,0 +1,34 @@ +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'application_url', 'http://localhost/GazelleHL7Validator'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'application_name', 'Gazelle HL7v2.x Validator'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'application_admin_name', 'Anne-Gaelle Berge'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'application_admin_email', 'anne-gaelle@ihe-europe.net'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'time_zone', 'UTC+01'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'application_issue_tracker_url', 'http://gazelle.ihe.net/jira/HLVAL'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'application_gazelle_release_notes_url', 'http://gazelle.ihe.net/'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'gmm_hl7messageprofile_wsdl', 'http://jumbo.irisa.fr:8080/gazelle-tm-gazelle-tf/Hl7MessageProfile?wsdl'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'gmm_iheconcepts_wsdl', 'http://jumbo.irisa.fr:8080/gazelle-tm-gazelle-tf/IHEConcepts?wsdl'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'xsd_location', 'HL7RegistrationSchema.xsd'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'report_xsl_location', 'http://gazelle.ihe.net/xsl/hl7Validation/resultStylesheet.xsl'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'length_is_an_error', 'false'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'value_is_an_error', 'false'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'xsd_directory_location', '/home/gazelle/xsd/HL7V3/NE2008/multicacheschemas'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'hl7_profiles_directory', '/home/gazelle/Data/HL7MessageProfiles/ProfilesPerOid'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'hl7_table_directory', '/home/gazelle/Data/HL7Tables/TablesPerOid'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'hl7_profile_xsd', 'http://gazelle.ihe.net/xsd/HL7MessageProfileSchema.xsd'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'hl7_resource_xsd', 'http://gazelle.ihe.net/xsd/HL7TableSchema.xsd'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'ip_login', 'true'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'ip_login_admin', '.*'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'force_stylesheet', 'false'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'profile_xsl_url', 'none'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq')('app_configuration_id_seq'), 'resource_xsl_url', 'none'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'application_works_without_cas', 'false'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'svs_repository_url', 'http://gazelle.ihe.net/SVSSimulator/rest/RetrieveValueSetForSimulator'); +INSERT INTO app_configuration (id, variable, value) VALUES (nextval('app_configuration_id_seq'), 'xcpd_plq_xsd_location', '/home/gazelle/xsd/IHE/XCPD_PLQ.xsd'); +INSERT INTO app_configuration (id, variable, "value") VALUES (nextval('app_configuration_id_seq'), 'NUMBER_OF_ITEMS_PER_PAGE', '20'); + +SELECT pg_catalog.setval('app_configuration_id_seq', 27, true); + +INSERT INTO oid_generator (id, target, root, next_value) VALUES (1, 'profile', 'to be defined.', 1); +INSERT INTO oid_generator (id, target, root, next_value) VALUES (2, 'resource','to be defined.', 1); +INSERT INTO oid_generator (id, target, root, next_value) VALUES (3, 'message', 'to be defined.', 1); +INSERT INTO oid_generator (id, target, root, next_value) VALUES (4, 'log-v3', 'to be defined.', 1);