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

[SDKv2] Merge master into sdk-v2 branch #1008

Merged
merged 16 commits into from
Mar 26, 2021
Merged

[SDKv2] Merge master into sdk-v2 branch #1008

merged 16 commits into from
Mar 26, 2021

Conversation

skarimo
Copy link
Member

@skarimo skarimo commented Mar 25, 2021

No description provided.

rymir and others added 16 commits March 9, 2021 18:51
* Fix typo from cases to case

* Do not persist state changes when modifying bad rule case

* Update default rule case notifications

* align default rule case notification recipients when rule case tracked in terraform configuration
* clear default rule case notification recipients when rule case removed from terraform configuration

* Remove broken tests

It is not possible to use both ImportState: True and Check

* Revert "Remove broken tests"

This reverts commit fed89bf.

* Reapply test changes, re-record

* Lint

Co-authored-by: Alexandre Trufanow <[email protected]>
Co-authored-by: Thomas Hervé <[email protected]>
Don't use removed metric
* add dashboard_json resource

* refactor and use client exported request methods

* lint and move helper functions to util

* lint

* handle diffs on computed fields

* normalize json string

* add tests and refactor

* update go client

* lint

* update tests and lint

* apply code review requested changes

* apply code review suggestions and re-record cassettes

* generate resource docs

* fmt
* [dashboard datasource] Retry on 504 errors
* Use TimeoutRead instead of TimeoutCreate

Signed-off-by: Jared Ledvina <[email protected]>
* initial commit for metric tag configuration resource

* fixed build update to properly check metric_type before setting include_percentiles

* added first pass on tests for tag config resource

* added first pass on example for tag config resource

* changes to upgrade client to master

* fmt example

* fixed tag config schema and use proper id for api calls

* use proper provider for test

* capitalize test func name

* enable unstable endpoints, remove prints, use proper id for state, check include_percentiles

* add remaining diff from master merge in

* cleanup comment and imports

* golint

* fix test to use proper metric_name

* fix existing tag config check

* cassettes

* updated cassettes

* updated cassettes and import test name

* removed old cassettes

* cleanup comments and unneeded changes

* dont include percentiles in example

* added customizeDiff function for include_percentiles option

* removed completed todos

* fix error message

* fix error message

* updated example metric name and generated docs

* updated cassettes

* fix cassettes for import test

* update docs

* update doc comment

* added examples and updated docs

* update description, check status code for update

* update test check to check status code

* update docs

* added error test and cassette

* updated import cassette

* updated basic cassette

* check status code when importing tag configuration

* added test invalid import ID, update cassettes

* added metrics-agg as codeowner

* changes from 1st round of PR comments, first pass at handling [] tags

* update import cassette

* update basic cassette

* change regex, change validation to use all function
…[VIZZ-1207] (#992)

* Add legend_layout and legend_columns to timeseries widget def

* Update timeseries widget tests

* Update go deps

* Record cassettes

* Remove other updates

* Remove unwanted cassettes changes

* Make docs

* Update to latest commit

* List enum values in legend_layout description

* add missing enum description

* Make legend_columns a TypeSet

* Use TypeSet properly, fix tests

* Update docs

Co-authored-by: Thomas Hervé <[email protected]>
Use released version
* cleanup imports

* cleanup imports on all resources and tests
* add support for global_time_target

* regenerate docs
* use goimports instead of fmt

* use format-only
* [Synthetics] Prevent certificate update with wrong value

* [Synthetics] Improve hash detection
@skarimo skarimo requested review from a team as code owners March 25, 2021 19:36
// Use utility method below, instead of the above one, to print out all state keys/values during test debugging
//funcs = append(funcs, CheckResourceAttr(name, key, value))

// Handle TypeSet attributes
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Workaroud to handle TypeSets since referencing them with hashes are no longer supported in terraform sdkv2

@skarimo skarimo merged commit 49e2f0c into sdk-v2 Mar 26, 2021
@skarimo skarimo deleted the sherz/sdkv2-sync branch March 26, 2021 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants