Dynatrace / dynatrace-configuration-as-code

This tool automates deployment of Dynatrace Configuration to one or multiple Dynatrace environments.
https://docs.dynatrace.com/docs/manage/configuration-as-code/monaco
Apache License 2.0
164 stars 94 forks source link

fix: deploy web key user actions sequentially #1437

Closed warber closed 7 months ago

warber commented 7 months ago

What this PR does / Why we need it:

This makes sure that web key user actions can reliably deployed. Since this API seems to work unreliably whenever we try to create multiple key user actions in parallel this PR forces configs of this type to be deployed sequentially with a 2 second delay between each.

Note that we can only rely on configs to be in the same independent graph component when there are dependencies between them. Hence this approach does not work when hard coding the scope of a web key user actions to a specific web application. For this reason specifying a hard coded scope for web key user actions is not allowed and will result in an error printed to the user.

Special notes for your reviewer:

Does this PR introduce a user-facing change?

github-actions[bot] commented 7 months ago

Unit Test Results

1 785 tests  +1   1 785 :white_check_mark: +1   17s :stopwatch: -1s   127 suites ±0       0 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit 18a26799. ± Comparison against base commit 6059c3c2.

:recycle: This comment has been updated with latest results.

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud