コード例 #1
0
class WinCommandActionContentInfo(InfoBase):
    implements(IWinCommandActionContentInfo)

    wincmd_command = ActionFieldProperty(IWinCommandActionContentInfo,
                                         'wincmd_command')
    clear_wincmd_command = ActionFieldProperty(IWinCommandActionContentInfo,
                                               'clear_wincmd_command')
コード例 #2
0
class ConfigurableSnmpTrapActionContentInfo(SnmpTrapActionContentInfo):
    implements(IConfigurableSnmpTrapActionContentInfo)

    community = ActionFieldProperty(IConfigurableSnmpTrapActionContentInfo,
                                    'community')
    version = ActionFieldProperty(IConfigurableSnmpTrapActionContentInfo,
                                  'version')
    port = ActionFieldProperty(IConfigurableSnmpTrapActionContentInfo, 'port')
コード例 #3
0
class HipChatActionContentInfo(ActionContentInfo):
    implements(IHipChatActionContentInfo)

    hipChatUrl = ActionFieldProperty(IHipChatActionContentInfo, 'hipChatUrl')
    proxyUrl = ActionFieldProperty(IHipChatActionContentInfo, 'proxyUrl')
    proxyUsername = ActionFieldProperty(IHipChatActionContentInfo, 'proxyUsername')
    proxyPassword = ActionFieldProperty(IHipChatActionContentInfo, 'proxyPassword')
    message_body = ActionFieldProperty(IHipChatActionContentInfo, 'message_body')
コード例 #4
0
class SlackActionContentInfo(ActionContentInfo):
    implements(ISlackActionContentInfo)

    slackUrl = ActionFieldProperty(ISlackActionContentInfo, 'slackUrl')
    proxyUrl = ActionFieldProperty(ISlackActionContentInfo, 'proxyUrl')
    proxyUsername = ActionFieldProperty(ISlackActionContentInfo,
                                        'proxyUsername')
    proxyPassword = ActionFieldProperty(ISlackActionContentInfo,
                                        'proxyPassword')
コード例 #5
0
class HttpBinActionContentInfo(InfoBase):
    implements(IHttpBinActionContentInfo)
    adapts(NotificationSubscription)

    hbSource  = ActionFieldProperty(IHttpBinActionContentInfo, "hbSource")
    hbEventClass  = ActionFieldProperty(IHttpBinActionContentInfo, "hbEventClass")
    hbDescription  = ActionFieldProperty(IHttpBinActionContentInfo, "hbDescription")
    hbFullDescription  = ActionFieldProperty(IHttpBinActionContentInfo, "hbFullDescription")
    skipfails  = ActionFieldProperty(IHttpBinActionContentInfo, "skipfails")
コード例 #6
0
class TwitterActionContentInfo(InfoBase):
    implements(ITwitterActionContentInfo)
    adapts(NotificationSubscription)

    consumer_key = ActionFieldProperty(ITwitterActionContentInfo,
                                       "consumer_key")
    consumer_secret = ActionFieldProperty(ITwitterActionContentInfo,
                                          "consumer_secret")
    access_token_key = ActionFieldProperty(ITwitterActionContentInfo,
                                           "access_token_key")
    access_token_secret = ActionFieldProperty(ITwitterActionContentInfo,
                                              "access_token_secret")
コード例 #7
0
class PagerDutyEventsAPIActionContentInfo(InfoBase):
    """
    Provides the "implementation" for IPagerDutyEventsAPIActionContentInfo.

    Based on the definitions for the builtin actions in Products.Zuul.infos.actions.
    """
    implements(IPagerDutyEventsAPIActionContentInfo)
    adapts(NotificationSubscription)

    serviceKey = ActionFieldProperty(IPagerDutyEventsAPIActionContentInfo,
                                     'serviceKey')
    summary = ActionFieldProperty(IPagerDutyEventsAPIActionContentInfo,
                                  'summary')
    source = ActionFieldProperty(IPagerDutyEventsAPIActionContentInfo,
                                 'source')
    details = ActionFieldProperty(IPagerDutyEventsAPIActionContentInfo,
                                  'details')
