diff --git a/build.gradle.kts b/build.gradle.kts index c5acd90..1f75de6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -33,13 +33,13 @@ plugins { kotlin("jvm") version "1.5.31" kotlin("plugin.serialization") version "1.5.31" - id("com.github.johnrengelman.shadow") version "6.1.0" - id("org.jlleitschuh.gradle.ktlint") version "10.0.0" + id("com.github.johnrengelman.shadow") version "7.1.2" + id("org.jlleitschuh.gradle.ktlint") version "10.2.1" id("org.owasp.dependencycheck") version "6.1.5" - id("org.sonarqube") version "3.1.1" - id("net.nemerosa.versioning") version "2.14.0" - id("io.gitlab.arturbosch.detekt") version "1.16.0" - id("com.avast.gradle.docker-compose") version "0.14.3" + id("org.sonarqube") version "3.3" + id("net.nemerosa.versioning") version "2.15.1" + id("io.gitlab.arturbosch.detekt") version "1.19.0" + id("com.avast.gradle.docker-compose") version "0.15.1" id("com.github.kt3k.coveralls") version "2.12.0" } @@ -60,7 +60,7 @@ buildscript { maven { url = uri("https://jitpack.io") } } dependencies { - classpath("com.typesafe:config:1.4.1") + classpath("com.typesafe:config:1.4.2") classpath("com.github.flecomte:postgres-json:2.1.2") } } diff --git a/gradle.lockfile b/gradle.lockfile index cb93840..62b6e2f 100644 --- a/gradle.lockfile +++ b/gradle.lockfile @@ -7,16 +7,12 @@ com.auth0:java-jwt:3.12.0=compileClasspath,implementationDependenciesMetadata,ru com.auth0:jwks-rsa:0.9.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.avast.gradle:gradle-docker-compose-plugin:0.14.0=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath com.beust:jcommander:1.81=detekt -com.fasterxml.jackson.core:jackson-annotations:2.12.2=detekt com.fasterxml.jackson.core:jackson-annotations:2.13.1=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath -com.fasterxml.jackson.core:jackson-core:2.12.2=detekt com.fasterxml.jackson.core:jackson-core:2.13.1=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath -com.fasterxml.jackson.core:jackson-databind:2.12.2=detekt com.fasterxml.jackson.core:jackson-databind:2.13.1=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.1=testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath com.fasterxml.jackson.datatype:jackson-datatype-joda:2.13.1=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath -com.fasterxml.jackson:jackson-bom:2.12.2=detekt com.fasterxml.jackson:jackson-bom:2.13.1=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath com.github.flecomte:postgres-json:2.1.2=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath com.github.jasync-sql:jasync-common:1.1.6=compileClasspath,implementationDependenciesMetadata,testCompileClasspath,testImplementationDependenciesMetadata @@ -38,16 +34,17 @@ com.ongres.scram:client:2.1=compileClasspath,implementationDependenciesMetadata, com.ongres.scram:common:2.1=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath com.ongres.stringprep:saslprep:1.1=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath com.ongres.stringprep:stringprep:1.1=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath -com.pinterest.ktlint:ktlint-core:0.40.0=ktlint -com.pinterest.ktlint:ktlint-reporter-baseline:0.40.0=ktlint -com.pinterest.ktlint:ktlint-reporter-checkstyle:0.40.0=ktlint -com.pinterest.ktlint:ktlint-reporter-html:0.40.0=ktlint -com.pinterest.ktlint:ktlint-reporter-json:0.40.0=ktlint -com.pinterest.ktlint:ktlint-reporter-plain:0.40.0=ktlint -com.pinterest.ktlint:ktlint-ruleset-experimental:0.40.0=ktlint -com.pinterest.ktlint:ktlint-ruleset-standard:0.40.0=ktlint -com.pinterest.ktlint:ktlint-ruleset-test:0.40.0=ktlint -com.pinterest:ktlint:0.40.0=ktlint +com.pinterest.ktlint:ktlint-core:0.42.1=ktlint,ktlintBaselineReporter +com.pinterest.ktlint:ktlint-reporter-baseline:0.42.1=ktlint,ktlintBaselineReporter +com.pinterest.ktlint:ktlint-reporter-checkstyle:0.42.1=ktlint +com.pinterest.ktlint:ktlint-reporter-html:0.42.1=ktlint +com.pinterest.ktlint:ktlint-reporter-json:0.42.1=ktlint +com.pinterest.ktlint:ktlint-reporter-plain:0.42.1=ktlint +com.pinterest.ktlint:ktlint-reporter-sarif:0.42.1=ktlint +com.pinterest.ktlint:ktlint-ruleset-experimental:0.42.1=ktlint +com.pinterest.ktlint:ktlint-ruleset-standard:0.42.1=ktlint +com.pinterest.ktlint:ktlint-ruleset-test:0.42.1=ktlint +com.pinterest:ktlint:0.42.1=ktlint com.rabbitmq:amqp-client:5.10.0=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath com.sendgrid:java-http-client:4.3.6=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath com.sendgrid:sendgrid-java:4.7.1=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath @@ -58,30 +55,29 @@ commons-codec:commons-codec:1.14=runtimeClasspath,testRuntimeClasspath commons-io:commons-io:2.6=runtimeClasspath,testRuntimeClasspath commons-logging:commons-logging:1.2=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath info.picocli:picocli:3.9.6=ktlint -io.github.detekt.sarif4j:sarif4j:1.0.0=detekt +io.github.detekt.sarif4k:sarif4k:0.0.1=detekt,ktlint io.github.microutils:kotlin-logging:1.7.6=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath -io.gitlab.arturbosch.detekt:detekt-api:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-bom:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-cli:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-core:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-metrics:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-parser:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-psi-utils:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-report-html:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-report-sarif:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-report-txt:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-report-xml:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-rules-complexity:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-rules-coroutines:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-rules-documentation:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-rules-empty:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-rules-errorprone:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-rules-exceptions:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-rules-naming:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-rules-performance:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-rules-style:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-rules:1.16.0=detekt -io.gitlab.arturbosch.detekt:detekt-tooling:1.16.0=detekt +io.gitlab.arturbosch.detekt:detekt-api:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-cli:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-core:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-metrics:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-parser:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-psi-utils:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-report-html:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-report-sarif:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-report-txt:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-report-xml:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-rules-complexity:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-rules-coroutines:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-rules-documentation:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-rules-empty:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-rules-errorprone:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-rules-exceptions:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-rules-naming:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-rules-performance:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-rules-style:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-rules:1.19.0=detekt +io.gitlab.arturbosch.detekt:detekt-tooling:1.19.0=detekt io.insert-koin:koin-core-jvm:3.1.5=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath io.insert-koin:koin-core:3.1.5=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath io.insert-koin:koin-ktor:3.1.5=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath @@ -169,7 +165,7 @@ org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath,testImplementationDep org.bouncycastle:bcprov-jdk15on:1.67=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath org.checkerframework:checker-qual:2.5.2=runtimeClasspath,testRuntimeClasspath org.codehaus.mojo:animal-sniffer-annotations:1.17=runtimeClasspath,testRuntimeClasspath -org.ec4j.core:ec4j-core:0.2.2=ktlint +org.ec4j.core:ec4j-core:0.3.0=ktlint,ktlintBaselineReporter org.eclipse.jetty.http2:http2-client:9.4.31.v20200723=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath org.eclipse.jetty.http2:http2-common:9.4.31.v20200723=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath org.eclipse.jetty.http2:http2-hpack:9.4.31.v20200723=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath @@ -195,41 +191,35 @@ org.jacoco:org.jacoco.agent:0.8.7=jacocoAgent,jacocoAnt org.jacoco:org.jacoco.ant:0.8.7=jacocoAnt org.jacoco:org.jacoco.core:0.8.7=jacocoAnt org.jacoco:org.jacoco.report:0.8.7=jacocoAnt -org.jetbrains.intellij.deps:trove4j:1.0.20181211=detekt,kotlinCompilerClasspath,kotlinKlibCommonizerClasspath,ktlint -org.jetbrains.kotlin:kotlin-compiler-embeddable:1.4.10=ktlint -org.jetbrains.kotlin:kotlin-compiler-embeddable:1.4.21=detekt -org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.31=kotlinCompilerClasspath,kotlinKlibCommonizerClasspath -org.jetbrains.kotlin:kotlin-daemon-embeddable:1.4.10=ktlint -org.jetbrains.kotlin:kotlin-daemon-embeddable:1.4.21=detekt -org.jetbrains.kotlin:kotlin-daemon-embeddable:1.5.31=kotlinCompilerClasspath,kotlinKlibCommonizerClasspath +org.jetbrains.intellij.deps:trove4j:1.0.20181211=detekt,kotlinCompilerClasspath,kotlinKlibCommonizerClasspath,ktlint,ktlintBaselineReporter +org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.20=ktlint,ktlintBaselineReporter +org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.31=detekt,kotlinCompilerClasspath,kotlinKlibCommonizerClasspath +org.jetbrains.kotlin:kotlin-daemon-embeddable:1.5.20=ktlint,ktlintBaselineReporter +org.jetbrains.kotlin:kotlin-daemon-embeddable:1.5.31=detekt,kotlinCompilerClasspath,kotlinKlibCommonizerClasspath org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.5.31=kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest org.jetbrains.kotlin:kotlin-klib-commonizer-embeddable:1.5.31=kotlinKlibCommonizerClasspath org.jetbrains.kotlin:kotlin-native-utils:1.5.31=kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest org.jetbrains.kotlin:kotlin-project-model:1.5.31=kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest -org.jetbrains.kotlin:kotlin-reflect:1.4.10=ktlint -org.jetbrains.kotlin:kotlin-reflect:1.4.21=detekt +org.jetbrains.kotlin:kotlin-reflect:1.5.20=ktlint,ktlintBaselineReporter org.jetbrains.kotlin:kotlin-reflect:1.5.30=compileClasspath,implementationDependenciesMetadata,runtimeClasspath -org.jetbrains.kotlin:kotlin-reflect:1.5.31=kotlinCompilerClasspath,kotlinKlibCommonizerClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath -org.jetbrains.kotlin:kotlin-script-runtime:1.4.10=ktlint -org.jetbrains.kotlin:kotlin-script-runtime:1.4.21=detekt -org.jetbrains.kotlin:kotlin-script-runtime:1.5.31=kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest,kotlinKlibCommonizerClasspath +org.jetbrains.kotlin:kotlin-reflect:1.5.31=detekt,kotlinCompilerClasspath,kotlinKlibCommonizerClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath +org.jetbrains.kotlin:kotlin-script-runtime:1.5.20=ktlint,ktlintBaselineReporter +org.jetbrains.kotlin:kotlin-script-runtime:1.5.31=detekt,kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest,kotlinKlibCommonizerClasspath org.jetbrains.kotlin:kotlin-scripting-common:1.5.31=kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.5.31=kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.5.31=kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest org.jetbrains.kotlin:kotlin-scripting-jvm:1.5.31=kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest org.jetbrains.kotlin:kotlin-serialization:1.5.31=kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest -org.jetbrains.kotlin:kotlin-stdlib-common:1.4.10=ktlint -org.jetbrains.kotlin:kotlin-stdlib-common:1.4.21=detekt -org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31=compileClasspath,implementationDependenciesMetadata,kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest,kotlinKlibCommonizerClasspath,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath -org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.21=detekt +org.jetbrains.kotlin:kotlin-stdlib-common:1.5.20=ktlint,ktlintBaselineReporter +org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31=compileClasspath,detekt,implementationDependenciesMetadata,kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest,kotlinKlibCommonizerClasspath,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.0=kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest +org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.20=ktlint,ktlintBaselineReporter org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.31=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath -org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.21=detekt org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.0=kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest +org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.20=ktlint,ktlintBaselineReporter org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath -org.jetbrains.kotlin:kotlin-stdlib:1.4.10=ktlint -org.jetbrains.kotlin:kotlin-stdlib:1.4.21=detekt -org.jetbrains.kotlin:kotlin-stdlib:1.5.31=compileClasspath,implementationDependenciesMetadata,kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest,kotlinKlibCommonizerClasspath,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath +org.jetbrains.kotlin:kotlin-stdlib:1.5.20=ktlint,ktlintBaselineReporter +org.jetbrains.kotlin:kotlin-stdlib:1.5.31=compileClasspath,detekt,implementationDependenciesMetadata,kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest,kotlinKlibCommonizerClasspath,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath org.jetbrains.kotlin:kotlin-test-annotations-common:1.5.31=testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath org.jetbrains.kotlin:kotlin-test-common:1.5.31=testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath org.jetbrains.kotlin:kotlin-test-junit:1.5.31=testCompileClasspath,testRuntimeClasspath @@ -246,14 +236,18 @@ org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.5.1-native-mt=compileClasspath,i org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.5.2=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.5.2=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath org.jetbrains.kotlinx:kotlinx-coroutines-test:1.5.2=testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath -org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.2=detekt +org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.3=detekt org.jetbrains.kotlinx:kotlinx-serialization-core-jvm:1.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.jetbrains.kotlinx:kotlinx-serialization-core-jvm:1.1.0=detekt,ktlint org.jetbrains.kotlinx:kotlinx-serialization-core-metadata:1.0.1=implementationDependenciesMetadata,testImplementationDependenciesMetadata org.jetbrains.kotlinx:kotlinx-serialization-core:1.0.1=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath +org.jetbrains.kotlinx:kotlinx-serialization-core:1.1.0=detekt,ktlint org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:1.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:1.1.0=detekt,ktlint org.jetbrains.kotlinx:kotlinx-serialization-json-metadata:1.0.1=implementationDependenciesMetadata,testImplementationDependenciesMetadata org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath -org.jetbrains:annotations:13.0=compileClasspath,detekt,implementationDependenciesMetadata,kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest,kotlinKlibCommonizerClasspath,ktlint,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath +org.jetbrains.kotlinx:kotlinx-serialization-json:1.1.0=detekt,ktlint +org.jetbrains:annotations:13.0=compileClasspath,detekt,implementationDependenciesMetadata,kotlinCompilerClasspath,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest,kotlinKlibCommonizerClasspath,ktlint,ktlintBaselineReporter,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath org.joda:joda-convert:1.8.1=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath org.junit.jupiter:junit-jupiter-api:5.8.2=testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath org.junit.jupiter:junit-jupiter-engine:5.8.2=testRuntimeClasspath @@ -276,5 +270,6 @@ org.ow2.asm:asm:9.1=jacocoAnt org.reactivestreams:reactive-streams:1.0.3=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath org.slf4j:slf4j-api:1.7.30=compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath org.yaml:snakeyaml:1.27=runtimeClasspath -org.yaml:snakeyaml:1.28=detekt,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath +org.yaml:snakeyaml:1.28=testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath +org.yaml:snakeyaml:1.29=detekt empty=annotationProcessor,apiDependenciesMetadata,compileOnly,compileOnlyDependenciesMetadata,detektPlugins,intransitiveDependenciesMetadata,kotlinCompilerPluginClasspath,kotlinNativeCompilerPluginClasspath,kotlinScriptDef,kotlinScriptDefExtensions,ktlintReporter,ktlintRuleset,runtimeOnlyDependenciesMetadata,shadow,testAnnotationProcessor,testApiDependenciesMetadata,testCompileOnly,testCompileOnlyDependenciesMetadata,testIntransitiveDependenciesMetadata,testKotlinScriptDef,testKotlinScriptDefExtensions,testRuntimeOnlyDependenciesMetadata diff --git a/src/test/kotlin/integration/Article routes.kt b/src/test/kotlin/integration/Article routes.kt index 22e6123..0b41315 100644 --- a/src/test/kotlin/integration/Article routes.kt +++ b/src/test/kotlin/integration/Article routes.kt @@ -2,26 +2,26 @@ package integration import fr.dcproject.common.utils.toUUID import fr.dcproject.component.citizen.database.CitizenI.Name -import integration.steps.`when`.Validate -import integration.steps.`when`.`When I send a GET request` -import integration.steps.`when`.`When I send a POST request` -import integration.steps.`when`.`with body` -import integration.steps.given.`Given I have article created by workgroup` import integration.steps.given.`Given I have article` +import integration.steps.given.`Given I have article created by workgroup` import integration.steps.given.`Given I have articles` import integration.steps.given.`Given I have citizen` import integration.steps.given.`Given I have draft article` import integration.steps.given.`Given I have workgroup` import integration.steps.given.`authenticated as` import integration.steps.then.`And have property` +import integration.steps.then.`And the response should contain` import integration.steps.then.`And the response should contain list` import integration.steps.then.`And the response should contain pattern` -import integration.steps.then.`And the response should contain` import integration.steps.then.`And the response should not be null` import integration.steps.then.`And the response should not contain` import integration.steps.then.`Then the response should be` -import integration.steps.then.`which contains` import integration.steps.then.and +import integration.steps.then.`which contains` +import integration.steps.`when`.Validate +import integration.steps.`when`.`When I send a GET request` +import integration.steps.`when`.`When I send a POST request` +import integration.steps.`when`.`with body` import io.ktor.http.HttpStatusCode.Companion.BadRequest import io.ktor.http.HttpStatusCode.Companion.Forbidden import io.ktor.http.HttpStatusCode.Companion.NotFound diff --git a/src/test/kotlin/integration/Citizen routes.kt b/src/test/kotlin/integration/Citizen routes.kt index 95c445e..6539b5d 100644 --- a/src/test/kotlin/integration/Citizen routes.kt +++ b/src/test/kotlin/integration/Citizen routes.kt @@ -1,16 +1,16 @@ package integration -import integration.steps.`when`.Validate -import integration.steps.`when`.`When I send a GET request` -import integration.steps.`when`.`When I send a PUT request` -import integration.steps.`when`.`with body` import integration.steps.given.`Given I have citizen` import integration.steps.given.`authenticated as` import integration.steps.then.`And have property` import integration.steps.then.`And the response should not be null` import integration.steps.then.`Then the response should be` -import integration.steps.then.`which contains` import integration.steps.then.and +import integration.steps.then.`which contains` +import integration.steps.`when`.Validate +import integration.steps.`when`.`When I send a GET request` +import integration.steps.`when`.`When I send a PUT request` +import integration.steps.`when`.`with body` import io.ktor.http.HttpStatusCode.Companion.BadRequest import io.ktor.http.HttpStatusCode.Companion.Created import io.ktor.http.HttpStatusCode.Companion.OK diff --git a/src/test/kotlin/integration/Comment articles routes.kt b/src/test/kotlin/integration/Comment articles routes.kt index 517b04c..f0aebc6 100644 --- a/src/test/kotlin/integration/Comment articles routes.kt +++ b/src/test/kotlin/integration/Comment articles routes.kt @@ -1,12 +1,6 @@ package integration import fr.dcproject.component.citizen.database.CitizenI.Name -import integration.steps.`when`.Validate.ALL -import integration.steps.`when`.Validate.REQUEST_BODY -import integration.steps.`when`.Validate.REQUEST_PARAM -import integration.steps.`when`.`When I send a GET request` -import integration.steps.`when`.`When I send a POST request` -import integration.steps.`when`.`with body` import integration.steps.given.`Given I have article` import integration.steps.given.`Given I have citizen` import integration.steps.given.`Given I have comment on article` @@ -15,6 +9,12 @@ import integration.steps.then.`And the response should contain` import integration.steps.then.`And the response should not be null` import integration.steps.then.`Then the response should be` import integration.steps.then.and +import integration.steps.`when`.Validate.ALL +import integration.steps.`when`.Validate.REQUEST_BODY +import integration.steps.`when`.Validate.REQUEST_PARAM +import integration.steps.`when`.`When I send a GET request` +import integration.steps.`when`.`When I send a POST request` +import integration.steps.`when`.`with body` import io.ktor.http.HttpStatusCode.Companion.BadRequest import io.ktor.http.HttpStatusCode.Companion.Created import io.ktor.http.HttpStatusCode.Companion.OK diff --git a/src/test/kotlin/integration/Comment constitutions routes.kt b/src/test/kotlin/integration/Comment constitutions routes.kt index 523a0be..dd243b8 100644 --- a/src/test/kotlin/integration/Comment constitutions routes.kt +++ b/src/test/kotlin/integration/Comment constitutions routes.kt @@ -1,21 +1,21 @@ package integration import fr.dcproject.component.citizen.database.CitizenI.Name +import integration.steps.given.`Given I have citizen` +import integration.steps.given.`Given I have comment on constitution` +import integration.steps.given.`Given I have constitution` +import integration.steps.given.`authenticated as` +import integration.steps.then.`And the response should contain` +import integration.steps.then.`And the response should contain list` +import integration.steps.then.`And the response should not be null` +import integration.steps.then.`Then the response should be` +import integration.steps.then.and import integration.steps.`when`.Validate import integration.steps.`when`.Validate.ALL import integration.steps.`when`.Validate.REQUEST_BODY import integration.steps.`when`.`When I send a GET request` import integration.steps.`when`.`When I send a POST request` import integration.steps.`when`.`with body` -import integration.steps.given.`Given I have citizen` -import integration.steps.given.`Given I have comment on constitution` -import integration.steps.given.`Given I have constitution` -import integration.steps.given.`authenticated as` -import integration.steps.then.`And the response should contain list` -import integration.steps.then.`And the response should contain` -import integration.steps.then.`And the response should not be null` -import integration.steps.then.`Then the response should be` -import integration.steps.then.and import io.ktor.http.HttpStatusCode.Companion.BadRequest import io.ktor.http.HttpStatusCode.Companion.Created import io.ktor.http.HttpStatusCode.Companion.OK diff --git a/src/test/kotlin/integration/Comment routes.kt b/src/test/kotlin/integration/Comment routes.kt index ad7cea7..8c855a7 100644 --- a/src/test/kotlin/integration/Comment routes.kt +++ b/src/test/kotlin/integration/Comment routes.kt @@ -1,12 +1,6 @@ package integration import fr.dcproject.component.citizen.database.CitizenI -import integration.steps.`when`.Validate.ALL -import integration.steps.`when`.Validate.REQUEST_BODY -import integration.steps.`when`.`When I send a GET request` -import integration.steps.`when`.`When I send a POST request` -import integration.steps.`when`.`When I send a PUT request` -import integration.steps.`when`.`with body` import integration.steps.given.`Given I have article` import integration.steps.given.`Given I have citizen` import integration.steps.given.`Given I have comment on article` @@ -16,6 +10,12 @@ import integration.steps.then.`And the response should contain` import integration.steps.then.`And the response should not be null` import integration.steps.then.`Then the response should be` import integration.steps.then.and +import integration.steps.`when`.Validate.ALL +import integration.steps.`when`.Validate.REQUEST_BODY +import integration.steps.`when`.`When I send a GET request` +import integration.steps.`when`.`When I send a POST request` +import integration.steps.`when`.`When I send a PUT request` +import integration.steps.`when`.`with body` import io.ktor.http.HttpStatusCode.Companion.BadRequest import io.ktor.http.HttpStatusCode.Companion.Created import io.ktor.http.HttpStatusCode.Companion.OK diff --git a/src/test/kotlin/integration/Constitution routes.kt b/src/test/kotlin/integration/Constitution routes.kt index 271ca52..29f53c2 100644 --- a/src/test/kotlin/integration/Constitution routes.kt +++ b/src/test/kotlin/integration/Constitution routes.kt @@ -1,11 +1,5 @@ package integration -import integration.steps.`when`.Validate.ALL -import integration.steps.`when`.Validate.REQUEST_BODY -import integration.steps.`when`.Validate.REQUEST_PARAM -import integration.steps.`when`.`When I send a GET request` -import integration.steps.`when`.`When I send a POST request` -import integration.steps.`when`.`with body` import integration.steps.given.`Given I have citizen` import integration.steps.given.`Given I have constitution` import integration.steps.given.`Given I have constitutions` @@ -14,8 +8,14 @@ import integration.steps.then.`And have property` import integration.steps.then.`And the response should contain` import integration.steps.then.`And the response should not be null` import integration.steps.then.`Then the response should be` -import integration.steps.then.`which contains` import integration.steps.then.and +import integration.steps.then.`which contains` +import integration.steps.`when`.Validate.ALL +import integration.steps.`when`.Validate.REQUEST_BODY +import integration.steps.`when`.Validate.REQUEST_PARAM +import integration.steps.`when`.`When I send a GET request` +import integration.steps.`when`.`When I send a POST request` +import integration.steps.`when`.`with body` import io.ktor.http.HttpStatusCode.Companion.BadRequest import io.ktor.http.HttpStatusCode.Companion.Created import io.ktor.http.HttpStatusCode.Companion.OK diff --git a/src/test/kotlin/integration/Follow articles routes.kt b/src/test/kotlin/integration/Follow articles routes.kt index 1c79b9f..b3e6e71 100644 --- a/src/test/kotlin/integration/Follow articles routes.kt +++ b/src/test/kotlin/integration/Follow articles routes.kt @@ -1,8 +1,5 @@ package integration -import integration.steps.`when`.`When I send a DELETE request` -import integration.steps.`when`.`When I send a GET request` -import integration.steps.`when`.`When I send a POST request` import integration.steps.given.`And follow article` import integration.steps.given.`Given I have article` import integration.steps.given.`Given I have citizen` @@ -13,6 +10,9 @@ import integration.steps.then.`And the response should contain` import integration.steps.then.`And the response should not be null` import integration.steps.then.`Then the response should be` import integration.steps.then.and +import integration.steps.`when`.`When I send a DELETE request` +import integration.steps.`when`.`When I send a GET request` +import integration.steps.`when`.`When I send a POST request` import io.ktor.http.HttpStatusCode.Companion.Created import io.ktor.http.HttpStatusCode.Companion.NoContent import io.ktor.http.HttpStatusCode.Companion.OK diff --git a/src/test/kotlin/integration/Follow citizen routes.kt b/src/test/kotlin/integration/Follow citizen routes.kt index 108a684..8bd7541 100644 --- a/src/test/kotlin/integration/Follow citizen routes.kt +++ b/src/test/kotlin/integration/Follow citizen routes.kt @@ -1,8 +1,5 @@ package integration -import integration.steps.`when`.`When I send a DELETE request` -import integration.steps.`when`.`When I send a GET request` -import integration.steps.`when`.`When I send a POST request` import integration.steps.given.`And follow citizen` import integration.steps.given.`Given I have citizen` import integration.steps.given.`authenticated as` @@ -12,6 +9,9 @@ import integration.steps.then.`And the response should contain` import integration.steps.then.`And the response should not be null` import integration.steps.then.`Then the response should be` import integration.steps.then.and +import integration.steps.`when`.`When I send a DELETE request` +import integration.steps.`when`.`When I send a GET request` +import integration.steps.`when`.`When I send a POST request` import io.ktor.http.HttpStatusCode.Companion.Created import io.ktor.http.HttpStatusCode.Companion.NoContent import io.ktor.http.HttpStatusCode.Companion.OK diff --git a/src/test/kotlin/integration/Follow constitutions routes.kt b/src/test/kotlin/integration/Follow constitutions routes.kt index 5c28b17..48ba39a 100644 --- a/src/test/kotlin/integration/Follow constitutions routes.kt +++ b/src/test/kotlin/integration/Follow constitutions routes.kt @@ -1,8 +1,5 @@ package integration -import integration.steps.`when`.`When I send a DELETE request` -import integration.steps.`when`.`When I send a GET request` -import integration.steps.`when`.`When I send a POST request` import integration.steps.given.`And follow constitution` import integration.steps.given.`Given I have citizen` import integration.steps.given.`Given I have constitution` @@ -13,6 +10,9 @@ import integration.steps.then.`And the response should contain` import integration.steps.then.`And the response should not be null` import integration.steps.then.`Then the response should be` import integration.steps.then.and +import integration.steps.`when`.`When I send a DELETE request` +import integration.steps.`when`.`When I send a GET request` +import integration.steps.`when`.`When I send a POST request` import io.ktor.http.HttpStatusCode.Companion.Created import io.ktor.http.HttpStatusCode.Companion.NoContent import io.ktor.http.HttpStatusCode.Companion.OK diff --git a/src/test/kotlin/integration/Login routes.kt b/src/test/kotlin/integration/Login routes.kt index 131b278..55734ef 100644 --- a/src/test/kotlin/integration/Login routes.kt +++ b/src/test/kotlin/integration/Login routes.kt @@ -1,13 +1,13 @@ package integration -import integration.steps.`when`.`When I send a POST request` -import integration.steps.`when`.`with body` import integration.steps.given.`Given I have citizen` import integration.steps.given.`authenticated as` import integration.steps.then.`And the response should not be null` import integration.steps.then.`Then the response should be` -import integration.steps.then.`and should contains` import integration.steps.then.and +import integration.steps.then.`and should contains` +import integration.steps.`when`.`When I send a POST request` +import integration.steps.`when`.`with body` import io.ktor.http.HttpStatusCode.Companion.NoContent import io.ktor.http.HttpStatusCode.Companion.OK import org.junit.jupiter.api.Tag diff --git a/src/test/kotlin/integration/Notification routes.kt b/src/test/kotlin/integration/Notification routes.kt index afff34f..dfd57a5 100644 --- a/src/test/kotlin/integration/Notification routes.kt +++ b/src/test/kotlin/integration/Notification routes.kt @@ -4,8 +4,8 @@ import fr.dcproject.component.citizen.database.CitizenI.Name import fr.dcproject.component.notification.ArticleUpdateNotificationMessage import fr.dcproject.component.notification.NotificationMessage import integration.steps.given.`And follow citizen` -import integration.steps.given.`Given I have article update notification` import integration.steps.given.`Given I have article` +import integration.steps.given.`Given I have article update notification` import integration.steps.given.`Given I have citizen` import integration.steps.given.`Given I have follow on article` import integration.steps.given.`authenticated in url as` diff --git a/src/test/kotlin/integration/Opinion routes.kt b/src/test/kotlin/integration/Opinion routes.kt index 14e8d13..615e23a 100644 --- a/src/test/kotlin/integration/Opinion routes.kt +++ b/src/test/kotlin/integration/Opinion routes.kt @@ -1,21 +1,21 @@ package integration import fr.dcproject.component.citizen.database.CitizenI.Name -import integration.steps.`when`.Validate.ALL -import integration.steps.`when`.Validate.REQUEST_PARAM -import integration.steps.`when`.`When I send a GET request` -import integration.steps.`when`.`When I send a PUT request` -import integration.steps.`when`.`with body` import integration.steps.given.`Given I have an opinion choice` import integration.steps.given.`Given I have article` import integration.steps.given.`Given I have citizen` import integration.steps.given.`Given I have opinion on article` import integration.steps.given.`authenticated as` -import integration.steps.then.`And the response should contain list` import integration.steps.then.`And the response should contain` +import integration.steps.then.`And the response should contain list` import integration.steps.then.`And the response should not be null` import integration.steps.then.`Then the response should be` import integration.steps.then.and +import integration.steps.`when`.Validate.ALL +import integration.steps.`when`.Validate.REQUEST_PARAM +import integration.steps.`when`.`When I send a GET request` +import integration.steps.`when`.`When I send a PUT request` +import integration.steps.`when`.`with body` import io.ktor.http.HttpStatusCode import io.ktor.http.HttpStatusCode.Companion.Created import io.ktor.http.HttpStatusCode.Companion.OK diff --git a/src/test/kotlin/integration/Register routes.kt b/src/test/kotlin/integration/Register routes.kt index 510d0b2..ebc852b 100644 --- a/src/test/kotlin/integration/Register routes.kt +++ b/src/test/kotlin/integration/Register routes.kt @@ -1,13 +1,13 @@ package integration -import integration.steps.`when`.Validate -import integration.steps.`when`.`When I send a POST request` -import integration.steps.`when`.`with body` import integration.steps.then.`And the response should be null` import integration.steps.then.`And the response should contain pattern` import integration.steps.then.`And the response should not be null` import integration.steps.then.`Then the response should be` import integration.steps.then.and +import integration.steps.`when`.Validate +import integration.steps.`when`.`When I send a POST request` +import integration.steps.`when`.`with body` import io.ktor.http.HttpStatusCode.Companion.BadRequest import io.ktor.http.HttpStatusCode.Companion.OK import org.junit.jupiter.api.Tag diff --git a/src/test/kotlin/integration/Vote routes.kt b/src/test/kotlin/integration/Vote routes.kt index a01aaf7..94e19f1 100644 --- a/src/test/kotlin/integration/Vote routes.kt +++ b/src/test/kotlin/integration/Vote routes.kt @@ -1,12 +1,6 @@ package integration import fr.dcproject.component.citizen.database.CitizenI.Name -import integration.steps.`when`.Validate.ALL -import integration.steps.`when`.Validate.REQUEST_BODY -import integration.steps.`when`.Validate.REQUEST_PARAM -import integration.steps.`when`.`When I send a GET request` -import integration.steps.`when`.`When I send a PUT request` -import integration.steps.`when`.`with body` import integration.steps.given.`Given I have article` import integration.steps.given.`Given I have citizen` import integration.steps.given.`Given I have comment on article` @@ -18,6 +12,12 @@ import integration.steps.then.`And the response should contain` import integration.steps.then.`And the response should not be null` import integration.steps.then.`Then the response should be` import integration.steps.then.and +import integration.steps.`when`.Validate.ALL +import integration.steps.`when`.Validate.REQUEST_BODY +import integration.steps.`when`.Validate.REQUEST_PARAM +import integration.steps.`when`.`When I send a GET request` +import integration.steps.`when`.`When I send a PUT request` +import integration.steps.`when`.`with body` import io.ktor.http.HttpStatusCode.Companion.BadRequest import io.ktor.http.HttpStatusCode.Companion.Created import io.ktor.http.HttpStatusCode.Companion.OK diff --git a/src/test/kotlin/integration/Workgroup Members routes.kt b/src/test/kotlin/integration/Workgroup Members routes.kt index 49034b0..064d077 100644 --- a/src/test/kotlin/integration/Workgroup Members routes.kt +++ b/src/test/kotlin/integration/Workgroup Members routes.kt @@ -1,18 +1,18 @@ package integration import fr.dcproject.component.citizen.database.CitizenI.Name -import integration.steps.`when`.`When I send a DELETE request` -import integration.steps.`when`.`When I send a POST request` -import integration.steps.`when`.`When I send a PUT request` -import integration.steps.`when`.`with body` import integration.steps.given.`Given I have citizen` import integration.steps.given.`Given I have workgroup` import integration.steps.given.`With members` import integration.steps.given.`authenticated as` -import integration.steps.then.`And the response should contain list` import integration.steps.then.`And the response should contain` +import integration.steps.then.`And the response should contain list` import integration.steps.then.`Then the response should be` import integration.steps.then.and +import integration.steps.`when`.`When I send a DELETE request` +import integration.steps.`when`.`When I send a POST request` +import integration.steps.`when`.`When I send a PUT request` +import integration.steps.`when`.`with body` import io.ktor.http.HttpStatusCode.Companion.Created import io.ktor.http.HttpStatusCode.Companion.OK import org.junit.jupiter.api.Tag diff --git a/src/test/kotlin/integration/Workgroup routes.kt b/src/test/kotlin/integration/Workgroup routes.kt index 6a7adfb..b317a65 100644 --- a/src/test/kotlin/integration/Workgroup routes.kt +++ b/src/test/kotlin/integration/Workgroup routes.kt @@ -1,13 +1,6 @@ package integration import fr.dcproject.component.citizen.database.CitizenI.Name -import integration.steps.`when`.Validate.REQUEST_BODY -import integration.steps.`when`.Validate.REQUEST_PARAM -import integration.steps.`when`.`When I send a DELETE request` -import integration.steps.`when`.`When I send a GET request` -import integration.steps.`when`.`When I send a POST request` -import integration.steps.`when`.`When I send a PUT request` -import integration.steps.`when`.`with body` import integration.steps.given.`Given I have citizen` import integration.steps.given.`Given I have workgroup` import integration.steps.given.`With members` @@ -15,11 +8,18 @@ import integration.steps.given.`authenticated as` import integration.steps.given.`with no content` import integration.steps.then.`And have property` import integration.steps.then.`And the response should be null` -import integration.steps.then.`And the response should contain list` import integration.steps.then.`And the response should contain` +import integration.steps.then.`And the response should contain list` import integration.steps.then.`And the response should not be null` import integration.steps.then.`Then the response should be` import integration.steps.then.and +import integration.steps.`when`.Validate.REQUEST_BODY +import integration.steps.`when`.Validate.REQUEST_PARAM +import integration.steps.`when`.`When I send a DELETE request` +import integration.steps.`when`.`When I send a GET request` +import integration.steps.`when`.`When I send a POST request` +import integration.steps.`when`.`When I send a PUT request` +import integration.steps.`when`.`with body` import io.ktor.http.HttpStatusCode.Companion.BadRequest import io.ktor.http.HttpStatusCode.Companion.Created import io.ktor.http.HttpStatusCode.Companion.NoContent diff --git a/src/test/kotlin/integration/steps/then/request.kt b/src/test/kotlin/integration/steps/then/request.kt index cdea9e5..57dc5a3 100644 --- a/src/test/kotlin/integration/steps/then/request.kt +++ b/src/test/kotlin/integration/steps/then/request.kt @@ -7,9 +7,9 @@ import io.ktor.http.HttpStatusCode import io.ktor.server.testing.TestApplicationCall import io.ktor.server.testing.TestApplicationResponse import net.minidev.json.JSONArray +import org.amshove.kluent.`should be` import org.amshove.kluent.`should be equal to` import org.amshove.kluent.`should be null` -import org.amshove.kluent.`should be` import org.amshove.kluent.`should not be null` import org.amshove.kluent.shouldContain import org.junit.jupiter.api.assertThrows