Closed jkleinlercher closed 4 years ago
now there are different commands you can call:
get current config of the specified configuration object:
go run experiments/dynatrace-config.go get experiments/config/anomaly-detection-service.json
show diff between current config and desired config
go run experiments/dynatrace-config.go diff experiments/config/anomaly-detection-service.json
validate desired config:
go run experiments/dynatrace-config.go validate experiments/config/anomaly-detection-service.json
apply desired config:
go run experiments/dynatrace-config.go apply experiments/config/anomaly-detection-service.json
so far I think there is a good first approach for get, diff, validate, apply commands
in addition to an apply-method, we should implement a get method which pulls the current configuration for this configuration object. then we can also implement a diff method (diff between current configuration and desired configuration)