Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9ac66f24 authored by Vincent Hofman's avatar Vincent Hofman
Browse files

[TESEH-182] Complete the Setting parameter value

parent dbe1f6f2
No related branches found
No related tags found
No related merge requests found
...@@ -1266,7 +1266,7 @@ ...@@ -1266,7 +1266,7 @@
<con:entry key="date" value="ge2020-06-13"/> <con:entry key="date" value="ge2020-06-13"/>
<con:entry key="patient.identifier" value="urn:oid:2.16.756.5.30.1.127.3.10.3|761337610435209810"/> <con:entry key="patient.identifier" value="urn:oid:2.16.756.5.30.1.127.3.10.3|761337610435209810"/>
<con:entry key="status" value="current"/> <con:entry key="status" value="current"/>
<con:entry key="setting" value="394802001"/> <con:entry key="setting" value="http://snomed.info/sct|394802001"/>
</con:parameters><con:parameterOrder><con:entry>facility</con:entry><con:entry>format</con:entry><con:entry>identifier</con:entry><con:entry>patient</con:entry><con:entry>period</con:entry><con:entry>related</con:entry><con:entry>security-label</con:entry><con:entry>setting</con:entry><con:entry>status</con:entry><con:entry>type</con:entry><con:entry>author.given</con:entry><con:entry>author.family</con:entry><con:entry>category</con:entry><con:entry>creation</con:entry><con:entry>date</con:entry><con:entry>event</con:entry><con:entry>patient.identifier</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:testStep type="restrequest" name="Document search by facility and period" id="692ee65b-2918-403d-8178-e5f61fe2856b" disabled="true"><con:settings/><con:config service="MHD" resourcePath="/DocumentReference" methodName="DocumentReference search" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Document search by facility and period" id="4153fd6a-725d-44c4-933c-e56a5d944ac8" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment xmlns:con="http://eviware.com/soapui/config">&#13; </con:parameters><con:parameterOrder><con:entry>facility</con:entry><con:entry>format</con:entry><con:entry>identifier</con:entry><con:entry>patient</con:entry><con:entry>period</con:entry><con:entry>related</con:entry><con:entry>security-label</con:entry><con:entry>setting</con:entry><con:entry>status</con:entry><con:entry>type</con:entry><con:entry>author.given</con:entry><con:entry>author.family</con:entry><con:entry>category</con:entry><con:entry>creation</con:entry><con:entry>date</con:entry><con:entry>event</con:entry><con:entry>patient.identifier</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:testStep type="restrequest" name="Document search by facility and period" id="692ee65b-2918-403d-8178-e5f61fe2856b" disabled="true"><con:settings/><con:config service="MHD" resourcePath="/DocumentReference" methodName="DocumentReference search" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Document search by facility and period" id="4153fd6a-725d-44c4-933c-e56a5d944ac8" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment xmlns:con="http://eviware.com/soapui/config">&#13;
&lt;con:entry key="Authorization" value="Bearer ${#Project#accessTokenIUA}"/>&#13; &lt;con:entry key="Authorization" value="Bearer ${#Project#accessTokenIUA}"/>&#13;
&lt;con:entry key="Accept" value="application/fhir+json"/>&#13; &lt;con:entry key="Accept" value="application/fhir+json"/>&#13;
...@@ -1344,4 +1344,4 @@ def traceparent = "00-" + generateHex().substring(0, 32) + "-" + generateHex().s ...@@ -1344,4 +1344,4 @@ def traceparent = "00-" + generateHex().substring(0, 32) + "-" + generateHex().s
//log.info(traceparent) //log.info(traceparent)
testRunner.testCase.testSuite.project.setPropertyValue("traceparent", traceparent); testRunner.testCase.testSuite.project.setPropertyValue("traceparent", traceparent);
def pattern = Pattern.compile("^00-[a-fA-F0-9]{32}-[a-fA-F0-9]{16}-00\$") def pattern = Pattern.compile("^00-[a-fA-F0-9]{32}-[a-fA-F0-9]{16}-00\$")
assert pattern.matcher(traceparent).matches() : "Generated traceparent does not correspond to the expected result"</script></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties><con:property><con:name>domainName</con:name><con:value>https://ehealthsuisse.ihe-europe.net/mhd-fhir-simulator/fhir/</con:value></con:property><con:property><con:name>authorizationServerDomainName</con:name><con:value>https://ehealthsuisse.ihe-europe.net</con:value></con:property><con:property><con:name>resourceIUA</con:name><con:value>https://ehealthsuisse.ihe-europe.net/CareServicesSelectiveSupplier</con:value></con:property><con:property><con:name>scopeBasicIUA</con:name><con:value>purpose_of_use=urn:oid:2.16.756.5.30.1.127.3.10.5|NORM</con:value></con:property><con:property><con:name>client_idIUA</con:name><con:value>ch-iua-client</con:value></con:property><con:property><con:name>client_secretIUA</con:name><con:value>vMLfCAjAa9OiuQoK21EUN66R8fbx2fxa</con:value></con:property><con:property><con:name>DocumentReferenceId</con:name><con:value>15</con:value></con:property><con:property><con:name>accessTokenIUA</con:name><con:value>WILL_BE_ERASED</con:value></con:property><con:property><con:name>traceparent</con:name><con:value>WILL_BE_ERASED</con:value></con:property></con:properties><con:wssContainer/><con:oAuth2ProfileContainer/><con:oAuth1ProfileContainer/><con:sensitiveInformation/></con:soapui-project> assert pattern.matcher(traceparent).matches() : "Generated traceparent does not correspond to the expected result"</script></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties><con:property><con:name>domainName</con:name><con:value>https://ehealthsuisse.ihe-europe.net/mhd-fhir-simulator/fhir/</con:value></con:property><con:property><con:name>authorizationServerDomainName</con:name><con:value>https://ehealthsuisse.ihe-europe.net</con:value></con:property><con:property><con:name>resourceIUA</con:name><con:value>https://ehealthsuisse.ihe-europe.net/CareServicesSelectiveSupplier</con:value></con:property><con:property><con:name>scopeBasicIUA</con:name><con:value>purpose_of_use=urn:oid:2.16.756.5.30.1.127.3.10.5|NORM</con:value></con:property><con:property><con:name>client_idIUA</con:name><con:value>ch-iua-client</con:value></con:property><con:property><con:name>client_secretIUA</con:name><con:value>vMLfCAjAa9OiuQoK21EUN66R8fbx2fxa</con:value></con:property><con:property><con:name>DocumentReferenceId</con:name><con:value>15</con:value></con:property><con:property><con:name>accessTokenIUA</con:name><con:value>eyJhbGciOiJSUzI1NiIsInR5cC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0IjoiMTMwLjkzLjI2LjEwMiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LWNoLWl1YS1jbGllbnQiLCJjbGllbnRBZGRyZXNzIjoiMTMwLjkzLjI2LjEwMiJ9.MVkYQ0BXZd7kJffc-SKEo_k7LjCqX1KnQL3PfpBoCh8sy90pTWya3wkqHVoeRcnTScoUNRPdwnL-IH4gqBqkIcA-XcoKN43B1bK26fEBGwRZaOgZcydevUe0URgkP4K-EoH3MbnV7dHEEFzb-1bjIaGVY5SHcZiWgmoWmC86AgrpKFyZcfMIwUhbSioCyyjaK2zicXL5HYTfdoaVXnGiedXMunml1zEIVDHkv8Mwm1gKiGHFdZxNhK9RVjrdttIA9wkjvUAc0OSPb0R8R6ykS32tL9O0aoQzWftJLjpCPR3wVAfBD9FImGxdHnaQ_NfNNHuCUHyVFC1mj7oqoZ81lA</con:value></con:property><con:property><con:name>traceparent</con:name><con:value>00-66ba46af6da8456093b4a0fc59a8494a-eb295e5af02e48d7-00</con:value></con:property></con:properties><con:wssContainer/><con:oAuth2ProfileContainer/><con:oAuth1ProfileContainer/><con:sensitiveInformation/></con:soapui-project>
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment