init commit

This commit is contained in:
paul@velocoding.com
2026-02-19 21:24:21 +00:00
committed by thingsboard
commit 392508da6e
30 changed files with 1771 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
{
"entityType" : "NOTIFICATION_RULE",
"entity" : {
"additionalConfig" : {
"description" : "Send notification to tenant admins when an alarm is created"
},
"enabled" : true,
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_RULE",
"id" : "f425c170-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "New alarm",
"recipientsConfig" : {
"escalationTable" : {
"0" : [ "f4226610-0b6a-11f1-9957-b95a9cb5ea38" ]
},
"triggerType" : "ALARM"
},
"templateId" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f424b000-0b6a-11f1-9957-b95a9cb5ea38"
},
"triggerConfig" : {
"triggerType" : "ALARM",
"alarmSeverities" : null,
"alarmTypes" : null,
"clearRule" : null,
"notifyOn" : [ "CREATED" ],
"triggerType" : "ALARM"
},
"triggerType" : "ALARM"
}
}

View File

@@ -0,0 +1,34 @@
{
"entityType" : "NOTIFICATION_RULE",
"entity" : {
"additionalConfig" : {
"description" : "Send notification to tenant admins when any alarm is updated or cleared"
},
"enabled" : true,
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_RULE",
"id" : "f4283270-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Alarm update",
"recipientsConfig" : {
"escalationTable" : {
"0" : [ "f4226610-0b6a-11f1-9957-b95a9cb5ea38" ]
},
"triggerType" : "ALARM"
},
"templateId" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f427bd40-0b6a-11f1-9957-b95a9cb5ea38"
},
"triggerConfig" : {
"triggerType" : "ALARM",
"alarmSeverities" : null,
"alarmTypes" : null,
"clearRule" : null,
"notifyOn" : [ "SEVERITY_CHANGED", "CLEARED", "ACKNOWLEDGED" ],
"triggerType" : "ALARM"
},
"triggerType" : "ALARM"
}
}

View File

@@ -0,0 +1,32 @@
{
"entityType" : "NOTIFICATION_RULE",
"entity" : {
"additionalConfig" : {
"description" : "Send notification to tenant admins when device is created"
},
"enabled" : true,
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_RULE",
"id" : "f428ceb0-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Device created",
"recipientsConfig" : {
"targets" : [ "f4226610-0b6a-11f1-9957-b95a9cb5ea38" ],
"triggerType" : "ENTITY_ACTION"
},
"templateId" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f4285980-0b6a-11f1-9957-b95a9cb5ea38"
},
"triggerConfig" : {
"triggerType" : "ENTITY_ACTION",
"created" : true,
"deleted" : false,
"entityTypes" : [ "DEVICE" ],
"updated" : false,
"triggerType" : "ENTITY_ACTION"
},
"triggerType" : "ENTITY_ACTION"
}
}

View File

@@ -0,0 +1,31 @@
{
"entityType" : "NOTIFICATION_RULE",
"entity" : {
"additionalConfig" : {
"description" : "Send notification to tenant admins when any device changes its activity state"
},
"enabled" : false,
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_RULE",
"id" : "f42a0730-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Device activity status change",
"recipientsConfig" : {
"targets" : [ "f4226610-0b6a-11f1-9957-b95a9cb5ea38" ],
"triggerType" : "DEVICE_ACTIVITY"
},
"templateId" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f4299200-0b6a-11f1-9957-b95a9cb5ea38"
},
"triggerConfig" : {
"triggerType" : "DEVICE_ACTIVITY",
"deviceProfiles" : null,
"devices" : null,
"notifyOn" : [ "ACTIVE", "INACTIVE" ],
"triggerType" : "DEVICE_ACTIVITY"
},
"triggerType" : "DEVICE_ACTIVITY"
}
}

View File

@@ -0,0 +1,33 @@
{
"entityType" : "NOTIFICATION_RULE",
"entity" : {
"additionalConfig" : {
"description" : "Send notification to tenant admins when comment is added by user on active alarm"
},
"enabled" : true,
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_RULE",
"id" : "f42b66c0-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Comment on active alarm",
"recipientsConfig" : {
"targets" : [ "f4226610-0b6a-11f1-9957-b95a9cb5ea38" ],
"triggerType" : "ALARM_COMMENT"
},
"templateId" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f42aca80-0b6a-11f1-9957-b95a9cb5ea38"
},
"triggerConfig" : {
"triggerType" : "ALARM_COMMENT",
"alarmSeverities" : null,
"alarmStatuses" : [ "ACTIVE" ],
"alarmTypes" : null,
"notifyOnCommentUpdate" : false,
"onlyUserComments" : true,
"triggerType" : "ALARM_COMMENT"
},
"triggerType" : "ALARM_COMMENT"
}
}

