Browse Source

Merge remote-tracking branch 'upstream/lts-4.4' into feature/lts-4.4/iot-hub-search-relevance

pull/16254/head
dshvaika 1 month ago
parent
commit
e141d95ec3
  1. 2
      application/pom.xml
  2. 91
      application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java
  3. 12
      application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java
  4. 5
      common/actor/pom.xml
  5. 2
      common/agent-api/pom.xml
  6. 5
      common/cache/pom.xml
  7. 5
      common/cluster-api/pom.xml
  8. 5
      common/coap-server/pom.xml
  9. 5
      common/dao-api/pom.xml
  10. 2
      common/data/pom.xml
  11. 13
      common/data/src/main/java/org/thingsboard/server/common/data/iot_hub/DashboardInstalledItemDescriptor.java
  12. 1
      common/data/src/main/java/org/thingsboard/server/common/data/iot_hub/IotHubInstalledItemDescriptor.java
  13. 2
      common/discovery-api/pom.xml
  14. 2
      common/edge-api/pom.xml
  15. 3
      common/edge-api/src/main/proto/edge.proto
  16. 2
      common/edqs/pom.xml
  17. 2
      common/integration/apache-pulsar/pom.xml
  18. 2
      common/integration/aws-integrations/pom.xml
  19. 2
      common/integration/azure-integrations/pom.xml
  20. 2
      common/integration/cluster-integration-api/pom.xml
  21. 2
      common/integration/coap-integrations/pom.xml
  22. 2
      common/integration/gcloud-integrations/pom.xml
  23. 2
      common/integration/http-integrations/pom.xml
  24. 2
      common/integration/integration-api/pom.xml
  25. 2
      common/integration/kafka-integrations/pom.xml
  26. 4
      common/integration/mqtt-integrations/pom.xml
  27. 2
      common/integration/opcua-integrations/pom.xml
  28. 2
      common/integration/pom.xml
  29. 2
      common/integration/rabbitmq-integrations/pom.xml
  30. 2
      common/integration/remote-integration-api/pom.xml
  31. 2
      common/integration/tuya-integrations/pom.xml
  32. 2
      common/message/pom.xml
  33. 2
      common/pom.xml
  34. 2
      common/proto/pom.xml
  35. 2
      common/queue/pom.xml
  36. 2
      common/report/pom.xml
  37. 5
      common/script/pom.xml
  38. 2
      common/script/remote-js-client/pom.xml
  39. 2
      common/script/script-api/pom.xml
  40. 5
      common/stats/pom.xml
  41. 5
      common/transport/coap/pom.xml
  42. 5
      common/transport/http/pom.xml
  43. 5
      common/transport/lwm2m/pom.xml
  44. 5
      common/transport/mqtt/pom.xml
  45. 2
      common/transport/pom.xml
  46. 2
      common/transport/snmp/pom.xml
  47. 5
      common/transport/transport-api/pom.xml
  48. 5
      common/util/pom.xml
  49. 2
      common/version-control/pom.xml
  50. 2
      dao/pom.xml
  51. 5
      edqs/pom.xml
  52. 2
      integration/apache-pulsar/pom.xml
  53. 2
      integration/aws/pom.xml
  54. 2
      integration/azure/pom.xml
  55. 2
      integration/coap/pom.xml
  56. 2
      integration/executor/pom.xml
  57. 2
      integration/http/pom.xml
  58. 2
      integration/kafka/pom.xml
  59. 2
      integration/mqtt/pom.xml
  60. 2
      integration/opc-ua/pom.xml
  61. 2
      integration/pom.xml
  62. 2
      integration/pubsub/pom.xml
  63. 2
      integration/rabbitmq/pom.xml
  64. 2
      integration/tcp-udp/pom.xml
  65. 2
      integration/tuya/pom.xml
  66. 2
      migrator/pom.xml
  67. 5
      monitoring/pom.xml
  68. 6
      msa/black-box-tests/pom.xml
  69. 2
      msa/edqs/pom.xml
  70. 2
      msa/integration/apache-pulsar/pom.xml
  71. 2
      msa/integration/aws/pom.xml
  72. 2
      msa/integration/azure/pom.xml
  73. 2
      msa/integration/coap/pom.xml
  74. 2
      msa/integration/executor/pom.xml
  75. 2
      msa/integration/http/pom.xml
  76. 2
      msa/integration/kafka/pom.xml
  77. 2
      msa/integration/mqtt/pom.xml
  78. 2
      msa/integration/opc-ua/pom.xml
  79. 2
      msa/integration/pom.xml
  80. 2
      msa/integration/pubsub/pom.xml
  81. 2
      msa/integration/rabbitmq/pom.xml
  82. 2
      msa/integration/tcp-udp/pom.xml
  83. 2
      msa/integration/tuya/pom.xml
  84. 2
      msa/js-executor/package.json
  85. 2
      msa/js-executor/pom.xml
  86. 2
      msa/migrator/pom.xml
  87. 2
      msa/monitoring/pom.xml
  88. 2
      msa/pom.xml
  89. 2
      msa/report/pom.xml
  90. 2
      msa/tb-node/pom.xml
  91. 2
      msa/transport/coap/pom.xml
  92. 2
      msa/transport/http/pom.xml
  93. 2
      msa/transport/lwm2m/pom.xml
  94. 2
      msa/transport/mqtt/pom.xml
  95. 5
      msa/transport/pom.xml
  96. 2
      msa/transport/snmp/pom.xml
  97. 2
      msa/vc-executor-docker/pom.xml
  98. 5
      msa/vc-executor/pom.xml
  99. 2
      msa/web-report/docker/Dockerfile
  100. 2
      msa/web-report/docker/start-web-report.sh

