Rename Data structures. Create separate module.
This commit is contained in:
parent
846d9bba75
commit
7ec45fd5f1
@ -69,6 +69,10 @@
|
||||
<groupId>org.thingsboard.common</groupId>
|
||||
<artifactId>cluster-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.thingsboard.common</groupId>
|
||||
<artifactId>version-control</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.thingsboard.rule-engine</groupId>
|
||||
<artifactId>rule-engine-components</artifactId>
|
||||
|
||||
@ -51,8 +51,8 @@ import org.thingsboard.server.dao.exception.IncorrectParameterException;
|
||||
import org.thingsboard.server.dao.model.ModelConstants;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.asset.AssetBulkImportService;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.csv.BulkImportRequest;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.csv.BulkImportResult;
|
||||
import org.thingsboard.server.service.sync.ie.importing.csv.BulkImportRequest;
|
||||
import org.thingsboard.server.service.sync.ie.importing.csv.BulkImportResult;
|
||||
import org.thingsboard.server.service.entitiy.asset.TbAssetService;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.security.permission.Operation;
|
||||
|
||||
@ -66,8 +66,8 @@ import org.thingsboard.server.dao.exception.IncorrectParameterException;
|
||||
import org.thingsboard.server.dao.model.ModelConstants;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.device.DeviceBulkImportService;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.csv.BulkImportRequest;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.csv.BulkImportResult;
|
||||
import org.thingsboard.server.service.sync.ie.importing.csv.BulkImportRequest;
|
||||
import org.thingsboard.server.service.sync.ie.importing.csv.BulkImportResult;
|
||||
import org.thingsboard.server.service.entitiy.device.TbDeviceService;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.security.permission.Operation;
|
||||
|
||||
@ -52,8 +52,8 @@ import org.thingsboard.server.dao.model.ModelConstants;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.edge.EdgeBulkImportService;
|
||||
import org.thingsboard.server.service.entitiy.edge.TbEdgeService;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.csv.BulkImportRequest;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.csv.BulkImportResult;
|
||||
import org.thingsboard.server.service.sync.ie.importing.csv.BulkImportRequest;
|
||||
import org.thingsboard.server.service.sync.ie.importing.csv.BulkImportResult;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.security.permission.Operation;
|
||||
import org.thingsboard.server.service.security.permission.Resource;
|
||||
|
||||
@ -32,13 +32,13 @@ import org.thingsboard.server.common.data.id.EntityId;
|
||||
import org.thingsboard.server.common.data.id.EntityIdFactory;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.sync.vc.EntitiesVersionControlService;
|
||||
import org.thingsboard.server.service.sync.vc.data.EntitiesVersionControlSettings;
|
||||
import org.thingsboard.server.service.sync.vc.data.EntityVersion;
|
||||
import org.thingsboard.server.service.sync.vc.data.VersionCreationResult;
|
||||
import org.thingsboard.server.service.sync.vc.data.VersionLoadResult;
|
||||
import org.thingsboard.server.service.sync.vc.data.VersionedEntityInfo;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.create.VersionCreateRequest;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.load.VersionLoadRequest;
|
||||
import org.thingsboard.server.common.data.sync.vc.EntitiesVersionControlSettings;
|
||||
import org.thingsboard.server.common.data.sync.vc.EntityVersion;
|
||||
import org.thingsboard.server.common.data.sync.vc.VersionCreationResult;
|
||||
import org.thingsboard.server.common.data.sync.vc.VersionLoadResult;
|
||||
import org.thingsboard.server.common.data.sync.vc.VersionedEntityInfo;
|
||||
import org.thingsboard.server.common.data.sync.vc.request.create.VersionCreateRequest;
|
||||
import org.thingsboard.server.common.data.sync.vc.request.load.VersionLoadRequest;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@ -26,8 +26,8 @@ import org.thingsboard.server.common.data.asset.Asset;
|
||||
import org.thingsboard.server.common.data.id.TenantId;
|
||||
import org.thingsboard.server.dao.asset.AssetService;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.csv.AbstractBulkImportService;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.csv.BulkImportColumnType;
|
||||
import org.thingsboard.server.service.sync.ie.importing.csv.AbstractBulkImportService;
|
||||
import org.thingsboard.server.service.sync.ie.importing.csv.BulkImportColumnType;
|
||||
import org.thingsboard.server.service.entitiy.asset.TbAssetService;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
|
||||
|
||||
@ -49,8 +49,8 @@ import org.thingsboard.server.dao.device.DeviceProfileService;
|
||||
import org.thingsboard.server.dao.device.DeviceService;
|
||||
import org.thingsboard.server.dao.exception.DeviceCredentialsValidationException;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.csv.AbstractBulkImportService;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.csv.BulkImportColumnType;
|
||||
import org.thingsboard.server.service.sync.ie.importing.csv.AbstractBulkImportService;
|
||||
import org.thingsboard.server.service.sync.ie.importing.csv.BulkImportColumnType;
|
||||
import org.thingsboard.server.service.entitiy.device.TbDeviceService;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
|
||||
|
||||
@ -28,8 +28,8 @@ import org.thingsboard.server.common.data.rule.RuleChain;
|
||||
import org.thingsboard.server.dao.edge.EdgeService;
|
||||
import org.thingsboard.server.dao.rule.RuleChainService;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.csv.AbstractBulkImportService;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.csv.BulkImportColumnType;
|
||||
import org.thingsboard.server.service.sync.ie.importing.csv.AbstractBulkImportService;
|
||||
import org.thingsboard.server.service.sync.ie.importing.csv.BulkImportColumnType;
|
||||
import org.thingsboard.server.service.entitiy.edge.TbEdgeService;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport;
|
||||
package org.thingsboard.server.service.sync.ie;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@ -27,15 +27,15 @@ import org.thingsboard.server.common.data.id.EntityId;
|
||||
import org.thingsboard.server.dao.exception.DataValidationException;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.EntityExportService;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportData;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportSettings;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.impl.BaseEntityExportService;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.impl.DefaultEntityExportService;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.EntityImportService;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.data.EntityImportResult;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.data.EntityImportSettings;
|
||||
import org.thingsboard.server.utils.ThrowingRunnable;
|
||||
import org.thingsboard.server.service.sync.ie.exporting.EntityExportService;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportSettings;
|
||||
import org.thingsboard.server.service.sync.ie.exporting.impl.BaseEntityExportService;
|
||||
import org.thingsboard.server.service.sync.ie.exporting.impl.DefaultEntityExportService;
|
||||
import org.thingsboard.server.service.sync.ie.importing.EntityImportService;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityImportResult;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityImportSettings;
|
||||
import org.thingsboard.server.common.data.sync.ThrowingRunnable;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
@ -13,16 +13,16 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport;
|
||||
package org.thingsboard.server.service.sync.ie;
|
||||
|
||||
import org.thingsboard.server.common.data.ExportableEntity;
|
||||
import org.thingsboard.server.common.data.exception.ThingsboardException;
|
||||
import org.thingsboard.server.common.data.id.EntityId;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportData;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportSettings;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.data.EntityImportResult;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.data.EntityImportSettings;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportSettings;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityImportResult;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityImportSettings;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.exporting;
|
||||
package org.thingsboard.server.service.sync.ie.exporting;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@ -13,14 +13,14 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.exporting;
|
||||
package org.thingsboard.server.service.sync.ie.exporting;
|
||||
|
||||
import org.thingsboard.server.common.data.ExportableEntity;
|
||||
import org.thingsboard.server.common.data.exception.ThingsboardException;
|
||||
import org.thingsboard.server.common.data.id.EntityId;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportSettings;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportSettings;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportData;
|
||||
|
||||
public interface EntityExportService<I extends EntityId, E extends ExportableEntity<I>, D extends EntityExportData<E>> {
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.exporting;
|
||||
package org.thingsboard.server.service.sync.ie.exporting;
|
||||
|
||||
import org.thingsboard.server.common.data.EntityType;
|
||||
import org.thingsboard.server.common.data.ExportableEntity;
|
||||
@ -25,9 +25,6 @@ import org.thingsboard.server.common.data.page.PageData;
|
||||
import org.thingsboard.server.common.data.page.PageLink;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.security.permission.Operation;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.create.VersionCreateConfig;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ExportableEntitiesService {
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.exporting.impl;
|
||||
package org.thingsboard.server.service.sync.ie.exporting.impl;
|
||||
|
||||
import org.thingsboard.server.common.data.EntityType;
|
||||
import org.thingsboard.server.common.data.ExportableEntity;
|
||||
@ -21,8 +21,8 @@ import org.thingsboard.server.common.data.exception.ThingsboardException;
|
||||
import org.thingsboard.server.common.data.id.EntityId;
|
||||
import org.thingsboard.server.common.data.id.TenantId;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportSettings;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportSettings;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportData;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.exporting.impl;
|
||||
package org.thingsboard.server.service.sync.ie.exporting.impl;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
@ -28,10 +28,10 @@ import org.thingsboard.server.dao.relation.RelationService;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.security.permission.Operation;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportSettings;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.EntityExportService;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.ExportableEntitiesService;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportSettings;
|
||||
import org.thingsboard.server.service.sync.ie.exporting.EntityExportService;
|
||||
import org.thingsboard.server.service.sync.ie.exporting.ExportableEntitiesService;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportData;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.exporting.impl;
|
||||
package org.thingsboard.server.service.sync.ie.exporting.impl;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.stereotype.Service;
|
||||
@ -23,7 +23,7 @@ import org.thingsboard.server.common.data.id.DeviceId;
|
||||
import org.thingsboard.server.common.data.id.TenantId;
|
||||
import org.thingsboard.server.dao.device.DeviceCredentialsService;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.DeviceExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.DeviceExportData;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.exporting.impl;
|
||||
package org.thingsboard.server.service.sync.ie.exporting.impl;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.stereotype.Service;
|
||||
@ -23,7 +23,7 @@ import org.thingsboard.server.common.data.id.TenantId;
|
||||
import org.thingsboard.server.common.data.rule.RuleChain;
|
||||
import org.thingsboard.server.dao.rule.RuleChainService;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.RuleChainExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.RuleChainExportData;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
@ -13,16 +13,16 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing;
|
||||
package org.thingsboard.server.service.sync.ie.importing;
|
||||
|
||||
import org.thingsboard.server.common.data.EntityType;
|
||||
import org.thingsboard.server.common.data.ExportableEntity;
|
||||
import org.thingsboard.server.common.data.exception.ThingsboardException;
|
||||
import org.thingsboard.server.common.data.id.EntityId;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.data.EntityImportResult;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.data.EntityImportSettings;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityImportResult;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityImportSettings;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportData;
|
||||
|
||||
public interface EntityImportService<I extends EntityId, E extends ExportableEntity<I>, D extends EntityExportData<E>> {
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.csv;
|
||||
package org.thingsboard.server.service.sync.ie.importing.csv;
|
||||
|
||||
import com.google.common.util.concurrent.FutureCallback;
|
||||
import com.google.gson.JsonObject;
|
||||
@ -66,7 +66,6 @@ import java.util.concurrent.LinkedBlockingQueue;
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.function.Consumer;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.csv;
|
||||
package org.thingsboard.server.service.sync.ie.importing.csv;
|
||||
|
||||
import lombok.Getter;
|
||||
import org.thingsboard.server.common.data.DataConstants;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.csv;
|
||||
package org.thingsboard.server.service.sync.ie.importing.csv;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.csv;
|
||||
package org.thingsboard.server.service.sync.ie.importing.csv;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.csv;
|
||||
package org.thingsboard.server.service.sync.ie.importing.csv;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.impl;
|
||||
package org.thingsboard.server.service.sync.ie.importing.impl;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.stereotype.Service;
|
||||
@ -26,7 +26,7 @@ import org.thingsboard.server.common.data.id.TenantId;
|
||||
import org.thingsboard.server.dao.asset.AssetService;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportData;
|
||||
|
||||
@Service
|
||||
@TbCoreComponent
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.impl;
|
||||
package org.thingsboard.server.service.sync.ie.importing.impl;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@ -35,11 +35,11 @@ import org.thingsboard.server.dao.relation.RelationService;
|
||||
import org.thingsboard.server.service.action.EntityActionService;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.security.permission.Operation;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.data.EntityImportResult;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.data.EntityImportSettings;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.ExportableEntitiesService;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportData;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.EntityImportService;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityImportResult;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityImportSettings;
|
||||
import org.thingsboard.server.service.sync.ie.exporting.ExportableEntitiesService;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportData;
|
||||
import org.thingsboard.server.service.sync.ie.importing.EntityImportService;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.impl;
|
||||
package org.thingsboard.server.service.sync.ie.importing.impl;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.stereotype.Service;
|
||||
@ -26,7 +26,7 @@ import org.thingsboard.server.common.data.id.TenantId;
|
||||
import org.thingsboard.server.dao.customer.CustomerService;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportData;
|
||||
|
||||
@Service
|
||||
@TbCoreComponent
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.impl;
|
||||
package org.thingsboard.server.service.sync.ie.importing.impl;
|
||||
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
@ -30,8 +30,8 @@ import org.thingsboard.server.common.data.id.TenantId;
|
||||
import org.thingsboard.server.dao.dashboard.DashboardService;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.data.EntityImportSettings;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityImportSettings;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportData;
|
||||
import org.thingsboard.server.utils.RegexUtils;
|
||||
|
||||
import java.util.Collections;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.impl;
|
||||
package org.thingsboard.server.service.sync.ie.importing.impl;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.stereotype.Service;
|
||||
@ -25,7 +25,7 @@ import org.thingsboard.server.common.data.id.TenantId;
|
||||
import org.thingsboard.server.dao.device.DeviceService;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.DeviceExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.DeviceExportData;
|
||||
|
||||
@Service
|
||||
@TbCoreComponent
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.impl;
|
||||
package org.thingsboard.server.service.sync.ie.importing.impl;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.stereotype.Service;
|
||||
@ -28,7 +28,7 @@ import org.thingsboard.server.dao.device.DeviceProfileService;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.ota.OtaPackageStateService;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportData;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.impl;
|
||||
package org.thingsboard.server.service.sync.ie.importing.impl;
|
||||
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
@ -32,8 +32,8 @@ import org.thingsboard.server.common.data.rule.RuleChainUpdateResult;
|
||||
import org.thingsboard.server.dao.rule.RuleChainService;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.data.EntityImportSettings;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.RuleChainExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityImportSettings;
|
||||
import org.thingsboard.server.common.data.sync.ie.RuleChainExportData;
|
||||
import org.thingsboard.server.utils.RegexUtils;
|
||||
|
||||
import java.util.Collections;
|
||||
@ -55,28 +55,28 @@ import org.thingsboard.server.queue.util.AfterStartUp;
|
||||
import org.thingsboard.server.queue.util.TbCoreComponent;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.security.permission.Operation;
|
||||
import org.thingsboard.server.service.sync.exportimport.EntitiesExportImportService;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.ExportableEntitiesService;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportData;
|
||||
import org.thingsboard.server.service.sync.exportimport.exporting.data.EntityExportSettings;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.data.EntityImportResult;
|
||||
import org.thingsboard.server.service.sync.exportimport.importing.data.EntityImportSettings;
|
||||
import org.thingsboard.server.service.sync.vc.data.EntitiesVersionControlSettings;
|
||||
import org.thingsboard.server.service.sync.vc.data.EntityVersion;
|
||||
import org.thingsboard.server.service.sync.vc.data.VersionCreationResult;
|
||||
import org.thingsboard.server.service.sync.vc.data.VersionLoadResult;
|
||||
import org.thingsboard.server.service.sync.vc.data.VersionedEntityInfo;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.create.ComplexVersionCreateRequest;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.create.SingleEntityVersionCreateRequest;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.create.SyncStrategy;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.create.VersionCreateConfig;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.create.VersionCreateRequest;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.load.EntityTypeVersionLoadRequest;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.load.SingleEntityVersionLoadRequest;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.load.VersionLoadConfig;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.load.VersionLoadRequest;
|
||||
import org.thingsboard.server.service.sync.ie.EntitiesExportImportService;
|
||||
import org.thingsboard.server.service.sync.ie.exporting.ExportableEntitiesService;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportData;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityExportSettings;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityImportResult;
|
||||
import org.thingsboard.server.common.data.sync.ie.EntityImportSettings;
|
||||
import org.thingsboard.server.common.data.sync.vc.EntitiesVersionControlSettings;
|
||||
import org.thingsboard.server.common.data.sync.vc.EntityVersion;
|
||||
import org.thingsboard.server.common.data.sync.vc.VersionCreationResult;
|
||||
import org.thingsboard.server.common.data.sync.vc.VersionLoadResult;
|
||||
import org.thingsboard.server.common.data.sync.vc.VersionedEntityInfo;
|
||||
import org.thingsboard.server.common.data.sync.vc.request.create.ComplexVersionCreateRequest;
|
||||
import org.thingsboard.server.common.data.sync.vc.request.create.SingleEntityVersionCreateRequest;
|
||||
import org.thingsboard.server.common.data.sync.vc.request.create.SyncStrategy;
|
||||
import org.thingsboard.server.common.data.sync.vc.request.create.VersionCreateConfig;
|
||||
import org.thingsboard.server.common.data.sync.vc.request.create.VersionCreateRequest;
|
||||
import org.thingsboard.server.common.data.sync.vc.request.load.EntityTypeVersionLoadRequest;
|
||||
import org.thingsboard.server.common.data.sync.vc.request.load.SingleEntityVersionLoadRequest;
|
||||
import org.thingsboard.server.common.data.sync.vc.request.load.VersionLoadConfig;
|
||||
import org.thingsboard.server.common.data.sync.vc.request.load.VersionLoadRequest;
|
||||
import org.thingsboard.server.utils.GitRepository;
|
||||
import org.thingsboard.server.utils.ThrowingRunnable;
|
||||
import org.thingsboard.server.common.data.sync.ThrowingRunnable;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
@ -19,13 +19,13 @@ import org.thingsboard.server.common.data.EntityType;
|
||||
import org.thingsboard.server.common.data.id.EntityId;
|
||||
import org.thingsboard.server.common.data.id.TenantId;
|
||||
import org.thingsboard.server.service.security.model.SecurityUser;
|
||||
import org.thingsboard.server.service.sync.vc.data.EntitiesVersionControlSettings;
|
||||
import org.thingsboard.server.service.sync.vc.data.EntityVersion;
|
||||
import org.thingsboard.server.service.sync.vc.data.VersionCreationResult;
|
||||
import org.thingsboard.server.service.sync.vc.data.VersionLoadResult;
|
||||
import org.thingsboard.server.service.sync.vc.data.VersionedEntityInfo;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.load.VersionLoadRequest;
|
||||
import org.thingsboard.server.service.sync.vc.data.request.create.VersionCreateRequest;
|
||||
import org.thingsboard.server.common.data.sync.vc.EntitiesVersionControlSettings;
|
||||
import org.thingsboard.server.common.data.sync.vc.EntityVersion;
|
||||
import org.thingsboard.server.common.data.sync.vc.VersionCreationResult;
|
||||
import org.thingsboard.server.common.data.sync.vc.VersionLoadResult;
|
||||
import org.thingsboard.server.common.data.sync.vc.VersionedEntityInfo;
|
||||
import org.thingsboard.server.common.data.sync.vc.request.load.VersionLoadRequest;
|
||||
import org.thingsboard.server.common.data.sync.vc.request.create.VersionCreateRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.utils;
|
||||
package org.thingsboard.server.common.data.sync;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
|
||||
import com.fasterxml.jackson.annotation.JsonSubTypes;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.utils;
|
||||
package org.thingsboard.server.common.data.sync;
|
||||
|
||||
import org.thingsboard.server.common.data.exception.ThingsboardException;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.exporting.data;
|
||||
package org.thingsboard.server.common.data.sync.ie;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.exporting.data;
|
||||
package org.thingsboard.server.common.data.sync.ie;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
@ -25,7 +25,7 @@ import org.thingsboard.server.common.data.EntityType;
|
||||
import org.thingsboard.server.common.data.ExportableEntity;
|
||||
import org.thingsboard.server.common.data.id.EntityId;
|
||||
import org.thingsboard.server.common.data.relation.EntityRelation;
|
||||
import org.thingsboard.server.utils.JsonTbEntity;
|
||||
import org.thingsboard.server.common.data.sync.JsonTbEntity;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.exporting.data;
|
||||
package org.thingsboard.server.common.data.sync.ie;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
@ -13,15 +13,15 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.data;
|
||||
package org.thingsboard.server.common.data.sync.ie;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import lombok.Data;
|
||||
import org.thingsboard.server.common.data.EntityType;
|
||||
import org.thingsboard.server.common.data.ExportableEntity;
|
||||
import org.thingsboard.server.common.data.id.EntityId;
|
||||
import org.thingsboard.server.utils.JsonTbEntity;
|
||||
import org.thingsboard.server.utils.ThrowingRunnable;
|
||||
import org.thingsboard.server.common.data.sync.JsonTbEntity;
|
||||
import org.thingsboard.server.common.data.sync.ThrowingRunnable;
|
||||
|
||||
@Data
|
||||
public class EntityImportResult<E extends ExportableEntity<? extends EntityId>> {
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.importing.data;
|
||||
package org.thingsboard.server.common.data.sync.ie;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.exportimport.exporting.data;
|
||||
package org.thingsboard.server.common.data.sync.ie;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data;
|
||||
package org.thingsboard.server.common.data.sync.vc;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data;
|
||||
package org.thingsboard.server.common.data.sync.vc;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data;
|
||||
package org.thingsboard.server.common.data.sync.vc;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data;
|
||||
package org.thingsboard.server.common.data.sync.vc;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data;
|
||||
package org.thingsboard.server.common.data.sync.vc;
|
||||
|
||||
import lombok.Data;
|
||||
import org.thingsboard.server.common.data.id.EntityId;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data.request.create;
|
||||
package org.thingsboard.server.common.data.sync.vc.request.create;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data.request.create;
|
||||
package org.thingsboard.server.common.data.sync.vc.request.create;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data.request.create;
|
||||
package org.thingsboard.server.common.data.sync.vc.request.create;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data.request.create;
|
||||
package org.thingsboard.server.common.data.sync.vc.request.create;
|
||||
|
||||
public enum SyncStrategy {
|
||||
MERGE,
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data.request.create;
|
||||
package org.thingsboard.server.common.data.sync.vc.request.create;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data.request.create;
|
||||
package org.thingsboard.server.common.data.sync.vc.request.create;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonSubTypes;
|
||||
import com.fasterxml.jackson.annotation.JsonSubTypes.Type;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data.request.create;
|
||||
package org.thingsboard.server.common.data.sync.vc.request.create;
|
||||
|
||||
public enum VersionCreateRequestType {
|
||||
SINGLE_ENTITY,
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data.request.load;
|
||||
package org.thingsboard.server.common.data.sync.vc.request.load;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data.request.load;
|
||||
package org.thingsboard.server.common.data.sync.vc.request.load;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data.request.load;
|
||||
package org.thingsboard.server.common.data.sync.vc.request.load;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data.request.load;
|
||||
package org.thingsboard.server.common.data.sync.vc.request.load;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data.request.load;
|
||||
package org.thingsboard.server.common.data.sync.vc.request.load;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonSubTypes;
|
||||
import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.service.sync.vc.data.request.load;
|
||||
package org.thingsboard.server.common.data.sync.vc.request.load;
|
||||
|
||||
public enum VersionLoadRequestType {
|
||||
SINGLE_ENTITY,
|
||||
@ -46,6 +46,7 @@
|
||||
<module>cache</module>
|
||||
<module>coap-server</module>
|
||||
<module>edge-api</module>
|
||||
<module>version-control</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
|
||||
94
common/version-control/pom.xml
Normal file
94
common/version-control/pom.xml
Normal file
@ -0,0 +1,94 @@
|
||||
<!--
|
||||
|
||||
Copyright © 2016-2022 The Thingsboard Authors
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.thingsboard</groupId>
|
||||
<version>3.4.0-SNAPSHOT</version>
|
||||
<artifactId>common</artifactId>
|
||||
</parent>
|
||||
<groupId>org.thingsboard.common</groupId>
|
||||
<artifactId>version-control</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Thingsboard Server Version Control API</name>
|
||||
<url>https://thingsboard.io</url>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<main.dir>${basedir}/../..</main.dir>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>log4j-over-slf4j</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.vintage</groupId>
|
||||
<artifactId>junit-vintage-engine</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.awaitility</groupId>
|
||||
<artifactId>awaitility</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.thingsboard.common</groupId>
|
||||
<artifactId>data</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
5
pom.xml
5
pom.xml
@ -866,6 +866,11 @@
|
||||
<artifactId>util</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.thingsboard.common</groupId>
|
||||
<artifactId>version-control</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.thingsboard.common</groupId>
|
||||
<artifactId>cache</artifactId>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user