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

feat: Add support for private documents #1492

Closed arthurpitman closed 5 months ago

arthurpitman commented 5 months ago

This PR adds the private field to document types to allow a document to be explicitly made private (not visible to other users) rather than public (which is the default).

This PR also makes a breaking change for specifying the type of document, now renaming this to kind, which can still be set to either dashboard-document or notebook-document. This should be less confusing than having type used twice.

For example a private dashboard would have the following config type:

  type:
    document:
      kind: dashboard-document
      private: true
github-actions[bot] commented 5 months ago

E2E Test Results

    4 files  ±0    264 suites  ±0   19m 59s :stopwatch: - 7m 25s 1 963 tests +1  1 962 :white_check_mark: +2  1 :zzz: ±0  0 :x:  - 1  2 051 runs  +1  2 050 :white_check_mark: +2  1 :zzz: ±0  0 :x:  - 1 

Results for commit 335a86c6. ± Comparison against base commit d4fbb883.

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

github-actions[bot] commented 5 months ago

Unit Test Results

1 853 tests  +1   1 853 :white_check_mark: +1   27s :stopwatch: -1s   131 suites ±0       0 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit 00fa2a50. ± Comparison against base commit d4fbb883.

: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