コード例 #8
0
class AWSEmailHostActionContentInfo(InfoBase):
    implements(IAWSEmailHostActionContentInfo)

    body_content_type = ActionFieldProperty(IAWSEmailHostActionContentInfo,
                                            'body_content_type')
    subject_format = ActionFieldProperty(IAWSEmailHostActionContentInfo,
                                         'subject_format')
    body_format = ActionFieldProperty(IAWSEmailHostActionContentInfo,
                                      'body_format')
    clear_subject_format = ActionFieldProperty(IAWSEmailHostActionContentInfo,
                                               'clear_subject_format')
    clear_body_format = ActionFieldProperty(IAWSEmailHostActionContentInfo,
                                            'clear_body_format')
    email_from = ActionFieldProperty(IAWSEmailHostActionContentInfo,
                                     'email_from')
    aws_account_name = ActionFieldProperty(IAWSEmailHostActionContentInfo,
                                           'aws_account_name')
    aws_region = ActionFieldProperty(IAWSEmailHostActionContentInfo,
                                     'aws_region')
    aws_access_key = ActionFieldProperty(IAWSEmailHostActionContentInfo,
                                         'aws_access_key')
    aws_secret_key = ActionFieldProperty(IAWSEmailHostActionContentInfo,
                                         'aws_secret_key')
コード例 #9
0
class AltEmailHostActionContentInfo(EmailActionContentInfo):
    implements(IAltEmailHostActionContentInfo)

    email_from = ActionFieldProperty(IAltEmailHostActionContentInfo,
                                     'email_from')
    host = ActionFieldProperty(IAltEmailHostActionContentInfo, 'host')
    port = ActionFieldProperty(IAltEmailHostActionContentInfo, 'port')
    useTls = ActionFieldProperty(IAltEmailHostActionContentInfo, 'useTls')
    user = ActionFieldProperty(IAltEmailHostActionContentInfo, 'user')
    password = ActionFieldProperty(IAltEmailHostActionContentInfo, 'password')
コード例 #10
0
ファイル: info.py プロジェクト: applied-research/zenoss
class JIRAActionContentInfo(InfoBase):
    implements(IJIRAActionContentInfo)

    jira_instance = ActionFieldProperty(IJIRAActionContentInfo,
                                        'jira_instance')
    jira_user = ActionFieldProperty(IJIRAActionContentInfo, 'jira_user')
    jira_password = ActionFieldProperty(IJIRAActionContentInfo,
                                        'jira_password')

    issue_project = ActionFieldProperty(IJIRAActionContentInfo,
                                        'issue_project')
    issue_type = ActionFieldProperty(IJIRAActionContentInfo, 'issue_type')
    issue_priority_key = ActionFieldProperty(IJIRAActionContentInfo,
                                             'issue_priority_key')

    issue_summary = ActionFieldProperty(IJIRAActionContentInfo,
                                        'issue_summary')
    issue_description = ActionFieldProperty(IJIRAActionContentInfo,
                                            'issue_description')
    clear_issue_description = ActionFieldProperty(IJIRAActionContentInfo,
                                                  'clear_issue_description')

    customfield_keypairs = ActionFieldProperty(IJIRAActionContentInfo,
                                               'customfield_keypairs')
    event_rawdata = ActionFieldProperty(IJIRAActionContentInfo,
                                        'event_rawdata')

    service_group_root = ActionFieldProperty(IJIRAActionContentInfo,
                                             'service_group_root')
コード例 #11
0
class FancyEmailActionContentInfo(InfoBase):
    implements(IFancyEmailActionContentInfo)

    body_content_type = ActionFieldProperty(IFancyEmailActionContentInfo,
                                            'body_content_type')
    subject_format = ActionFieldProperty(IFancyEmailActionContentInfo,
                                         'subject_format')
    body_format = ActionFieldProperty(IFancyEmailActionContentInfo,
                                      'body_format')
    clear_subject_format = ActionFieldProperty(IFancyEmailActionContentInfo,
                                               'clear_subject_format')
    clear_body_format = ActionFieldProperty(IFancyEmailActionContentInfo,
                                            'clear_body_format')
    email_from = ActionFieldProperty(IFancyEmailActionContentInfo,
                                     'email_from')
    host = ActionFieldProperty(IFancyEmailActionContentInfo, 'host')
    port = ActionFieldProperty(IFancyEmailActionContentInfo, 'port')
    useTls = ActionFieldProperty(IFancyEmailActionContentInfo, 'useTls')
    user = ActionFieldProperty(IFancyEmailActionContentInfo, 'user')
    password = ActionFieldProperty(IFancyEmailActionContentInfo, 'password')
コード例 #12
0
class UserActionContentInfo(CommandActionContentInfo):
    implements(IUserCommandActionContentInfo)

    user_env_format = ActionFieldProperty(IUserCommandActionContentInfo,
                                          'user_env_format')
コード例 #13
0
class SpeakActionContentInfo(InfoBase):
    implements(ISpeakActionContentInfo)

    volume = ActionFieldProperty(ISpeakActionContentInfo, 'volume')
コード例 #14
0
class ConfigurableGCMActionContentInfo(InfoBase):
    implements(IConfigurableGCMActionContentInfo)

    gcmdeviceid = ActionFieldProperty(IConfigurableGCMActionContentInfo,
                                      'gcmdeviceid')