Search in sources :

Example 1 with RestClient

use of org.thingsboard.rest.client.RestClient in project thingsboard by thingsboard.

the class AbstractContainerTest method before.

@BeforeClass
public static void before() throws Exception {
    restClient = new RestClient(HTTPS_URL);
    restClient.getRestTemplate().setRequestFactory(getRequestFactoryForSelfSignedCert());
}
Also used : RestClient(org.thingsboard.rest.client.RestClient) BeforeClass(org.junit.BeforeClass)

Aggregations

BeforeClass (org.junit.BeforeClass)1 RestClient (org.thingsboard.rest.client.RestClient)1