Browse Source

Moved TbServiceInfoProvider interface to separate module

pull/13428/head
dshvaika 1 year ago
parent
commit
506f48a89d
  1. 4
      application/pom.xml
  2. 4
      common/coap-server/pom.xml
  3. 4
      common/edqs/pom.xml
  4. 1
      common/pom.xml
  5. 4
      common/queue/pom.xml
  6. 73
      common/service-info-api/pom.xml
  7. 0
      common/service-info-api/src/main/java/org/thingsboard/server/queue/discovery/TbServiceInfoProvider.java
  8. 4
      common/transport/transport-api/pom.xml
  9. 2
      dao/pom.xml
  10. 5
      pom.xml

4
application/pom.xml

@ -128,6 +128,10 @@
<groupId>org.thingsboard.common</groupId>
<artifactId>edqs</artifactId>
</dependency>
<dependency>
<groupId>org.thingsboard.common</groupId>
<artifactId>service-info-api</artifactId>
</dependency>
<dependency>
<groupId>org.thingsboard</groupId>
<artifactId>dao</artifactId>

4
common/coap-server/pom.xml

@ -46,6 +46,10 @@
<groupId>org.thingsboard.common</groupId>
<artifactId>data</artifactId>
</dependency>
<dependency>
<groupId>org.thingsboard.common</groupId>
<artifactId>service-info-api</artifactId>
</dependency>
<dependency>
<groupId>org.thingsboard.common.transport</groupId>
<artifactId>transport-api</artifactId>

4
common/edqs/pom.xml

@ -68,6 +68,10 @@
<groupId>org.thingsboard.common</groupId>
<artifactId>queue</artifactId>
</dependency>
<dependency>
<groupId>org.thingsboard.common</groupId>
<artifactId>service-info-api</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>

1
common/pom.xml

@ -50,6 +50,7 @@
<module>version-control</module>
<module>script</module>
<module>edqs</module>
<module>service-info-api</module>
</modules>
</project>

4
common/queue/pom.xml

@ -60,6 +60,10 @@
<groupId>org.thingsboard.common</groupId>
<artifactId>cluster-api</artifactId>
</dependency>
<dependency>
<groupId>org.thingsboard.common</groupId>
<artifactId>service-info-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>

73
common/service-info-api/pom.xml

@ -0,0 +1,73 @@
<!--
Copyright © 2016-2025 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>4.1.0-SNAPSHOT</version>
<artifactId>common</artifactId>
</parent>
<groupId>org.thingsboard.common</groupId>
<artifactId>service-info-api</artifactId>
<packaging>jar</packaging>
<name>Thingsboard Server Service Info Provider 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.thingsboard.common</groupId>
<artifactId>proto</artifactId>
</dependency>
<dependency>
<groupId>org.thingsboard.common</groupId>
<artifactId>message</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>

0
common/queue/src/main/java/org/thingsboard/server/queue/discovery/TbServiceInfoProvider.java → common/service-info-api/src/main/java/org/thingsboard/server/queue/discovery/TbServiceInfoProvider.java

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

@ -60,6 +60,10 @@
<groupId>org.thingsboard.common</groupId>
<artifactId>util</artifactId>
</dependency>
<dependency>
<groupId>org.thingsboard.common</groupId>
<artifactId>service-info-api</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>

2
dao/pom.xml

@ -61,7 +61,7 @@
</dependency>
<dependency>
<groupId>org.thingsboard.common</groupId>
<artifactId>queue</artifactId>
<artifactId>service-info-api</artifactId>
</dependency>
<dependency>
<groupId>com.networknt</groupId>

5
pom.xml

@ -964,6 +964,11 @@
<artifactId>cluster-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.thingsboard.common</groupId>
<artifactId>service-info-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.thingsboard.rule-engine</groupId>
<artifactId>rule-engine-api</artifactId>

Loading…
Cancel
Save