2
application/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>thingsboard</artifactId>
</parent>
<artifactId>application</artifactId>

91
application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java

@ -11,7 +11,6 @@ import org.springframework.stereotype.Service;
import org.thingsboard.common.util.ExceptionUtil;
import org.thingsboard.common.util.JacksonUtil;
import org.thingsboard.server.common.data.Customer;
import org.thingsboard.server.common.data.Dashboard;
import org.thingsboard.server.common.data.DeviceProfile;
import org.thingsboard.server.common.data.EntityType;
import org.thingsboard.server.common.data.asset.AssetProfile;
@ -35,7 +34,6 @@ import org.thingsboard.server.common.data.id.RuleChainId;
import org.thingsboard.server.common.data.id.TenantId;
import org.thingsboard.server.common.data.iot_hub.AlarmRuleInstalledItemDescriptor;
import org.thingsboard.server.common.data.iot_hub.CalculatedFieldInstalledItemDescriptor;
import org.thingsboard.server.common.data.iot_hub.DashboardInstalledItemDescriptor;
import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor;
import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem;
import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItemDescriptor;
@ -100,7 +98,6 @@ public class DefaultIotHubService implements IotHubService {
private static final String SECTION_RULE_CHAIN_METADATA = "rule chain metadata";
private static final String ITEM_TYPE_WIDGET = "widget";
private static final String ITEM_TYPE_DASHBOARD = "dashboard";
private static final String ITEM_TYPE_CALCULATED_FIELD = "calculated field";
private static final String ITEM_TYPE_ALARM_RULE = "alarm rule";
private static final String ITEM_TYPE_RULE_CHAIN = "rule chain";
@ -183,7 +180,6 @@ public class DefaultIotHubService implements IotHubService {
IotHubInstalledItemDescriptor descriptor = switch (itemType) {
case "WIDGET" -> installWidget(user, tenantId, fileData);
case "DASHBOARD" -> installDashboard(user, tenantId, fileData, data);
case "CALCULATED_FIELD" -> installCalculatedField(user, tenantId, fileData, data);
case "ALARM_RULE" -> installAlarmRule(user, tenantId, fileData, data);
case "RULE_CHAIN" -> installRuleChain(user, tenantId, fileData, data);
@ -244,58 +240,6 @@ public class DefaultIotHubService implements IotHubService {
return descriptor;
}
private DashboardInstalledItemDescriptor installDashboard(SecurityUser user, TenantId tenantId, byte[] fileData, JsonNode data) throws Exception {
Dashboard dashboard;
try {
dashboard = JacksonUtil.fromString(new String(fileData), Dashboard.class, true);
} catch (Exception e) {
throw parseFailure(ACTION_INSTALL, ITEM_TYPE_DASHBOARD, e);
}
dashboard.setId(null);
dashboard.setTenantId(tenantId);
if (data != null && data.hasNonNull("customerId") && data.get("customerId").isTextual()) {
String strCustomerId = data.get("customerId").asText();
if (!strCustomerId.isEmpty()) {
CustomerId customerId = new CustomerId(UUID.fromString(strCustomerId));
Customer customer = customerService.findCustomerById(tenantId, customerId);
if (customer == null) {
throw new IllegalArgumentException("Customer with id [" + customerId + "] is not found");
}
if (!tenantId.equals(customer.getTenantId())) {
throw new IllegalArgumentException("Customer [" + customerId + "] does not belong to the current tenant");
}
dashboard.setCustomerId(customerId);
}
}
List<EntityGroup> entityGroups = null;
if (data != null && data.hasNonNull("entityGroupId") && data.get("entityGroupId").isTextual()) {
String strEntityGroupId = data.get("entityGroupId").asText();
if (!strEntityGroupId.isEmpty()) {
EntityGroupId entityGroupId = new EntityGroupId(UUID.fromString(strEntityGroupId));
EntityGroupInfo entityGroup = checkEntityGroup(user, entityGroupId);
if (entityGroup.getType() != EntityType.DASHBOARD) {
throw new IllegalArgumentException("Entity group [" + entityGroupId + "] is not a dashboard group (type: " + entityGroup.getType() + ")");
}
entityGroups = List.of(entityGroup);
// If the entity group is owned by a customer, align the dashboard owner with the group owner
// (mirrors BaseController.saveGroupEntity logic for new entities).
if (dashboard.getCustomerId() == null || dashboard.getCustomerId().isNullUid()) {
if (entityGroup.getOwnerId().getEntityType() == EntityType.CUSTOMER) {
dashboard.setOwnerId(new CustomerId(entityGroup.getOwnerId().getId()));
}
}
}
}
Dashboard saved = tbDashboardService.save(dashboard, entityGroups, user);
log.debug("[{}] Dashboard installed: {}", tenantId, saved.getTitle());
DashboardInstalledItemDescriptor descriptor = new DashboardInstalledItemDescriptor();
descriptor.setDashboardId(saved.getId());
return descriptor;
}
private EntityGroupInfo checkEntityGroup(SecurityUser user, EntityGroupId entityGroupId) throws ThingsboardException {
EntityGroupInfo entityGroup = entityGroupService.findEntityGroupInfoById(user.getTenantId(), entityGroupId);
if (entityGroup == null) {
@ -466,7 +410,6 @@ public class DefaultIotHubService implements IotHubService {
}
String itemType = installedItem.getItemType();
IotHubInstalledItemDescriptor descriptor = installedItem.getDescriptor();
// Skip checksum validation for solution templates
@ -508,7 +451,6 @@ public class DefaultIotHubService implements IotHubService {
switch (itemType) {
case "WIDGET" -> updateWidget(user, tenantId, (WidgetInstalledItemDescriptor) descriptor, fileData);
case "DASHBOARD" -> updateDashboard(user, tenantId, (DashboardInstalledItemDescriptor) descriptor, fileData);
case "CALCULATED_FIELD" -> updateCalculatedField(user, tenantId, (CalculatedFieldInstalledItemDescriptor) descriptor, fileData);
case "ALARM_RULE" -> updateAlarmRule(user, tenantId, (AlarmRuleInstalledItemDescriptor) descriptor, fileData);
case "RULE_CHAIN" -> updateRuleChain(tenantId, (RuleChainInstalledItemDescriptor) descriptor, fileData);
@ -567,22 +509,6 @@ public class DefaultIotHubService implements IotHubService {
tbWidgetTypeService.save(existing, false, user);
}
private void updateDashboard(SecurityUser user, TenantId tenantId, DashboardInstalledItemDescriptor descriptor, byte[] fileData) throws Exception {
Dashboard newDashboard;
try {
newDashboard = JacksonUtil.fromString(new String(fileData), Dashboard.class, true);
} catch (Exception e) {
throw parseFailure(ACTION_UPDATE, ITEM_TYPE_DASHBOARD, e);
}
Dashboard existing = dashboardService.findDashboardById(tenantId, descriptor.getDashboardId());
if (existing == null) {
throw new Exception("Dashboard not found for update");
}
existing.setTitle(newDashboard.getTitle());
existing.setConfiguration(newDashboard.getConfiguration());
tbDashboardService.save(existing, (List<EntityGroup>) null, user);
}
private void updateCalculatedField(SecurityUser user, TenantId tenantId, CalculatedFieldInstalledItemDescriptor descriptor, byte[] fileData) throws Exception {
CalculatedField newCf;
try {
@ -649,8 +575,6 @@ public class DefaultIotHubService implements IotHubService {
IotHubInstalledItemDescriptor descriptor = installedItem.getDescriptor();
if (descriptor instanceof WidgetInstalledItemDescriptor wd) {
return calculateWidgetChecksum(tenantId, wd);
} else if (descriptor instanceof DashboardInstalledItemDescriptor dd) {
return calculateDashboardChecksum(tenantId, dd);
} else if (descriptor instanceof CalculatedFieldInstalledItemDescriptor cd) {
return calculateCalculatedFieldChecksum(tenantId, cd.getCalculatedFieldId());
} else if (descriptor instanceof AlarmRuleInstalledItemDescriptor ad) {
@ -672,16 +596,6 @@ public class DefaultIotHubService implements IotHubService {
return sha256(content);
}
private String calculateDashboardChecksum(TenantId tenantId, DashboardInstalledItemDescriptor descriptor) {
Dashboard dashboard = dashboardService.findDashboardById(tenantId, descriptor.getDashboardId());
if (dashboard == null) {
return null;
}
String content = (dashboard.getTitle() != null ? dashboard.getTitle() : "") +
(dashboard.getConfiguration() != null ? dashboard.getConfiguration().toString() : "");
return sha256(content);
}
private String calculateWidgetChecksum(TenantId tenantId, WidgetInstalledItemDescriptor descriptor) {
WidgetTypeDetails widgetType = widgetTypeService.findWidgetTypeDetailsById(tenantId, descriptor.getWidgetTypeId());
if (widgetType == null) {
@ -865,11 +779,6 @@ public class DefaultIotHubService implements IotHubService {
if (widgetType != null) {
tbWidgetTypeService.delete(widgetType, user);
}
} else if (descriptor instanceof DashboardInstalledItemDescriptor dd) {
Dashboard dashboard = dashboardService.findDashboardById(tenantId, dd.getDashboardId());
if (dashboard != null) {
tbDashboardService.delete(dashboard, user);
}
} else if (descriptor instanceof CalculatedFieldInstalledItemDescriptor cd) {
CalculatedField calculatedField = calculatedFieldService.findById(tenantId, cd.getCalculatedFieldId());
if (calculatedField != null) {

12
application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java

@ -15,8 +15,8 @@ import org.mockito.junit.jupiter.MockitoExtension;
import org.thingsboard.common.util.JacksonUtil;
import org.thingsboard.server.common.data.id.IotHubInstalledItemId;
import org.thingsboard.server.common.data.id.TenantId;
import org.thingsboard.server.common.data.iot_hub.DashboardInstalledItemDescriptor;
import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem;
import org.thingsboard.server.common.data.iot_hub.RuleChainInstalledItemDescriptor;
import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService;
import org.thingsboard.server.service.security.model.SecurityUser;
@ -89,7 +89,7 @@ class DefaultIotHubServiceTest {
mockTenant();
String versionId = UUID.randomUUID().toString();
String itemId = UUID.randomUUID().toString();
when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(version(versionId, itemId, "DASHBOARD", "Root", "1.0"));
when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(version(versionId, itemId, "RULE_CHAIN", "Root", "1.0"));
when(iotHubInstalledItemService.findInstalledItemIdsByTenantIdAndItemIdIn(eq(tenantId), any())).thenReturn(List.of());
InstallPlan plan = service.resolveInstallPlan(user, versionId);
@ -107,7 +107,7 @@ class DefaultIotHubServiceTest {
String versionId = UUID.randomUUID().toString();
String rootItemId = UUID.randomUUID().toString();
String relatedItemId = UUID.randomUUID().toString();
ObjectNode root = version(versionId, rootItemId, "DASHBOARD", "Root", "1.0");
ObjectNode root = version(versionId, rootItemId, "RULE_CHAIN", "Root", "1.0");
root.putArray("relatedItems").add(relatedItemId);
when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(root);
when(iotHubRestClient.getPublishedVersionByItemId(relatedItemId))
@ -129,7 +129,7 @@ class DefaultIotHubServiceTest {
String versionId = UUID.randomUUID().toString();
String rootItemId = UUID.randomUUID().toString();
String relatedItemId = UUID.randomUUID().toString();
ObjectNode root = version(versionId, rootItemId, "DASHBOARD", "Root", "1.0");
ObjectNode root = version(versionId, rootItemId, "RULE_CHAIN", "Root", "1.0");
root.putArray("relatedItems").add(relatedItemId);
when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(root);
when(iotHubRestClient.getPublishedVersionByItemId(relatedItemId)).thenReturn(null);
@ -149,7 +149,7 @@ class DefaultIotHubServiceTest {
String versionId = UUID.randomUUID().toString();
String rootItemId = UUID.randomUUID().toString();
String relatedItemId = UUID.randomUUID().toString();
ObjectNode root = version(versionId, rootItemId, "DASHBOARD", "Root", "1.0");
ObjectNode root = version(versionId, rootItemId, "RULE_CHAIN", "Root", "1.0");
root.putArray("relatedItems").add(relatedItemId);
when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(root);
when(iotHubRestClient.getPublishedVersionByItemId(relatedItemId)).thenThrow(new RuntimeException("boom"));
@ -280,7 +280,7 @@ class DefaultIotHubServiceTest {
when(iotHubInstalledItemService.findInstalledItemIdsByTenantIdAndItemIdIn(eq(tenantId), any())).thenReturn(List.of());
IotHubInstalledItem depItem = installedItem(UUID.randomUUID());
IotHubInstalledItem rootItem = installedItem(UUID.randomUUID());
DashboardInstalledItemDescriptor rootDescriptor = new DashboardInstalledItemDescriptor();
RuleChainInstalledItemDescriptor rootDescriptor = new RuleChainInstalledItemDescriptor();
rootItem.setDescriptor(rootDescriptor);
doReturn(depItem).when(service).doInstallVersion(eq(user), eq(depVersionId), any(), any());
doReturn(rootItem).when(service).doInstallVersion(eq(user), eq(rootVersionId), any(), any());

5
common/actor/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

2
common/agent-api/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

5
common/cache/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

5
common/cluster-api/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

5
common/coap-server/pom.xml

@ -2,7 +2,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
@ -11,7 +12,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

5
common/dao-api/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

2
common/data/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

13
common/data/src/main/java/org/thingsboard/server/common/data/iot_hub/DashboardInstalledItemDescriptor.java

@ -1,13 +0,0 @@
// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
// SPDX-License-Identifier: Apache-2.0
package org.thingsboard.server.common.data.iot_hub;
import lombok.Data;
import org.thingsboard.server.common.data.id.DashboardId;
@Data
public class DashboardInstalledItemDescriptor implements IotHubInstalledItemDescriptor {
private DashboardId dashboardId;
}

1
common/data/src/main/java/org/thingsboard/server/common/data/iot_hub/IotHubInstalledItemDescriptor.java

@ -15,7 +15,6 @@ import java.io.Serializable;
property = "type")
@JsonSubTypes({
@Type(name = "WIDGET", value = WidgetInstalledItemDescriptor.class),
@Type(name = "DASHBOARD", value = DashboardInstalledItemDescriptor.class),
@Type(name = "CALCULATED_FIELD", value = CalculatedFieldInstalledItemDescriptor.class),
@Type(name = "ALARM_RULE", value = AlarmRuleInstalledItemDescriptor.class),
@Type(name = "RULE_CHAIN", value = RuleChainInstalledItemDescriptor.class),

2
common/discovery-api/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

2
common/edge-api/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

3
common/edge-api/src/main/proto/edge.proto

@ -41,6 +41,7 @@ enum EdgeVersion {
V_4_2_2_4 = 4224;
V_4_2_2_5 = 4225;
V_4_2_2_6 = 4226;
V_4_2_2_7 = 4227;
V_4_3_0_1 = 15;
V_4_3_1 = 4310;
V_4_3_1_1 = 4311;
@ -49,7 +50,9 @@ enum EdgeVersion {
V_4_3_1_4 = 4314;
V_4_3_1_5 = 4315;
V_4_3_1_6 = 4316;
V_4_3_1_7 = 4317;
V_4_4_0 = 4400;
V_4_4_0_1 = 4401;
V_LATEST = 99999;
}

2
common/edqs/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

2
common/integration/apache-pulsar/pom.xml

@ -11,7 +11,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>

2
common/integration/aws-integrations/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>

2
common/integration/azure-integrations/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>

2
common/integration/cluster-integration-api/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>

2
common/integration/coap-integrations/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>

2
common/integration/gcloud-integrations/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>

2
common/integration/http-integrations/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>

2
common/integration/integration-api/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>

2
common/integration/kafka-integrations/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>

4
common/integration/mqtt-integrations/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>
@ -67,7 +67,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>RELEASE</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>

2
common/integration/opcua-integrations/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>

2
common/integration/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

2
common/integration/rabbitmq-integrations/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>

2
common/integration/remote-integration-api/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>

2
common/integration/tuya-integrations/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.common.integration</groupId>

2
common/message/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

2
common/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>thingsboard</artifactId>
</parent>
<artifactId>common</artifactId>

2
common/proto/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

2
common/queue/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

2
common/report/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

5
common/script/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

2
common/script/remote-js-client/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>script</artifactId>
</parent>
<groupId>org.thingsboard.common.script</groupId>

2
common/script/script-api/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>script</artifactId>
</parent>
<groupId>org.thingsboard.common.script</groupId>

5
common/stats/pom.xml

@ -2,7 +2,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
@ -11,7 +12,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

5
common/transport/coap/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>transport</artifactId>
</parent>
<groupId>org.thingsboard.common.transport</groupId>

5
common/transport/http/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>transport</artifactId>
</parent>
<groupId>org.thingsboard.common.transport</groupId>

5
common/transport/lwm2m/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>transport</artifactId>
</parent>
<groupId>org.thingsboard.common.transport</groupId>

5
common/transport/mqtt/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>transport</artifactId>
</parent>
<groupId>org.thingsboard.common.transport</groupId>

2
common/transport/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

2
common/transport/snmp/pom.xml

@ -11,7 +11,7 @@
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>transport</artifactId>
</parent>

5
common/transport/transport-api/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.common</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>transport</artifactId>
</parent>
<groupId>org.thingsboard.common.transport</groupId>

5
common/util/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

2
common/version-control/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>

2
dao/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>thingsboard</artifactId>
</parent>
<artifactId>dao</artifactId>

5
edqs/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>thingsboard</artifactId>
</parent>
<artifactId>edqs</artifactId>

2
integration/apache-pulsar/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.integration</groupId>

2
integration/aws/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.integration</groupId>

2
integration/azure/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.integration</groupId>

2
integration/coap/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.integration</groupId>

2
integration/executor/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.integration</groupId>

2
integration/http/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.integration</groupId>

2
integration/kafka/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.integration</groupId>

2
integration/mqtt/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.integration</groupId>

2
integration/opc-ua/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.integration</groupId>

2
integration/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>thingsboard</artifactId>
</parent>
<artifactId>integration</artifactId>

2
integration/pubsub/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.integration</groupId>

2
integration/rabbitmq/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.integration</groupId>

2
integration/tcp-udp/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.integration</groupId>

2
integration/tuya/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>
<groupId>org.thingsboard.integration</groupId>

2
migrator/pom.xml

@ -12,7 +12,7 @@
<parent>
<artifactId>thingsboard</artifactId>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
</parent>
<artifactId>migrator</artifactId>

5
monitoring/pom.xml

@ -2,7 +2,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -10,7 +11,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>thingsboard</artifactId>
</parent>

6
msa/black-box-tests/pom.xml

@ -11,7 +11,7 @@
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>msa</artifactId>
</parent>
<groupId>org.thingsboard.msa</groupId>
@ -128,10 +128,6 @@
<artifactId>awaitility</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.californium</groupId>
<artifactId>californium-core</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>

2
msa/edqs/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>msa</artifactId>
</parent>
<groupId>org.thingsboard.msa</groupId>

2
msa/integration/apache-pulsar/pom.xml

@ -10,7 +10,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>

2
msa/integration/aws/pom.xml

@ -10,7 +10,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>

2
msa/integration/azure/pom.xml

@ -10,7 +10,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>

2
msa/integration/coap/pom.xml

@ -10,7 +10,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>

2
msa/integration/executor/pom.xml

@ -10,7 +10,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>

2
msa/integration/http/pom.xml

@ -10,7 +10,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>

2
msa/integration/kafka/pom.xml

@ -10,7 +10,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>

2
msa/integration/mqtt/pom.xml

@ -10,7 +10,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>

2
msa/integration/opc-ua/pom.xml

@ -10,7 +10,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>

2
msa/integration/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>msa</artifactId>
</parent>

2
msa/integration/pubsub/pom.xml

@ -10,7 +10,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>

2
msa/integration/rabbitmq/pom.xml

@ -10,7 +10,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>

2
msa/integration/tcp-udp/pom.xml

@ -10,7 +10,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>

2
msa/integration/tuya/pom.xml

@ -10,7 +10,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>integration</artifactId>
</parent>

2
msa/js-executor/package.json

@ -1,7 +1,7 @@
{
"name": "thingsboard-js-executor",
"private": true,
"version": "4.4.0",
"version": "4.4.0.1",
"description": "ThingsBoard JavaScript Executor Microservice",
"main": "server.ts",
"bin": "server.js",

2
msa/js-executor/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>msa</artifactId>
</parent>
<groupId>org.thingsboard.msa</groupId>

2
msa/migrator/pom.xml

@ -11,7 +11,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>msa</artifactId>
</parent>

2
msa/monitoring/pom.xml

@ -12,7 +12,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>msa</artifactId>
</parent>

2
msa/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>thingsboard</artifactId>
</parent>
<artifactId>msa</artifactId>

2
msa/report/pom.xml

@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>msa</artifactId>
</parent>
<groupId>org.thingsboard.msa</groupId>

2
msa/tb-node/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>msa</artifactId>
</parent>
<groupId>org.thingsboard.msa</groupId>

2
msa/transport/coap/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>transport</artifactId>
</parent>
<groupId>org.thingsboard.msa.transport</groupId>

2
msa/transport/http/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>transport</artifactId>
</parent>
<groupId>org.thingsboard.msa.transport</groupId>

2
msa/transport/lwm2m/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>transport</artifactId>
</parent>
<groupId>org.thingsboard.msa.transport</groupId>

2
msa/transport/mqtt/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard.msa</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>transport</artifactId>
</parent>
<groupId>org.thingsboard.msa.transport</groupId>

5
msa/transport/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>msa</artifactId>
</parent>
<groupId>org.thingsboard.msa</groupId>

2
msa/transport/snmp/pom.xml

@ -11,7 +11,7 @@
<parent>
<groupId>org.thingsboard.msa</groupId>
<artifactId>transport</artifactId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
</parent>
<groupId>org.thingsboard.msa.transport</groupId>

2
msa/vc-executor-docker/pom.xml

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>msa</artifactId>
</parent>
<groupId>org.thingsboard.msa</groupId>

5
msa/vc-executor/pom.xml

@ -1,7 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc.
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -10,7 +11,7 @@
<parent>
<groupId>org.thingsboard</groupId>
<version>4.4.0-SNAPSHOT</version>
<version>4.4.0.1-SNAPSHOT</version>
<artifactId>msa</artifactId>
</parent>
<groupId>org.thingsboard.msa</groupId>

2
msa/web-report/docker/Dockerfile

@ -23,7 +23,7 @@ COPY package/linux/conf ./config
COPY ${pkg.name}.conf ./conf
COPY src/api ./api
COPY src/config ./config
COPY src/server.js ./
COPY src/inspectorShim.js src/server.js ./
RUN apt-get update \
&& apt-get install -yq --no-install-recommends fonts-noto-cjk-extra fonts-roboto fonts-noto-color-emoji fonts-unifont libfreetype6 xfonts-scalable fonts-liberation \

2
msa/web-report/docker/start-web-report.sh

@ -14,7 +14,7 @@ source "${CONF_FOLDER}/${configfile}"
cd ${pkg.installFolder}
export CHROME_EXECUTABLE=$(node -e "console.log(require('playwright-core/lib/server').registry.findExecutable('chromium').executablePath());")
export CHROME_EXECUTABLE=$(node -e "console.log(require('playwright-chromium').chromium.executablePath());")
# This will forward this PID 1 to the node.js and forward SIGTERM for graceful shutdown as well
exec node server.js

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save