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,30 @@
{
"entityType" : "NOTIFICATION_TEMPLATE",
"entity" : {
"configuration" : {
"deliveryMethodsTemplates" : {
"WEB" : {
"method" : "WEB",
"additionalConfig" : {
"icon" : {
"enabled" : false
},
"actionButtonConfig" : {
"enabled" : false
}
},
"body" : "Maintenance work is scheduled for tomorrow (7:00 a.m. - 9:00 a.m. UTC)",
"enabled" : true,
"subject" : "Infrastructure maintenance"
}
}
},
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f4235070-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Maintenance work notification",
"notificationType" : "GENERAL"
}
}

View File

@@ -0,0 +1,32 @@
{
"entityType" : "NOTIFICATION_TEMPLATE",
"entity" : {
"configuration" : {
"deliveryMethodsTemplates" : {
"WEB" : {
"method" : "WEB",
"additionalConfig" : {
"icon" : {
"enabled" : true,
"icon" : "notifications",
"color" : "#757575"
},
"actionButtonConfig" : {
"enabled" : false
}
},
"body" : "Severity: ${alarmSeverity}, originator: ${alarmOriginatorEntityType} '${alarmOriginatorName}'",
"enabled" : true,
"subject" : "New alarm '${alarmType}'"
}
}
},
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f424b000-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "New alarm notification",
"notificationType" : "ALARM"
}
}

View File

@@ -0,0 +1,32 @@
{
"entityType" : "NOTIFICATION_TEMPLATE",
"entity" : {
"configuration" : {
"deliveryMethodsTemplates" : {
"WEB" : {
"method" : "WEB",
"additionalConfig" : {
"icon" : {
"enabled" : true,
"icon" : "notifications",
"color" : "#757575"
},
"actionButtonConfig" : {
"enabled" : false
}
},
"body" : "Severity: ${alarmSeverity}, originator: ${alarmOriginatorEntityType} '${alarmOriginatorName}'",
"enabled" : true,
"subject" : "Alarm '${alarmType}' - ${action}"
}
}
},
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f427bd40-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Alarm update notification",
"notificationType" : "ALARM"
}
}

View File

@@ -0,0 +1,35 @@
{
"entityType" : "NOTIFICATION_TEMPLATE",
"entity" : {
"configuration" : {
"deliveryMethodsTemplates" : {
"WEB" : {
"method" : "WEB",
"additionalConfig" : {
"icon" : {
"enabled" : true,
"icon" : "info",
"color" : "#757575"
},
"actionButtonConfig" : {
"enabled" : true,
"text" : "Go to ${entityType:lowerCase}",
"linkType" : "LINK",
"link" : "/${entityType:lowerCase}s/${entityId}"
}
},
"body" : "${entityType} '${entityName}' was ${actionType} by user ${userEmail}",
"enabled" : true,
"subject" : "${entityType} was ${actionType}"
}
}
},
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f4285980-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Entity action notification",
"notificationType" : "ENTITY_ACTION"
}
}

View File

@@ -0,0 +1,35 @@
{
"entityType" : "NOTIFICATION_TEMPLATE",
"entity" : {
"configuration" : {
"deliveryMethodsTemplates" : {
"WEB" : {
"method" : "WEB",
"additionalConfig" : {
"icon" : {
"enabled" : true,
"icon" : "info",
"color" : "#757575"
},
"actionButtonConfig" : {
"enabled" : true,
"text" : "Go to device",
"linkType" : "LINK",
"link" : "/devices/${deviceId}"
}
},
"body" : "Device '${deviceName}' of type '${deviceType}' is now ${eventType}",
"enabled" : true,
"subject" : "Device '${deviceName}' became ${eventType}"
}
}
},
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f4299200-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Device activity notification",
"notificationType" : "DEVICE_ACTIVITY"
}
}

View File

@@ -0,0 +1,32 @@
{
"entityType" : "NOTIFICATION_TEMPLATE",
"entity" : {
"configuration" : {
"deliveryMethodsTemplates" : {
"WEB" : {
"method" : "WEB",
"additionalConfig" : {
"icon" : {
"enabled" : true,
"icon" : "people",
"color" : "#757575"
},
"actionButtonConfig" : {
"enabled" : false
}
},
"body" : "${userEmail} ${action} comment: ${comment}",
"enabled" : true,
"subject" : "Comment on '${alarmType}' alarm"
}
}
},
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f42aca80-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Alarm comment notification",
"notificationType" : "ALARM_COMMENT"
}
}

View File

@@ -0,0 +1,32 @@
{
"entityType" : "NOTIFICATION_TEMPLATE",
"entity" : {
"configuration" : {
"deliveryMethodsTemplates" : {
"WEB" : {
"method" : "WEB",
"additionalConfig" : {
"icon" : {
"enabled" : true,
"icon" : "person",
"color" : "#757575"
},
"actionButtonConfig" : {
"enabled" : false
}
},
"body" : "${userEmail} assigned alarm on ${alarmOriginatorEntityType} '${alarmOriginatorName}' to ${assigneeEmail}",
"enabled" : true,
"subject" : "Alarm '${alarmType}' (${alarmSeverity}) was assigned to user"
}
}
},
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f42c0300-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Alarm assigned notification",
"notificationType" : "ALARM_ASSIGNMENT"
}
}

View File

@@ -0,0 +1,35 @@
{
"entityType" : "NOTIFICATION_TEMPLATE",
"entity" : {
"configuration" : {
"deliveryMethodsTemplates" : {
"WEB" : {
"method" : "WEB",
"additionalConfig" : {
"icon" : {
"enabled" : true,
"icon" : "warning",
"color" : "#757575"
},
"actionButtonConfig" : {
"enabled" : true,
"text" : "Go to rule chain",
"linkType" : "LINK",
"link" : "/ruleChains/${ruleChainId}"
}
},
"body" : "${componentType} '${componentName}' failed to ${action}",
"enabled" : true,
"subject" : "${action:capitalize} failure in Rule chain '${ruleChainName}'"
}
}
},
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f42d3b80-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Rule chain/node lifecycle failure notification",
"notificationType" : "RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT"
}
}

View File

@@ -0,0 +1,35 @@
{
"entityType" : "NOTIFICATION_TEMPLATE",
"entity" : {
"configuration" : {
"deliveryMethodsTemplates" : {
"WEB" : {
"method" : "WEB",
"additionalConfig" : {
"icon" : {
"enabled" : true,
"icon" : "info",
"color" : "#757575"
},
"actionButtonConfig" : {
"enabled" : true,
"text" : "Go to Edge",
"linkType" : "LINK",
"link" : "/edgeManagement/instances/${edgeId}"
}
},
"body" : "Edge '${edgeName}' is now ${eventType}",
"enabled" : true,
"subject" : "Edge connection status change"
}
}
},
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f42e25e0-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Edge connection notification",
"notificationType" : "EDGE_CONNECTION"
}
}

View File

@@ -0,0 +1,35 @@
{
"entityType" : "NOTIFICATION_TEMPLATE",
"entity" : {
"configuration" : {
"deliveryMethodsTemplates" : {
"WEB" : {
"method" : "WEB",
"additionalConfig" : {
"icon" : {
"enabled" : true,
"icon" : "error",
"color" : "#e91a1a"
},
"actionButtonConfig" : {
"enabled" : true,
"text" : "Go to Edge",
"linkType" : "LINK",
"link" : "/edgeManagement/instances/${edgeId}"
}
},
"body" : "Failure message: '${failureMsg}'",
"enabled" : true,
"subject" : "Edge '${edgeName}' communication failure occurred"
}
}
},
"externalId" : null,
"id" : {
"entityType" : "NOTIFICATION_TEMPLATE",
"id" : "f42f1040-0b6a-11f1-9957-b95a9cb5ea38"
},
"name" : "Edge communication failure notification",
"notificationType" : "EDGE_COMMUNICATION_FAILURE"
}
}