directory
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: May 16, 2025
License: Apache-2.0
Opens a new window with license information.
README
¶
Dynatrace configuration as code core library
Generated clients
How to re-generate the Account Management client
-
Create a new branch
-
Update the spec:
- Download the latest Open API spec from
https://api.dynatrace.com/spec-json
- Save it as
gen/specs/account_management/spec.json
.
- Format that spec to make it readable and save it as
gen/specs/account_management/spec_formatted.json
- Make any manual changes to spec as needed, for example, while waiting for official changes.
-
Generate the code by running ./gen.sh
-
Selectively revert a few changes in gen/account_management/client.go
- maybe this wont be needed in the future
- Preserve custom implementation of
func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, style string, collectionType string)
- Remove duplicated definitions of
reportError(...)
and newStrictDecoder(...)
-
Check that everything builds and run all tests, or commit and push the code, open a draft PR and ensure all checks pass
-
Update the core-library in Monaco and the Dynatrace Terraform provider and check that all tests, including E2E tests, pass there.
Directories
¶
Click to show internal directories.
Click to hide internal directories.