- Notifications
You must be signed in to change notification settings - Fork 513
[HTTPJSON] fixing config fields in manifest.yml not working as intended #2815
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
Changes from all commits
dbdf510 4b91709 5b10164 eaafffd a64bd3a File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| | @@ -14,47 +14,106 @@ auth.basic.password: {{password}} | |
| pipeline: {{pipeline}} | ||
| {{/if}} | ||
| {{#if oauth_id}} | ||
| auth.oauth2: | ||
| {{#if oauth_id}} | ||
| client.id: {{oauth_id}} | ||
| auth.oauth2.client.id: {{oauth_id}} | ||
| {{/if}} | ||
| {{#if oauth_secret}} | ||
| client.secret: {{oauth_secret}} | ||
| auth.oauth2.client.secret: {{oauth_secret}} | ||
| {{/if}} | ||
| {{#if oauth_token_url}} | ||
| token_url: {{oauth_token_url}} | ||
| auth.oauth2.token_url: {{oauth_token_url}} | ||
| {{/if}} | ||
| {{#if oauth_custom}} | ||
| {{oauth_custom}} | ||
| {{#if oauth_provider}} | ||
| auth.oauth2.provider: {{oauth_provider}} | ||
| {{/if}} | ||
| {{#if oauth_scopes}} | ||
| auth.oauth2.scopes: | ||
| {{#each oauth_scopes as |scope i|}} | ||
| - {{scope}} | ||
| {{/each}} | ||
| {{/if}} | ||
| {{#if oauth_google_credentials_file}} | ||
| auth.oauth2.google.credentials_file: {{oauth_google_credentials_file}} | ||
| {{/if}} | ||
| {{#if oauth_google_credentials_json}} | ||
| auth.oauth2.google.credentials_json: '{{oauth_google_credentials_json}}' | ||
| {{/if}} | ||
| {{#if oauth_google_jwt_file}} | ||
| auth.oauth2.google.jwt_file: {{oauth_google_jwt_file}} | ||
| {{/if}} | ||
| {{#if oauth_azure_tenant_id}} | ||
| auth.oauth2.azure.tenant_id: {{oauth_azure_tenant_id}} | ||
| {{/if}} | ||
| {{#if oauth_azure_resource}} | ||
| auth.oauth2.azure.resource: {{oauth_azure_resource}} | ||
| {{/if}} | ||
| {{#if oauth_endpoint_params}} | ||
| auth.oauth2.azure.resource: | ||
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @P1llus shouldn't this be Member Author There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for pointing it out, I don't need an issue for this, il push a fix later today, you should be able to see the change later today :+1 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks that would be much appreciated! Member Author There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. | ||
| {{oauth_endpoint_params}} | ||
| {{/if}} | ||
| {{/if}} | ||
| | ||
| request: | ||
| url: {{request_url}} | ||
| method: {{request_method}} | ||
| request.url: {{request_url}} | ||
| request.method: {{request_method}} | ||
| {{#if request_body}} | ||
| body: | ||
| {{request_body}} | ||
| request.body: | ||
| {{request_body}} | ||
| {{/if}} | ||
| {{#if request_transforms}} | ||
| transforms: | ||
| {{request_transforms}} | ||
| request.transforms: | ||
| {{request_transforms}} | ||
| {{/if}} | ||
| {{#if request_ssl}} | ||
| ssl: | ||
| {{ssl}} | ||
| request.ssl: | ||
| {{request_ssl}} | ||
| {{/if}} | ||
| {{#if request_encode_as}} | ||
| request.encode_as: {{request_encode_as}} | ||
| {{/if}} | ||
| {{#if request_timeout}} | ||
| request.timeout: {{request_timeout}} | ||
| {{/if}} | ||
| {{#if request_proxy_url}} | ||
| request.proxy_url: {{request_proxy_url}} | ||
| {{/if}} | ||
| {{#if request_retry_max_attempts}} | ||
| request.retry.max_attempts: {{request_retry_max_attempts}} | ||
| {{/if}} | ||
| {{#if request_retry_wait_min}} | ||
| request.retry.wait_min: {{request_retry_wait_min}} | ||
| {{/if}} | ||
| {{#if request_retry_wait_max}} | ||
| request.retry.wait_max: {{request_retry_wait_max}} | ||
| {{/if}} | ||
| {{#if request_redirect_forward_headers}} | ||
| request.redirect.forward_headers: {{request_redirect_forward_headers}} | ||
| {{/if}} | ||
| {{#if request_redirect_headers_ban_list}} | ||
| request.redirect.headers_ban_list: | ||
| {{#each request_redirect_headers_ban_list as |item i|}} | ||
| - {{item}} | ||
| {{/each}} | ||
| {{/if}} | ||
| {{#if request_redirect_max_redirects}} | ||
| request.redirect.max_redirects: {{request_redirect_max_redirects}} | ||
| {{/if}} | ||
| {{#if request_rate_limit_limit}} | ||
| request.rate_limit.limit: {{request_rate_limit_limit}} | ||
| {{/if}} | ||
| {{#if request_rate_limit_reset}} | ||
| request.rate_limit.reset: {{request_rate_limit_reset}} | ||
| {{/if}} | ||
| {{#if request_custom}} | ||
| {{request_custom}} | ||
| {{#if request_rate_limit_remaining}} | ||
| request.rate_limit.remaining: {{request_rate_limit_remaining}} | ||
| {{/if}} | ||
| | ||
| {{#if response_transforms}} | ||
| response.transforms: | ||
| {{response_transforms}} | ||
| {{response_transforms}} | ||
| {{/if}} | ||
| {{#if response_split}} | ||
| response.split: | ||
| {{response_split}} | ||
| {{response_split}} | ||
| {{/if}} | ||
| {{#if response_pagination}} | ||
| response.pagination: {{response_pagination}} | ||
| | @@ -82,5 +141,5 @@ publisher_pipeline.disable_host: true | |
| {{/contains}} | ||
| {{#if processors}} | ||
| processors: | ||
| {{processors}} | ||
| {{processors}} | ||
| {{/if}} | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Since some options were removed, this shouldn't be a major bump? Or if we consider it a fix, a patch bump?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All options now has their own field, so its not removed per se, but the user will get a UI warning asking them to fill in the fields again, I can still bump major if you want @marc-gr ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tested the upgrade process for this package version and verified that you can resolve the conflicts without any show stopping Fleet UI errors?