Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 55065874f6d52821797136ca1d54ea227ff7aeb5
https://github.com/openSUSE/open-build-service/commit/55065874f6d52821797136...
Author: Dany Marcoux
Date: 2022-04-04 (Mon, 04 Apr 2022)
Changed paths:
M src/api/app/controllers/trigger_controller.rb
M src/api/app/controllers/trigger_workflow_controller.rb
A src/api/spec/cassettes/TriggerController/_create/when_some_parameters_are_not_strings/still_processes_the_request_without_validating_parameters.yml
M src/api/spec/controllers/trigger_controller_spec.rb
M src/api/spec/controllers/trigger_workflow_controller_spec.rb
Log Message:
-----------
Do not validate params in TriggerController
This was removed in the PR #12353 and it was wrong. This controller
receives webhooks from SCMs, so skipping this validation is needed.
Specs are also covering what wasn't covered in #12353.
Commit: 880bf0f225fa3e35b2eee6697efa68fbe1f9ed2f
https://github.com/openSUSE/open-build-service/commit/880bf0f225fa3e35b2eee6...
Author: Henne Vogelsang
Date: 2022-04-04 (Mon, 04 Apr 2022)
Changed paths:
M src/api/app/controllers/trigger_controller.rb
M src/api/app/controllers/trigger_workflow_controller.rb
A src/api/spec/cassettes/TriggerController/_create/when_some_parameters_are_not_strings/still_processes_the_request_without_validating_parameters.yml
M src/api/spec/controllers/trigger_controller_spec.rb
M src/api/spec/controllers/trigger_workflow_controller_spec.rb
Log Message:
-----------
Merge pull request #12397 from dmarcoux/undo-parts-of-PR-12353
Do not validate params in TriggerController
Compare: https://github.com/openSUSE/open-build-service/compare/e8e8965d505c...880bf0...