Skip to content

Commit

Permalink
Move to 1.1.0 TES spec compliance (#653)
Browse files Browse the repository at this point in the history
* Add in 1.1.0 TES spec compliance.

* Add in both versions of of TES compliance ( 1.1 and 1.0 )

* Make two reports and concatenate them

* Updated TES compliance suite to update the service info testing for email PR: Update schema to match pattern of contact form or email. Closes #69. elixir-cloud-aai/openapi-test-runner#70 . This now allows our service info to pass for 1.0 and 1.1 compliance.
  • Loading branch information
vsmalladi authored May 20, 2024
1 parent dc47555 commit a32567d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/TesApi.Web/tes-compliance-test/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ tespassword=$(jq -r '.TesPassword' TesCredentials.json)
# openapi-test-runner repo provides a default entry point script, but since TES uses basic auth it needs to be replaced to add approprite credentials
# https://github.com/elixir-cloud-aai/openapi-test-runner
openapi-test-runner report --server http://$tesuser:$tespassword@$teshostname/ --version 1.0.0 --output_path results
mv results/report.json results/report-tes-1.0.0.json
openapi-test-runner report --server http://$tesuser:$tespassword@$teshostname/ --version 1.1.0 --output_path results
mv results/report.json results/report-tes-1.1.0.json
jq -n 'reduce inputs as $s (.; .[input_filename] += $s)' results/report-tes-1.0.0.json results/report-tes-1.1.0.json > results/report.json

0 comments on commit a32567d

Please sign in to comment.