updated spring and netty versions
This commit is contained in:
parent
c813d41abe
commit
5d82d738ee
@ -476,6 +476,8 @@ updates:
|
|||||||
# Enable/disable updates checking.
|
# Enable/disable updates checking.
|
||||||
enabled: "${UPDATES_ENABLED:true}"
|
enabled: "${UPDATES_ENABLED:true}"
|
||||||
|
|
||||||
|
spring.main.allow-circular-references: "true"
|
||||||
|
|
||||||
# spring freemarker configuration
|
# spring freemarker configuration
|
||||||
spring.freemarker.checkTemplateLocation: "false"
|
spring.freemarker.checkTemplateLocation: "false"
|
||||||
|
|
||||||
|
|||||||
@ -151,7 +151,7 @@ public abstract class BaseDeviceProfileControllerTest extends AbstractController
|
|||||||
public void testSetDefaultDeviceProfile() throws Exception {
|
public void testSetDefaultDeviceProfile() throws Exception {
|
||||||
DeviceProfile deviceProfile = this.createDeviceProfile("Device Profile 1", null);
|
DeviceProfile deviceProfile = this.createDeviceProfile("Device Profile 1", null);
|
||||||
DeviceProfile savedDeviceProfile = doPost("/api/deviceProfile", deviceProfile, DeviceProfile.class);
|
DeviceProfile savedDeviceProfile = doPost("/api/deviceProfile", deviceProfile, DeviceProfile.class);
|
||||||
DeviceProfile defaultDeviceProfile = doPost("/api/deviceProfile/"+savedDeviceProfile.getId().getId().toString()+"/default", null, DeviceProfile.class);
|
DeviceProfile defaultDeviceProfile = doPost("/api/deviceProfile/"+savedDeviceProfile.getId().getId().toString()+"/default", DeviceProfile.class);
|
||||||
Assert.assertNotNull(defaultDeviceProfile);
|
Assert.assertNotNull(defaultDeviceProfile);
|
||||||
DeviceProfileInfo foundDefaultDeviceProfile = doGet("/api/deviceProfileInfo/default", DeviceProfileInfo.class);
|
DeviceProfileInfo foundDefaultDeviceProfile = doGet("/api/deviceProfileInfo/default", DeviceProfileInfo.class);
|
||||||
Assert.assertNotNull(foundDefaultDeviceProfile);
|
Assert.assertNotNull(foundDefaultDeviceProfile);
|
||||||
|
|||||||
@ -109,7 +109,7 @@ public abstract class BaseTenantProfileControllerTest extends AbstractController
|
|||||||
loginSysAdmin();
|
loginSysAdmin();
|
||||||
TenantProfile tenantProfile = this.createTenantProfile("Tenant Profile 1");
|
TenantProfile tenantProfile = this.createTenantProfile("Tenant Profile 1");
|
||||||
TenantProfile savedTenantProfile = doPost("/api/tenantProfile", tenantProfile, TenantProfile.class);
|
TenantProfile savedTenantProfile = doPost("/api/tenantProfile", tenantProfile, TenantProfile.class);
|
||||||
TenantProfile defaultTenantProfile = doPost("/api/tenantProfile/"+savedTenantProfile.getId().getId().toString()+"/default", null, TenantProfile.class);
|
TenantProfile defaultTenantProfile = doPost("/api/tenantProfile/"+savedTenantProfile.getId().getId().toString()+"/default", TenantProfile.class);
|
||||||
Assert.assertNotNull(defaultTenantProfile);
|
Assert.assertNotNull(defaultTenantProfile);
|
||||||
EntityInfo foundDefaultTenantProfile = doGet("/api/tenantProfileInfo/default", EntityInfo.class);
|
EntityInfo foundDefaultTenantProfile = doGet("/api/tenantProfileInfo/default", EntityInfo.class);
|
||||||
Assert.assertNotNull(foundDefaultTenantProfile);
|
Assert.assertNotNull(foundDefaultTenantProfile);
|
||||||
|
|||||||
@ -33,6 +33,8 @@ import org.springframework.util.Assert;
|
|||||||
import org.thingsboard.server.common.data.id.EntityId;
|
import org.thingsboard.server.common.data.id.EntityId;
|
||||||
import redis.clients.jedis.JedisPoolConfig;
|
import redis.clients.jedis.JedisPoolConfig;
|
||||||
|
|
||||||
|
import java.time.Duration;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ConditionalOnProperty(prefix = "cache", value = "type", havingValue = "redis", matchIfMissing = false)
|
@ConditionalOnProperty(prefix = "cache", value = "type", havingValue = "redis", matchIfMissing = false)
|
||||||
@EnableCaching
|
@EnableCaching
|
||||||
@ -114,8 +116,8 @@ public abstract class TBRedisCacheConfiguration {
|
|||||||
poolConfig.setTestOnBorrow(testOnBorrow);
|
poolConfig.setTestOnBorrow(testOnBorrow);
|
||||||
poolConfig.setTestOnReturn(testOnReturn);
|
poolConfig.setTestOnReturn(testOnReturn);
|
||||||
poolConfig.setTestWhileIdle(testWhileIdle);
|
poolConfig.setTestWhileIdle(testWhileIdle);
|
||||||
poolConfig.setMinEvictableIdleTimeMillis(minEvictableMs);
|
poolConfig.setSoftMinEvictableIdleTime(Duration.ofMillis(minEvictableMs));
|
||||||
poolConfig.setTimeBetweenEvictionRunsMillis(evictionRunsMs);
|
poolConfig.setTimeBetweenEvictionRuns(Duration.ofMillis(evictionRunsMs));
|
||||||
poolConfig.setMaxWaitMillis(maxWaitMills);
|
poolConfig.setMaxWaitMillis(maxWaitMills);
|
||||||
poolConfig.setNumTestsPerEvictionRun(numberTestsPerEvictionRun);
|
poolConfig.setNumTestsPerEvictionRun(numberTestsPerEvictionRun);
|
||||||
poolConfig.setBlockWhenExhausted(blockWhenExhausted);
|
poolConfig.setBlockWhenExhausted(blockWhenExhausted);
|
||||||
|
|||||||
@ -0,0 +1,29 @@
|
|||||||
|
/**
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
package org.thingsboard.server.dao.util;
|
||||||
|
|
||||||
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
||||||
|
import org.springframework.boot.autoconfigure.cassandra.CassandraAutoConfiguration;
|
||||||
|
import org.springframework.boot.autoconfigure.data.cassandra.CassandraDataAutoConfiguration;
|
||||||
|
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
|
||||||
|
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
@EnableAutoConfiguration(exclude = {CassandraAutoConfiguration.class, CassandraDataAutoConfiguration.class, RedisAutoConfiguration.class})
|
||||||
|
public @interface TbAutoConfiguration {
|
||||||
|
}
|
||||||
@ -220,14 +220,6 @@
|
|||||||
<groupId>org.springframework</groupId>
|
<groupId>org.springframework</groupId>
|
||||||
<artifactId>spring-context-support</artifactId>
|
<artifactId>spring-context-support</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.data</groupId>
|
|
||||||
<artifactId>spring-data-redis</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>redis.clients</groupId>
|
|
||||||
<artifactId>jedis</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.elasticsearch.client</groupId>
|
<groupId>org.elasticsearch.client</groupId>
|
||||||
<artifactId>rest</artifactId>
|
<artifactId>rest</artifactId>
|
||||||
|
|||||||
@ -15,7 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
package org.thingsboard.server.dao;
|
package org.thingsboard.server.dao;
|
||||||
|
|
||||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
||||||
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
||||||
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
@ -23,9 +22,10 @@ import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
|||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
import org.thingsboard.server.dao.util.HsqlDao;
|
import org.thingsboard.server.dao.util.HsqlDao;
|
||||||
import org.thingsboard.server.dao.util.SqlTsDao;
|
import org.thingsboard.server.dao.util.SqlTsDao;
|
||||||
|
import org.thingsboard.server.dao.util.TbAutoConfiguration;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@EnableAutoConfiguration
|
@TbAutoConfiguration
|
||||||
@ComponentScan({"org.thingsboard.server.dao.sqlts.hsql"})
|
@ComponentScan({"org.thingsboard.server.dao.sqlts.hsql"})
|
||||||
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.ts", "org.thingsboard.server.dao.sqlts.insert.hsql"})
|
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.ts", "org.thingsboard.server.dao.sqlts.insert.hsql"})
|
||||||
@EntityScan({"org.thingsboard.server.dao.model.sqlts.ts"})
|
@EntityScan({"org.thingsboard.server.dao.model.sqlts.ts"})
|
||||||
|
|||||||
@ -15,7 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
package org.thingsboard.server.dao;
|
package org.thingsboard.server.dao;
|
||||||
|
|
||||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
||||||
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
||||||
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
@ -23,9 +22,10 @@ import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
|||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
import org.thingsboard.server.dao.util.HsqlDao;
|
import org.thingsboard.server.dao.util.HsqlDao;
|
||||||
import org.thingsboard.server.dao.util.SqlTsLatestDao;
|
import org.thingsboard.server.dao.util.SqlTsLatestDao;
|
||||||
|
import org.thingsboard.server.dao.util.TbAutoConfiguration;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@EnableAutoConfiguration
|
@TbAutoConfiguration
|
||||||
@ComponentScan({"org.thingsboard.server.dao.sqlts.hsql"})
|
@ComponentScan({"org.thingsboard.server.dao.sqlts.hsql"})
|
||||||
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.insert.latest.hsql", "org.thingsboard.server.dao.sqlts.latest"})
|
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.insert.latest.hsql", "org.thingsboard.server.dao.sqlts.latest"})
|
||||||
@EntityScan({"org.thingsboard.server.dao.model.sqlts.latest"})
|
@EntityScan({"org.thingsboard.server.dao.model.sqlts.latest"})
|
||||||
|
|||||||
@ -15,18 +15,18 @@
|
|||||||
*/
|
*/
|
||||||
package org.thingsboard.server.dao;
|
package org.thingsboard.server.dao;
|
||||||
|
|
||||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
||||||
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
||||||
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
|
import org.thingsboard.server.dao.util.TbAutoConfiguration;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Valerii Sosliuk
|
* @author Valerii Sosliuk
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
@EnableAutoConfiguration
|
@TbAutoConfiguration
|
||||||
@ComponentScan("org.thingsboard.server.dao.sql")
|
@ComponentScan("org.thingsboard.server.dao.sql")
|
||||||
@EnableJpaRepositories("org.thingsboard.server.dao.sql")
|
@EnableJpaRepositories("org.thingsboard.server.dao.sql")
|
||||||
@EntityScan("org.thingsboard.server.dao.model.sql")
|
@EntityScan("org.thingsboard.server.dao.model.sql")
|
||||||
|
|||||||
@ -15,7 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
package org.thingsboard.server.dao;
|
package org.thingsboard.server.dao;
|
||||||
|
|
||||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
||||||
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
||||||
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
@ -23,9 +22,10 @@ import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
|||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
import org.thingsboard.server.dao.util.PsqlDao;
|
import org.thingsboard.server.dao.util.PsqlDao;
|
||||||
import org.thingsboard.server.dao.util.SqlTsDao;
|
import org.thingsboard.server.dao.util.SqlTsDao;
|
||||||
|
import org.thingsboard.server.dao.util.TbAutoConfiguration;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@EnableAutoConfiguration
|
@TbAutoConfiguration
|
||||||
@ComponentScan({"org.thingsboard.server.dao.sqlts.psql", "org.thingsboard.server.dao.sqlts.insert.psql"})
|
@ComponentScan({"org.thingsboard.server.dao.sqlts.psql", "org.thingsboard.server.dao.sqlts.insert.psql"})
|
||||||
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.ts", "org.thingsboard.server.dao.sqlts.insert.psql"})
|
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.ts", "org.thingsboard.server.dao.sqlts.insert.psql"})
|
||||||
@EntityScan({"org.thingsboard.server.dao.model.sqlts.ts"})
|
@EntityScan({"org.thingsboard.server.dao.model.sqlts.ts"})
|
||||||
|
|||||||
@ -15,7 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
package org.thingsboard.server.dao;
|
package org.thingsboard.server.dao;
|
||||||
|
|
||||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
||||||
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
||||||
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
@ -23,9 +22,10 @@ import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
|||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
import org.thingsboard.server.dao.util.PsqlDao;
|
import org.thingsboard.server.dao.util.PsqlDao;
|
||||||
import org.thingsboard.server.dao.util.SqlTsLatestDao;
|
import org.thingsboard.server.dao.util.SqlTsLatestDao;
|
||||||
|
import org.thingsboard.server.dao.util.TbAutoConfiguration;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@EnableAutoConfiguration
|
@TbAutoConfiguration
|
||||||
@ComponentScan({"org.thingsboard.server.dao.sqlts.psql"})
|
@ComponentScan({"org.thingsboard.server.dao.sqlts.psql"})
|
||||||
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.insert.latest.psql", "org.thingsboard.server.dao.sqlts.latest"})
|
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.insert.latest.psql", "org.thingsboard.server.dao.sqlts.latest"})
|
||||||
@EntityScan({"org.thingsboard.server.dao.model.sqlts.latest"})
|
@EntityScan({"org.thingsboard.server.dao.model.sqlts.latest"})
|
||||||
|
|||||||
@ -15,16 +15,15 @@
|
|||||||
*/
|
*/
|
||||||
package org.thingsboard.server.dao;
|
package org.thingsboard.server.dao;
|
||||||
|
|
||||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
||||||
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
import org.thingsboard.server.dao.util.PsqlDao;
|
|
||||||
import org.thingsboard.server.dao.util.SqlTsOrTsLatestAnyDao;
|
import org.thingsboard.server.dao.util.SqlTsOrTsLatestAnyDao;
|
||||||
|
import org.thingsboard.server.dao.util.TbAutoConfiguration;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@EnableAutoConfiguration
|
@TbAutoConfiguration
|
||||||
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.dictionary"})
|
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.dictionary"})
|
||||||
@EntityScan({"org.thingsboard.server.dao.model.sqlts.dictionary"})
|
@EntityScan({"org.thingsboard.server.dao.model.sqlts.dictionary"})
|
||||||
@EnableTransactionManagement
|
@EnableTransactionManagement
|
||||||
|
|||||||
@ -15,17 +15,17 @@
|
|||||||
*/
|
*/
|
||||||
package org.thingsboard.server.dao;
|
package org.thingsboard.server.dao;
|
||||||
|
|
||||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
||||||
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
||||||
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
import org.thingsboard.server.dao.util.PsqlDao;
|
import org.thingsboard.server.dao.util.PsqlDao;
|
||||||
|
import org.thingsboard.server.dao.util.TbAutoConfiguration;
|
||||||
import org.thingsboard.server.dao.util.TimescaleDBTsDao;
|
import org.thingsboard.server.dao.util.TimescaleDBTsDao;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@EnableAutoConfiguration
|
@TbAutoConfiguration
|
||||||
@ComponentScan({"org.thingsboard.server.dao.sqlts.timescale"})
|
@ComponentScan({"org.thingsboard.server.dao.sqlts.timescale"})
|
||||||
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.timescale", "org.thingsboard.server.dao.sqlts.insert.timescale"})
|
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.timescale", "org.thingsboard.server.dao.sqlts.insert.timescale"})
|
||||||
@EntityScan({"org.thingsboard.server.dao.model.sqlts.timescale"})
|
@EntityScan({"org.thingsboard.server.dao.model.sqlts.timescale"})
|
||||||
|
|||||||
@ -15,17 +15,17 @@
|
|||||||
*/
|
*/
|
||||||
package org.thingsboard.server.dao;
|
package org.thingsboard.server.dao;
|
||||||
|
|
||||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
||||||
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
||||||
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
import org.thingsboard.server.dao.util.PsqlDao;
|
import org.thingsboard.server.dao.util.PsqlDao;
|
||||||
|
import org.thingsboard.server.dao.util.TbAutoConfiguration;
|
||||||
import org.thingsboard.server.dao.util.TimescaleDBTsLatestDao;
|
import org.thingsboard.server.dao.util.TimescaleDBTsLatestDao;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@EnableAutoConfiguration
|
@TbAutoConfiguration
|
||||||
@ComponentScan({"org.thingsboard.server.dao.sqlts.timescale"})
|
@ComponentScan({"org.thingsboard.server.dao.sqlts.timescale"})
|
||||||
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.insert.latest.psql", "org.thingsboard.server.dao.sqlts.latest"})
|
@EnableJpaRepositories({"org.thingsboard.server.dao.sqlts.insert.latest.psql", "org.thingsboard.server.dao.sqlts.latest"})
|
||||||
@EntityScan({"org.thingsboard.server.dao.model.sqlts.latest"})
|
@EntityScan({"org.thingsboard.server.dao.model.sqlts.latest"})
|
||||||
|
|||||||
20
pom.xml
20
pom.xml
@ -39,13 +39,13 @@
|
|||||||
<javax-annotation.version>1.3.2</javax-annotation.version>
|
<javax-annotation.version>1.3.2</javax-annotation.version>
|
||||||
<jakarta.xml.bind-api.version>2.3.2</jakarta.xml.bind-api.version>
|
<jakarta.xml.bind-api.version>2.3.2</jakarta.xml.bind-api.version>
|
||||||
<jaxb-runtime.version>2.3.2</jaxb-runtime.version>
|
<jaxb-runtime.version>2.3.2</jaxb-runtime.version>
|
||||||
<spring-boot.version>2.3.12.RELEASE</spring-boot.version>
|
<spring-boot.version>2.5.9</spring-boot.version>
|
||||||
<spring-data.version>2.3.9.RELEASE</spring-data.version>
|
<spring-data.version>2.5.9</spring-data.version>
|
||||||
<spring.version>5.2.16.RELEASE</spring.version>
|
<spring.version>5.3.16</spring.version>
|
||||||
<spring-redis.version>5.2.11.RELEASE</spring-redis.version>
|
<spring-redis.version>5.5.9</spring-redis.version>
|
||||||
<spring-security.version>5.4.7</spring-security.version>
|
<spring-security.version>5.6.2</spring-security.version>
|
||||||
<spring-data-redis.version>2.4.3</spring-data-redis.version>
|
<spring-data-redis.version>2.5.9</spring-data-redis.version>
|
||||||
<jedis.version>3.3.0</jedis.version>
|
<jedis.version>3.7.1</jedis.version>
|
||||||
<jjwt.version>0.7.0</jjwt.version>
|
<jjwt.version>0.7.0</jjwt.version>
|
||||||
<slf4j.version>1.7.32</slf4j.version>
|
<slf4j.version>1.7.32</slf4j.version>
|
||||||
<log4j.version>2.17.1</log4j.version>
|
<log4j.version>2.17.1</log4j.version>
|
||||||
@ -79,7 +79,7 @@
|
|||||||
<grpc.version>1.42.1</grpc.version>
|
<grpc.version>1.42.1</grpc.version>
|
||||||
<lombok.version>1.18.18</lombok.version>
|
<lombok.version>1.18.18</lombok.version>
|
||||||
<paho.client.version>1.2.4</paho.client.version>
|
<paho.client.version>1.2.4</paho.client.version>
|
||||||
<netty.version>4.1.72.Final</netty.version>
|
<netty.version>4.1.75.Final</netty.version>
|
||||||
<netty-tcnative.version>2.0.46.Final</netty-tcnative.version>
|
<netty-tcnative.version>2.0.46.Final</netty-tcnative.version>
|
||||||
<os-maven-plugin.version>1.7.0</os-maven-plugin.version>
|
<os-maven-plugin.version>1.7.0</os-maven-plugin.version>
|
||||||
<rabbitmq.version>4.8.0</rabbitmq.version>
|
<rabbitmq.version>4.8.0</rabbitmq.version>
|
||||||
@ -112,7 +112,7 @@
|
|||||||
<ua-parser.version>1.4.3</ua-parser.version>
|
<ua-parser.version>1.4.3</ua-parser.version>
|
||||||
<commons-beanutils.version>1.9.4</commons-beanutils.version>
|
<commons-beanutils.version>1.9.4</commons-beanutils.version>
|
||||||
<commons-collections.version>3.2.2</commons-collections.version>
|
<commons-collections.version>3.2.2</commons-collections.version>
|
||||||
<micrometer.version>1.5.2</micrometer.version>
|
<micrometer.version>1.8.3</micrometer.version>
|
||||||
<protobuf-dynamic.version>1.0.3TB</protobuf-dynamic.version>
|
<protobuf-dynamic.version>1.0.3TB</protobuf-dynamic.version>
|
||||||
<wire-schema.version>3.4.0</wire-schema.version>
|
<wire-schema.version>3.4.0</wire-schema.version>
|
||||||
<twilio.version>8.17.0</twilio.version>
|
<twilio.version>8.17.0</twilio.version>
|
||||||
@ -127,7 +127,7 @@
|
|||||||
<dbunit.version>2.7.2</dbunit.version>
|
<dbunit.version>2.7.2</dbunit.version>
|
||||||
<hsqldb.version>2.6.1</hsqldb.version>
|
<hsqldb.version>2.6.1</hsqldb.version>
|
||||||
<java-websocket.version>1.5.2</java-websocket.version>
|
<java-websocket.version>1.5.2</java-websocket.version>
|
||||||
<jupiter.version>5.6.3</jupiter.version> <!-- keep the same version as spring-boot-starter-test depend on jupiter-->
|
<jupiter.version>5.7.2</jupiter.version> <!-- keep the same version as spring-boot-starter-test depend on jupiter-->
|
||||||
<json-path.version>2.6.0</json-path.version>
|
<json-path.version>2.6.0</json-path.version>
|
||||||
<spring-test-dbunit.version>1.3.0</spring-test-dbunit.version> <!-- 2016 -->
|
<spring-test-dbunit.version>1.3.0</spring-test-dbunit.version> <!-- 2016 -->
|
||||||
<takari-cpsuite.version>1.2.7</takari-cpsuite.version> <!-- 2015 -->
|
<takari-cpsuite.version>1.2.7</takari-cpsuite.version> <!-- 2015 -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user