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

feat: add module grafana_contact_point #352

Merged
merged 54 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
5c6c9cd
feat: switc org by name
Nemental Feb 26, 2024
0459e03
feat: check if unified grafana is enabled
Nemental Feb 26, 2024
15a68e5
docs: org id description
Nemental Feb 26, 2024
dac7382
docs: added org_name description
Nemental Feb 26, 2024
39fcc66
feat: url and exception toggle for api handling
Nemental Feb 26, 2024
d3187f0
fix: create or update function
Nemental Feb 27, 2024
aff1368
fix: delete contact points logic
Nemental Feb 27, 2024
699ac33
chore: format
Nemental Feb 27, 2024
e2e9164
refactor: handling of get response
Nemental Feb 28, 2024
11383b4
fix: reset notification channel
Nemental Feb 28, 2024
3feb22e
feat: intial add working contact point module
Nemental Feb 28, 2024
8e57f4a
chore: format
Nemental Feb 28, 2024
d155269
chore: wtf i named it yml
Nemental Feb 28, 2024
48f64fe
chore: remove unused import
Nemental Feb 29, 2024
10a726f
docs: changelog fragment
Nemental Feb 29, 2024
280642f
feat: initial support of contact point module in grafana role
Nemental Feb 29, 2024
c8c06bf
docs: add module to readme
Nemental Feb 29, 2024
458cd18
chore: arguments for all contact points
Nemental Mar 4, 2024
27a8f02
chore: format
Nemental Mar 4, 2024
79f44cf
chore: handle provisioning
Nemental Mar 4, 2024
dc00206
chore: payload with type settings map and for loop
Nemental Mar 4, 2024
aed177a
fix: alertmanager type
Nemental Mar 4, 2024
18de3a3
test: initial add contact point integration tests
Nemental Mar 4, 2024
e11c33b
fix: provisioning handling
Nemental Mar 4, 2024
08c8755
chore: rename before to contact_point
Nemental Mar 20, 2024
b6536b8
chore: switch entry func and define contact point as self var
Nemental Mar 20, 2024
162e598
fix: change update diff check
Nemental Mar 20, 2024
06490f2
fix: payload data handling and update diff check
Nemental Mar 20, 2024
b9c7655
test: all basic tests successful
Nemental Mar 20, 2024
8bdc673
fix: fail definition for grafana < 9
Nemental Mar 21, 2024
baa6415
test: loop cp task files
Nemental Mar 21, 2024
6e4cb10
test: add api endpoint check
Nemental Mar 21, 2024
89c20ff
chore: todos and rename function
Nemental Apr 5, 2024
6bc6f1e
docs: ansible argument docs without desc
Nemental Apr 11, 2024
5ac22a3
chore: added else for provisioning handling and api version error mes…
Nemental Apr 11, 2024
41db622
fix: pass if provisioning is else
Nemental Apr 11, 2024
5206194
test: fix grafana version check
Nemental Apr 11, 2024
c9eebc8
chore: argument section comments
Nemental Apr 11, 2024
fa5ce76
docs: module docs sanity findings
Nemental Apr 11, 2024
5b55562
docs: role parameters
Nemental May 27, 2024
f170e99
docs: module args description texts (thanks chatgpt)
Nemental May 27, 2024
b42893e
docs: module return values
Nemental May 27, 2024
248d638
fix: contact point var ref
Nemental May 27, 2024
5478f19
docs: return returned type
Nemental May 27, 2024
9dd2987
Merge branch 'main' into feature/contact-points
Nemental May 27, 2024
6f10807
docs: return values
Nemental May 28, 2024
ee9ff4d
chore: add state to return
Nemental May 28, 2024
65c5a7c
style: formatting black
Nemental May 28, 2024
669f70d
docs: required if references
Nemental May 28, 2024
79267fa
fix: uid required
Nemental May 28, 2024
0729b30
test: add update task and extend asserts
Nemental May 28, 2024
ae8e157
fix: uid required
Nemental May 28, 2024
8322463
feat: role task arguments
Nemental May 28, 2024
eff27c7
Merge branch 'main' into feature/contact-points
Nemental May 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Click on the name of a plugin or module to view that content's documentation:
- [grafana_datasource](https://docs.ansible.com/ansible/latest/collections/community/grafana/grafana_datasource_module.html)
- [grafana_folder](https://docs.ansible.com/ansible/latest/collections/community/grafana/grafana_folder_module.html)
- [grafana_notification_channel](https://docs.ansible.com/ansible/latest/collections/community/grafana/grafana_notification_channel_module.html)
- [grafana_contact_point](https://docs.ansible.com/ansible/latest/collections/community/grafana/grafana_contact_point_module.html)
- [grafana_organization](https://docs.ansible.com/ansible/latest/collections/community/grafana/grafana_organization_module.html)
- [grafana_organization_user](https://docs.ansible.com/ansible/latest/collections/community/grafana/grafana_organization_user_module.html)
- [grafana_plugin](https://docs.ansible.com/ansible/latest/collections/community/grafana/grafana_plugin_module.html)
Expand Down
5 changes: 5 additions & 0 deletions changelogs/fragments/352-module-contact-point.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
minor_changes:
- Add `grafana_contact_point` module
- Add support of `grafana_contact_point` in grafana role
trivial:
- Add tests for `grafana_contact_point` module
1 change: 1 addition & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ action_groups:
- grafana_datasource
- grafana_folder
- grafana_notification_channel
- grafana_contact_point
- grafana_organization
- grafana_organization_user
- grafana_plugin
Expand Down
Loading
Loading