Package de.gematik.test.tiger.glue.fhir
Class FhirPathValidationGlue
java.lang.Object
de.gematik.test.tiger.glue.fhir.FhirPathValidationGlue
Glue code for FHIRPath validation.
It allows you fo perform boolean FHIRPath expressions on requests and responses and to check if they evaluate as expected.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfhirEvaluateFHIRPathTigerResolvedStringOnCurrentResponseBodyAndStoreResultInVariableString(String fhirPath, String variable) voidvoidtgrCurrentRequestBodyEvaluatesTheFhirPath(String fhirPath, String errorMessage) voidtgrCurrentRequestBodyEvaluatesTheFhirPaths(String fhirPaths) voidtgrCurrentRequestBodyFailesTheFhirPath(String fhirPath) voidtgrCurrentRequestEvaluatesTheFhirPath(String rbelPath, String fhirPath) voidtgrCurrentRequestEvaluatesTheFhirPath(String rbelPath, String fhirPath, String errorMessage) voidtgrCurrentRequestEvaluatesTheFhirPaths(String rbelPath, String fhirPaths) voidtgrCurrentRequestFailsTheFhirPath(String rbelPath, String fhirPath) voidvoidtgrCurrentResponseBodyEvaluatesTheFhirPath(String fhirPath, String errorMessage) voidvoidtgrCurrentResponseBodyFailsTheFhirPath(String fhirPath) voidtgrCurrentResponseEvaluatesTheFhirPath(String rbelPath, String fhirPath) voidtgrCurrentResponseEvaluatesTheFhirPath(String rbelPath, String fhirPath, String errorMessage) voidtgrCurrentResponseEvaluatesTheFhirPaths(String rbelPath, String fhirPaths) voidtgrCurrentResponseFailsTheFhirPath(String rbelPath, String fhirPath)
-
Constructor Details
-
FhirPathValidationGlue
public FhirPathValidationGlue()
-
-
Method Details
-
tgrCurrentRequestBodyEvaluatesTheFhirPath
@Then("FHIR current request body evaluates the FHIRPath {string}") @Dann("FHIR pr\u00fcfe die aktuelle Anfrage erf\u00fcllt im Body den FHIRPath {string}") @Wenn("FHIR die aktuelle Anfrage im Body den FHIRPath {string} erf\u00fcllt") public void tgrCurrentRequestBodyEvaluatesTheFhirPath(String fhirPath) -
tgrCurrentRequestBodyEvaluatesTheFhirPath
@Then("FHIR current request body evaluates the FHIRPath {tigerResolvedString} with error message {tigerResolvedString}") @Dann("FHIR pr\u00fcfe die aktuelle Anfrage erf\u00fcllt im Body den FHIRPath {tigerResolvedString} mit der Fehlermeldung {tigerResolvedString}") @Wenn("FHIR die aktuelle Anfrage im Body den FHIRPath {tigerResolvedString} mit der Fehlermeldung {tigerResolvedString} erf\u00fcllt") public void tgrCurrentRequestBodyEvaluatesTheFhirPath(String fhirPath, String errorMessage) -
tgrCurrentRequestEvaluatesTheFhirPath
@Then("FHIR current request at {string} evaluates the FHIRPath {string}") @Dann("FHIR pr\u00fcfe aktuelle Anfrage im Knoten {string} erf\u00fcllt den FHIRPath {string}") @Wenn("FHIR die aktuelle Anfrage im Knoten {string} den FHIRPath {string} erf\u00fcllt") public void tgrCurrentRequestEvaluatesTheFhirPath(String rbelPath, String fhirPath) -
tgrCurrentRequestEvaluatesTheFhirPath
@Then("FHIR current request at {tigerResolvedString} evaluates the FHIRPath {tigerResolvedString} with error message {tigerResolvedString}") @Dann("FHIR pr\u00fcfe die aktuelle Anfrage erf\u00fcllt im Knoten {tigerResolvedString} den FHIRPath {tigerResolvedString} mit der Fehlermeldung {tigerResolvedString}") @Wenn("FHIR die aktuelle Anfrage im Knoten {tigerResolvedString} den FHIRPath {tigerResolvedString} mit der Fehlermeldung {tigerResolvedString} erf\u00fcllt") public void tgrCurrentRequestEvaluatesTheFhirPath(String rbelPath, String fhirPath, String errorMessage) -
tgrCurrentRequestBodyEvaluatesTheFhirPaths
@Then("FHIR current request body evaluates the FHIRPaths:") @Dann("FHIR pr\u00fcfe die aktuelle Anfrage erf\u00fcllt im Body die FHIRPath Ausdr\u00fccke:") @Wenn("FHIR die aktuelle Anfrage im Body die FHIRPath Ausdr\u00fccke erf\u00fcllt:") public void tgrCurrentRequestBodyEvaluatesTheFhirPaths(String fhirPaths) -
tgrCurrentRequestEvaluatesTheFhirPaths
@Then("FHIR current request at {tigerResolvedString} evaluates the FHIRPaths:") @Dann("FHIR pr\u00fcfe die aktuelle Anfrage erf\u00fcllt im Knoten {tigerResolvedString} die FHIRPath Ausdr\u00fccke:") @Wenn("FHIR die aktuelle Anfrage im Knoten {tigerResolvedString} die FHIRPath Ausdr\u00fccke erf\u00fcllt:") public void tgrCurrentRequestEvaluatesTheFhirPaths(String rbelPath, String fhirPaths) -
tgrCurrentResponseBodyEvaluatesTheFhirPath
@Then("FHIR current response body evaluates the FHIRPath {string}") @Dann("FHIR pr\u00fcfe die aktuelle Antwort erf\u00fcllt im Body den FHIRPath {string}") @Wenn("FHIR die aktuelle Antwort im Body den FHIRPath {string} erf\u00fcllt") public void tgrCurrentResponseBodyEvaluatesTheFhirPath(String fhirPath) -
tgrCurrentResponseBodyEvaluatesTheFhirPath
@Then("FHIR current response body evaluates the FHIRPath {tigerResolvedString} with error message {tigerResolvedString}") @Dann("FHIR pr\u00fcfe die aktuelle Antwort erf\u00fcllt im Body den FHIRPath {tigerResolvedString} mit der Fehlermeldung {tigerResolvedString}") @Wenn("FHIR die aktuelle Antwort im Body den FHIRPath {tigerResolvedString} mit der Fehlermeldung {tigerResolvedString} erf\u00fcllt") public void tgrCurrentResponseBodyEvaluatesTheFhirPath(String fhirPath, String errorMessage) -
tgrCurrentResponseEvaluatesTheFhirPath
@Then("FHIR current response at {string} evaluates the FHIRPath {string}") @Dann("FHIR pr\u00fcfe die aktuelle Antwort erf\u00fcllt im Knoten {string} den FHIRPath {string}") @Wenn("FHIR die aktuelle Antwort im Knoten {string} den FHIRPath {string} erf\u00fcllt") public void tgrCurrentResponseEvaluatesTheFhirPath(String rbelPath, String fhirPath) -
tgrCurrentResponseEvaluatesTheFhirPath
@Then("FHIR current response at {tigerResolvedString} evaluates the FHIRPath {tigerResolvedString} with error message {tigerResolvedString}") @Dann("FHIR pr\u00fcfe die aktuelle Antwort erf\u00fcllt im Knoten {tigerResolvedString} den FHIRPath {tigerResolvedString} mit der Fehlermeldung {tigerResolvedString}") @Wenn("FHIR die aktuelle Antwort im Knoten {tigerResolvedString} den FHIRPath {tigerResolvedString} mit der Fehlermeldung {tigerResolvedString} erf\u00fcllt") public void tgrCurrentResponseEvaluatesTheFhirPath(String rbelPath, String fhirPath, String errorMessage) -
tgrCurrentResponseBodyEvaluatesTheFhirPaths
@Then("FHIR current response body evaluates the FHIRPaths:") @Dann("FHIR pr\u00fcfe die aktuelle Antwort erf\u00fcllt im Body die FHIRPath Ausdr\u00fccke:") @Wenn("FHIR die aktuelle Antwort im Body die FHIRPath Ausdr\u00fccke erf\u00fcllt:") public void tgrCurrentResponseBodyEvaluatesTheFhirPaths(String fhirPaths) -
tgrCurrentResponseEvaluatesTheFhirPaths
@Then("FHIR current response at {tigerResolvedString} evaluates the FHIRPaths:") @Dann("FHIR pr\u00fcfe die aktuelle Antwort erf\u00fcllt im Knoten {tigerResolvedString} die FHIRPath Ausdr\u00fccke:") @Wenn("FHIR die aktuelle Antwort im Knoten {tigerResolvedString} die FHIRPath Ausdr\u00fccke erf\u00fcllt:") public void tgrCurrentResponseEvaluatesTheFhirPaths(String rbelPath, String fhirPaths) -
tgrCurrentRequestBodyFailesTheFhirPath
@Then("FHIR current request body fails the FHIRPath {tigerResolvedString}") @Dann("FHIR pr\u00fcfe die aktuelle Anfrage erf\u00fcllt im Body nicht den FHIRPath {tigerResolvedString}") @Wenn("FHIR die aktuelle Anfrage im Body nicht den FHIRPath {tigerResolvedString} erf\u00fcllt") public void tgrCurrentRequestBodyFailesTheFhirPath(String fhirPath) -
tgrCurrentRequestFailsTheFhirPath
@Then("FHIR current request at {tigerResolvedString} fails the FHIRPath {tigerResolvedString}") @Dann("FHIR pr\u00fcfe die aktuelle Anfrage erf\u00fcllt im Knoten {tigerResolvedString} nicht den FHIRPath {tigerResolvedString}") @Wenn("FHIR die aktuelle Anfrage im Knoten {tigerResolvedString} nicht den FHIRPath {tigerResolvedString} erf\u00fcllt") public void tgrCurrentRequestFailsTheFhirPath(String rbelPath, String fhirPath) -
tgrCurrentResponseBodyFailsTheFhirPath
@Then("FHIR current response body fails the FHIRPath {tigerResolvedString}") @Dann("FHIR pr\u00fcfe die aktuelle Antwort erf\u00fcllt im Body nicht den FHIRPath {tigerResolvedString}") @Wenn("FHIR die aktuelle Antwort im Body nicht den FHIRPath {tigerResolvedString} erf\u00fcllt") public void tgrCurrentResponseBodyFailsTheFhirPath(String fhirPath) -
tgrCurrentResponseFailsTheFhirPath
@Then("FHIR current response at {tigerResolvedString} fails the FHIRPath {tigerResolvedString}") @Dann("FHIR pr\u00fcfe die aktuelle Antwort erf\u00fcllt im Knoten {tigerResolvedString} nicht den FHIRPath {tigerResolvedString}") @Wenn("FHIR die aktuelle Antwort im Knoten {tigerResolvedString} nicht den FHIRPath {tigerResolvedString} erf\u00fcllt") public void tgrCurrentResponseFailsTheFhirPath(String rbelPath, String fhirPath) -
fhirEvaluateFHIRPathTigerResolvedStringOnCurrentResponseBodyAndStoreResultInVariableString
@Then("FHIR evaluate FHIRPath {tigerResolvedString} on current response body and store first element as primitive value in variable {tigerResolvedString}") @Dann("FHIR pr\u00fcfe die aktuelle Antwort den FHIRPath {tigerResolvedString} und speichere das erste Ergebnis als primitiven Wert in Variable {tigerResolvedString}") public void fhirEvaluateFHIRPathTigerResolvedStringOnCurrentResponseBodyAndStoreResultInVariableString(String fhirPath, String variable)
-