diff --git a/pom.xml b/pom.xml index f859b02e..f0fbf56c 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.eclipse.basyx basyx.sdk - 1.4.0-SNAPSHOT + 1.4.0 BaSyx SDK BaSyx Software Development Kit https://www.eclipse.org/basyx/ diff --git a/src/main/java/org/eclipse/basyx/vab/protocol/https/JerseyHttpsClientFactory.java b/src/main/java/org/eclipse/basyx/vab/protocol/https/JerseyHttpsClientFactory.java index cffe85ff..cd7fb074 100644 --- a/src/main/java/org/eclipse/basyx/vab/protocol/https/JerseyHttpsClientFactory.java +++ b/src/main/java/org/eclipse/basyx/vab/protocol/https/JerseyHttpsClientFactory.java @@ -33,7 +33,6 @@ import javax.net.ssl.SSLContext; import javax.net.ssl.TrustManager; import javax.ws.rs.client.Client; -import javax.ws.rs.client.ClientBuilder; import org.apache.http.conn.ssl.DefaultHostnameVerifier; import org.glassfish.jersey.client.JerseyClientBuilder; diff --git a/src/test/java/org/eclipse/basyx/testsuite/regression/submodel/restapi/TestHttpFileUpload.java b/src/test/java/org/eclipse/basyx/testsuite/regression/submodel/restapi/TestHttpFileUpload.java index ac7387c5..6b2fd2d0 100644 --- a/src/test/java/org/eclipse/basyx/testsuite/regression/submodel/restapi/TestHttpFileUpload.java +++ b/src/test/java/org/eclipse/basyx/testsuite/regression/submodel/restapi/TestHttpFileUpload.java @@ -121,6 +121,7 @@ public void fileUploadedCorrectly() throws IOException { } + @SuppressWarnings("deprecation") private CloseableHttpResponse uploadDummyFileToSubmodelElement(String submodelElementIdShort) throws IOException { CloseableHttpClient client = HttpClients.createDefault(); @@ -140,6 +141,7 @@ private CloseableHttpResponse uploadDummyFileToSubmodelElement(String submodelEl return client.execute(uploadFile); } + @SuppressWarnings("deprecation") private CloseableHttpResponse uploadDummyAAS() throws FileNotFoundException, IOException, UnsupportedEncodingException, ClientProtocolException { File file = ResourceUtils.getFile("src/test/resources/aas/dummyAAS.json"); @@ -154,6 +156,7 @@ private CloseableHttpResponse uploadDummyAAS() return client.execute(put); } + @SuppressWarnings("deprecation") private CloseableHttpResponse uploadDummySubmodel() throws FileNotFoundException, IOException, UnsupportedEncodingException, ClientProtocolException { File file = ResourceUtils.getFile("src/test/resources/aas/dummySubmodel.json");