Skip to content

Commit

Permalink
Dependency refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
IRus committed Oct 22, 2024
1 parent 96541b8 commit c8c6b03
Show file tree
Hide file tree
Showing 16 changed files with 43 additions and 62 deletions.
17 changes: 0 additions & 17 deletions .fleet/settings.json

This file was deleted.

4 changes: 2 additions & 2 deletions app-backend-dataops/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repositories {

dependencies {
implementation("org.jooq:jooq-codegen:3.19.13")
implementation("org.flywaydb:flyway-database-postgresql:10.19.0")
implementation("org.flywaydb:flyway-database-postgresql:10.20.0")
implementation("org.postgresql:postgresql:42.7.4")
implementation("ch.qos.logback:logback-classic:1.5.8")
implementation("ch.qos.logback:logback-classic:1.5.11")
}
35 changes: 17 additions & 18 deletions app-backend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach
freeCompilerArgs.addAll(
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
"-opt-in=io.ktor.server.locations.KtorExperimentalLocationsAPI",
)
}
}
Expand All @@ -35,35 +34,35 @@ dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-hocon:1.7.3")
implementation("com.charleskorn.kaml:kaml:0.61.0")

implementation("org.flywaydb:flyway-database-postgresql:10.19.0")
implementation("org.flywaydb:flyway-database-postgresql:10.20.0")
implementation("org.jooq:jooq:3.19.13")
implementation("org.postgresql:postgresql:42.7.4")
implementation("com.zaxxer:HikariCP:6.0.0")

implementation("at.favre.lib:bcrypt:0.10.2")

implementation("io.ktor:ktor-serialization-kotlinx-json:2.3.12")
implementation("io.ktor:ktor-client-cio:2.3.12")
implementation("io.ktor:ktor-server-content-negotiation:2.3.12")
implementation("io.ktor:ktor-server-cio:2.3.12")
implementation("io.ktor:ktor-server-locations:2.3.12")
implementation("io.ktor:ktor-server-websockets:2.3.12")
implementation("io.ktor:ktor-client-content-negotiation:2.3.12")
implementation("io.ktor:ktor-server-auth-jwt:2.3.12")
implementation("io.ktor:ktor-server-metrics-micrometer:2.3.12")
implementation("io.micrometer:micrometer-registry-prometheus:1.13.5")
implementation("io.ktor:ktor-server-call-logging:2.3.12")
implementation("io.ktor:ktor-server-default-headers:2.3.12")
implementation("io.ktor:ktor-server-caching-headers:2.3.12")
implementation("io.ktor:ktor-server-status-pages:2.3.12")
implementation("io.ktor:ktor-serialization-kotlinx-json:3.0.0")
implementation("io.ktor:ktor-client-cio:3.0.0")
implementation("io.ktor:ktor-server-content-negotiation:3.0.0")
implementation("io.ktor:ktor-server-cio:3.0.0")
implementation("io.ktor:ktor-server-resources:3.0.0")
implementation("io.ktor:ktor-server-websockets:3.0.0")
implementation("io.ktor:ktor-client-content-negotiation:3.0.0")
implementation("io.ktor:ktor-server-auth-jwt:3.0.0")
implementation("io.ktor:ktor-server-metrics-micrometer:3.0.0")
implementation("io.micrometer:micrometer-registry-prometheus:1.13.6")
implementation("io.ktor:ktor-server-call-logging:3.0.0")
implementation("io.ktor:ktor-server-default-headers:3.0.0")
implementation("io.ktor:ktor-server-caching-headers:3.0.0")
implementation("io.ktor:ktor-server-status-pages:3.0.0")

implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.18.0")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.0")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.18.0")

implementation("ch.qos.logback:logback-classic:1.5.8")
implementation("ch.qos.logback:logback-classic:1.5.11")

testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.9.0")
testImplementation("io.mockk:mockk:1.13.12")
testImplementation("io.mockk:mockk:1.13.13")
testImplementation("org.junit.jupiter:junit-jupiter:5.11.2")
}
4 changes: 2 additions & 2 deletions app-backend/src/main/kotlin/ktor/plugins/HTTP.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import io.ktor.server.application.install
import io.ktor.server.auth.authentication
import io.ktor.server.auth.jwt.JWTPrincipal
import io.ktor.server.auth.jwt.jwt
import io.ktor.server.locations.Locations
import io.ktor.server.plugins.cachingheaders.CachingHeaders
import io.ktor.server.plugins.contentnegotiation.ContentNegotiation
import io.ktor.server.plugins.defaultheaders.DefaultHeaders
import io.ktor.server.plugins.statuspages.StatusPages
import io.ktor.server.resources.Resources
import io.ktor.server.response.respond
import kotlinx.serialization.Serializable
import usecases.signup.JwtModule
Expand All @@ -28,7 +28,7 @@ import kotlin.time.Duration.Companion.days
fun Application.defaults(
jwtConfig: JwtModule.JwtConfig,
) {
install(Locations)
install(Resources)

install(ContentNegotiation) {
json()
Expand Down
3 changes: 1 addition & 2 deletions app-backend/src/main/kotlin/ktor/plugins/Monitoring.kt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package ktor.plugins

import io.ktor.server.application.Application
import io.ktor.server.application.call
import io.ktor.server.application.install
import io.ktor.server.metrics.micrometer.MicrometerMetrics
import io.ktor.server.plugins.callloging.CallLogging
import io.ktor.server.plugins.calllogging.CallLogging
import io.ktor.server.request.path
import io.ktor.server.response.respond
import io.ktor.server.routing.get
Expand Down
6 changes: 3 additions & 3 deletions app-backend/src/main/kotlin/ktor/plugins/Sockets.kt
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
package ktor.plugins

import io.ktor.websocket.*
import java.time.*
import io.ktor.server.application.Application
import io.ktor.server.application.install
import io.ktor.server.routing.routing
import io.ktor.server.websocket.WebSockets
import io.ktor.server.websocket.pingPeriod
import io.ktor.server.websocket.timeout
import io.ktor.server.websocket.webSocket
import kotlin.time.Duration.Companion.seconds

fun Application.configureSockets() {
install(WebSockets) {
pingPeriod = Duration.ofSeconds(15)
timeout = Duration.ofSeconds(15)
pingPeriod = 15.seconds
timeout = 15.seconds
maxFrameSize = Long.MAX_VALUE
masking = false
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package usecases.github

import io.ktor.server.application.call
import io.ktor.server.response.*
import io.ktor.server.routing.Routing
import io.ktor.server.routing.get
Expand Down
1 change: 0 additions & 1 deletion app-backend/src/main/kotlin/usecases/links/Links.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package usecases.links

import di.bean
import io.ktor.server.application.call
import io.ktor.server.response.respond
import io.ktor.server.routing.Routing
import io.ktor.server.routing.get
Expand Down
7 changes: 3 additions & 4 deletions app-backend/src/main/kotlin/usecases/ping/Ping.kt
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
package usecases.ping

import io.ktor.server.application.call
import io.ktor.server.locations.Location
import io.ktor.server.locations.get
import io.ktor.resources.Resource
import io.ktor.server.resources.get
import io.ktor.server.response.respondText
import io.ktor.server.routing.Routing
import ktor.KtorRoute

@Location("/ping/{name}")
@Resource("/ping/{name}")
class PingRequest(val name: String)

class PingRoute : KtorRoute {
Expand Down
1 change: 0 additions & 1 deletion app-backend/src/main/kotlin/usecases/signup/Login.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import JooqModule
import at.favre.lib.crypto.bcrypt.BCrypt
import di.bean
import io.ktor.http.*
import io.ktor.server.application.call
import io.ktor.server.request.receive
import io.ktor.server.response.respond
import io.ktor.server.routing.Routing
Expand Down
1 change: 0 additions & 1 deletion app-backend/src/main/kotlin/usecases/signup/Register.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import at.favre.lib.crypto.bcrypt.BCrypt
import at.favre.lib.crypto.bcrypt.LongPasswordStrategies
import di.bean
import io.ktor.http.HttpStatusCode
import io.ktor.server.application.call
import io.ktor.server.request.receive
import io.ktor.server.response.respond
import io.ktor.server.routing.Routing
Expand Down
12 changes: 6 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
application
kotlin("jvm").version("2.0.0")
kotlin("plugin.serialization").version("2.0.0")
kotlin("jvm").version("2.0.21")
kotlin("plugin.serialization").version("2.0.21")
}

application {
Expand All @@ -25,7 +25,7 @@ dependencies {
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.0")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.18.0")

implementation("ch.qos.logback:logback-classic:1.5.8")
implementation("ch.qos.logback:logback-classic:1.5.11")

implementation("com.rometools:rome:2.1.0")
implementation("com.github.dfabulich:sitemapgen4j:1.1.2")
Expand All @@ -38,9 +38,9 @@ dependencies {
implementation("org.commonmark:commonmark:0.23.0")
implementation("org.commonmark:commonmark-ext-gfm-tables:0.23.0")

implementation("io.ktor:ktor-client-apache:2.3.12")
implementation("io.ktor:ktor-client-jackson:2.3.12")
implementation("io.ktor:ktor-client-apache:3.0.0")
implementation("io.ktor:ktor-client-jackson:3.0.0")

testImplementation("io.mockk:mockk:1.13.12")
testImplementation("io.mockk:mockk:1.13.13")
testImplementation("org.junit.jupiter:junit-jupiter:5.11.2")
}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=a4b4158601f8636cdeeab09bd76afb640030bb5b144aafe261a5e8af027dc612
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionSha256Sum=31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
7 changes: 5 additions & 2 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#

##############################################################################
#
Expand Down Expand Up @@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand Down Expand Up @@ -84,7 +86,8 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
2 changes: 2 additions & 0 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem

@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
Expand Down

0 comments on commit c8c6b03

Please sign in to comment.