-
Notifications
You must be signed in to change notification settings - Fork 95
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
[Grouper/Epic] Download Functionality problems and improvements #179
Comments
Not sure if I agree with
Usecase is as follows: what if I download from environment/cluster X (let's say non-prod) that is on version a and I want to apply that config to environment/cluster Y (production) that is on version b and there is a difference in API behaviour. The meta data of the version would allow us to process that properly |
about the yaml formatting, we will have to look for an different parser from golang struct to yaml, the default one is quite strict in the convention for formatting go-yaml/yaml#556. We will have to create custom formatters to get quoting and line breaks for certain blocks. |
But is there any value in saving this into repository? If the idea is to use download functionality to pull and store config repo ready configuration, then this configuration should also work with different cluster versions. If the main concern is validation in case of failing updates (to another environment), then there are other plans in verifying configuration compatibility, not through metada. |
Adding to this issue at it seems relevant, happy to raise a new issue if more appropriate.
Testing on a customers environment (hoping to use monaco to migrate all config from an environment into another), 25 Web Applications, the UI reports 36 app-detection-rules, only 25 are present in the JSON files. (using version 1.4.0). |
Some more meat around this: config:
- Webadmintools: Webadmintools.json
- Webadmintools: Webadmintools.json
- Webadmintools: Webadmintools.json
- Webadmintools: Webadmintools.json
- Webadmintools: Webadmintools.json
Webadmintools:
- name: Web admin tools
- name: Web admin tools
- name: Web admin tools
- name: Web admin tools
- name: Web admin tools
|
another issue for the custom service download needs to remove rule id and method rule Id to allow the deploy process to be transparent for the user. |
Another issue is in application-web, "identifier" is not stripped blocking a re-upload. |
As this issue is quite old and groups several issues, the current state needs to be checked - some of these should be fixed/about to the be fixed. Current state (tick if solved already)
|
Rather than trying to log the Value object as a string, when logging that a config is downloaded, log the name and id. ref: Dynatrace#179
open sub tasks to be handled with v2 |
Used internal env to test download functionality.
Describe the bug
Various things which should be improved by download functionality:
config: []
download-specific-api
to keep consistency or even better tospecific-api
as it's a part of download commandp
alias used fordownloadSpecificApi
> not really intuitivYaml file containing environment to deploy to
-deploy
should be renamed todownload
enviroments
typosDEBUG getting detail {... Cl_ES %!s(*string=<nil>)}
The text was updated successfully, but these errors were encountered: