This PR deactivates an integration test class in the tx-backend module which has a method that used to write the OpenAPI spec file to two locations on every run, which caused giant and unwanted diffs.
Accordingly, this behaviour has now been fixed.
The test class is deactivated by means of the Spring Boot annotation EnabledIf. This annotation reads a value from application-integration-spring-boot.yml in tx-backend that indicates whether the test is activated or not, which is false by default.
The old spec file located in tx-backend has been removed. The file in docs/api has not been removed in order to retain compliance with TRG 1.08.
The workflow release.yml now runs the test that updates the spec file with the aforementioned config value set to true, meaning the file is updated on release. A pull request is created from the changes to the spec file.
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:
[X] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
Description
This PR deactivates an integration test class in the
tx-backend
module which has a method that used to write the OpenAPI spec file to two locations on every run, which caused giant and unwanted diffs.EnabledIf
. This annotation reads a value fromapplication-integration-spring-boot.yml
intx-backend
that indicates whether the test is activated or not, which isfalse
by default.tx-backend
has been removed. The file indocs/api
has not been removed in order to retain compliance with TRG 1.08.release.yml
now runs the test that updates the spec file with the aforementioned config value set to true, meaning the file is updated on release. A pull request is created from the changes to the spec file.Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review: