Updated gateway image version to stable (#13157)
This commit is contained in:
parent
9a3ab5348b
commit
df0316b27e
@ -1423,7 +1423,7 @@ device:
|
|||||||
pem_cert_file: "${DEVICE_CONNECTIVITY_COAPS_CA_ROOT_CERT:cafile.pem}"
|
pem_cert_file: "${DEVICE_CONNECTIVITY_COAPS_CA_ROOT_CERT:cafile.pem}"
|
||||||
gateway:
|
gateway:
|
||||||
# The docker tag for thingsboard/tb-gateway image used in docker-compose file for gateway launch
|
# The docker tag for thingsboard/tb-gateway image used in docker-compose file for gateway launch
|
||||||
image_version: "${DEVICE_CONNECTIVITY_GATEWAY_IMAGE_VERSION:latest}"
|
image_version: "${DEVICE_CONNECTIVITY_GATEWAY_IMAGE_VERSION:3.7-stable}"
|
||||||
|
|
||||||
# Edges parameters
|
# Edges parameters
|
||||||
edges:
|
edges:
|
||||||
|
|||||||
@ -23,6 +23,7 @@ import org.junit.After;
|
|||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.test.annotation.DirtiesContext;
|
import org.springframework.test.annotation.DirtiesContext;
|
||||||
import org.springframework.test.context.TestPropertySource;
|
import org.springframework.test.context.TestPropertySource;
|
||||||
import org.thingsboard.common.util.JacksonUtil;
|
import org.thingsboard.common.util.JacksonUtil;
|
||||||
@ -94,6 +95,9 @@ public class DeviceConnectivityControllerTest extends AbstractControllerTest {
|
|||||||
private DeviceProfileId mqttDeviceProfileId;
|
private DeviceProfileId mqttDeviceProfileId;
|
||||||
private DeviceProfileId coapDeviceProfileId;
|
private DeviceProfileId coapDeviceProfileId;
|
||||||
|
|
||||||
|
@Value("${device.connectivity.gateway.image_version:3.7-stable}")
|
||||||
|
private String gatewayImageVersion;
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void beforeTest() throws Exception {
|
public void beforeTest() throws Exception {
|
||||||
loginSysAdmin();
|
loginSysAdmin();
|
||||||
@ -298,7 +302,7 @@ public class DeviceConnectivityControllerTest extends AbstractControllerTest {
|
|||||||
"services:\n" +
|
"services:\n" +
|
||||||
" # ThingsBoard IoT Gateway Service Configuration\n" +
|
" # ThingsBoard IoT Gateway Service Configuration\n" +
|
||||||
" tb-gateway:\n" +
|
" tb-gateway:\n" +
|
||||||
" image: thingsboard/tb-gateway:latest\n" +
|
" image: thingsboard/tb-gateway:" + gatewayImageVersion + "\n" +
|
||||||
" container_name: tb-gateway\n" +
|
" container_name: tb-gateway\n" +
|
||||||
" restart: always\n" +
|
" restart: always\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
|
|||||||
@ -85,7 +85,7 @@ public class DeviceConnectivityServiceImpl implements DeviceConnectivityService
|
|||||||
private String mqttsPemCertFile;
|
private String mqttsPemCertFile;
|
||||||
@Value("${device.connectivity.coaps.pem_cert_file:}")
|
@Value("${device.connectivity.coaps.pem_cert_file:}")
|
||||||
private String coapsPemCertFile;
|
private String coapsPemCertFile;
|
||||||
@Value("${device.connectivity.gateway.image_version:latest}")
|
@Value("${device.connectivity.gateway.image_version:3.7-stable}")
|
||||||
private String gatewayImageVersion;
|
private String gatewayImageVersion;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user