Skip to content

Commit be17cb8

Browse files
committed
add examples
1 parent b515147 commit be17cb8

File tree

3 files changed

+631
-2
lines changed

3 files changed

+631
-2
lines changed

examples/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/examples/ObjectStorageExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public static void main(String[] args) throws IOException {
3434
httpClient
3535
.newBuilder()
3636
.authenticator(authenticator)
37-
// The object storage requests are sychronous and may take a few seconds.
38-
// To prevent an timeout, we increase the read timeout to 15 seconds
37+
// The object storage requests are synchronous and may take a few seconds.
38+
// To prevent a timeout, we increase the read timeout to 15 seconds
3939
.readTimeout(Duration.ofSeconds(15))
4040
.build();
4141

examples/sfs/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dependencies {
2+
implementation project (':services:sfs')
3+
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
4+
}
5+
6+
ext.mainClassName = 'cloud.stackit.sdk.sfs.examples.SfsExample'

0 commit comments

Comments
 (0)