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

Modify ruletypes.rst, alerts.py, schema.yaml and add / modify test code for alerts_test.py #143

Merged
merged 2 commits into from
May 9, 2021

Conversation

nsano-rururu
Copy link
Collaborator

ruletypes.rst

  • Command
    • Added description of fail_on_non_zero_exit
  • EMail
    • Partially modified the description of email_format
  • OpsGenie
    • Partial correction of description
  • Zabbix
    • Partial correction of description

alerts.py

  • EmailAlerter
    • Set default value for smtp_port
  • HTTPPostAlerter
    • Added mandatory check for http_post_url
  • DiscordAlerter
    • Add comment

schema.yaml

  • Add items that have not been added.
  • Change the order of alerter settings to the order of documents.

alerts_test.py

  • add
    • test_ms_teams_ea_exception
    • test_slack_ea_exception
    • test_http_alerter_post_ea_exception
    • test_pagerduty_ea_exception
    • test_alerta_ea_exception
    • test_datadog_alerterea_exception
    • test_pagertree_ea_exception
    • test_line_notify_ea_exception
    • test_gitter_ea_exception
    • test_chatwork_ea_exception
    • test_telegram_ea_exception
    • test_service_now_ea_exception
    • test_victor_ops_ea_exception
    • test_google_chat_ea_exception
    • test_discord_ea_exception
    • test_dingtalk_ea_exception
    • test_mattermost_ea_exception
  • modify
    • test_email
    • test_email_with_unicode_strings
    • test_email_with_auth
    • test_email_with_cert_key
    • test_email_with_cc
    • test_email_with_bcc
    • test_email_with_cc_and_bcc
    • test_email_with_args
    • test_command

…de for alerts_test.py

ruletypes.rst
  Command
    Added description of fail_on_non_zero_exit
  EMail
    Partially modified the description of email_format
  OpsGenie
    Partial correction of description
  Zabbix
    Partial correction of description

alerts.py
  EmailAlerter
    Set default value for smtp_port
  HTTPPostAlerter
    Added mandatory check for http_post_url
  DiscordAlerter
    Add comment

schema.yaml
  Add items that have not been added.
  Change the order of alerter settings to the order of documents.

alerts_test.py
  add
    test_ms_teams_ea_exception
    test_slack_ea_exception
    test_http_alerter_post_ea_exception
    test_pagerduty_ea_exception
    test_alerta_ea_exception
    test_datadog_alerterea_exception
    test_pagertree_ea_exception
    test_line_notify_ea_exception
    test_gitter_ea_exception
    test_chatwork_ea_exception
    test_telegram_ea_exception
    test_service_now_ea_exception
    test_victor_ops_ea_exception
    test_google_chat_ea_exception
    test_discord_ea_exception
    test_dingtalk_ea_exception
    test_mattermost_ea_exception
  modify
    test_email
    test_email_with_unicode_strings
    test_email_with_auth
    test_email_with_cert_key
    test_email_with_cc
    test_email_with_bcc
    test_email_with_cc_and_bcc
    test_email_with_args
    test_command
@nsano-rururu nsano-rururu requested a review from jertel May 9, 2021 15:59
Copy link
Owner

@jertel jertel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the schema updates and additional tests @nsano-rururu.

@jertel jertel merged commit dc0635c into jertel:master May 9, 2021
@nsano-rururu nsano-rururu deleted the add_testcode3 branch May 9, 2021 21:37
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants