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

chore: Use `document` as config type for dashboards and notebooks #1495

Closed arthurpitman closed 5 months ago

arthurpitman commented 5 months ago

This PR is a follow up to #1492, and simplifies the kind field to either dashboard or notebook.

Both dashboards and notebooks are now considered configs of type document, meaning, for example, a reference to a dashboard configuration should take the form:

parameters:
  my_dashboard_id:
    type: reference
    project: my-project
    configType: document
    configId: my-dashboard
    property: id

Furthermore, with this PR document configs are downloaded into a document folder within the project.

github-actions[bot] commented 5 months ago

Unit Test Results

1 853 tests  ±0   1 853 :white_check_mark: ±0   26s :stopwatch: ±0s   131 suites ±0       0 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit e432de6a. ± Comparison against base commit c231c6d7.

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

github-actions[bot] commented 5 months ago

E2E Test Results

    4 files   -  1    264 suites   - 131   25m 3s :stopwatch: - 31m 28s 1 963 tests  -  2  1 962 :white_check_mark: ±  0  1 :zzz: ±0  0 :x:  - 2  2 051 runs   - 90  2 050 :white_check_mark:  -  88  1 :zzz: ±0  0 :x:  - 2 

Results for commit a7cc91f0. ± Comparison against base commit c231c6d7.

This pull request removes 2 tests. ``` github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestPaginationClassic github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestPaginationPlatform ```

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

sonarcloud[bot] commented 5 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