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

Review parameters used to connect to API #492

Merged

Conversation

klando
Copy link
Contributor

@klando klando commented Oct 20, 2021

SUMMARY

The variables names were a little bit mixed...
Define that all parameters to connect to API are prefixed by
zabbix_api_ followed by the API parameter name (except for http where it looks really useless).

ISSUE TYPE
  • Improvment Pull Request
COMPONENT NAME

roles zabbix_agent, zabbix_proxy and zabbix_web

ADDITIONAL INFORMATION

The behavior should remain intact.

the names were a little bit mixed...
Define that all parameters to connect to API are prefixed by
`zabbix_api_` followed by the API parameter name.

For zabbix_proxy it's applied too, however aliases management is
untouched.
@codecov
Copy link

codecov bot commented Oct 20, 2021

Codecov Report

Merging #492 (7371523) into main (ab52eaa) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #492   +/-   ##
=======================================
  Coverage   76.81%   76.81%           
=======================================
  Files          22       22           
  Lines        3011     3011           
  Branches      773      773           
=======================================
  Hits         2313     2313           
  Misses        457      457           
  Partials      241      241           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ab52eaa...7371523. Read the comment docs.

mention new parameters and suggest to deprecate the old ones.
@klando klando changed the title [WIP: missing docs] Review parameters used to connect to API Review parameters used to connect to API Oct 21, 2021
@dj-wasabi dj-wasabi merged commit 1c2aed8 into ansible-collections:main Oct 21, 2021
@dj-wasabi
Copy link
Contributor

I like it, also the "deprecated" messages! 👍
Was thinking about making some rework changes as well, will find some time for that so we can soon create a 2.0.0.

Thanks!

@klando klando deleted the for-upstream-review-API-parameters branch October 21, 2021 13:54
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.

3 participants