Skip to content

Commit

Permalink
updated java samples affected by security issue
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoMario committed Sep 17, 2022
1 parent f7dbdd0 commit bbb7f05
Show file tree
Hide file tree
Showing 14 changed files with 56 additions and 14 deletions.
5 changes: 4 additions & 1 deletion samples/client/petstore/java/feign/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ dependencies {
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "com.brsanthu:migbase64:2.2"
testCompile "junit:junit:$junit_version"
}
5 changes: 4 additions & 1 deletion samples/client/petstore/java/retrofit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ dependencies {
compile "com.squareup.okhttp:okhttp:$okhttp_version"
compile "com.squareup.retrofit:retrofit:$retrofit_version"
compile "io.swagger.core.v3:swagger-annotations:$swagger_annotations_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "joda-time:joda-time:$jodatime_version"
testCompile "junit:junit:$junit_version"
}
5 changes: 4 additions & 1 deletion samples/client/petstore/java/retrofit2-play24/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ dependencies {
compile "com.squareup.retrofit2:converter-scalars:$retrofit_version"
compile "com.squareup.retrofit2:converter-gson:$retrofit_version"
compile "io.swagger.core.v3:swagger-annotations:$swagger_annotations_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "io.gsonfire:gson-fire:$json_fire_version"
compile "com.typesafe.play:play-java-ws_2.11:$play_version"
compile "com.squareup.retrofit2:converter-jackson:$retrofit_version"
Expand Down
5 changes: 4 additions & 1 deletion samples/client/petstore/java/retrofit2-play25/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ dependencies {
compile "com.squareup.retrofit2:converter-scalars:$retrofit_version"
compile "com.squareup.retrofit2:converter-gson:$retrofit_version"
compile "io.swagger.core.v3:swagger-annotations:$swagger_annotations_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "io.gsonfire:gson-fire:$json_fire_version"
compile "org.threeten:threetenbp:$threetenbp_version"
compile "com.typesafe.play:play-java-ws_2.11:$play_version"
Expand Down
5 changes: 4 additions & 1 deletion samples/client/petstore/java/retrofit2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ dependencies {
compile "com.squareup.retrofit2:converter-scalars:$retrofit_version"
compile "com.squareup.retrofit2:converter-gson:$retrofit_version"
compile "io.swagger.core.v3:swagger-annotations:$swagger_annotations_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "io.gsonfire:gson-fire:$json_fire_version"
compile "org.threeten:threetenbp:$threetenbp_version"

Expand Down
5 changes: 4 additions & 1 deletion samples/client/petstore/java/retrofit2rx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ dependencies {
compile "com.squareup.retrofit2:adapter-rxjava:$retrofit_version"
compile "io.reactivex:rxjava:$rx_java_version"
compile "io.swagger.core.v3:swagger-annotations:$swagger_annotations_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "io.gsonfire:gson-fire:$json_fire_version"
compile "org.threeten:threetenbp:$threetenbp_version"

Expand Down
5 changes: 4 additions & 1 deletion samples/client/petstore/java/retrofit2rx2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ dependencies {
compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
compile "io.reactivex.rxjava2:rxjava:$rx_java_version"
compile "io.swagger.core.v3:swagger-annotations:$swagger_annotations_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "io.gsonfire:gson-fire:$json_fire_version"
compile "org.threeten:threetenbp:$threetenbp_version"

Expand Down
5 changes: 4 additions & 1 deletion samples/composed/client/petstore/java/feign/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ dependencies {
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "com.brsanthu:migbase64:2.2"
testCompile "junit:junit:$junit_version"
}
5 changes: 4 additions & 1 deletion samples/composed/client/petstore/java/retrofit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ dependencies {
compile "com.squareup.okhttp:okhttp:$okhttp_version"
compile "com.squareup.retrofit:retrofit:$retrofit_version"
compile "io.swagger.core.v3:swagger-annotations:$swagger_annotations_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "joda-time:joda-time:$jodatime_version"
testCompile "junit:junit:$junit_version"
}
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ dependencies {
compile "com.squareup.retrofit2:converter-scalars:$retrofit_version"
compile "com.squareup.retrofit2:converter-gson:$retrofit_version"
compile "io.swagger.core.v3:swagger-annotations:$swagger_annotations_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "io.gsonfire:gson-fire:$json_fire_version"
compile "com.typesafe.play:play-java-ws_2.11:$play_version"
compile "com.squareup.retrofit2:converter-jackson:$retrofit_version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ dependencies {
compile "com.squareup.retrofit2:converter-scalars:$retrofit_version"
compile "com.squareup.retrofit2:converter-gson:$retrofit_version"
compile "io.swagger.core.v3:swagger-annotations:$swagger_annotations_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "io.gsonfire:gson-fire:$json_fire_version"
compile "org.threeten:threetenbp:$threetenbp_version"
compile "com.typesafe.play:play-java-ws_2.11:$play_version"
Expand Down
5 changes: 4 additions & 1 deletion samples/composed/client/petstore/java/retrofit2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ dependencies {
compile "com.squareup.retrofit2:converter-scalars:$retrofit_version"
compile "com.squareup.retrofit2:converter-gson:$retrofit_version"
compile "io.swagger.core.v3:swagger-annotations:$swagger_annotations_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "io.gsonfire:gson-fire:$json_fire_version"
compile "org.threeten:threetenbp:$threetenbp_version"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ dependencies {
compile "com.squareup.retrofit2:adapter-rxjava:$retrofit_version"
compile "io.reactivex:rxjava:$rx_java_version"
compile "io.swagger.core.v3:swagger-annotations:$swagger_annotations_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "io.gsonfire:gson-fire:$json_fire_version"
compile "org.threeten:threetenbp:$threetenbp_version"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ dependencies {
compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
compile "io.reactivex.rxjava2:rxjava:$rx_java_version"
compile "io.swagger.core.v3:swagger-annotations:$swagger_annotations_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version") {
exclude group: "org.json", module: "json"
}
compile "org.json:json:20180130"
compile "io.gsonfire:gson-fire:$json_fire_version"
compile "org.threeten:threetenbp:$threetenbp_version"

Expand Down

0 comments on commit bbb7f05

Please sign in to comment.