From 1754ecc18b5414198d29f6aa98650d52f545b73e Mon Sep 17 00:00:00 2001 From: Pawel GUTOWSKI <Pawel.GUTOWSKI@ext.ec.europa.eu> Date: Wed, 20 Dec 2017 14:58:41 +0100 Subject: [PATCH] EDELIVERY-3035 Update license to EUPL v1.2 --- smp-api/src/main/resources/bdx-smp-201605.xsd | 17 +++++------ .../main/resources/xmldsig-core-schema.xsd | 29 ++++++++++--------- .../src/test/resources/config.properties | 2 +- .../smp/server/conversion/ServiceGroupOK.xml | 13 --------- .../conversion/ServiceGroupWithDOCTYPE.xml | 13 --------- .../ServiceMetadataMissingMandatoryFields.xml | 13 --------- .../conversion/ServiceMetadataWithDOCTYPE.xml | 13 --------- .../ServiceMetadataWithRedirect.xml | 13 --------- .../cipa/smp/server/util/extensionMarshal.xml | 13 --------- .../smp/services/ServiceGroupPoland.xml | 13 --------- .../smp/services/ServiceMetadataPoland.xml | 3 +- .../GET_SignedServiceMetadata_response.xml | 15 +--------- ...gnedServiceMetadata_response_linarized.xml | 15 +--------- .../PUT_ServiceMetadata_request.xml | 15 +--------- .../PUT_ServiceMetadata_request_linarized.xml | 15 +--------- .../PUT_ServiceMetadata_request_not_valid.xml | 15 +--------- ...eMetadata_invalid_customized_signature.xml | 15 +--------- ...viceMetadata_invalid_default_signature.xml | 15 +--------- .../test/resources/input/ServiceMetadata.xml | 13 --------- .../input/ServiceMetadata_linarized.xml | 15 +--------- ...SignedServiceMetadata_withoutSignature.xml | 13 --------- .../src/test/resources/log4j.properties | 2 +- .../soapui/SMP3.0-BAMBOO-soapui-project.xml | 2 +- .../src/main/resources/config.properties | 2 +- .../src/main/resources/log4j.properties | 2 +- .../src/main/resources/spring-security.xml | 2 +- .../WEB-INF/jboss-deployment-structure.xml | 2 +- smp-webapp/src/main/webapp/WEB-INF/web.xml | 2 +- .../src/main/webapp/WEB-INF/weblogic.xml | 2 +- .../src/test/resources/config.properties | 2 +- .../PUT_ServiceMetadata_request_not_valid.xml | 15 +--------- ...eMetadata_invalid_customized_signature.xml | 15 +--------- ...viceMetadata_invalid_default_signature.xml | 15 +--------- .../test/resources/input/ServiceMetadata.xml | 3 +- ...SignedServiceMetadata_withoutSignature.xml | 13 --------- .../spring-security-test-context.xml | 2 +- 36 files changed, 48 insertions(+), 321 deletions(-) diff --git a/smp-api/src/main/resources/bdx-smp-201605.xsd b/smp-api/src/main/resources/bdx-smp-201605.xsd index aa147ecc4..39f98b365 100644 --- a/smp-api/src/main/resources/bdx-smp-201605.xsd +++ b/smp-api/src/main/resources/bdx-smp-201605.xsd @@ -1,15 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. + Service Metadata Publishing (SMP) Version 1.0 + Committee Specification 03 + 30 June 2016 + Copyright (c) OASIS Open 2016. All Rights Reserved. + Source: http://docs.oasis-open.org/bdxr/bdx-smp/v1.0/cs03/schemas/ + Latest version of the specification: http://docs.oasis-open.org/bdxr/bdx-smp/v1.0/bdx-smp-v1.0.html + TC IPR Statement: https://www.oasis-open.org/committees/bdxr/ipr.php --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" elementFormDefault="qualified" targetNamespace="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05" id="ServiceMetadataPublishing"> <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/> diff --git a/smp-api/src/main/resources/xmldsig-core-schema.xsd b/smp-api/src/main/resources/xmldsig-core-schema.xsd index 3ba0f4ebd..db6114e85 100644 --- a/smp-api/src/main/resources/xmldsig-core-schema.xsd +++ b/smp-api/src/main/resources/xmldsig-core-schema.xsd @@ -1,17 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - <!-- <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd" [ <!ATTLIST schema @@ -21,8 +8,22 @@ <!ENTITY % s ''> ]> --> +<!-- Schema for XML Signatures + http://www.w3.org/2000/09/xmldsig# + $Revision: 1.1 $ on $Date: 2002/02/08 20:32:26 $ by $Author: reagle $ + + Copyright 2001 The Internet Society and W3C (Massachusetts Institute + of Technology, Institut National de Recherche en Informatique et en + Automatique, Keio University). All Rights Reserved. + http://www.w3.org/Consortium/Legal/ -<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.w3.org/2000/09/xmldsig#" version="0.1" elementFormDefault="qualified"> + This document is governed by the W3C Software License [1] as described + in the FAQ [2]. + + [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720 + [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.w3.org/2000/09/xmldsig#" version="0.1" elementFormDefault="qualified"> <!-- Basic Types Defined for Signatures --> diff --git a/smp-server-library/src/test/resources/config.properties b/smp-server-library/src/test/resources/config.properties index cffb87e50..760ca4de5 100644 --- a/smp-server-library/src/test/resources/config.properties +++ b/smp-server-library/src/test/resources/config.properties @@ -1,7 +1,7 @@ # # Copyright 2017 European Commission | CEF eDelivery # -# Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); +# Licensed under the EUPL, Version 1.2 or - as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); # You may not use this work except in compliance with the Licence. # # You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf diff --git a/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceGroupOK.xml b/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceGroupOK.xml index bbabe4d8f..397a71f79 100644 --- a/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceGroupOK.xml +++ b/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceGroupOK.xml @@ -1,17 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - <ServiceGroup xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ParticipantIdentifier/> <ServiceMetadataReferenceCollection> diff --git a/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceGroupWithDOCTYPE.xml b/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceGroupWithDOCTYPE.xml index 6bbdc6bd4..827c0bed4 100644 --- a/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceGroupWithDOCTYPE.xml +++ b/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceGroupWithDOCTYPE.xml @@ -1,17 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - <!DOCTYPE testingxxe [<!ENTITY value "SAMPLE VALUE" >]> <ServiceGroup xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ParticipantIdentifier/> diff --git a/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceMetadataMissingMandatoryFields.xml b/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceMetadataMissingMandatoryFields.xml index fdca8e428..e26c01216 100644 --- a/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceMetadataMissingMandatoryFields.xml +++ b/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceMetadataMissingMandatoryFields.xml @@ -1,16 +1,3 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - <ServiceMetadata xmlns="http://busdox.org/serviceMetadata/publishing/1.0/"> </ServiceMetadata> \ No newline at end of file diff --git a/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceMetadataWithDOCTYPE.xml b/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceMetadataWithDOCTYPE.xml index 08decfb65..b3160cd17 100644 --- a/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceMetadataWithDOCTYPE.xml +++ b/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceMetadataWithDOCTYPE.xml @@ -1,17 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - <!DOCTYPE testingxxe [<!ENTITY cert "CERT SAMPLE VALUE" >]> <ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <Redirect href="http://poland.pl"> diff --git a/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceMetadataWithRedirect.xml b/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceMetadataWithRedirect.xml index 2e60c1083..8e77a434b 100644 --- a/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceMetadataWithRedirect.xml +++ b/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/conversion/ServiceMetadataWithRedirect.xml @@ -1,17 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - <ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <Redirect href="http://poland.pl"> <CertificateUID>SAMPLE CERTIFICATE VALUE</CertificateUID> diff --git a/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/util/extensionMarshal.xml b/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/util/extensionMarshal.xml index 5087f7b9e..226b4a7b5 100644 --- a/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/util/extensionMarshal.xml +++ b/smp-server-library/src/test/resources/eu/europa/ec/cipa/smp/server/util/extensionMarshal.xml @@ -1,16 +1,3 @@ -<!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - <Extension xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ExtensionID>id1</ExtensionID> <ExtensionName>name1</ExtensionName> diff --git a/smp-server-library/src/test/resources/eu/europa/ec/edelivery/smp/services/ServiceGroupPoland.xml b/smp-server-library/src/test/resources/eu/europa/ec/edelivery/smp/services/ServiceGroupPoland.xml index 64795485c..162d5579f 100644 --- a/smp-server-library/src/test/resources/eu/europa/ec/edelivery/smp/services/ServiceGroupPoland.xml +++ b/smp-server-library/src/test/resources/eu/europa/ec/edelivery/smp/services/ServiceGroupPoland.xml @@ -1,17 +1,4 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - <ServiceGroup xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ParticipantIdentifier scheme="participant-scheme-qns">urn:poland:ncpb</ParticipantIdentifier> <ServiceMetadataReferenceCollection/> diff --git a/smp-server-library/src/test/resources/eu/europa/ec/edelivery/smp/services/ServiceMetadataPoland.xml b/smp-server-library/src/test/resources/eu/europa/ec/edelivery/smp/services/ServiceMetadataPoland.xml index 6006ca6d7..7221de38c 100644 --- a/smp-server-library/src/test/resources/eu/europa/ec/edelivery/smp/services/ServiceMetadataPoland.xml +++ b/smp-server-library/src/test/resources/eu/europa/ec/edelivery/smp/services/ServiceMetadataPoland.xml @@ -1,4 +1,5 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ServiceInformation> <ParticipantIdentifier scheme="eHealth-participantId-qns">urn:Poland:ncpb</ParticipantIdentifier> <DocumentIdentifier scheme="eHealth-resId-qns">DocId.007</DocumentIdentifier> diff --git a/smp-server-library/src/test/resources/expected_output/GET_SignedServiceMetadata_response.xml b/smp-server-library/src/test/resources/expected_output/GET_SignedServiceMetadata_response.xml index 596d6a8ed..f3923412c 100644 --- a/smp-server-library/src/test/resources/expected_output/GET_SignedServiceMetadata_response.xml +++ b/smp-server-library/src/test/resources/expected_output/GET_SignedServiceMetadata_response.xml @@ -1,17 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - -<SignedServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"><ServiceMetadata> +<?xml version="1.0" encoding="UTF-8" standalone="no"?><SignedServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"><ServiceMetadata> <ServiceInformation> <ParticipantIdentifier scheme="ehealth-actorid-qns">urn:australia:ncpb</ParticipantIdentifier> <DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier> diff --git a/smp-server-library/src/test/resources/expected_output/GET_SignedServiceMetadata_response_linarized.xml b/smp-server-library/src/test/resources/expected_output/GET_SignedServiceMetadata_response_linarized.xml index 13ecd70ca..8df038400 100644 --- a/smp-server-library/src/test/resources/expected_output/GET_SignedServiceMetadata_response_linarized.xml +++ b/smp-server-library/src/test/resources/expected_output/GET_SignedServiceMetadata_response_linarized.xml @@ -1,17 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - -<SignedServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"><ServiceMetadata><ServiceInformation><ParticipantIdentifier scheme="ehealth-actorid-qns">urn:brazil:ncpb</ParticipantIdentifier><DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier><ProcessList><Process><ProcessIdentifier scheme="ehealth-procid-qns">urn:epsosPatientService::List</ProcessIdentifier><ServiceEndpointList><Endpoint transportProfile="urn:ihe:iti:2013:xcpd"><EndpointURI>http://poland.pl/ncp/patient/list</EndpointURI><RequireBusinessLevelSignature>false</RequireBusinessLevelSignature><MinimumAuthenticationLevel>urn:epSOS:loa:1</MinimumAuthenticationLevel><ServiceActivationDate>2016-06-06T11:06:02.000+02:00</ServiceActivationDate><ServiceExpirationDate>2026-06-06T11:06:02+02:00</ServiceExpirationDate><Certificate>MIID7jCCA1egAwIBAgICA+YwDQ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DVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCBSAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDQYJKoZIhvcNAQENBQADgYEAZ7t1Qkr9wz3q6+WcF6p/YX7Jr0CzVe7w58FvJFk2AsHeYkSlOyO5hxNpQbs1L1v6JrcqziNFrh2QKGT2v6iPdWtdCT8HBLjmuvVWxxnfzYjdQ0J+kdKMAEV6EtWU78OqL60CCtUZKXE/NKJUq7TTUCFP2fwiARy/t1dTD2NZo8c=</Certificate><ServiceDescription>This is the epSOS Patient Service List for the Polish NCP</ServiceDescription><TechnicalContactUrl>http://poland.pl/contact</TechnicalContactUrl><TechnicalInformationUrl>http://poland.pl/contact</TechnicalInformationUrl></Endpoint></ServiceEndpointList></Process></ProcessList><Extension><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>Azi31Eao+Y+y373EqCp2GaFG6tOElaC5p5nkRpaZGiU=</DigestValue></Reference></SignedInfo><SignatureValue>lWgydpjVbwT0FN8ki9FDPdlK2CO2z7ehv60uz4Cowu/0hz2SgsLfRwLVHd9HxQ2PQmz4ZHYzKW9f +<?xml version="1.0" encoding="UTF-8" standalone="no"?><SignedServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"><ServiceMetadata><ServiceInformation><ParticipantIdentifier scheme="ehealth-actorid-qns">urn:brazil:ncpb</ParticipantIdentifier><DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier><ProcessList><Process><ProcessIdentifier scheme="ehealth-procid-qns">urn:epsosPatientService::List</ProcessIdentifier><ServiceEndpointList><Endpoint transportProfile="urn:ihe:iti:2013:xcpd"><EndpointURI>http://poland.pl/ncp/patient/list</EndpointURI><RequireBusinessLevelSignature>false</RequireBusinessLevelSignature><MinimumAuthenticationLevel>urn:epSOS:loa:1</MinimumAuthenticationLevel><ServiceActivationDate>2016-06-06T11:06:02.000+02:00</ServiceActivationDate><ServiceExpirationDate>2026-06-06T11:06:02+02:00</ServiceExpirationDate><Certificate>MIID7jCCA1egAwIBAgICA+YwDQYJKoZIhvcNAQENBQAwOjELMAkGA1UEBhMCRlIxEzARBgNVBAoMCklIRSBFdXJvcGUxFjAUBgNVBAMMDUlIRSBFdXJvcGUgQ0EwHhcNMTYwNjAxMTQzNTUzWhcNMjYwNjAxMTQzNTUzWjCBgzELMAkGA1UEBhMCUFQxDDAKBgNVBAoMA01vSDENMAsGA1UECwwEU1BNUzENMAsGA1UEKgwESm9hbzEOMAwGA1UEBRMFQ3VuaGExHTAbBgNVBAMMFHFhZXBzb3MubWluLXNhdWRlLnB0MRkwFwYDVQQMDBBTZXJ2aWNlIFByb3ZpZGVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1eN4qPSSRZqjVFG9TlcPlxf2WiSimQK9L1nf9Z/s0ezeGQjCukDeDq/Wzqd9fpHhaMMq+XSSOtyEtIr5K/As4kFrViONUUkG12J6UllSWogp0NYFwA4wIqKSFiTnQS5/nRTs05oONCCGILCyJNNeO53JzPlaq3/QbPLssuSAr6XucPE8wBBGM8b/TsB2G/zjG8yuSTgGbhaZekq/Vnf9ftj1fr/vJDDAQgH6Yvzd88Z0DACJPHfW1p4F/OWLI386Bq7g/bo1DUPAyEwlf+CkLgJWRKki3yJlOCIZ9enMA5O7rfeG3rXdgYGmWS7tNEgKXxgC+heiYvi7ZWd7M+/SUwIDAQABo4IBMzCCAS8wPgYDVR0fBDcwNTAzoDGgL4YtaHR0cHM6Ly9nYXplbGxlLmloZS5uZXQvcGtpL2NybC82NDMvY2FjcmwuY3JsMDwGCWCGSAGG+EIBBAQvFi1odHRwczovL2dhemVsbGUuaWhlLm5ldC9wa2kvY3JsLzY0My9jYWNybC5jcmwwPAYJYIZIAYb4QgEDBC8WLWh0dHBzOi8vZ2F6ZWxsZS5paGUubmV0L3BraS9jcmwvNjQzL2NhY3JsLmNybDAfBgNVHSMEGDAWgBTsMw4TyCJeouFrr0N7el3Sd3MdfjAdBgNVHQ4EFgQU1GQ/K1ykIwWFgiONzWJLQzufF/8wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCBSAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDQYJKoZIhvcNAQENBQADgYEAZ7t1Qkr9wz3q6+WcF6p/YX7Jr0CzVe7w58FvJFk2AsHeYkSlOyO5hxNpQbs1L1v6JrcqziNFrh2QKGT2v6iPdWtdCT8HBLjmuvVWxxnfzYjdQ0J+kdKMAEV6EtWU78OqL60CCtUZKXE/NKJUq7TTUCFP2fwiARy/t1dTD2NZo8c=</Certificate><ServiceDescription>This is the epSOS Patient Service List for the Polish NCP</ServiceDescription><TechnicalContactUrl>http://poland.pl/contact</TechnicalContactUrl><TechnicalInformationUrl>http://poland.pl/contact</TechnicalInformationUrl></Endpoint></ServiceEndpointList></Process></ProcessList><Extension><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>Azi31Eao+Y+y373EqCp2GaFG6tOElaC5p5nkRpaZGiU=</DigestValue></Reference></SignedInfo><SignatureValue>lWgydpjVbwT0FN8ki9FDPdlK2CO2z7ehv60uz4Cowu/0hz2SgsLfRwLVHd9HxQ2PQmz4ZHYzKW9f 3zxVDh2ozEbDWfs22HiFcvjLaxFXxp+cq+8GmRZLRc6b0HbNz2SZ7bOrUGrr+pCLwzwgw/egG1/l 7wYBGw7mOhPJTIBR6FM=</SignatureValue><KeyInfo><X509Data><X509SubjectName>CN=Sample National Infrastructure,OU=Sante,C=PT</X509SubjectName><X509Certificate>MIICAzCCAWygAwIBAgIEWCRzHjANBgkqhkiG9w0BAQsFADBGMQswCQYDVQQGEwJQVDEOMAwGA1UE CwwFU2FudGUxJzAlBgNVBAMMHlNhbXBsZSBOYXRpb25hbCBJbmZyYXN0cnVjdHVyZTAeFw0xNjEx diff --git a/smp-server-library/src/test/resources/expected_output/PUT_ServiceMetadata_request.xml b/smp-server-library/src/test/resources/expected_output/PUT_ServiceMetadata_request.xml index 65fb4612c..e0c5aae68 100644 --- a/smp-server-library/src/test/resources/expected_output/PUT_ServiceMetadata_request.xml +++ b/smp-server-library/src/test/resources/expected_output/PUT_ServiceMetadata_request.xml @@ -1,17 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - -<ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> +<?xml version="1.0" encoding="UTF-8" standalone="no"?><ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ServiceInformation> <ParticipantIdentifier scheme="ehealth-actorid-qns">urn:australia:ncpb</ParticipantIdentifier> <DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier> diff --git a/smp-server-library/src/test/resources/expected_output/PUT_ServiceMetadata_request_linarized.xml b/smp-server-library/src/test/resources/expected_output/PUT_ServiceMetadata_request_linarized.xml index cf1c647e7..afb8e5c3a 100644 --- a/smp-server-library/src/test/resources/expected_output/PUT_ServiceMetadata_request_linarized.xml +++ b/smp-server-library/src/test/resources/expected_output/PUT_ServiceMetadata_request_linarized.xml @@ -1,17 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - -<ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"><ServiceInformation><ParticipantIdentifier scheme="ehealth-actorid-qns">urn:brazil:ncpb</ParticipantIdentifier><DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier><ProcessList><Process><ProcessIdentifier scheme="ehealth-procid-qns">urn:epsosPatientService::List</ProcessIdentifier><ServiceEndpointList><Endpoint transportProfile="urn:ihe:iti:2013:xcpd"><EndpointURI>http://poland.pl/ncp/patient/list</EndpointURI><RequireBusinessLevelSignature>false</RequireBusinessLevelSignature><MinimumAuthenticationLevel>urn:epSOS:loa:1</MinimumAuthenticationLevel><ServiceActivationDate>2016-06-06T11:06:02.000+02:00</ServiceActivationDate><ServiceExpirationDate>2026-06-06T11:06:02+02:00</ServiceExpirationDate><Certificate>MIID7jCCA1egAwIBAgICA+YwDQYJKoZIhvcNAQENBQAwOjELMAkGA1UEBh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AMCBSAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDQYJKoZIhvcNAQENBQADgYEAZ7t1Qkr9wz3q6+WcF6p/YX7Jr0CzVe7w58FvJFk2AsHeYkSlOyO5hxNpQbs1L1v6JrcqziNFrh2QKGT2v6iPdWtdCT8HBLjmuvVWxxnfzYjdQ0J+kdKMAEV6EtWU78OqL60CCtUZKXE/NKJUq7TTUCFP2fwiARy/t1dTD2NZo8c=</Certificate><ServiceDescription>This is the epSOS Patient Service List for the Polish NCP</ServiceDescription><TechnicalContactUrl>http://poland.pl/contact</TechnicalContactUrl><TechnicalInformationUrl>http://poland.pl/contact</TechnicalInformationUrl></Endpoint></ServiceEndpointList></Process></ProcessList><Extension><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>Azi31Eao+Y+y373EqCp2GaFG6tOElaC5p5nkRpaZGiU=</DigestValue></Reference></SignedInfo><SignatureValue>lWgydpjVbwT0FN8ki9FDPdlK2CO2z7ehv60uz4Cowu/0hz2SgsLfRwLVHd9HxQ2PQmz4ZHYzKW9f +<?xml version="1.0" encoding="UTF-8" standalone="no"?><ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"><ServiceInformation><ParticipantIdentifier scheme="ehealth-actorid-qns">urn:brazil:ncpb</ParticipantIdentifier><DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier><ProcessList><Process><ProcessIdentifier scheme="ehealth-procid-qns">urn:epsosPatientService::List</ProcessIdentifier><ServiceEndpointList><Endpoint transportProfile="urn:ihe:iti:2013:xcpd"><EndpointURI>http://poland.pl/ncp/patient/list</EndpointURI><RequireBusinessLevelSignature>false</RequireBusinessLevelSignature><MinimumAuthenticationLevel>urn:epSOS:loa:1</MinimumAuthenticationLevel><ServiceActivationDate>2016-06-06T11:06:02.000+02:00</ServiceActivationDate><ServiceExpirationDate>2026-06-06T11:06:02+02:00</ServiceExpirationDate><Certificate>MIID7jCCA1egAwIBAgICA+YwDQYJKoZIhvcNAQENBQAwOjELMAkGA1UEBhMCRlIxEzARBgNVBAoMCklIRSBFdXJvcGUxFjAUBgNVBAMMDUlIRSBFdXJvcGUgQ0EwHhcNMTYwNjAxMTQzNTUzWhcNMjYwNjAxMTQzNTUzWjCBgzELMAkGA1UEBhMCUFQxDDAKBgNVBAoMA01vSDENMAsGA1UECwwEU1BNUzENMAsGA1UEKgwESm9hbzEOMAwGA1UEBRMFQ3VuaGExHTAbBgNVBAMMFHFhZXBzb3MubWluLXNhdWRlLnB0MRkwFwYDVQQMDBBTZXJ2aWNlIFByb3ZpZGVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1eN4qPSSRZqjVFG9TlcPlxf2WiSimQK9L1nf9Z/s0ezeGQjCukDeDq/Wzqd9fpHhaMMq+XSSOtyEtIr5K/As4kFrViONUUkG12J6UllSWogp0NYFwA4wIqKSFiTnQS5/nRTs05oONCCGILCyJNNeO53JzPlaq3/QbPLssuSAr6XucPE8wBBGM8b/TsB2G/zjG8yuSTgGbhaZekq/Vnf9ftj1fr/vJDDAQgH6Yvzd88Z0DACJPHfW1p4F/OWLI386Bq7g/bo1DUPAyEwlf+CkLgJWRKki3yJlOCIZ9enMA5O7rfeG3rXdgYGmWS7tNEgKXxgC+heiYvi7ZWd7M+/SUwIDAQABo4IBMzCCAS8wPgYDVR0fBDcwNTAzoDGgL4YtaHR0cHM6Ly9nYXplbGxlLmloZS5uZXQvcGtpL2NybC82NDMvY2FjcmwuY3JsMDwGCWCGSAGG+EIBBAQvFi1odHRwczovL2dhemVsbGUuaWhlLm5ldC9wa2kvY3JsLzY0My9jYWNybC5jcmwwPAYJYIZIAYb4QgEDBC8WLWh0dHBzOi8vZ2F6ZWxsZS5paGUubmV0L3BraS9jcmwvNjQzL2NhY3JsLmNybDAfBgNVHSMEGDAWgBTsMw4TyCJeouFrr0N7el3Sd3MdfjAdBgNVHQ4EFgQU1GQ/K1ykIwWFgiONzWJLQzufF/8wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCBSAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDQYJKoZIhvcNAQENBQADgYEAZ7t1Qkr9wz3q6+WcF6p/YX7Jr0CzVe7w58FvJFk2AsHeYkSlOyO5hxNpQbs1L1v6JrcqziNFrh2QKGT2v6iPdWtdCT8HBLjmuvVWxxnfzYjdQ0J+kdKMAEV6EtWU78OqL60CCtUZKXE/NKJUq7TTUCFP2fwiARy/t1dTD2NZo8c=</Certificate><ServiceDescription>This is the epSOS Patient Service List for the Polish NCP</ServiceDescription><TechnicalContactUrl>http://poland.pl/contact</TechnicalContactUrl><TechnicalInformationUrl>http://poland.pl/contact</TechnicalInformationUrl></Endpoint></ServiceEndpointList></Process></ProcessList><Extension><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>Azi31Eao+Y+y373EqCp2GaFG6tOElaC5p5nkRpaZGiU=</DigestValue></Reference></SignedInfo><SignatureValue>lWgydpjVbwT0FN8ki9FDPdlK2CO2z7ehv60uz4Cowu/0hz2SgsLfRwLVHd9HxQ2PQmz4ZHYzKW9f 3zxVDh2ozEbDWfs22HiFcvjLaxFXxp+cq+8GmRZLRc6b0HbNz2SZ7bOrUGrr+pCLwzwgw/egG1/l 7wYBGw7mOhPJTIBR6FM=</SignatureValue><KeyInfo><X509Data><X509SubjectName>CN=Sample National Infrastructure,OU=Sante,C=PT</X509SubjectName><X509Certificate>MIICAzCCAWygAwIBAgIEWCRzHjANBgkqhkiG9w0BAQsFADBGMQswCQYDVQQGEwJQVDEOMAwGA1UE CwwFU2FudGUxJzAlBgNVBAMMHlNhbXBsZSBOYXRpb25hbCBJbmZyYXN0cnVjdHVyZTAeFw0xNjEx diff --git a/smp-server-library/src/test/resources/expected_output/PUT_ServiceMetadata_request_not_valid.xml b/smp-server-library/src/test/resources/expected_output/PUT_ServiceMetadata_request_not_valid.xml index 7f0ecd4f0..2d7f58040 100644 --- a/smp-server-library/src/test/resources/expected_output/PUT_ServiceMetadata_request_not_valid.xml +++ b/smp-server-library/src/test/resources/expected_output/PUT_ServiceMetadata_request_not_valid.xml @@ -1,17 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - -<ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> +<?xml version="1.0" encoding="UTF-8" standalone="no"?><ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ServiceInformation> <ParticipantIdentifier scheme="ehealth-actorid-qns">urn:australia:ncpb</ParticipantIdentifier> <DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier> diff --git a/smp-server-library/src/test/resources/expected_output/SignedServiceMetadata_invalid_customized_signature.xml b/smp-server-library/src/test/resources/expected_output/SignedServiceMetadata_invalid_customized_signature.xml index 55c6334bc..c4cd559dd 100644 --- a/smp-server-library/src/test/resources/expected_output/SignedServiceMetadata_invalid_customized_signature.xml +++ b/smp-server-library/src/test/resources/expected_output/SignedServiceMetadata_invalid_customized_signature.xml @@ -1,17 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - -<ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> +<?xml version="1.0" encoding="UTF-8" standalone="no"?><ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ServiceInformation> <ParticipantIdentifier scheme="ehealth-actorid-qns">urn:brazil:ncpb</ParticipantIdentifier> <DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier> diff --git a/smp-server-library/src/test/resources/expected_output/SignedServiceMetadata_invalid_default_signature.xml b/smp-server-library/src/test/resources/expected_output/SignedServiceMetadata_invalid_default_signature.xml index de5c42e3d..fa7d8d677 100644 --- a/smp-server-library/src/test/resources/expected_output/SignedServiceMetadata_invalid_default_signature.xml +++ b/smp-server-library/src/test/resources/expected_output/SignedServiceMetadata_invalid_default_signature.xml @@ -1,17 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - -<SignedServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"><ServiceMetadata> +<?xml version="1.0" encoding="UTF-8" standalone="no"?><SignedServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"><ServiceMetadata> <ServiceInformation> <ParticipantIdentifier scheme="ehealth-actorid-qns">urn:brazil:ncpb</ParticipantIdentifier> <DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier> diff --git a/smp-server-library/src/test/resources/input/ServiceMetadata.xml b/smp-server-library/src/test/resources/input/ServiceMetadata.xml index a45b60a57..d41e58bdc 100644 --- a/smp-server-library/src/test/resources/input/ServiceMetadata.xml +++ b/smp-server-library/src/test/resources/input/ServiceMetadata.xml @@ -1,17 +1,4 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - <ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ServiceInformation> <ParticipantIdentifier scheme="ehealth-actorid-qns">urn:australia:ncpb</ParticipantIdentifier> diff --git a/smp-server-library/src/test/resources/input/ServiceMetadata_linarized.xml b/smp-server-library/src/test/resources/input/ServiceMetadata_linarized.xml index 1b9c5313c..55c53eabe 100644 --- a/smp-server-library/src/test/resources/input/ServiceMetadata_linarized.xml +++ b/smp-server-library/src/test/resources/input/ServiceMetadata_linarized.xml @@ -1,14 +1 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - -<ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"><ServiceInformation><ParticipantIdentifier scheme="ehealth-actorid-qns">urn:brazil:ncpb</ParticipantIdentifier><DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier><ProcessList><Process><ProcessIdentifier scheme="ehealth-procid-qns">urn:epsosPatientService::List</ProcessIdentifier><ServiceEndpointList><Endpoint transportProfile="urn:ihe:iti:2013:xcpd"><EndpointURI>http://poland.pl/ncp/patient/list</EndpointURI><RequireBusinessLevelSignature>false</RequireBusinessLevelSignature><MinimumAuthenticationLevel>urn:epSOS:loa:1</MinimumAuthenticationLevel><ServiceActivationDate>2016-06-06T11:06:02.000+02:00</ServiceActivationDate><ServiceExpirationDate>2026-06-06T11:06:02+02:00</ServiceExpirationDate><Certificate>MIID7jCCA1egAwIBAgICA+YwDQYJKoZIhvcNAQENBQAwOjEL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HQ8BAf8EBAMCBSAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDQYJKoZIhvcNAQENBQADgYEAZ7t1Qkr9wz3q6+WcF6p/YX7Jr0CzVe7w58FvJFk2AsHeYkSlOyO5hxNpQbs1L1v6JrcqziNFrh2QKGT2v6iPdWtdCT8HBLjmuvVWxxnfzYjdQ0J+kdKMAEV6EtWU78OqL60CCtUZKXE/NKJUq7TTUCFP2fwiARy/t1dTD2NZo8c=</Certificate><ServiceDescription>This is the epSOS Patient Service List for the Polish NCP</ServiceDescription><TechnicalContactUrl>http://poland.pl/contact</TechnicalContactUrl><TechnicalInformationUrl>http://poland.pl/contact</TechnicalInformationUrl></Endpoint></ServiceEndpointList></Process></ProcessList><Extension></Extension></ServiceInformation></ServiceMetadata> \ No newline at end of file +<?xml version="1.0" encoding="UTF-8" standalone="no"?><ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"><ServiceInformation><ParticipantIdentifier scheme="ehealth-actorid-qns">urn:brazil:ncpb</ParticipantIdentifier><DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier><ProcessList><Process><ProcessIdentifier scheme="ehealth-procid-qns">urn:epsosPatientService::List</ProcessIdentifier><ServiceEndpointList><Endpoint transportProfile="urn:ihe:iti:2013:xcpd"><EndpointURI>http://poland.pl/ncp/patient/list</EndpointURI><RequireBusinessLevelSignature>false</RequireBusinessLevelSignature><MinimumAuthenticationLevel>urn:epSOS:loa:1</MinimumAuthenticationLevel><ServiceActivationDate>2016-06-06T11:06:02.000+02:00</ServiceActivationDate><ServiceExpirationDate>2026-06-06T11:06:02+02:00</ServiceExpirationDate><Certificate>MIID7jCCA1egAwIBAgICA+YwDQYJKoZIhvcNAQENBQAwOjELMAkGA1UEBhMCRlIxEzARBgNVBAoMCklIRSBFdXJvcGUxFjAUBgNVBAMMDUlIRSBFdXJvcGUgQ0EwHhcNMTYwNjAxMTQzNTUzWhcNMjYwNjAxMT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AsHeYkSlOyO5hxNpQbs1L1v6JrcqziNFrh2QKGT2v6iPdWtdCT8HBLjmuvVWxxnfzYjdQ0J+kdKMAEV6EtWU78OqL60CCtUZKXE/NKJUq7TTUCFP2fwiARy/t1dTD2NZo8c=</Certificate><ServiceDescription>This is the epSOS Patient Service List for the Polish NCP</ServiceDescription><TechnicalContactUrl>http://poland.pl/contact</TechnicalContactUrl><TechnicalInformationUrl>http://poland.pl/contact</TechnicalInformationUrl></Endpoint></ServiceEndpointList></Process></ProcessList><Extension></Extension></ServiceInformation></ServiceMetadata> \ No newline at end of file diff --git a/smp-server-library/src/test/resources/input/SignedServiceMetadata_withoutSignature.xml b/smp-server-library/src/test/resources/input/SignedServiceMetadata_withoutSignature.xml index 9544c884e..8f82b1de0 100644 --- a/smp-server-library/src/test/resources/input/SignedServiceMetadata_withoutSignature.xml +++ b/smp-server-library/src/test/resources/input/SignedServiceMetadata_withoutSignature.xml @@ -1,17 +1,4 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - <SignedServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ServiceMetadata> <ServiceInformation> diff --git a/smp-server-library/src/test/resources/log4j.properties b/smp-server-library/src/test/resources/log4j.properties index bc9de7237..db1d3eea6 100644 --- a/smp-server-library/src/test/resources/log4j.properties +++ b/smp-server-library/src/test/resources/log4j.properties @@ -1,7 +1,7 @@ # # Copyright 2017 European Commission | CEF eDelivery # -# Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); +# Licensed under the EUPL, Version 1.2 or - as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); # You may not use this work except in compliance with the Licence. # # You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf diff --git a/smp-soapui-tests/soapui/SMP3.0-BAMBOO-soapui-project.xml b/smp-soapui-tests/soapui/SMP3.0-BAMBOO-soapui-project.xml index 3ddba838f..24fae4b86 100644 --- a/smp-soapui-tests/soapui/SMP3.0-BAMBOO-soapui-project.xml +++ b/smp-soapui-tests/soapui/SMP3.0-BAMBOO-soapui-project.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<con:soapui-project activeEnvironment="Default" name="SMP TEST BAMBOO TESTS" resourceRoot="" soapui-version="5.2.1" abortOnError="false" runType="SEQUENTIAL" id="8147b356-07e4-4ff9-ade6-4e92e0597a38" xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.ProTestRunnerAction@values-local"><![CDATA[<xml-fragment xmlns:con="http://eviware.com/soapui/config"> +<con:soapui-project activeEnvironment="Default" name="SMP TEST BAMBOO TESTS" resourceRoot="" soapui-version="5.1.2-m-SNAPSHOT" abortOnError="false" runType="SEQUENTIAL" id="8147b356-07e4-4ff9-ade6-4e92e0597a38" xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.ProTestRunnerAction@values-local"><![CDATA[<xml-fragment xmlns:con="http://eviware.com/soapui/config"> <con:entry key="Environment" value="Default"/> <con:entry key="Global Properties" value=""/> <con:entry key="TestSuite" value="<all>"/> diff --git a/smp-webapp/src/main/resources/config.properties b/smp-webapp/src/main/resources/config.properties index 44fd3c281..c7c68a607 100644 --- a/smp-webapp/src/main/resources/config.properties +++ b/smp-webapp/src/main/resources/config.properties @@ -1,7 +1,7 @@ # # Copyright 2017 European Commission | CEF eDelivery # -# Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); +# Licensed under the EUPL, Version 1.2 or - as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); # You may not use this work except in compliance with the Licence. # # You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf diff --git a/smp-webapp/src/main/resources/log4j.properties b/smp-webapp/src/main/resources/log4j.properties index b927160f3..aeee963b0 100644 --- a/smp-webapp/src/main/resources/log4j.properties +++ b/smp-webapp/src/main/resources/log4j.properties @@ -1,7 +1,7 @@ # # Copyright 2017 European Commission | CEF eDelivery # -# Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); +# Licensed under the EUPL, Version 1.2 or - as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); # You may not use this work except in compliance with the Licence. # # You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf diff --git a/smp-webapp/src/main/resources/spring-security.xml b/smp-webapp/src/main/resources/spring-security.xml index 6b6fd1c0c..3d9202216 100644 --- a/smp-webapp/src/main/resources/spring-security.xml +++ b/smp-webapp/src/main/resources/spring-security.xml @@ -1,7 +1,7 @@ <!-- ~ Copyright 2017 European Commission | CEF eDelivery ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); + ~ Licensed under the EUPL, Version 1.2 or - as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); ~ You may not use this work except in compliance with the Licence. ~ ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf diff --git a/smp-webapp/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/smp-webapp/src/main/webapp/WEB-INF/jboss-deployment-structure.xml index 87c8010bb..2c9994de4 100644 --- a/smp-webapp/src/main/webapp/WEB-INF/jboss-deployment-structure.xml +++ b/smp-webapp/src/main/webapp/WEB-INF/jboss-deployment-structure.xml @@ -2,7 +2,7 @@ <!-- ~ Copyright 2017 European Commission | CEF eDelivery ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); + ~ Licensed under the EUPL, Version 1.2 or - as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); ~ You may not use this work except in compliance with the Licence. ~ ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf diff --git a/smp-webapp/src/main/webapp/WEB-INF/web.xml b/smp-webapp/src/main/webapp/WEB-INF/web.xml index 42c6b784b..81c274230 100644 --- a/smp-webapp/src/main/webapp/WEB-INF/web.xml +++ b/smp-webapp/src/main/webapp/WEB-INF/web.xml @@ -2,7 +2,7 @@ <!-- ~ Copyright 2017 European Commission | CEF eDelivery ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); + ~ Licensed under the EUPL, Version 1.2 or - as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); ~ You may not use this work except in compliance with the Licence. ~ ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf diff --git a/smp-webapp/src/main/webapp/WEB-INF/weblogic.xml b/smp-webapp/src/main/webapp/WEB-INF/weblogic.xml index 2de1c22ae..ddba27828 100644 --- a/smp-webapp/src/main/webapp/WEB-INF/weblogic.xml +++ b/smp-webapp/src/main/webapp/WEB-INF/weblogic.xml @@ -2,7 +2,7 @@ <!-- ~ Copyright 2017 European Commission | CEF eDelivery ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); + ~ Licensed under the EUPL, Version 1.2 or - as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); ~ You may not use this work except in compliance with the Licence. ~ ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf diff --git a/smp-webapp/src/test/resources/config.properties b/smp-webapp/src/test/resources/config.properties index 7c7e5c391..7faef3109 100644 --- a/smp-webapp/src/test/resources/config.properties +++ b/smp-webapp/src/test/resources/config.properties @@ -1,7 +1,7 @@ # # Copyright 2017 European Commission | CEF eDelivery # -# Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); +# Licensed under the EUPL, Version 1.2 or - as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); # You may not use this work except in compliance with the Licence. # # You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf diff --git a/smp-webapp/src/test/resources/expected_output/PUT_ServiceMetadata_request_not_valid.xml b/smp-webapp/src/test/resources/expected_output/PUT_ServiceMetadata_request_not_valid.xml index 7f0ecd4f0..2d7f58040 100644 --- a/smp-webapp/src/test/resources/expected_output/PUT_ServiceMetadata_request_not_valid.xml +++ b/smp-webapp/src/test/resources/expected_output/PUT_ServiceMetadata_request_not_valid.xml @@ -1,17 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - -<ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> +<?xml version="1.0" encoding="UTF-8" standalone="no"?><ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ServiceInformation> <ParticipantIdentifier scheme="ehealth-actorid-qns">urn:australia:ncpb</ParticipantIdentifier> <DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier> diff --git a/smp-webapp/src/test/resources/expected_output/SignedServiceMetadata_invalid_customized_signature.xml b/smp-webapp/src/test/resources/expected_output/SignedServiceMetadata_invalid_customized_signature.xml index 55c6334bc..c4cd559dd 100644 --- a/smp-webapp/src/test/resources/expected_output/SignedServiceMetadata_invalid_customized_signature.xml +++ b/smp-webapp/src/test/resources/expected_output/SignedServiceMetadata_invalid_customized_signature.xml @@ -1,17 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - -<ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> +<?xml version="1.0" encoding="UTF-8" standalone="no"?><ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ServiceInformation> <ParticipantIdentifier scheme="ehealth-actorid-qns">urn:brazil:ncpb</ParticipantIdentifier> <DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier> diff --git a/smp-webapp/src/test/resources/expected_output/SignedServiceMetadata_invalid_default_signature.xml b/smp-webapp/src/test/resources/expected_output/SignedServiceMetadata_invalid_default_signature.xml index de5c42e3d..fa7d8d677 100644 --- a/smp-webapp/src/test/resources/expected_output/SignedServiceMetadata_invalid_default_signature.xml +++ b/smp-webapp/src/test/resources/expected_output/SignedServiceMetadata_invalid_default_signature.xml @@ -1,17 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - -<SignedServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"><ServiceMetadata> +<?xml version="1.0" encoding="UTF-8" standalone="no"?><SignedServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"><ServiceMetadata> <ServiceInformation> <ParticipantIdentifier scheme="ehealth-actorid-qns">urn:brazil:ncpb</ParticipantIdentifier> <DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier> diff --git a/smp-webapp/src/test/resources/input/ServiceMetadata.xml b/smp-webapp/src/test/resources/input/ServiceMetadata.xml index b270e567a..d41e58bdc 100644 --- a/smp-webapp/src/test/resources/input/ServiceMetadata.xml +++ b/smp-webapp/src/test/resources/input/ServiceMetadata.xml @@ -1,4 +1,5 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<ServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ServiceInformation> <ParticipantIdentifier scheme="ehealth-actorid-qns">urn:australia:ncpb</ParticipantIdentifier> <DocumentIdentifier scheme="ehealth-resid-qns">urn::epsos##services:extended:epsos::107</DocumentIdentifier> diff --git a/smp-webapp/src/test/resources/input/SignedServiceMetadata_withoutSignature.xml b/smp-webapp/src/test/resources/input/SignedServiceMetadata_withoutSignature.xml index 9544c884e..8f82b1de0 100644 --- a/smp-webapp/src/test/resources/input/SignedServiceMetadata_withoutSignature.xml +++ b/smp-webapp/src/test/resources/input/SignedServiceMetadata_withoutSignature.xml @@ -1,17 +1,4 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- - ~ Copyright 2017 European Commission | CEF eDelivery - ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); - ~ You may not use this work except in compliance with the Licence. - ~ - ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf - ~ - ~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the Licence for the specific language governing permissions and limitations under the Licence. - --> - <SignedServiceMetadata xmlns="http://docs.oasis-open.org/bdxr/ns/SMP/2016/05"> <ServiceMetadata> <ServiceInformation> diff --git a/smp-webapp/src/test/resources/spring-security-test-context.xml b/smp-webapp/src/test/resources/spring-security-test-context.xml index 7f212b1ce..3c5b46a1f 100644 --- a/smp-webapp/src/test/resources/spring-security-test-context.xml +++ b/smp-webapp/src/test/resources/spring-security-test-context.xml @@ -2,7 +2,7 @@ <!-- ~ Copyright 2017 European Commission | CEF eDelivery ~ - ~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); + ~ Licensed under the EUPL, Version 1.2 or - as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence"); ~ You may not use this work except in compliance with the Licence. ~ ~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf -- GitLab