Skip to content

Commit

Permalink
Merge pull request #259 from eclipse-basyx/development-release
Browse files Browse the repository at this point in the history
Development release
  • Loading branch information
FrankSchnicke authored Apr 3, 2023
2 parents 80b5759 + 02147e2 commit c3efd1e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.eclipse.basyx</groupId>
<artifactId>basyx.sdk</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>1.4.0</version>
<name>BaSyx SDK</name>
<description>BaSyx Software Development Kit</description>
<url>https://www.eclipse.org/basyx/</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public void fileUploadedCorrectly() throws IOException {

}

@SuppressWarnings("deprecation")
private CloseableHttpResponse uploadDummyFileToSubmodelElement(String submodelElementIdShort) throws IOException {
CloseableHttpClient client = HttpClients.createDefault();

Expand All @@ -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");
Expand All @@ -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");
Expand Down

0 comments on commit c3efd1e

Please sign in to comment.