Some useful known tags by Alert Notification service are: - **ans:sourceEventId?** - generated by the source, will be used for further stateful interactions with Alert Notification service - **ans:correlationId?** - generated by the source in order to correlate this event with other activities or issues - **ans:status?** - will be used for incient management systems. Possible values: 'CREATE_OR_UPDATE', 'CREATE', 'UPDATE', 'COMMENT' or 'CLOSE' - **ans:recommendedActionLink?** - a URL that contains details for recommended actions regarding this event - ans:detailsLink? - a URL that contains details for this event, e.g. dashboards showing what triggered it "
22 | }
23 | ]
24 | }
--------------------------------------------------------------------------------
/docs/_data/basic-authentication.json:
--------------------------------------------------------------------------------
1 | {
2 | "propertyFields": [
3 | {
4 | "name": "username",
5 | "type": "string",
6 | "description": "A tecnical client's username"
7 | },
8 | {
9 | "name": "password",
10 | "type": "string",
11 | "description": "A technical client's password"
12 | }
13 | ],
14 | "methods": [
15 | {
16 | "name": "getAuthorizationHeaderValue()",
17 | "returnValue": "string",
18 | "description": "Gets the base64 encoded value of username and password, which will be added in the Authorization Header"
19 | }
20 | ]
21 | }
--------------------------------------------------------------------------------
/docs/_data/certificate-authentication.json:
--------------------------------------------------------------------------------
1 | {
2 | "propertyFields": [
3 | {
4 | "name": "certificate",
5 | "type": "string",
6 | "description": "x509 certificate chain generated by Alert Notification service"
7 | },
8 | {
9 | "name": "privateKey",
10 | "type": "string",
11 | "description": "Private key related to the generated certificate"
12 | }
13 | ],
14 | "methods": [
15 | {
16 | "name": "getCertificate()",
17 | "returnValue": "string",
18 | "description": "Get the certificate."
19 | },
20 | {
21 | "name": "getPrivateKey()",
22 | "returnValue": "string",
23 | "description": "Get the privateKey."
24 | }
25 | ]
26 | }
--------------------------------------------------------------------------------
/docs/_data/common-query-parameters.json:
--------------------------------------------------------------------------------
1 | {
2 | "propertyFields": [
3 | {
4 | "name": "page?",
5 | "type": "number",
6 | "description": "Looked up page"
7 | },
8 | {
9 | "name": "pageSize?",
10 | "type": "number",
11 | "description": "Size of a page"
12 | }
13 | ]
14 | }
--------------------------------------------------------------------------------
/docs/_data/condition.json:
--------------------------------------------------------------------------------
1 | {
2 | "propertyFields": [
3 | {
4 | "name": "id?",
5 | "type": "string",
6 | "description": "An identification string which will be generated on its creation"
7 | },
8 | {
9 | "name": "name",
10 | "type": "string",
11 | "description": "Unique name, used for identification"
12 | },
13 | {
14 | "name": "description",
15 | "type": "string",
16 | "description": "Brief description of the condition, e.g. explaining what it will be used for"
17 | },
18 | {
19 | "name": "propertyKey",
20 | "type": "string",
21 | "description": "Property key of the event, e.g. eventType"
22 | },
23 | {
24 | "name": "predicate",
25 | "type": "[Predicate](/alert-notification-node-client/configuration-api-objects/condition/#predicate) (string)",
26 | "description": "Predefined matching criteria"
27 | },
28 | {
29 | "name": "propertyValue",
30 | "type": "string",
31 | "description": "Value to be expected when matching the propertyKey with the given predicate"
32 | },
33 | {
34 | "name": "labels?",
35 | "type": "string[]",
36 | "description": "Representing meaningful identifiers, which enable custom displaying & filtering capabilities"
37 | },
38 | {
39 | "name": "mandatory?",
40 | "type": "boolean",
41 | "description": "Explicitly set which conditions must be mandatory. If not set conditions will be treated as follows: - Conditions with different property keys will be evaluated with the AND operator - Conditions with the same property key will be evaluated with OR operator"
42 | }
43 | ]
44 | }
--------------------------------------------------------------------------------
/docs/_data/configuration.json:
--------------------------------------------------------------------------------
1 | {
2 | "propertyFields": [
3 | {
4 | "name": "actions",
5 | "type": "[Action](/alert-notification-node-client/configuration-api-objects/action)[] (object[])",
6 | "description": "Actions in the configuration"
7 | },
8 | {
9 | "name": "conditions",
10 | "type": "[Condition](/alert-notification-node-client/configuration-api-objects/condition)[] (object[])",
11 | "description": "Conditions in a configuration"
12 | },
13 | {
14 | "name": "subscriptions",
15 | "type": "[Subscription](/alert-notification-node-client/configuration-api-objects/subscription)[] (object[])",
16 | "description": "Subscriptions in a configuration"
17 | }
18 | ]
19 | }
--------------------------------------------------------------------------------
/docs/_data/consumer-event-metadata.json:
--------------------------------------------------------------------------------
1 | {
2 | "propertyFields": [
3 | {
4 | "name": "cacheTime",
5 | "type": "string",
6 | "description": "Time in UNIX epoch format when the event was stored by Alert Notification service"
7 | },
8 | {
9 | "name": "affectedActionId",
10 | "type": "string",
11 | "description": "Id of the action which was executed for the matched/undelivered event"
12 | },
13 | {
14 | "name": "deliveryStatus",
15 | "type": "[DeliveryStatus](/alert-notification-node-client/event-api-objects/consumer-event#deliverystatus) (object)",
16 | "description": "Describes if the event has been delivered or not"
17 | },
18 | {
19 | "name": "failureReasons?",
20 | "type": "[FailureReason](/alert-notification-node-client/event-api-objects/consumer-event#failurereason) (object)",
21 | "description": "Describes why the delivery of an event failed, will only be returned if a query parameter is present"
22 | }
23 | ]
24 | }
--------------------------------------------------------------------------------
/docs/_data/consumer-event.json:
--------------------------------------------------------------------------------
1 | {
2 | "propertyFields": [
3 | {
4 | "name": "id?",
5 | "type": "string",
6 | "description": "Identification guid of the event, created by Alert Notification service"
7 | },
8 | {
9 | "name": "body",
10 | "type": "string",
11 | "description": "Describes what the event is about in details"
12 | },
13 | {
14 | "name": "subject",
15 | "type": "string",
16 | "description": "Self explanatory title, which summarises what the sent event is about"
17 | },
18 | {
19 | "name": "eventType",
20 | "type": "string",
21 | "description": "Type of the event, e.g. it can be HighCPUUsage, MemoryTooLow, etc."
22 | },
23 | {
24 | "name": "region",
25 | "type": "[Region](/alert-notification-node-client/common-objects/region-utils#region)",
26 | "description": "Region on which the event was executed, e.g. 'CF_AWS_FRANKFURT' (its alias is 'EU10')"
27 | },
28 | {
29 | "name": "regionType",
30 | "type": "string",
31 | "description": "Type of the region, e.g. 'sap-cp'"
32 | },
33 | {
34 | "name": "severity",
35 | "type": "[Severity](/alert-notification-node-client/event-api-objects/severity) (string)",
36 | "description": "Represents the event impact in the context of the affected resource"
37 | },
38 | {
39 | "name": "category",
40 | "type": "[Category](/alert-notification-node-client/event-api-objects/category/) (string)",
41 | "description": "Represents the event impact in the context of the affected resource"
42 | },
43 | {
44 | "name": "resource",
45 | "type": "[AffectedResource](/alert-notification-node-client/event-api-objects/affected-resource/) (object)",
46 | "description": "Identifies the action's current state, that is, if it's currently enabled or disabled"
47 | },
48 | {
49 | "name": "metadata",
50 | "type": "[ConsumerEventMetadata](/alert-notification-node-client/event-api-objects/consumer-event#consumereventmetadata) (object)",
51 | "description": "Holds a useful data about the stored event"
52 | },
53 | {
54 | "name": "eventTimestamp?",
55 | "type": "string",
56 | "description": "Event timestamp, represents when it was created in the source, if missing Alert Notification service will populate it for you and will set the time it was ingested for processing"
57 | },
58 | {
59 | "name": "priority?",
60 | "type": "number",
61 | "description": "Priority of the raised event"
62 | },
63 | {
64 | "name": "tags?",
65 | "type": "object",
66 | "description": "Any other useful information about the event.
Some useful known tags by Alert Notification service are: - **ans:sourceEventId?** - generated by the source, will be used for further stateful interactions with Alert Notification service - **ans:correlationId?** - generated by the source in order to correlate this event with other activities or issues - **ans:status?** - will be used for incient management systems. Possible values: 'CREATE_OR_UPDATE', 'CREATE', 'UPDATE', 'COMMENT' or 'CLOSE' - **ans:recommendedActionLink?** - a URL that contains details for recommended actions regarding this event - **ans:detailsLink?** - a URL that contains details for this event, e.g. dashboards showing what triggered it "
67 | }
68 | ]
69 | }
--------------------------------------------------------------------------------
/docs/_data/consumer-paged-response.json:
--------------------------------------------------------------------------------
1 | {
2 | "propertyFields": [
3 | {
4 | "name": "responseMetadata",
5 | "type": "[PageMetadata](/alert-notification-node-client/common-objects/page-metadata) (object)",
6 | "description": "Represents page's metadata, e.g. what is the currently looked page, how many pages there are, etc."
7 | },
8 | {
9 | "name": "results",
10 | "type": "[ConsumerEvent](/alert-notification-node-client/event-api-objects/consumer-event)[] (array