Skip to content

Commit 0d44301

Browse files
authored
Merge pull request #29 from cloudoptlab/3.x
3.0.0.0-BETA3
2 parents b370d26 + 32256ff commit 0d44301

12 files changed

Lines changed: 23 additions & 26 deletions

File tree

cloudopt-next-web/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dependencies {
22
api "io.vertx:vertx-web:${rootProject.property('vertx_version')}"
33
api "io.vertx:vertx-lang-kotlin:${rootProject.property('vertx_version')}"
44
api "io.vertx:vertx-lang-kotlin-coroutines:${rootProject.property('vertx_version')}"
5-
implementation "io.netty:netty-all:4.1.56.Final"
5+
api "io.netty:netty-all:4.1.56.Final"
66
api project(":cloudopt-next-waf")
77
api project(":cloudopt-next-logging")
88
api project(":cloudopt-next-utils")

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
project_version=3.0.0.0-BETA3
1+
project_version=3.0.0.0-BETA4
22
java_version=11
33
kotlin_version=1.4.0
44
vertx_version=4.0.0
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies {
2-
implementation project(":cloudopt-next-web")
3-
implementation "io.vertx:vertx-web-client:${rootProject.property('vertx_version')}"
2+
api project(":cloudopt-next-web")
3+
api "io.vertx:vertx-web-client:${rootProject.property('vertx_version')}"
44
}
55

66
description = 'Cloudopt Next Http Client'

plugins/cloudopt-next-client/src/main/kotlin/cloudopt/next/client/HttpClient.kt renamed to plugins/cloudopt-next-client/src/main/kotlin/net/cloudopt/next/client/HttpClient.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package cloudopt.next.client
16+
package net.cloudopt.next.client
1717

1818
import io.vertx.core.buffer.Buffer
1919
import io.vertx.ext.web.client.HttpRequest
2020
import io.vertx.ext.web.client.WebClient
2121
import io.vertx.ext.web.client.WebClientOptions
22-
import net.cloudopt.next.web.NextServer
2322
import net.cloudopt.next.web.Worker
2423

2524

plugins/cloudopt-next-client/src/test/kotlin/cloudopt/next/client/TestCase.kt renamed to plugins/cloudopt-next-client/src/test/kotlin/net/cloudopt/next/client/TestCase.kt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package cloudopt.next.client
17-
18-
import io.vertx.ext.web.client.WebClientOptions
16+
package net.cloudopt.next.client
1917

2018

2119
/*
@@ -30,9 +28,9 @@ fun main(args: Array<String>) {
3028
var client = HttpClient("https://www.cloudopt.net").setPort(443)
3129

3230

33-
client.get("/api/v1/grade/website/www.baidu.com").send().onSuccess { response->
31+
client.get("/api/v2/grade/website/www.baidu.com").send().onSuccess { response ->
3432
print(response.bodyAsString())
35-
}.onFailure{err->
33+
}.onFailure { err ->
3634
println("Connection failure!")
3735
}
3836
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies {
2-
implementation "org.bouncycastle:bcprov-jdk15on:1.68"
2+
api "org.bouncycastle:bcprov-jdk15on:1.68"
33
}
44

55
description = "Cloudopt Next Encrypt"

plugins/cloudopt-next-i18n/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies {
2-
implementation project(":cloudopt-next-utils")
3-
implementation project(":cloudopt-next-json")
2+
api project(":cloudopt-next-utils")
3+
api project(":cloudopt-next-json")
44
testImplementation project(':cloudopt-next-logging')
55
}
66

plugins/cloudopt-next-jooq/src/main/kotlin/net/cloudopt/next/jooq/JooqManager.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ import java.sql.Connection
3333
object JooqManager {
3434

3535
@JvmStatic
36-
var connection: Connection? = null
36+
lateinit var connection: Connection
3737

3838
@JvmStatic
39-
var dsl: DSLContext? = null
39+
lateinit var dsl: DSLContext
4040

4141
@JvmStatic
42-
var transactionProvider: TransactionProvider? = null
42+
lateinit var transactionProvider: TransactionProvider
4343

4444
@JvmStatic
45-
var connectionProvider: ConnectionProvider? = null
45+
lateinit var connectionProvider: ConnectionProvider
4646

4747
@JvmStatic
4848
var settings: Settings = SettingsTools.defaultSettings()

plugins/cloudopt-next-kafka/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
dependencies {
2-
implementation project(":cloudopt-next-web")
3-
implementation project(":cloudopt-next-utils")
4-
implementation project(":cloudopt-next-logging")
5-
implementation "io.vertx:vertx-kafka-client:${rootProject.property('vertx_version')}"
2+
api project(":cloudopt-next-web")
3+
api project(":cloudopt-next-utils")
4+
api project(":cloudopt-next-logging")
5+
api "io.vertx:vertx-kafka-client:${rootProject.property('vertx_version')}"
66
compileOnly "org.apache.kafka:kafka-clients:2.4.1"
77
testImplementation "org.apache.kafka:kafka-clients:2.4.1"
88
compileOnly "org.apache.kafka:kafka-streams:2.4.1"

plugins/cloudopt-next-redis/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies {
2-
implementation project(":cloudopt-next-web")
3-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-reactive:${property('kotlin_version')}"
2+
api project(":cloudopt-next-web")
3+
api "org.jetbrains.kotlinx:kotlinx-coroutines-reactive:${property('kotlin_version')}"
44
compileOnly "io.lettuce:lettuce-core:6.0.2.RELEASE"
55
testImplementation "io.lettuce:lettuce-core:6.0.2.RELEASE"
66
}

0 commit comments

Comments
 (0)