Skip to content

Commit

Permalink
fix: Expect 204 when patching Broadcast and Archive streams (#248)
Browse files Browse the repository at this point in the history
* Bump dependency versions

* Fix patch archive / broadcast

* Bump version: v4.13.1 → v4.13.2

* Bump copyright year

* Bump Gradle version

* Fix license headers
  • Loading branch information
SMadani authored Jan 4, 2024
1 parent d9b15ac commit 5b643ee
Show file tree
Hide file tree
Showing 55 changed files with 118 additions and 120 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[bumpversion]
commit = True
tag = False
current_version = v4.13.1
current_version = v4.13.2
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}-{release}{build}
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014-2023 Vonage.
Copyright (c) 2014-2024 Vonage.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ When you use Maven as your build tool, you can manage dependencies in the `pom.x
<dependency>
<groupId>com.tokbox</groupId>
<artifactId>opentok-server-sdk</artifactId>
<version>4.13.1</version>
<version>4.13.2</version>
</dependency>
```

Expand All @@ -44,7 +44,7 @@ When you use Gradle as your build tool, you can manage dependencies in the `buil

```groovy
dependencies {
compile group: 'com.tokbox', name: 'opentok-server-sdk', version: '4.13.1'
compile group: 'com.tokbox', name: 'opentok-server-sdk', version: '4.13.2'
}
```

Expand Down
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {

group = 'com.tokbox'
archivesBaseName = 'opentok-server-sdk'
version = '4.13.1'
version = '4.13.2'
sourceCompatibility = "1.8"
targetCompatibility = "1.8"

Expand All @@ -23,18 +23,18 @@ repositories {

dependencies {
testImplementation 'junit:junit:4.13.2'
testImplementation 'com.github.tomakehurst:wiremock-jre8:2.35.0'
testImplementation 'com.github.tomakehurst:wiremock-jre8:2.35.1'
testImplementation 'commons-fileupload:commons-fileupload:1.5'
testImplementation 'net.minidev:json-smart:2.4.11'
testImplementation 'com.google.guava:guava:32.0.1-jre'

implementation 'commons-lang:commons-lang:2.6'
implementation 'commons-codec:commons-codec:1.16.0'
implementation 'io.netty:netty-codec-http:4.1.100.Final'
implementation 'io.netty:netty-handler:4.1.100.Final'
implementation 'io.netty:netty-codec-http:4.1.104.Final'
implementation 'io.netty:netty-handler:4.1.104.Final'
implementation 'org.asynchttpclient:async-http-client:2.12.3'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.3'
implementation 'org.bitbucket.b_c:jose4j:0.9.3'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.16.1'
implementation 'org.bitbucket.b_c:jose4j:0.9.4'
}

task sourcesJar(type: Jar) {
Expand Down
2 changes: 1 addition & 1 deletion bumpversion.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# OpenTok Java SDK
# Copyright (C) 2023 Vonage.
# Copyright (C) 2024 Vonage.
# http://www.tokbox.com
#
# Licensed under The MIT License (MIT). See LICENSE file for more information.
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Mon Apr 05 14:22:26 EDT 2021
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-all.zip
#Thu Jan 04 09:44:51 GMT 2024
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/Archive.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/ArchiveLayout.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/ArchiveList.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/ArchiveMode.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/ArchiveProperties.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/AudioConnector.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/AudioConnectorProperties.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/Broadcast.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/BroadcastLayout.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/BroadcastProperties.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/Caption.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/CaptionProperties.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/CreatedSession.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/Hls.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/MediaMode.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/MuteAllProperties.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/OpenTok.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/Render.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/RenderProperties.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/RenderStatus.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/Resolution.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/Role.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/Rtmp.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/RtmpProperties.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/ScreenShareLayoutType.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/Session.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/SessionProperties.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/opentok/SignalProperties.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* OpenTok Java SDK
* Copyright (C) 2023 Vonage.
* Copyright (C) 2024 Vonage.
* http://www.tokbox.com
*
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
Expand Down
Loading

0 comments on commit 5b643ee

Please sign in to comment.