View File

@@ -0,0 +1,32 @@
{
"entityType" : "NOTIFICATION_RULE",
"entity" : {
"additionalConfig" : {
"description" : "Send notification to user when any alarm was assigned to him"
},
"enabled" : true,
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_RULE",
"id" : "f42c9f40-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Alarm assignment",
"recipientsConfig" : {
"targets" : [ "f42461e0-0b6a-11f1-9957-b95a9cb5ea38" ],
"triggerType" : "ALARM_ASSIGNMENT"
},
"templateId" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f42c0300-0b6a-11f1-9957-b95a9cb5ea38"
},
"triggerConfig" : {
"triggerType" : "ALARM_ASSIGNMENT",
"alarmSeverities" : null,
"alarmStatuses" : null,
"alarmTypes" : null,
"notifyOn" : [ "ASSIGNED" ],
"triggerType" : "ALARM_ASSIGNMENT"
},
"triggerType" : "ALARM_ASSIGNMENT"
}
}

View File

@@ -0,0 +1,34 @@
{
"entityType" : "NOTIFICATION_RULE",
"entity" : {
"additionalConfig" : {
"description" : "Send notification to tenant admins when any Rule chain or Rule node failed to start, update or stop"
},
"enabled" : true,
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_RULE",
"id" : "f42dd7c0-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Rule node initialization failure",
"recipientsConfig" : {
"targets" : [ "f4226610-0b6a-11f1-9957-b95a9cb5ea38" ],
"triggerType" : "RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT"
},
"templateId" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f42d3b80-0b6a-11f1-9957-b95a9cb5ea38"
},
"triggerConfig" : {
"triggerType" : "RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT",
"onlyRuleChainLifecycleFailures" : true,
"onlyRuleNodeLifecycleFailures" : true,
"ruleChainEvents" : [ "STOPPED", "STARTED", "UPDATED" ],
"ruleChains" : null,
"ruleNodeEvents" : [ "STOPPED", "STARTED", "UPDATED" ],
"trackRuleNodeEvents" : true,
"triggerType" : "RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT"
},
"triggerType" : "RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT"
}
}

View File

@@ -0,0 +1,30 @@
{
"entityType" : "NOTIFICATION_RULE",
"entity" : {
"additionalConfig" : {
"description" : "Send notification to tenant admins when the connection status between TB and Edge changes"
},
"enabled" : true,
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_RULE",
"id" : "f42e7400-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Edge connection status change",
"recipientsConfig" : {
"targets" : [ "f4226610-0b6a-11f1-9957-b95a9cb5ea38" ],
"triggerType" : "EDGE_CONNECTION"
},
"templateId" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f42e25e0-0b6a-11f1-9957-b95a9cb5ea38"
},
"triggerConfig" : {
"triggerType" : "EDGE_CONNECTION",
"edges" : null,
"notifyOn" : [ "CONNECTED", "DISCONNECTED" ],
"triggerType" : "EDGE_CONNECTION"
},
"triggerType" : "EDGE_CONNECTION"
}
}

View File

@@ -0,0 +1,29 @@
{
"entityType" : "NOTIFICATION_RULE",
"entity" : {
"additionalConfig" : {
"description" : "Send notification to tenant admins when communication failures occur"
},
"enabled" : true,
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_RULE",
"id" : "f42f8570-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Edge communication failure",
"recipientsConfig" : {
"targets" : [ "f4226610-0b6a-11f1-9957-b95a9cb5ea38" ],
"triggerType" : "EDGE_COMMUNICATION_FAILURE"
},
"templateId" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f42f1040-0b6a-11f1-9957-b95a9cb5ea38"
},
"triggerConfig" : {
"triggerType" : "EDGE_COMMUNICATION_FAILURE",
"edges" : null,
"triggerType" : "EDGE_COMMUNICATION_FAILURE"
},
"triggerType" : "EDGE_COMMUNICATION_FAILURE"
}
}