Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for multiple optional SCM's instances #391

Merged
merged 19 commits into from
Aug 18, 2020

Conversation

NimrodGolan
Copy link
Contributor

Description

Enable multiple optional SCM's instances on Cx-Flow configuration

References

https://dev.azure.com/CxFlow/CxFlow/_workitems/edit/231

Testing

Integration test with optional instance was created, while default configuration is on comment-out

Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.

@NimrodGolan NimrodGolan added the enhancement New feature or request label Aug 18, 2020
@NimrodGolan NimrodGolan merged commit 104fe64 into develop Aug 18, 2020
@NimrodGolan NimrodGolan deleted the pr-nimrod-multi-scm-inst branch August 18, 2020 11:09
james-bostock-cx pushed a commit to james-bostock-cx/cx-flow that referenced this pull request Mar 18, 2021
* Introduce new scmInstance property

* Repo properties have a new optionalInstances map property

* Set scmInstance as an integrate scanRequest member property

* Determine GitHub SCM config overrider for token & api-uri params

* Determine webhook token on scm config overrider

* In case a wrong scm-instance was defined throw an exception

* Determine api-url on scm config overrider

* Determine token on scm config overrider

* Set DTO getters & setters

* Set scm instance on pullRequest flow

* Add scm overrider logs

* Set scmConfigOverrider property on failed tests

* Add validation also for scan request scm instance

* Add new multi-scm integration test

* Set determineConfigToken method with a generic string param
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants