From 7d4d694c102a9ef2525678b20b57d35064a91caa Mon Sep 17 00:00:00 2001 From: "$(git --no-pager log --format=format:'%an' -n 1)" Date: Fri, 13 Dec 2024 15:26:22 -0800 Subject: [PATCH 1/3] Remove mocking module --- graphql-dgs-client/dependencies.lock | 80 - graphql-dgs-example-shared/dependencies.lock | 290 +- .../dependencies.lock | 177 +- .../dependencies.lock | 177 +- graphql-dgs-mocking/build.gradle.kts | 23 - graphql-dgs-mocking/dependencies.lock | 3116 ----------------- .../graphql/mocking/DgsSchemaTransformer.kt | 48 - .../graphql/mocking/MockGraphQLVisitor.kt | 143 - .../netflix/graphql/mocking/MockProvider.kt | 24 - .../graphql/mocking/MockGraphQLVisitorTest.kt | 522 --- .../graphql/mocking/testobjects/MyObject.kt | 21 - .../graphql/mocking/testobjects/SomeObject.kt | 21 - graphql-dgs-pagination/dependencies.lock | 177 +- graphql-dgs-reactive/dependencies.lock | 177 +- .../dependencies.lock | 175 - .../dependencies.lock | 150 - .../dependencies.lock | 150 - .../dependencies.lock | 170 - graphql-dgs-spring-graphql/dependencies.lock | 157 +- .../DgsSpringGraphQLAutoConfiguration.kt | 3 - graphql-dgs/build.gradle.kts | 2 - graphql-dgs/dependencies.lock | 166 +- .../graphql/dgs/internal/DgsSchemaProvider.kt | 12 +- settings.gradle.kts | 1 - 24 files changed, 72 insertions(+), 5910 deletions(-) delete mode 100644 graphql-dgs-mocking/build.gradle.kts delete mode 100644 graphql-dgs-mocking/dependencies.lock delete mode 100644 graphql-dgs-mocking/src/main/kotlin/com/netflix/graphql/mocking/DgsSchemaTransformer.kt delete mode 100644 graphql-dgs-mocking/src/main/kotlin/com/netflix/graphql/mocking/MockGraphQLVisitor.kt delete mode 100644 graphql-dgs-mocking/src/main/kotlin/com/netflix/graphql/mocking/MockProvider.kt delete mode 100644 graphql-dgs-mocking/src/test/kotlin/com/netflix/graphql/mocking/MockGraphQLVisitorTest.kt delete mode 100644 graphql-dgs-mocking/src/test/kotlin/com/netflix/graphql/mocking/testobjects/MyObject.kt delete mode 100644 graphql-dgs-mocking/src/test/kotlin/com/netflix/graphql/mocking/testobjects/SomeObject.kt diff --git a/graphql-dgs-client/dependencies.lock b/graphql-dgs-client/dependencies.lock index e7a3db394..356643848 100644 --- a/graphql-dgs-client/dependencies.lock +++ b/graphql-dgs-client/dependencies.lock @@ -356,24 +356,12 @@ "com.fasterxml.jackson.module:jackson-module-parameter-names" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -381,7 +369,6 @@ "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -429,19 +416,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -830,12 +809,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -936,7 +909,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -1160,7 +1132,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -1379,7 +1350,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -2449,7 +2419,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -2496,19 +2465,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -2954,7 +2915,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -3369,7 +3329,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -3416,19 +3375,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -3842,7 +3793,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -4257,24 +4207,12 @@ "com.fasterxml.jackson.module:jackson-module-parameter-names" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -4282,7 +4220,6 @@ "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -4330,19 +4267,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -4731,12 +4660,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -4825,7 +4748,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -5013,7 +4935,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -5232,7 +5153,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } diff --git a/graphql-dgs-example-shared/dependencies.lock b/graphql-dgs-example-shared/dependencies.lock index b0b920045..a0edb4d8d 100644 --- a/graphql-dgs-example-shared/dependencies.lock +++ b/graphql-dgs-example-shared/dependencies.lock @@ -16,32 +16,6 @@ } }, "compileClasspath": { - "com.fasterxml.jackson.core:jackson-databind": { - "locked": "2.17.3" - }, - "com.netflix.graphql.dgs:graphql-dgs-extended-scalars": { - "project": true - }, - "com.netflix.graphql.dgs:graphql-dgs-pagination": { - "project": true - }, - "com.netflix.graphql.dgs:graphql-dgs-platform": { - "project": true - }, - "io.projectreactor:reactor-core": { - "locked": "3.6.12" - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0" - }, - "org.springframework:spring-context": { - "locked": "6.1.15" - }, - "org.springframework:spring-web": { - "locked": "6.1.15" - } - }, - "implementationDependenciesMetadata": { "com.fasterxml.jackson.core:jackson-annotations": { "locked": "2.17.3", "transitive": [ @@ -74,7 +48,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -115,13 +88,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -133,7 +99,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -169,11 +134,16 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-error-types" ] }, + "org.jetbrains:annotations": { + "locked": "13.0", + "transitive": [ + "org.jetbrains.kotlin:kotlin-stdlib" + ] + }, "org.reactivestreams:reactive-streams": { "locked": "1.0.4", "transitive": [ @@ -230,63 +200,7 @@ "locked": "6.1.15" } }, - "jmh": { - "net.sf.jopt-simple:jopt-simple": { - "locked": "5.0.4", - "transitive": [ - "org.openjdk.jmh:jmh-core" - ] - }, - "org.apache.commons:commons-math3": { - "locked": "3.6.1", - "transitive": [ - "org.openjdk.jmh:jmh-core" - ] - }, - "org.openjdk.jmh:jmh-core": { - "locked": "1.37", - "transitive": [ - "org.openjdk.jmh:jmh-generator-annprocess", - "org.openjdk.jmh:jmh-generator-asm", - "org.openjdk.jmh:jmh-generator-bytecode", - "org.openjdk.jmh:jmh-generator-reflection" - ] - }, - "org.openjdk.jmh:jmh-generator-annprocess": { - "locked": "1.37" - }, - "org.openjdk.jmh:jmh-generator-asm": { - "locked": "1.36", - "transitive": [ - "org.openjdk.jmh:jmh-generator-bytecode" - ] - }, - "org.openjdk.jmh:jmh-generator-bytecode": { - "locked": "1.36" - }, - "org.openjdk.jmh:jmh-generator-reflection": { - "locked": "1.36", - "transitive": [ - "org.openjdk.jmh:jmh-generator-asm", - "org.openjdk.jmh:jmh-generator-bytecode" - ] - }, - "org.ow2.asm:asm": { - "locked": "9.0", - "transitive": [ - "org.openjdk.jmh:jmh-generator-asm" - ] - } - }, - "jmhApiDependenciesMetadata": { - "com.netflix.graphql.dgs:graphql-dgs-platform": { - "project": true - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0" - } - }, - "jmhCompileClasspath": { + "implementationDependenciesMetadata": { "com.fasterxml.jackson.core:jackson-databind": { "locked": "2.17.3" }, @@ -305,6 +219,14 @@ "org.jetbrains.kotlin:kotlin-stdlib": { "locked": "2.1.0" }, + "org.springframework:spring-context": { + "locked": "6.1.15" + }, + "org.springframework:spring-web": { + "locked": "6.1.15" + } + }, + "jmh": { "org.openjdk.jmh:jmh-core": { "locked": "1.37" }, @@ -313,15 +235,17 @@ }, "org.openjdk.jmh:jmh-generator-bytecode": { "locked": "1.36" + } + }, + "jmhApiDependenciesMetadata": { + "com.netflix.graphql.dgs:graphql-dgs-platform": { + "project": true }, - "org.springframework:spring-context": { - "locked": "6.1.15" - }, - "org.springframework:spring-web": { - "locked": "6.1.15" + "org.jetbrains.kotlin:kotlin-stdlib": { + "locked": "2.1.0" } }, - "jmhImplementationDependenciesMetadata": { + "jmhCompileClasspath": { "com.fasterxml.jackson.core:jackson-annotations": { "locked": "2.17.3", "transitive": [ @@ -354,7 +278,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -395,13 +318,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -413,7 +329,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -461,11 +376,16 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-error-types" ] }, + "org.jetbrains:annotations": { + "locked": "13.0", + "transitive": [ + "org.jetbrains.kotlin:kotlin-stdlib" + ] + }, "org.openjdk.jmh:jmh-core": { "locked": "1.37", "transitive": [ @@ -556,6 +476,41 @@ "locked": "6.1.15" } }, + "jmhImplementationDependenciesMetadata": { + "com.fasterxml.jackson.core:jackson-databind": { + "locked": "2.17.3" + }, + "com.netflix.graphql.dgs:graphql-dgs-extended-scalars": { + "project": true + }, + "com.netflix.graphql.dgs:graphql-dgs-pagination": { + "project": true + }, + "com.netflix.graphql.dgs:graphql-dgs-platform": { + "project": true + }, + "io.projectreactor:reactor-core": { + "locked": "3.6.12" + }, + "org.jetbrains.kotlin:kotlin-stdlib": { + "locked": "2.1.0" + }, + "org.openjdk.jmh:jmh-core": { + "locked": "1.37" + }, + "org.openjdk.jmh:jmh-generator-annprocess": { + "locked": "1.37" + }, + "org.openjdk.jmh:jmh-generator-bytecode": { + "locked": "1.36" + }, + "org.springframework:spring-context": { + "locked": "6.1.15" + }, + "org.springframework:spring-web": { + "locked": "6.1.15" + } + }, "jmhRuntimeClasspath": { "ch.qos.logback:logback-classic": { "locked": "1.5.12", @@ -656,24 +611,12 @@ "com.fasterxml.jackson.module:jackson-module-parameter-names" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -681,7 +624,6 @@ "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -738,13 +680,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -757,7 +692,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -971,12 +905,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -1059,7 +987,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -1277,7 +1204,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -1444,7 +1370,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -2253,31 +2178,18 @@ "com.fasterxml.jackson.module:jackson-module-kotlin" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" @@ -2319,13 +2231,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -2337,7 +2242,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -2376,12 +2280,6 @@ "org.jetbrains.kotlinx:kotlinx-coroutines-reactor" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -2406,7 +2304,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", @@ -2479,8 +2376,7 @@ "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", - "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking" + "com.jayway.jsonpath:json-path" ] }, "org.springframework.boot:spring-boot": { @@ -2545,12 +2441,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs" ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker" - ] } }, "testCompileClasspath": { @@ -2632,7 +2522,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -2687,13 +2576,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -2706,7 +2588,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -2953,7 +2834,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -3298,7 +3178,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -3353,13 +3232,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -3372,7 +3244,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -3587,7 +3458,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -3941,24 +3811,12 @@ "com.fasterxml.jackson.module:jackson-module-parameter-names" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -3966,7 +3824,6 @@ "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -4023,13 +3880,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -4042,7 +3892,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -4256,12 +4105,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -4332,7 +4175,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -4521,7 +4363,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -4688,7 +4529,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } diff --git a/graphql-dgs-extended-scalars/dependencies.lock b/graphql-dgs-extended-scalars/dependencies.lock index 139422a41..e70d07fb9 100644 --- a/graphql-dgs-extended-scalars/dependencies.lock +++ b/graphql-dgs-extended-scalars/dependencies.lock @@ -12,7 +12,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -44,18 +43,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -70,7 +61,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -92,7 +82,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -124,18 +113,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -162,7 +143,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -240,7 +220,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -272,18 +251,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -310,7 +281,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -430,7 +400,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -462,18 +431,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -488,7 +449,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -510,7 +470,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -542,18 +501,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -592,7 +543,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -704,7 +654,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -736,18 +685,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -786,7 +727,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -987,24 +927,12 @@ "com.fasterxml.jackson.module:jackson-module-parameter-names" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -1012,7 +940,6 @@ "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -1057,19 +984,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -1256,12 +1175,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -1343,7 +1256,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -1558,7 +1470,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -1711,7 +1622,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -2520,31 +2430,18 @@ "com.fasterxml.jackson.module:jackson-module-kotlin" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -2576,18 +2473,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -2625,12 +2514,6 @@ "org.jetbrains.kotlinx:kotlinx-coroutines-reactor" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -2654,7 +2537,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm", @@ -2726,8 +2608,7 @@ "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", - "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking" + "com.jayway.jsonpath:json-path" ] }, "org.springframework.boot:spring-boot": { @@ -2788,12 +2669,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs" ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker" - ] } }, "testCompileClasspath": { @@ -2875,7 +2750,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -2919,19 +2793,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -3150,7 +3016,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -3482,7 +3347,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -3526,19 +3390,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -3725,7 +3581,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -4066,24 +3921,12 @@ "com.fasterxml.jackson.module:jackson-module-parameter-names" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -4091,7 +3934,6 @@ "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -4136,19 +3978,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -4335,12 +4169,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -4410,7 +4238,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -4596,7 +4423,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -4749,7 +4575,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } diff --git a/graphql-dgs-extended-validation/dependencies.lock b/graphql-dgs-extended-validation/dependencies.lock index 20ec3e8da..2cd8f87e2 100644 --- a/graphql-dgs-extended-validation/dependencies.lock +++ b/graphql-dgs-extended-validation/dependencies.lock @@ -19,7 +19,6 @@ "transitive": [ "com.graphql-java:graphql-java-extended-validation", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -58,18 +57,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -114,7 +105,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -143,7 +133,6 @@ "transitive": [ "com.graphql-java:graphql-java-extended-validation", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -182,18 +171,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -250,7 +231,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -335,7 +315,6 @@ "transitive": [ "com.graphql-java:graphql-java-extended-validation", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -374,18 +353,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -442,7 +413,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -569,7 +539,6 @@ "transitive": [ "com.graphql-java:graphql-java-extended-validation", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -608,18 +577,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -664,7 +625,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -693,7 +653,6 @@ "transitive": [ "com.graphql-java:graphql-java-extended-validation", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -732,18 +691,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -812,7 +763,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -931,7 +881,6 @@ "transitive": [ "com.graphql-java:graphql-java-extended-validation", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -970,18 +919,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -1050,7 +991,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -1257,24 +1197,12 @@ "org.hibernate.validator:hibernate-validator" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -1283,7 +1211,6 @@ "com.graphql-java:graphql-java-extended-validation", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -1335,19 +1262,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -1546,12 +1465,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -1651,7 +1564,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -1866,7 +1778,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -2019,7 +1930,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -2834,24 +2744,12 @@ "org.hibernate.validator:hibernate-validator" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -2859,7 +2757,6 @@ "com.graphql-java:graphql-java-extended-scalars", "com.graphql-java:graphql-java-extended-validation", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -2898,18 +2795,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -2959,12 +2848,6 @@ "org.hibernate.validator:hibernate-validator" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -3006,7 +2889,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm", @@ -3078,8 +2960,7 @@ "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", - "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking" + "com.jayway.jsonpath:json-path" ] }, "org.springframework.boot:spring-boot": { @@ -3140,12 +3021,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs" ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker" - ] } }, "testCompileClasspath": { @@ -3234,7 +3109,6 @@ "transitive": [ "com.graphql-java:graphql-java-extended-validation", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -3285,19 +3159,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -3546,7 +3412,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -3885,7 +3750,6 @@ "transitive": [ "com.graphql-java:graphql-java-extended-validation", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -3936,19 +3800,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -4165,7 +4021,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -4512,24 +4367,12 @@ "org.hibernate.validator:hibernate-validator" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -4538,7 +4381,6 @@ "com.graphql-java:graphql-java-extended-validation", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -4590,19 +4432,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -4801,12 +4635,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -4894,7 +4722,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -5080,7 +4907,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -5233,7 +5059,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } diff --git a/graphql-dgs-mocking/build.gradle.kts b/graphql-dgs-mocking/build.gradle.kts deleted file mode 100644 index e6110c9ef..000000000 --- a/graphql-dgs-mocking/build.gradle.kts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright 2021 Netflix, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -dependencies { - api("com.graphql-java:graphql-java") - implementation("net.datafaker:datafaker:2.+") - implementation("org.slf4j:slf4j-api") - - testImplementation("org.assertj:assertj-core") -} diff --git a/graphql-dgs-mocking/dependencies.lock b/graphql-dgs-mocking/dependencies.lock deleted file mode 100644 index 924a3ef66..000000000 --- a/graphql-dgs-mocking/dependencies.lock +++ /dev/null @@ -1,3116 +0,0 @@ -{ - "annotationProcessor": { - "org.springframework.boot:spring-boot-autoconfigure-processor": { - "locked": "3.3.6" - }, - "org.springframework.boot:spring-boot-configuration-processor": { - "locked": "3.3.6" - } - }, - "apiDependenciesMetadata": { - "com.graphql-java:graphql-java": { - "locked": "22.3", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.graphql-java:java-dataloader": { - "locked": "3.3.0", - "transitive": [ - "com.graphql-java:graphql-java", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.netflix.graphql.dgs:graphql-dgs-platform": { - "project": true - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0" - }, - "org.reactivestreams:reactive-streams": { - "locked": "1.0.4", - "transitive": [ - "com.graphql-java:graphql-java" - ] - }, - "org.slf4j:slf4j-api": { - "locked": "2.0.16", - "transitive": [ - "com.graphql-java:java-dataloader" - ] - } - }, - "compileClasspath": { - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.graphql-java:graphql-java": { - "locked": "22.3", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.graphql-java:java-dataloader": { - "locked": "3.3.0", - "transitive": [ - "com.graphql-java:graphql-java", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.netflix.graphql.dgs:graphql-dgs-platform": { - "project": true - }, - "net.datafaker:datafaker": { - "locked": "2.4.2" - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0" - }, - "org.jetbrains:annotations": { - "locked": "13.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib" - ] - }, - "org.reactivestreams:reactive-streams": { - "locked": "1.0.4", - "transitive": [ - "com.graphql-java:graphql-java" - ] - }, - "org.slf4j:slf4j-api": { - "locked": "2.0.16", - "transitive": [ - "com.graphql-java:java-dataloader" - ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker" - ] - } - }, - "implementationDependenciesMetadata": { - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.graphql-java:graphql-java": { - "locked": "22.3", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.graphql-java:java-dataloader": { - "locked": "3.3.0", - "transitive": [ - "com.graphql-java:graphql-java", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.netflix.graphql.dgs:graphql-dgs-platform": { - "project": true - }, - "net.datafaker:datafaker": { - "locked": "2.4.2" - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0" - }, - "org.reactivestreams:reactive-streams": { - "locked": "1.0.4", - "transitive": [ - "com.graphql-java:graphql-java" - ] - }, - "org.slf4j:slf4j-api": { - "locked": "2.0.16", - "transitive": [ - "com.graphql-java:java-dataloader" - ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker" - ] - } - }, - "jmh": { - "net.sf.jopt-simple:jopt-simple": { - "locked": "5.0.4", - "transitive": [ - "org.openjdk.jmh:jmh-core" - ] - }, - "org.apache.commons:commons-math3": { - "locked": "3.6.1", - "transitive": [ - "org.openjdk.jmh:jmh-core" - ] - }, - "org.openjdk.jmh:jmh-core": { - "locked": "1.37", - "transitive": [ - "org.openjdk.jmh:jmh-generator-annprocess", - "org.openjdk.jmh:jmh-generator-asm", - "org.openjdk.jmh:jmh-generator-bytecode", - "org.openjdk.jmh:jmh-generator-reflection" - ] - }, - "org.openjdk.jmh:jmh-generator-annprocess": { - "locked": "1.37" - }, - "org.openjdk.jmh:jmh-generator-asm": { - "locked": "1.36", - "transitive": [ - "org.openjdk.jmh:jmh-generator-bytecode" - ] - }, - "org.openjdk.jmh:jmh-generator-bytecode": { - "locked": "1.36" - }, - "org.openjdk.jmh:jmh-generator-reflection": { - "locked": "1.36", - "transitive": [ - "org.openjdk.jmh:jmh-generator-asm", - "org.openjdk.jmh:jmh-generator-bytecode" - ] - }, - "org.ow2.asm:asm": { - "locked": "9.0", - "transitive": [ - "org.openjdk.jmh:jmh-generator-asm" - ] - } - }, - "jmhApiDependenciesMetadata": { - "com.graphql-java:graphql-java": { - "locked": "22.3", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.graphql-java:java-dataloader": { - "locked": "3.3.0", - "transitive": [ - "com.graphql-java:graphql-java", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.netflix.graphql.dgs:graphql-dgs-platform": { - "project": true - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0" - }, - "org.reactivestreams:reactive-streams": { - "locked": "1.0.4", - "transitive": [ - "com.graphql-java:graphql-java" - ] - }, - "org.slf4j:slf4j-api": { - "locked": "2.0.16", - "transitive": [ - "com.graphql-java:java-dataloader" - ] - } - }, - "jmhCompileClasspath": { - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.graphql-java:graphql-java": { - "locked": "22.3", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.graphql-java:java-dataloader": { - "locked": "3.3.0", - "transitive": [ - "com.graphql-java:graphql-java", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.netflix.graphql.dgs:graphql-dgs-platform": { - "project": true - }, - "net.datafaker:datafaker": { - "locked": "2.4.2" - }, - "net.sf.jopt-simple:jopt-simple": { - "locked": "5.0.4", - "transitive": [ - "org.openjdk.jmh:jmh-core" - ] - }, - "org.apache.commons:commons-math3": { - "locked": "3.6.1", - "transitive": [ - "org.openjdk.jmh:jmh-core" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0" - }, - "org.jetbrains:annotations": { - "locked": "13.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib" - ] - }, - "org.openjdk.jmh:jmh-core": { - "locked": "1.37", - "transitive": [ - "org.openjdk.jmh:jmh-generator-annprocess", - "org.openjdk.jmh:jmh-generator-asm", - "org.openjdk.jmh:jmh-generator-bytecode", - "org.openjdk.jmh:jmh-generator-reflection" - ] - }, - "org.openjdk.jmh:jmh-generator-annprocess": { - "locked": "1.37" - }, - "org.openjdk.jmh:jmh-generator-asm": { - "locked": "1.36", - "transitive": [ - "org.openjdk.jmh:jmh-generator-bytecode" - ] - }, - "org.openjdk.jmh:jmh-generator-bytecode": { - "locked": "1.36" - }, - "org.openjdk.jmh:jmh-generator-reflection": { - "locked": "1.36", - "transitive": [ - "org.openjdk.jmh:jmh-generator-asm", - "org.openjdk.jmh:jmh-generator-bytecode" - ] - }, - "org.ow2.asm:asm": { - "locked": "9.0", - "transitive": [ - "org.openjdk.jmh:jmh-generator-asm" - ] - }, - "org.reactivestreams:reactive-streams": { - "locked": "1.0.4", - "transitive": [ - "com.graphql-java:graphql-java" - ] - }, - "org.slf4j:slf4j-api": { - "locked": "2.0.16", - "transitive": [ - "com.graphql-java:java-dataloader" - ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker" - ] - } - }, - "jmhImplementationDependenciesMetadata": { - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.graphql-java:graphql-java": { - "locked": "22.3", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.graphql-java:java-dataloader": { - "locked": "3.3.0", - "transitive": [ - "com.graphql-java:graphql-java", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.netflix.graphql.dgs:graphql-dgs-platform": { - "project": true - }, - "net.datafaker:datafaker": { - "locked": "2.4.2" - }, - "net.sf.jopt-simple:jopt-simple": { - "locked": "5.0.4", - "transitive": [ - "org.openjdk.jmh:jmh-core" - ] - }, - "org.apache.commons:commons-math3": { - "locked": "3.6.1", - "transitive": [ - "org.openjdk.jmh:jmh-core" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0" - }, - "org.openjdk.jmh:jmh-core": { - "locked": "1.37", - "transitive": [ - "org.openjdk.jmh:jmh-generator-annprocess", - "org.openjdk.jmh:jmh-generator-asm", - "org.openjdk.jmh:jmh-generator-bytecode", - "org.openjdk.jmh:jmh-generator-reflection" - ] - }, - "org.openjdk.jmh:jmh-generator-annprocess": { - "locked": "1.37" - }, - "org.openjdk.jmh:jmh-generator-asm": { - "locked": "1.36", - "transitive": [ - "org.openjdk.jmh:jmh-generator-bytecode" - ] - }, - "org.openjdk.jmh:jmh-generator-bytecode": { - "locked": "1.36" - }, - "org.openjdk.jmh:jmh-generator-reflection": { - "locked": "1.36", - "transitive": [ - "org.openjdk.jmh:jmh-generator-asm", - "org.openjdk.jmh:jmh-generator-bytecode" - ] - }, - "org.ow2.asm:asm": { - "locked": "9.0", - "transitive": [ - "org.openjdk.jmh:jmh-generator-asm" - ] - }, - "org.reactivestreams:reactive-streams": { - "locked": "1.0.4", - "transitive": [ - "com.graphql-java:graphql-java" - ] - }, - "org.slf4j:slf4j-api": { - "locked": "2.0.16", - "transitive": [ - "com.graphql-java:java-dataloader" - ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker" - ] - } - }, - "jmhRuntimeClasspath": { - "ch.qos.logback:logback-classic": { - "locked": "1.5.12", - "transitive": [ - "org.springframework.boot:spring-boot-starter-logging" - ] - }, - "ch.qos.logback:logback-core": { - "locked": "1.5.12", - "transitive": [ - "ch.qos.logback:logback-classic" - ] - }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.graphql-java:graphql-java": { - "locked": "22.3", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.graphql-java:java-dataloader": { - "locked": "3.3.0", - "transitive": [ - "com.graphql-java:graphql-java", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.jayway.jsonpath:json-path": { - "locked": "2.9.0", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "com.netflix.graphql.dgs:graphql-dgs-platform": { - "project": true - }, - "com.vaadin.external.google:android-json": { - "locked": "0.0.20131108.vaadin1", - "transitive": [ - "org.skyscreamer:jsonassert" - ] - }, - "io.micrometer:micrometer-commons": { - "locked": "1.13.8", - "transitive": [ - "io.micrometer:micrometer-observation" - ] - }, - "io.micrometer:micrometer-observation": { - "locked": "1.13.8", - "transitive": [ - "org.springframework:spring-context" - ] - }, - "io.mockk:mockk": { - "locked": "1.13.13" - }, - "io.mockk:mockk-agent": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-jvm" - ] - }, - "io.mockk:mockk-agent-api": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "io.mockk:mockk-jvm" - ] - }, - "io.mockk:mockk-agent-api-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-agent-api" - ] - }, - "io.mockk:mockk-agent-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-agent" - ] - }, - "io.mockk:mockk-core": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "io.mockk:mockk-dsl-jvm", - "io.mockk:mockk-jvm" - ] - }, - "io.mockk:mockk-core-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-core" - ] - }, - "io.mockk:mockk-dsl": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-jvm" - ] - }, - "io.mockk:mockk-dsl-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-dsl" - ] - }, - "io.mockk:mockk-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk" - ] - }, - "jakarta.activation:jakarta.activation-api": { - "locked": "2.1.3", - "transitive": [ - "jakarta.xml.bind:jakarta.xml.bind-api" - ] - }, - "jakarta.annotation:jakarta.annotation-api": { - "locked": "2.1.1", - "transitive": [ - "org.springframework.boot:spring-boot-starter" - ] - }, - "jakarta.xml.bind:jakarta.xml.bind-api": { - "locked": "4.0.2", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "junit:junit": { - "locked": "4.13.2", - "transitive": [ - "io.mockk:mockk-jvm" - ] - }, - "net.bytebuddy:byte-buddy": { - "locked": "1.14.19", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "org.assertj:assertj-core", - "org.mockito:mockito-core" - ] - }, - "net.bytebuddy:byte-buddy-agent": { - "locked": "1.14.19", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "org.mockito:mockito-core" - ] - }, - "net.datafaker:datafaker": { - "locked": "2.4.2" - }, - "net.minidev:accessors-smart": { - "locked": "2.5.1", - "transitive": [ - "net.minidev:json-smart" - ] - }, - "net.minidev:json-smart": { - "locked": "2.5.1", - "transitive": [ - "com.jayway.jsonpath:json-path", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "net.sf.jopt-simple:jopt-simple": { - "locked": "5.0.4", - "transitive": [ - "org.openjdk.jmh:jmh-core" - ] - }, - "org.apache.commons:commons-math3": { - "locked": "3.6.1", - "transitive": [ - "org.openjdk.jmh:jmh-core" - ] - }, - "org.apache.logging.log4j:log4j-api": { - "locked": "2.23.1", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform", - "org.apache.logging.log4j:log4j-to-slf4j" - ] - }, - "org.apache.logging.log4j:log4j-to-slf4j": { - "locked": "2.23.1", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform", - "org.springframework.boot:spring-boot-starter-logging" - ] - }, - "org.assertj:assertj-core": { - "locked": "3.25.3", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.awaitility:awaitility": { - "locked": "4.2.2", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.hamcrest:hamcrest": { - "locked": "2.2", - "transitive": [ - "org.awaitility:awaitility", - "org.hamcrest:hamcrest-core", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.hamcrest:hamcrest-core": { - "locked": "2.2", - "transitive": [ - "junit:junit" - ] - }, - "org.jetbrains.kotlin:kotlin-reflect": { - "locked": "2.1.0", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "io.mockk:mockk-core-jvm", - "io.mockk:mockk-dsl-jvm", - "io.mockk:mockk-jvm" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0", - "transitive": [ - "io.mockk:mockk-agent-api-jvm", - "io.mockk:mockk-agent-jvm", - "io.mockk:mockk-core-jvm", - "io.mockk:mockk-dsl-jvm", - "io.mockk:mockk-jvm", - "org.jetbrains.kotlin:kotlin-reflect", - "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" - ] - }, - "org.jetbrains.kotlinx:kotlinx-coroutines-bom": { - "locked": "1.8.1", - "transitive": [ - "io.mockk:mockk-dsl-jvm", - "io.mockk:mockk-jvm", - "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" - ] - }, - "org.jetbrains.kotlinx:kotlinx-coroutines-core": { - "locked": "1.8.1", - "transitive": [ - "io.mockk:mockk-dsl-jvm", - "io.mockk:mockk-jvm", - "org.jetbrains.kotlinx:kotlinx-coroutines-bom" - ] - }, - "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm": { - "locked": "1.8.1", - "transitive": [ - "org.jetbrains.kotlinx:kotlinx-coroutines-bom", - "org.jetbrains.kotlinx:kotlinx-coroutines-core" - ] - }, - "org.jetbrains:annotations": { - "locked": "23.0.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib", - "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" - ] - }, - "org.junit.jupiter:junit-jupiter": { - "locked": "5.10.5", - "transitive": [ - "io.mockk:mockk-jvm", - "org.junit:junit-bom", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.junit.jupiter:junit-jupiter-api": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit.jupiter:junit-jupiter-engine", - "org.junit.jupiter:junit-jupiter-params", - "org.junit:junit-bom", - "org.mockito:mockito-junit-jupiter" - ] - }, - "org.junit.jupiter:junit-jupiter-engine": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit:junit-bom" - ] - }, - "org.junit.jupiter:junit-jupiter-params": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit:junit-bom" - ] - }, - "org.junit.platform:junit-platform-commons": { - "locked": "1.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter-api", - "org.junit.platform:junit-platform-engine", - "org.junit:junit-bom" - ] - }, - "org.junit.platform:junit-platform-engine": { - "locked": "1.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter-engine", - "org.junit:junit-bom" - ] - }, - "org.junit:junit-bom": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit.jupiter:junit-jupiter-api", - "org.junit.jupiter:junit-jupiter-engine", - "org.junit.jupiter:junit-jupiter-params", - "org.junit.platform:junit-platform-commons", - "org.junit.platform:junit-platform-engine" - ] - }, - "org.mockito:mockito-core": { - "locked": "5.11.0", - "transitive": [ - "org.mockito:mockito-junit-jupiter", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.mockito:mockito-junit-jupiter": { - "locked": "5.11.0", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.objenesis:objenesis": { - "locked": "3.3", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "org.mockito:mockito-core" - ] - }, - "org.openjdk.jmh:jmh-core": { - "locked": "1.37", - "transitive": [ - "org.openjdk.jmh:jmh-generator-annprocess", - "org.openjdk.jmh:jmh-generator-asm", - "org.openjdk.jmh:jmh-generator-bytecode", - "org.openjdk.jmh:jmh-generator-reflection" - ] - }, - "org.openjdk.jmh:jmh-generator-annprocess": { - "locked": "1.37" - }, - "org.openjdk.jmh:jmh-generator-asm": { - "locked": "1.36", - "transitive": [ - "org.openjdk.jmh:jmh-generator-bytecode" - ] - }, - "org.openjdk.jmh:jmh-generator-bytecode": { - "locked": "1.36" - }, - "org.openjdk.jmh:jmh-generator-reflection": { - "locked": "1.36", - "transitive": [ - "org.openjdk.jmh:jmh-generator-asm", - "org.openjdk.jmh:jmh-generator-bytecode" - ] - }, - "org.opentest4j:opentest4j": { - "locked": "1.3.0", - "transitive": [ - "org.junit.jupiter:junit-jupiter-api", - "org.junit.platform:junit-platform-engine" - ] - }, - "org.ow2.asm:asm": { - "locked": "9.6", - "transitive": [ - "net.minidev:accessors-smart", - "org.openjdk.jmh:jmh-generator-asm" - ] - }, - "org.reactivestreams:reactive-streams": { - "locked": "1.0.4", - "transitive": [ - "com.graphql-java:graphql-java" - ] - }, - "org.skyscreamer:jsonassert": { - "locked": "1.5.3", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.slf4j:jul-to-slf4j": { - "locked": "2.0.16", - "transitive": [ - "org.springframework.boot:spring-boot-starter-logging" - ] - }, - "org.slf4j:slf4j-api": { - "locked": "2.0.16", - "transitive": [ - "ch.qos.logback:logback-classic", - "com.graphql-java:java-dataloader", - "com.jayway.jsonpath:json-path", - "org.apache.logging.log4j:log4j-to-slf4j", - "org.slf4j:jul-to-slf4j" - ] - }, - "org.springframework.boot:spring-boot": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-autoconfigure", - "org.springframework.boot:spring-boot-starter", - "org.springframework.boot:spring-boot-test", - "org.springframework.boot:spring-boot-test-autoconfigure" - ] - }, - "org.springframework.boot:spring-boot-autoconfigure": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter", - "org.springframework.boot:spring-boot-test-autoconfigure" - ] - }, - "org.springframework.boot:spring-boot-starter": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.springframework.boot:spring-boot-starter-logging": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter" - ] - }, - "org.springframework.boot:spring-boot-starter-test": { - "locked": "3.3.6" - }, - "org.springframework.boot:spring-boot-test": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test", - "org.springframework.boot:spring-boot-test-autoconfigure" - ] - }, - "org.springframework.boot:spring-boot-test-autoconfigure": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.springframework:spring-aop": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-context" - ] - }, - "org.springframework:spring-beans": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-aop", - "org.springframework:spring-context" - ] - }, - "org.springframework:spring-context": { - "locked": "6.1.15", - "transitive": [ - "org.springframework.boot:spring-boot" - ] - }, - "org.springframework:spring-core": { - "locked": "6.1.15", - "transitive": [ - "org.springframework.boot:spring-boot", - "org.springframework.boot:spring-boot-starter", - "org.springframework.boot:spring-boot-starter-test", - "org.springframework:spring-aop", - "org.springframework:spring-beans", - "org.springframework:spring-context", - "org.springframework:spring-expression", - "org.springframework:spring-test" - ] - }, - "org.springframework:spring-expression": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-context" - ] - }, - "org.springframework:spring-jcl": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-core" - ] - }, - "org.springframework:spring-test": { - "locked": "6.1.15", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test", - "org.springframework.boot:spring-boot-test" - ] - }, - "org.xmlunit:xmlunit-core": { - "locked": "2.9.1", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker", - "org.springframework.boot:spring-boot-starter" - ] - } - }, - "kotlinBuildToolsApiClasspath": { - "org.jetbrains.intellij.deps:trove4j": { - "locked": "1.0.20200330", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-build-common": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-runner" - ] - }, - "org.jetbrains.kotlin:kotlin-build-tools-api": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-build-tools-impl" - ] - }, - "org.jetbrains.kotlin:kotlin-build-tools-impl": { - "locked": "2.1.0" - }, - "org.jetbrains.kotlin:kotlin-compiler-embeddable": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-build-tools-impl", - "org.jetbrains.kotlin:kotlin-compiler-runner" - ] - }, - "org.jetbrains.kotlin:kotlin-compiler-runner": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-build-tools-impl" - ] - }, - "org.jetbrains.kotlin:kotlin-daemon-client": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-runner" - ] - }, - "org.jetbrains.kotlin:kotlin-daemon-embeddable": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-reflect": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-script-runtime": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable", - "org.jetbrains.kotlin:kotlin-scripting-jvm" - ] - }, - "org.jetbrains.kotlin:kotlin-scripting-common": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable", - "org.jetbrains.kotlin:kotlin-scripting-jvm" - ] - }, - "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-build-tools-impl" - ] - }, - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-build-tools-impl", - "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-scripting-jvm": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-build-tools-impl", - "org.jetbrains.kotlin:kotlin-compiler-embeddable", - "org.jetbrains.kotlin:kotlin-daemon-client", - "org.jetbrains.kotlin:kotlin-scripting-common", - "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable", - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable", - "org.jetbrains.kotlin:kotlin-scripting-jvm" - ] - }, - "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm": { - "locked": "1.8.1", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable", - "org.jetbrains.kotlin:kotlin-compiler-runner" - ] - }, - "org.jetbrains:annotations": { - "locked": "13.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib" - ] - } - }, - "kotlinCompilerClasspath": { - "org.jetbrains.intellij.deps:trove4j": { - "locked": "1.0.20200330", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-compiler-embeddable": { - "locked": "2.1.0" - }, - "org.jetbrains.kotlin:kotlin-daemon-embeddable": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-reflect": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-script-runtime": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm": { - "locked": "1.8.1", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains:annotations": { - "locked": "13.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib" - ] - } - }, - "kotlinCompilerPluginClasspathJmh": { - "org.jetbrains.kotlin:kotlin-script-runtime": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-jvm" - ] - }, - "org.jetbrains.kotlin:kotlin-scripting-common": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable", - "org.jetbrains.kotlin:kotlin-scripting-jvm" - ] - }, - "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable": { - "locked": "2.1.0" - }, - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-scripting-jvm": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-common", - "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable", - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable", - "org.jetbrains.kotlin:kotlin-scripting-jvm" - ] - }, - "org.jetbrains:annotations": { - "locked": "13.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib" - ] - } - }, - "kotlinCompilerPluginClasspathMain": { - "org.jetbrains.kotlin:kotlin-script-runtime": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-jvm" - ] - }, - "org.jetbrains.kotlin:kotlin-scripting-common": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable", - "org.jetbrains.kotlin:kotlin-scripting-jvm" - ] - }, - "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable": { - "locked": "2.1.0" - }, - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-scripting-jvm": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-common", - "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable", - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable", - "org.jetbrains.kotlin:kotlin-scripting-jvm" - ] - }, - "org.jetbrains:annotations": { - "locked": "13.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib" - ] - } - }, - "kotlinCompilerPluginClasspathTest": { - "org.jetbrains.kotlin:kotlin-script-runtime": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-jvm" - ] - }, - "org.jetbrains.kotlin:kotlin-scripting-common": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable", - "org.jetbrains.kotlin:kotlin-scripting-jvm" - ] - }, - "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable": { - "locked": "2.1.0" - }, - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-scripting-jvm": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-scripting-common", - "org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable", - "org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable", - "org.jetbrains.kotlin:kotlin-scripting-jvm" - ] - }, - "org.jetbrains:annotations": { - "locked": "13.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib" - ] - } - }, - "kotlinKlibCommonizerClasspath": { - "org.jetbrains.intellij.deps:trove4j": { - "locked": "1.0.20200330", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-compiler-embeddable": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-klib-commonizer-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-daemon-embeddable": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-klib-commonizer-embeddable": { - "locked": "2.1.0" - }, - "org.jetbrains.kotlin:kotlin-reflect": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-script-runtime": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable", - "org.jetbrains.kotlin:kotlin-klib-commonizer-embeddable" - ] - }, - "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm": { - "locked": "1.8.1", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains:annotations": { - "locked": "13.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib" - ] - } - }, - "ktlint": { - "ch.qos.logback:logback-classic": { - "locked": "1.5.12", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli" - ] - }, - "ch.qos.logback:logback-core": { - "locked": "1.5.12", - "transitive": [ - "ch.qos.logback:logback-classic" - ] - }, - "com.github.ajalt.clikt:clikt": { - "locked": "5.0.2", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli" - ] - }, - "com.github.ajalt.clikt:clikt-core": { - "locked": "5.0.2", - "transitive": [ - "com.github.ajalt.clikt:clikt-jvm" - ] - }, - "com.github.ajalt.clikt:clikt-core-jvm": { - "locked": "5.0.2", - "transitive": [ - "com.github.ajalt.clikt:clikt-core" - ] - }, - "com.github.ajalt.clikt:clikt-jvm": { - "locked": "5.0.2", - "transitive": [ - "com.github.ajalt.clikt:clikt" - ] - }, - "com.github.ajalt.colormath:colormath": { - "locked": "3.6.0", - "transitive": [ - "com.github.ajalt.mordant:mordant-core-jvm" - ] - }, - "com.github.ajalt.colormath:colormath-jvm": { - "locked": "3.6.0", - "transitive": [ - "com.github.ajalt.colormath:colormath" - ] - }, - "com.github.ajalt.mordant:mordant": { - "locked": "3.0.1", - "transitive": [ - "com.github.ajalt.clikt:clikt-jvm" - ] - }, - "com.github.ajalt.mordant:mordant-core": { - "locked": "3.0.1", - "transitive": [ - "com.github.ajalt.mordant:mordant-jvm", - "com.github.ajalt.mordant:mordant-jvm-ffm-jvm", - "com.github.ajalt.mordant:mordant-jvm-graal-ffi-jvm", - "com.github.ajalt.mordant:mordant-jvm-jna-jvm" - ] - }, - "com.github.ajalt.mordant:mordant-core-jvm": { - "locked": "3.0.1", - "transitive": [ - "com.github.ajalt.mordant:mordant-core" - ] - }, - "com.github.ajalt.mordant:mordant-jvm": { - "locked": "3.0.1", - "transitive": [ - "com.github.ajalt.mordant:mordant" - ] - }, - "com.github.ajalt.mordant:mordant-jvm-ffm": { - "locked": "3.0.1", - "transitive": [ - "com.github.ajalt.mordant:mordant-jvm" - ] - }, - "com.github.ajalt.mordant:mordant-jvm-ffm-jvm": { - "locked": "3.0.1", - "transitive": [ - "com.github.ajalt.mordant:mordant-jvm-ffm" - ] - }, - "com.github.ajalt.mordant:mordant-jvm-graal-ffi": { - "locked": "3.0.1", - "transitive": [ - "com.github.ajalt.mordant:mordant-jvm" - ] - }, - "com.github.ajalt.mordant:mordant-jvm-graal-ffi-jvm": { - "locked": "3.0.1", - "transitive": [ - "com.github.ajalt.mordant:mordant-jvm-graal-ffi" - ] - }, - "com.github.ajalt.mordant:mordant-jvm-jna": { - "locked": "3.0.1", - "transitive": [ - "com.github.ajalt.mordant:mordant-jvm" - ] - }, - "com.github.ajalt.mordant:mordant-jvm-jna-jvm": { - "locked": "3.0.1", - "transitive": [ - "com.github.ajalt.mordant:mordant-jvm-jna" - ] - }, - "com.pinterest.ktlint:ktlint-cli": { - "locked": "1.5.0" - }, - "com.pinterest.ktlint:ktlint-cli-reporter-baseline": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli" - ] - }, - "com.pinterest.ktlint:ktlint-cli-reporter-checkstyle": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli" - ] - }, - "com.pinterest.ktlint:ktlint-cli-reporter-core": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli", - "com.pinterest.ktlint:ktlint-cli-reporter-baseline", - "com.pinterest.ktlint:ktlint-cli-reporter-checkstyle", - "com.pinterest.ktlint:ktlint-cli-reporter-format", - "com.pinterest.ktlint:ktlint-cli-reporter-html", - "com.pinterest.ktlint:ktlint-cli-reporter-json", - "com.pinterest.ktlint:ktlint-cli-reporter-plain", - "com.pinterest.ktlint:ktlint-cli-reporter-plain-summary", - "com.pinterest.ktlint:ktlint-cli-reporter-sarif" - ] - }, - "com.pinterest.ktlint:ktlint-cli-reporter-format": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli" - ] - }, - "com.pinterest.ktlint:ktlint-cli-reporter-html": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli" - ] - }, - "com.pinterest.ktlint:ktlint-cli-reporter-json": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli" - ] - }, - "com.pinterest.ktlint:ktlint-cli-reporter-plain": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli" - ] - }, - "com.pinterest.ktlint:ktlint-cli-reporter-plain-summary": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli" - ] - }, - "com.pinterest.ktlint:ktlint-cli-reporter-sarif": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli" - ] - }, - "com.pinterest.ktlint:ktlint-cli-ruleset-core": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-ruleset-standard" - ] - }, - "com.pinterest.ktlint:ktlint-logger": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli", - "com.pinterest.ktlint:ktlint-cli-reporter-baseline", - "com.pinterest.ktlint:ktlint-rule-engine", - "com.pinterest.ktlint:ktlint-rule-engine-core", - "com.pinterest.ktlint:ktlint-ruleset-standard" - ] - }, - "com.pinterest.ktlint:ktlint-rule-engine": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli" - ] - }, - "com.pinterest.ktlint:ktlint-rule-engine-core": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli-reporter-baseline", - "com.pinterest.ktlint:ktlint-cli-ruleset-core", - "com.pinterest.ktlint:ktlint-rule-engine", - "com.pinterest.ktlint:ktlint-ruleset-standard" - ] - }, - "com.pinterest.ktlint:ktlint-ruleset-standard": { - "locked": "1.5.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli" - ] - }, - "dev.drewhamilton.poko:poko-annotations": { - "locked": "0.18.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli", - "com.pinterest.ktlint:ktlint-cli-reporter-baseline", - "com.pinterest.ktlint:ktlint-cli-reporter-checkstyle", - "com.pinterest.ktlint:ktlint-cli-reporter-core", - "com.pinterest.ktlint:ktlint-cli-reporter-format", - "com.pinterest.ktlint:ktlint-cli-reporter-html", - "com.pinterest.ktlint:ktlint-cli-reporter-json", - "com.pinterest.ktlint:ktlint-cli-reporter-plain", - "com.pinterest.ktlint:ktlint-cli-reporter-plain-summary", - "com.pinterest.ktlint:ktlint-cli-reporter-sarif", - "com.pinterest.ktlint:ktlint-cli-ruleset-core", - "com.pinterest.ktlint:ktlint-logger", - "com.pinterest.ktlint:ktlint-rule-engine", - "com.pinterest.ktlint:ktlint-rule-engine-core", - "com.pinterest.ktlint:ktlint-ruleset-standard" - ] - }, - "dev.drewhamilton.poko:poko-annotations-jvm": { - "locked": "0.18.0", - "transitive": [ - "dev.drewhamilton.poko:poko-annotations" - ] - }, - "io.github.detekt.sarif4k:sarif4k": { - "locked": "0.6.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-cli-reporter-sarif" - ] - }, - "io.github.detekt.sarif4k:sarif4k-jvm": { - "locked": "0.6.0", - "transitive": [ - "io.github.detekt.sarif4k:sarif4k" - ] - }, - "io.github.oshai:kotlin-logging-jvm": { - "locked": "7.0.3", - "transitive": [ - "com.pinterest.ktlint:ktlint-logger" - ] - }, - "net.java.dev.jna:jna": { - "locked": "5.14.0", - "transitive": [ - "com.github.ajalt.mordant:mordant-jvm-jna-jvm" - ] - }, - "org.ec4j.core:ec4j-core": { - "locked": "1.1.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-rule-engine", - "com.pinterest.ktlint:ktlint-rule-engine-core" - ] - }, - "org.jetbrains.intellij.deps:trove4j": { - "locked": "1.0.20200330", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-compiler-embeddable": { - "locked": "2.1.0", - "transitive": [ - "com.pinterest.ktlint:ktlint-rule-engine", - "com.pinterest.ktlint:ktlint-rule-engine-core" - ] - }, - "org.jetbrains.kotlin:kotlin-daemon-embeddable": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-reflect": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-script-runtime": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0", - "transitive": [ - "com.github.ajalt.clikt:clikt-core-jvm", - "com.github.ajalt.clikt:clikt-jvm", - "com.github.ajalt.colormath:colormath-jvm", - "com.github.ajalt.mordant:mordant-core-jvm", - "com.github.ajalt.mordant:mordant-jvm", - "com.github.ajalt.mordant:mordant-jvm-ffm-jvm", - "com.github.ajalt.mordant:mordant-jvm-graal-ffi-jvm", - "com.github.ajalt.mordant:mordant-jvm-jna-jvm", - "com.pinterest.ktlint:ktlint-cli", - "com.pinterest.ktlint:ktlint-cli-reporter-baseline", - "com.pinterest.ktlint:ktlint-cli-reporter-checkstyle", - "com.pinterest.ktlint:ktlint-cli-reporter-core", - "com.pinterest.ktlint:ktlint-cli-reporter-format", - "com.pinterest.ktlint:ktlint-cli-reporter-html", - "com.pinterest.ktlint:ktlint-cli-reporter-json", - "com.pinterest.ktlint:ktlint-cli-reporter-plain", - "com.pinterest.ktlint:ktlint-cli-reporter-plain-summary", - "com.pinterest.ktlint:ktlint-cli-reporter-sarif", - "com.pinterest.ktlint:ktlint-cli-ruleset-core", - "com.pinterest.ktlint:ktlint-logger", - "com.pinterest.ktlint:ktlint-rule-engine", - "com.pinterest.ktlint:ktlint-rule-engine-core", - "com.pinterest.ktlint:ktlint-ruleset-standard", - "dev.drewhamilton.poko:poko-annotations-jvm", - "io.github.detekt.sarif4k:sarif4k-jvm", - "io.github.oshai:kotlin-logging-jvm", - "org.jetbrains.kotlin:kotlin-compiler-embeddable", - "org.jetbrains.kotlin:kotlin-stdlib-common", - "org.jetbrains.kotlinx:kotlinx-serialization-core-jvm", - "org.jetbrains.kotlinx:kotlinx-serialization-json-jvm" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib-common": { - "locked": "2.1.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib", - "org.jetbrains.kotlinx:kotlinx-serialization-core-jvm", - "org.jetbrains.kotlinx:kotlinx-serialization-json-jvm" - ] - }, - "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm": { - "locked": "1.8.1", - "transitive": [ - "org.jetbrains.kotlin:kotlin-compiler-embeddable" - ] - }, - "org.jetbrains.kotlinx:kotlinx-serialization-bom": { - "locked": "1.6.3", - "transitive": [ - "org.jetbrains.kotlinx:kotlinx-serialization-core-jvm", - "org.jetbrains.kotlinx:kotlinx-serialization-json-jvm" - ] - }, - "org.jetbrains.kotlinx:kotlinx-serialization-core": { - "locked": "1.6.3", - "transitive": [ - "org.jetbrains.kotlinx:kotlinx-serialization-bom", - "org.jetbrains.kotlinx:kotlinx-serialization-json-jvm" - ] - }, - "org.jetbrains.kotlinx:kotlinx-serialization-core-jvm": { - "locked": "1.6.3", - "transitive": [ - "org.jetbrains.kotlinx:kotlinx-serialization-bom", - "org.jetbrains.kotlinx:kotlinx-serialization-core" - ] - }, - "org.jetbrains.kotlinx:kotlinx-serialization-json": { - "locked": "1.6.3", - "transitive": [ - "io.github.detekt.sarif4k:sarif4k-jvm", - "org.jetbrains.kotlinx:kotlinx-serialization-bom" - ] - }, - "org.jetbrains.kotlinx:kotlinx-serialization-json-jvm": { - "locked": "1.6.3", - "transitive": [ - "org.jetbrains.kotlinx:kotlinx-serialization-bom", - "org.jetbrains.kotlinx:kotlinx-serialization-json" - ] - }, - "org.jetbrains:annotations": { - "locked": "13.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib" - ] - }, - "org.slf4j:slf4j-api": { - "locked": "2.0.16", - "transitive": [ - "ch.qos.logback:logback-classic" - ] - } - }, - "runtimeClasspath": { - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.graphql-java:graphql-java": { - "locked": "22.3", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.graphql-java:java-dataloader": { - "locked": "3.3.0", - "transitive": [ - "com.graphql-java:graphql-java", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.netflix.graphql.dgs:graphql-dgs-platform": { - "project": true - }, - "net.datafaker:datafaker": { - "locked": "2.4.2" - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0" - }, - "org.jetbrains:annotations": { - "locked": "13.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib" - ] - }, - "org.reactivestreams:reactive-streams": { - "locked": "1.0.4", - "transitive": [ - "com.graphql-java:graphql-java" - ] - }, - "org.slf4j:slf4j-api": { - "locked": "2.0.16", - "transitive": [ - "com.graphql-java:java-dataloader" - ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker" - ] - } - }, - "testCompileClasspath": { - "ch.qos.logback:logback-classic": { - "locked": "1.5.12", - "transitive": [ - "org.springframework.boot:spring-boot-starter-logging" - ] - }, - "ch.qos.logback:logback-core": { - "locked": "1.5.12", - "transitive": [ - "ch.qos.logback:logback-classic" - ] - }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.graphql-java:graphql-java": { - "locked": "22.3", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.graphql-java:java-dataloader": { - "locked": "3.3.0", - "transitive": [ - "com.graphql-java:graphql-java", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.jayway.jsonpath:json-path": { - "locked": "2.9.0", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "com.netflix.graphql.dgs:graphql-dgs-platform": { - "project": true - }, - "com.vaadin.external.google:android-json": { - "locked": "0.0.20131108.vaadin1", - "transitive": [ - "org.skyscreamer:jsonassert" - ] - }, - "io.micrometer:micrometer-commons": { - "locked": "1.13.8", - "transitive": [ - "io.micrometer:micrometer-observation" - ] - }, - "io.micrometer:micrometer-observation": { - "locked": "1.13.8", - "transitive": [ - "org.springframework:spring-context" - ] - }, - "io.mockk:mockk": { - "locked": "1.13.13" - }, - "io.mockk:mockk-agent": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-jvm" - ] - }, - "io.mockk:mockk-agent-api": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "io.mockk:mockk-jvm" - ] - }, - "io.mockk:mockk-agent-api-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-agent-api" - ] - }, - "io.mockk:mockk-agent-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-agent" - ] - }, - "io.mockk:mockk-core": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-jvm" - ] - }, - "io.mockk:mockk-core-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-core" - ] - }, - "io.mockk:mockk-dsl": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-jvm" - ] - }, - "io.mockk:mockk-dsl-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-dsl" - ] - }, - "io.mockk:mockk-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk" - ] - }, - "jakarta.activation:jakarta.activation-api": { - "locked": "2.1.3", - "transitive": [ - "jakarta.xml.bind:jakarta.xml.bind-api" - ] - }, - "jakarta.annotation:jakarta.annotation-api": { - "locked": "2.1.1", - "transitive": [ - "org.springframework.boot:spring-boot-starter" - ] - }, - "jakarta.xml.bind:jakarta.xml.bind-api": { - "locked": "4.0.2", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "net.bytebuddy:byte-buddy": { - "locked": "1.14.19", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "org.assertj:assertj-core", - "org.mockito:mockito-core" - ] - }, - "net.bytebuddy:byte-buddy-agent": { - "locked": "1.14.19", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "org.mockito:mockito-core" - ] - }, - "net.datafaker:datafaker": { - "locked": "2.4.2" - }, - "net.minidev:accessors-smart": { - "locked": "2.5.1", - "transitive": [ - "net.minidev:json-smart" - ] - }, - "net.minidev:json-smart": { - "locked": "2.5.1", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.apache.logging.log4j:log4j-api": { - "locked": "2.23.1", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform", - "org.apache.logging.log4j:log4j-to-slf4j" - ] - }, - "org.apache.logging.log4j:log4j-to-slf4j": { - "locked": "2.23.1", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform", - "org.springframework.boot:spring-boot-starter-logging" - ] - }, - "org.apiguardian:apiguardian-api": { - "locked": "1.1.2", - "transitive": [ - "org.junit.jupiter:junit-jupiter-api", - "org.junit.jupiter:junit-jupiter-params", - "org.junit.platform:junit-platform-commons" - ] - }, - "org.assertj:assertj-core": { - "locked": "3.25.3", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.awaitility:awaitility": { - "locked": "4.2.2", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.hamcrest:hamcrest": { - "locked": "2.2", - "transitive": [ - "org.awaitility:awaitility", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0", - "transitive": [ - "io.mockk:mockk-agent-api-jvm", - "io.mockk:mockk-agent-jvm", - "io.mockk:mockk-core-jvm", - "io.mockk:mockk-dsl-jvm", - "io.mockk:mockk-jvm" - ] - }, - "org.jetbrains:annotations": { - "locked": "13.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib" - ] - }, - "org.junit.jupiter:junit-jupiter": { - "locked": "5.10.5", - "transitive": [ - "org.junit:junit-bom", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.junit.jupiter:junit-jupiter-api": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit.jupiter:junit-jupiter-params", - "org.junit:junit-bom" - ] - }, - "org.junit.jupiter:junit-jupiter-params": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit:junit-bom" - ] - }, - "org.junit.platform:junit-platform-commons": { - "locked": "1.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter-api", - "org.junit:junit-bom" - ] - }, - "org.junit:junit-bom": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit.jupiter:junit-jupiter-api", - "org.junit.jupiter:junit-jupiter-params", - "org.junit.platform:junit-platform-commons" - ] - }, - "org.mockito:mockito-core": { - "locked": "5.11.0", - "transitive": [ - "org.mockito:mockito-junit-jupiter", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.mockito:mockito-junit-jupiter": { - "locked": "5.11.0", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.objenesis:objenesis": { - "locked": "3.3", - "transitive": [ - "io.mockk:mockk-agent-jvm" - ] - }, - "org.opentest4j:opentest4j": { - "locked": "1.3.0", - "transitive": [ - "org.junit.jupiter:junit-jupiter-api" - ] - }, - "org.ow2.asm:asm": { - "locked": "9.6", - "transitive": [ - "net.minidev:accessors-smart" - ] - }, - "org.reactivestreams:reactive-streams": { - "locked": "1.0.4", - "transitive": [ - "com.graphql-java:graphql-java" - ] - }, - "org.skyscreamer:jsonassert": { - "locked": "1.5.3", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.slf4j:jul-to-slf4j": { - "locked": "2.0.16", - "transitive": [ - "org.springframework.boot:spring-boot-starter-logging" - ] - }, - "org.slf4j:slf4j-api": { - "locked": "2.0.16", - "transitive": [ - "ch.qos.logback:logback-classic", - "com.graphql-java:java-dataloader", - "org.apache.logging.log4j:log4j-to-slf4j", - "org.slf4j:jul-to-slf4j" - ] - }, - "org.springframework.boot:spring-boot": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-autoconfigure", - "org.springframework.boot:spring-boot-starter", - "org.springframework.boot:spring-boot-test", - "org.springframework.boot:spring-boot-test-autoconfigure" - ] - }, - "org.springframework.boot:spring-boot-autoconfigure": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter", - "org.springframework.boot:spring-boot-test-autoconfigure" - ] - }, - "org.springframework.boot:spring-boot-starter": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.springframework.boot:spring-boot-starter-logging": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter" - ] - }, - "org.springframework.boot:spring-boot-starter-test": { - "locked": "3.3.6" - }, - "org.springframework.boot:spring-boot-test": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test", - "org.springframework.boot:spring-boot-test-autoconfigure" - ] - }, - "org.springframework.boot:spring-boot-test-autoconfigure": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.springframework:spring-aop": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-context" - ] - }, - "org.springframework:spring-beans": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-aop", - "org.springframework:spring-context" - ] - }, - "org.springframework:spring-context": { - "locked": "6.1.15", - "transitive": [ - "org.springframework.boot:spring-boot" - ] - }, - "org.springframework:spring-core": { - "locked": "6.1.15", - "transitive": [ - "org.springframework.boot:spring-boot", - "org.springframework.boot:spring-boot-starter", - "org.springframework.boot:spring-boot-starter-test", - "org.springframework:spring-aop", - "org.springframework:spring-beans", - "org.springframework:spring-context", - "org.springframework:spring-expression", - "org.springframework:spring-test" - ] - }, - "org.springframework:spring-expression": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-context" - ] - }, - "org.springframework:spring-jcl": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-core" - ] - }, - "org.springframework:spring-test": { - "locked": "6.1.15", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test", - "org.springframework.boot:spring-boot-test" - ] - }, - "org.xmlunit:xmlunit-core": { - "locked": "2.9.1", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker", - "org.springframework.boot:spring-boot-starter" - ] - } - }, - "testImplementationDependenciesMetadata": { - "ch.qos.logback:logback-classic": { - "locked": "1.5.12", - "transitive": [ - "org.springframework.boot:spring-boot-starter-logging" - ] - }, - "ch.qos.logback:logback-core": { - "locked": "1.5.12", - "transitive": [ - "ch.qos.logback:logback-classic" - ] - }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.graphql-java:graphql-java": { - "locked": "22.3", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.graphql-java:java-dataloader": { - "locked": "3.3.0", - "transitive": [ - "com.graphql-java:graphql-java", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.jayway.jsonpath:json-path": { - "locked": "2.9.0", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "com.netflix.graphql.dgs:graphql-dgs-platform": { - "project": true - }, - "com.vaadin.external.google:android-json": { - "locked": "0.0.20131108.vaadin1", - "transitive": [ - "org.skyscreamer:jsonassert" - ] - }, - "io.micrometer:micrometer-commons": { - "locked": "1.13.8", - "transitive": [ - "io.micrometer:micrometer-observation" - ] - }, - "io.micrometer:micrometer-observation": { - "locked": "1.13.8", - "transitive": [ - "org.springframework:spring-context" - ] - }, - "io.mockk:mockk": { - "locked": "1.13.13" - }, - "io.mockk:mockk-agent": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk" - ] - }, - "io.mockk:mockk-agent-api": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk", - "io.mockk:mockk-agent" - ] - }, - "io.mockk:mockk-core": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk" - ] - }, - "io.mockk:mockk-dsl": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk" - ] - }, - "jakarta.activation:jakarta.activation-api": { - "locked": "2.1.3", - "transitive": [ - "jakarta.xml.bind:jakarta.xml.bind-api" - ] - }, - "jakarta.annotation:jakarta.annotation-api": { - "locked": "2.1.1", - "transitive": [ - "org.springframework.boot:spring-boot-starter" - ] - }, - "jakarta.xml.bind:jakarta.xml.bind-api": { - "locked": "4.0.2", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "net.bytebuddy:byte-buddy": { - "locked": "1.14.19", - "transitive": [ - "org.assertj:assertj-core", - "org.mockito:mockito-core" - ] - }, - "net.bytebuddy:byte-buddy-agent": { - "locked": "1.14.19", - "transitive": [ - "org.mockito:mockito-core" - ] - }, - "net.datafaker:datafaker": { - "locked": "2.4.2" - }, - "net.minidev:accessors-smart": { - "locked": "2.5.1", - "transitive": [ - "net.minidev:json-smart" - ] - }, - "net.minidev:json-smart": { - "locked": "2.5.1", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.apache.logging.log4j:log4j-api": { - "locked": "2.23.1", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform", - "org.apache.logging.log4j:log4j-to-slf4j" - ] - }, - "org.apache.logging.log4j:log4j-to-slf4j": { - "locked": "2.23.1", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform", - "org.springframework.boot:spring-boot-starter-logging" - ] - }, - "org.apiguardian:apiguardian-api": { - "locked": "1.1.2", - "transitive": [ - "org.junit.jupiter:junit-jupiter-api", - "org.junit.jupiter:junit-jupiter-params", - "org.junit.platform:junit-platform-commons" - ] - }, - "org.assertj:assertj-core": { - "locked": "3.25.3", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.awaitility:awaitility": { - "locked": "4.2.2", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.hamcrest:hamcrest": { - "locked": "2.2", - "transitive": [ - "org.awaitility:awaitility", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0", - "transitive": [ - "io.mockk:mockk", - "io.mockk:mockk-agent", - "io.mockk:mockk-agent-api", - "io.mockk:mockk-core", - "io.mockk:mockk-dsl" - ] - }, - "org.junit.jupiter:junit-jupiter": { - "locked": "5.10.5", - "transitive": [ - "org.junit:junit-bom", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.junit.jupiter:junit-jupiter-api": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit.jupiter:junit-jupiter-params", - "org.junit:junit-bom" - ] - }, - "org.junit.jupiter:junit-jupiter-params": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit:junit-bom" - ] - }, - "org.junit.platform:junit-platform-commons": { - "locked": "1.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter-api", - "org.junit:junit-bom" - ] - }, - "org.junit:junit-bom": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit.jupiter:junit-jupiter-api", - "org.junit.jupiter:junit-jupiter-params", - "org.junit.platform:junit-platform-commons" - ] - }, - "org.mockito:mockito-core": { - "locked": "5.11.0", - "transitive": [ - "org.mockito:mockito-junit-jupiter", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.mockito:mockito-junit-jupiter": { - "locked": "5.11.0", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.opentest4j:opentest4j": { - "locked": "1.3.0", - "transitive": [ - "org.junit.jupiter:junit-jupiter-api" - ] - }, - "org.ow2.asm:asm": { - "locked": "9.6", - "transitive": [ - "net.minidev:accessors-smart" - ] - }, - "org.reactivestreams:reactive-streams": { - "locked": "1.0.4", - "transitive": [ - "com.graphql-java:graphql-java" - ] - }, - "org.skyscreamer:jsonassert": { - "locked": "1.5.3", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.slf4j:jul-to-slf4j": { - "locked": "2.0.16", - "transitive": [ - "org.springframework.boot:spring-boot-starter-logging" - ] - }, - "org.slf4j:slf4j-api": { - "locked": "2.0.16", - "transitive": [ - "ch.qos.logback:logback-classic", - "com.graphql-java:java-dataloader", - "org.apache.logging.log4j:log4j-to-slf4j", - "org.slf4j:jul-to-slf4j" - ] - }, - "org.springframework.boot:spring-boot": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-autoconfigure", - "org.springframework.boot:spring-boot-starter", - "org.springframework.boot:spring-boot-test", - "org.springframework.boot:spring-boot-test-autoconfigure" - ] - }, - "org.springframework.boot:spring-boot-autoconfigure": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter", - "org.springframework.boot:spring-boot-test-autoconfigure" - ] - }, - "org.springframework.boot:spring-boot-starter": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.springframework.boot:spring-boot-starter-logging": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter" - ] - }, - "org.springframework.boot:spring-boot-starter-test": { - "locked": "3.3.6" - }, - "org.springframework.boot:spring-boot-test": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test", - "org.springframework.boot:spring-boot-test-autoconfigure" - ] - }, - "org.springframework.boot:spring-boot-test-autoconfigure": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.springframework:spring-aop": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-context" - ] - }, - "org.springframework:spring-beans": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-aop", - "org.springframework:spring-context" - ] - }, - "org.springframework:spring-context": { - "locked": "6.1.15", - "transitive": [ - "org.springframework.boot:spring-boot" - ] - }, - "org.springframework:spring-core": { - "locked": "6.1.15", - "transitive": [ - "org.springframework.boot:spring-boot", - "org.springframework.boot:spring-boot-starter", - "org.springframework.boot:spring-boot-starter-test", - "org.springframework:spring-aop", - "org.springframework:spring-beans", - "org.springframework:spring-context", - "org.springframework:spring-expression", - "org.springframework:spring-test" - ] - }, - "org.springframework:spring-expression": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-context" - ] - }, - "org.springframework:spring-jcl": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-core" - ] - }, - "org.springframework:spring-test": { - "locked": "6.1.15", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test", - "org.springframework.boot:spring-boot-test" - ] - }, - "org.xmlunit:xmlunit-core": { - "locked": "2.9.1", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker", - "org.springframework.boot:spring-boot-starter" - ] - } - }, - "testRuntimeClasspath": { - "ch.qos.logback:logback-classic": { - "locked": "1.5.12", - "transitive": [ - "org.springframework.boot:spring-boot-starter-logging" - ] - }, - "ch.qos.logback:logback-core": { - "locked": "1.5.12", - "transitive": [ - "ch.qos.logback:logback-classic" - ] - }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, - "com.graphql-java:graphql-java": { - "locked": "22.3", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.graphql-java:java-dataloader": { - "locked": "3.3.0", - "transitive": [ - "com.graphql-java:graphql-java", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, - "com.jayway.jsonpath:json-path": { - "locked": "2.9.0", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "com.netflix.graphql.dgs:graphql-dgs-platform": { - "project": true - }, - "com.vaadin.external.google:android-json": { - "locked": "0.0.20131108.vaadin1", - "transitive": [ - "org.skyscreamer:jsonassert" - ] - }, - "io.micrometer:micrometer-commons": { - "locked": "1.13.8", - "transitive": [ - "io.micrometer:micrometer-observation" - ] - }, - "io.micrometer:micrometer-observation": { - "locked": "1.13.8", - "transitive": [ - "org.springframework:spring-context" - ] - }, - "io.mockk:mockk": { - "locked": "1.13.13" - }, - "io.mockk:mockk-agent": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-jvm" - ] - }, - "io.mockk:mockk-agent-api": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "io.mockk:mockk-jvm" - ] - }, - "io.mockk:mockk-agent-api-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-agent-api" - ] - }, - "io.mockk:mockk-agent-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-agent" - ] - }, - "io.mockk:mockk-core": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "io.mockk:mockk-dsl-jvm", - "io.mockk:mockk-jvm" - ] - }, - "io.mockk:mockk-core-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-core" - ] - }, - "io.mockk:mockk-dsl": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-jvm" - ] - }, - "io.mockk:mockk-dsl-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk-dsl" - ] - }, - "io.mockk:mockk-jvm": { - "locked": "1.13.13", - "transitive": [ - "io.mockk:mockk" - ] - }, - "jakarta.activation:jakarta.activation-api": { - "locked": "2.1.3", - "transitive": [ - "jakarta.xml.bind:jakarta.xml.bind-api" - ] - }, - "jakarta.annotation:jakarta.annotation-api": { - "locked": "2.1.1", - "transitive": [ - "org.springframework.boot:spring-boot-starter" - ] - }, - "jakarta.xml.bind:jakarta.xml.bind-api": { - "locked": "4.0.2", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "junit:junit": { - "locked": "4.13.2", - "transitive": [ - "io.mockk:mockk-jvm" - ] - }, - "net.bytebuddy:byte-buddy": { - "locked": "1.14.19", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "org.assertj:assertj-core", - "org.mockito:mockito-core" - ] - }, - "net.bytebuddy:byte-buddy-agent": { - "locked": "1.14.19", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "org.mockito:mockito-core" - ] - }, - "net.datafaker:datafaker": { - "locked": "2.4.2" - }, - "net.minidev:accessors-smart": { - "locked": "2.5.1", - "transitive": [ - "net.minidev:json-smart" - ] - }, - "net.minidev:json-smart": { - "locked": "2.5.1", - "transitive": [ - "com.jayway.jsonpath:json-path", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.apache.logging.log4j:log4j-api": { - "locked": "2.23.1", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform", - "org.apache.logging.log4j:log4j-to-slf4j" - ] - }, - "org.apache.logging.log4j:log4j-to-slf4j": { - "locked": "2.23.1", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform", - "org.springframework.boot:spring-boot-starter-logging" - ] - }, - "org.assertj:assertj-core": { - "locked": "3.25.3", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.awaitility:awaitility": { - "locked": "4.2.2", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.hamcrest:hamcrest": { - "locked": "2.2", - "transitive": [ - "org.awaitility:awaitility", - "org.hamcrest:hamcrest-core", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.hamcrest:hamcrest-core": { - "locked": "2.2", - "transitive": [ - "junit:junit" - ] - }, - "org.jetbrains.kotlin:kotlin-reflect": { - "locked": "2.1.0", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "io.mockk:mockk-core-jvm", - "io.mockk:mockk-dsl-jvm", - "io.mockk:mockk-jvm" - ] - }, - "org.jetbrains.kotlin:kotlin-stdlib": { - "locked": "2.1.0", - "transitive": [ - "io.mockk:mockk-agent-api-jvm", - "io.mockk:mockk-agent-jvm", - "io.mockk:mockk-core-jvm", - "io.mockk:mockk-dsl-jvm", - "io.mockk:mockk-jvm", - "org.jetbrains.kotlin:kotlin-reflect", - "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" - ] - }, - "org.jetbrains.kotlinx:kotlinx-coroutines-bom": { - "locked": "1.8.1", - "transitive": [ - "io.mockk:mockk-dsl-jvm", - "io.mockk:mockk-jvm", - "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" - ] - }, - "org.jetbrains.kotlinx:kotlinx-coroutines-core": { - "locked": "1.8.1", - "transitive": [ - "io.mockk:mockk-dsl-jvm", - "io.mockk:mockk-jvm", - "org.jetbrains.kotlinx:kotlinx-coroutines-bom" - ] - }, - "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm": { - "locked": "1.8.1", - "transitive": [ - "org.jetbrains.kotlinx:kotlinx-coroutines-bom", - "org.jetbrains.kotlinx:kotlinx-coroutines-core" - ] - }, - "org.jetbrains:annotations": { - "locked": "23.0.0", - "transitive": [ - "org.jetbrains.kotlin:kotlin-stdlib", - "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" - ] - }, - "org.junit.jupiter:junit-jupiter": { - "locked": "5.10.5", - "transitive": [ - "io.mockk:mockk-jvm", - "org.junit:junit-bom", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.junit.jupiter:junit-jupiter-api": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit.jupiter:junit-jupiter-engine", - "org.junit.jupiter:junit-jupiter-params", - "org.junit:junit-bom", - "org.mockito:mockito-junit-jupiter" - ] - }, - "org.junit.jupiter:junit-jupiter-engine": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit:junit-bom" - ] - }, - "org.junit.jupiter:junit-jupiter-params": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit:junit-bom" - ] - }, - "org.junit.platform:junit-platform-commons": { - "locked": "1.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter-api", - "org.junit.platform:junit-platform-engine", - "org.junit:junit-bom" - ] - }, - "org.junit.platform:junit-platform-engine": { - "locked": "1.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter-engine", - "org.junit:junit-bom" - ] - }, - "org.junit:junit-bom": { - "locked": "5.10.5", - "transitive": [ - "org.junit.jupiter:junit-jupiter", - "org.junit.jupiter:junit-jupiter-api", - "org.junit.jupiter:junit-jupiter-engine", - "org.junit.jupiter:junit-jupiter-params", - "org.junit.platform:junit-platform-commons", - "org.junit.platform:junit-platform-engine" - ] - }, - "org.mockito:mockito-core": { - "locked": "5.11.0", - "transitive": [ - "org.mockito:mockito-junit-jupiter", - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.mockito:mockito-junit-jupiter": { - "locked": "5.11.0", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.objenesis:objenesis": { - "locked": "3.3", - "transitive": [ - "io.mockk:mockk-agent-jvm", - "org.mockito:mockito-core" - ] - }, - "org.opentest4j:opentest4j": { - "locked": "1.3.0", - "transitive": [ - "org.junit.jupiter:junit-jupiter-api", - "org.junit.platform:junit-platform-engine" - ] - }, - "org.ow2.asm:asm": { - "locked": "9.6", - "transitive": [ - "net.minidev:accessors-smart" - ] - }, - "org.reactivestreams:reactive-streams": { - "locked": "1.0.4", - "transitive": [ - "com.graphql-java:graphql-java" - ] - }, - "org.skyscreamer:jsonassert": { - "locked": "1.5.3", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.slf4j:jul-to-slf4j": { - "locked": "2.0.16", - "transitive": [ - "org.springframework.boot:spring-boot-starter-logging" - ] - }, - "org.slf4j:slf4j-api": { - "locked": "2.0.16", - "transitive": [ - "ch.qos.logback:logback-classic", - "com.graphql-java:java-dataloader", - "com.jayway.jsonpath:json-path", - "org.apache.logging.log4j:log4j-to-slf4j", - "org.slf4j:jul-to-slf4j" - ] - }, - "org.springframework.boot:spring-boot": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-autoconfigure", - "org.springframework.boot:spring-boot-starter", - "org.springframework.boot:spring-boot-test", - "org.springframework.boot:spring-boot-test-autoconfigure" - ] - }, - "org.springframework.boot:spring-boot-autoconfigure": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter", - "org.springframework.boot:spring-boot-test-autoconfigure" - ] - }, - "org.springframework.boot:spring-boot-starter": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.springframework.boot:spring-boot-starter-logging": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter" - ] - }, - "org.springframework.boot:spring-boot-starter-test": { - "locked": "3.3.6" - }, - "org.springframework.boot:spring-boot-test": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test", - "org.springframework.boot:spring-boot-test-autoconfigure" - ] - }, - "org.springframework.boot:spring-boot-test-autoconfigure": { - "locked": "3.3.6", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.springframework:spring-aop": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-context" - ] - }, - "org.springframework:spring-beans": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-aop", - "org.springframework:spring-context" - ] - }, - "org.springframework:spring-context": { - "locked": "6.1.15", - "transitive": [ - "org.springframework.boot:spring-boot" - ] - }, - "org.springframework:spring-core": { - "locked": "6.1.15", - "transitive": [ - "org.springframework.boot:spring-boot", - "org.springframework.boot:spring-boot-starter", - "org.springframework.boot:spring-boot-starter-test", - "org.springframework:spring-aop", - "org.springframework:spring-beans", - "org.springframework:spring-context", - "org.springframework:spring-expression", - "org.springframework:spring-test" - ] - }, - "org.springframework:spring-expression": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-context" - ] - }, - "org.springframework:spring-jcl": { - "locked": "6.1.15", - "transitive": [ - "org.springframework:spring-core" - ] - }, - "org.springframework:spring-test": { - "locked": "6.1.15", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test", - "org.springframework.boot:spring-boot-test" - ] - }, - "org.xmlunit:xmlunit-core": { - "locked": "2.9.1", - "transitive": [ - "org.springframework.boot:spring-boot-starter-test" - ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker", - "org.springframework.boot:spring-boot-starter" - ] - } - } -} \ No newline at end of file diff --git a/graphql-dgs-mocking/src/main/kotlin/com/netflix/graphql/mocking/DgsSchemaTransformer.kt b/graphql-dgs-mocking/src/main/kotlin/com/netflix/graphql/mocking/DgsSchemaTransformer.kt deleted file mode 100644 index 1e9157faa..000000000 --- a/graphql-dgs-mocking/src/main/kotlin/com/netflix/graphql/mocking/DgsSchemaTransformer.kt +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2021 Netflix, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.netflix.graphql.mocking - -import graphql.schema.* - -class DgsSchemaTransformer { - fun transformSchemaWithMockProviders( - schema: GraphQLSchema, - mockProviders: Set, - ): GraphQLSchema { - val mockConfig = mutableMapOf() - mockProviders.forEach { p -> mockConfig.putAll(p.provide()) } - return transformSchema(schema, mockConfig) - } - - fun transformSchema( - schema: GraphQLSchema, - mockConfig: Map, - ): GraphQLSchema { - val mockFetchers = mutableMapOf>() - val graphQLTypeVisitorStub = MockGraphQLVisitor(mockConfig, mockFetchers) - - SchemaTraverser().depthFirstFullSchema(graphQLTypeVisitorStub, schema) - - return schema.transform { schemaBuilder -> - val newCodeRegistry = - schema.codeRegistry.transform { codeRegistryBuilder -> - mockFetchers.forEach { (coordinates, dataFetcher) -> codeRegistryBuilder.dataFetcher(coordinates, dataFetcher) } - } - schemaBuilder.codeRegistry(newCodeRegistry) - } - } -} diff --git a/graphql-dgs-mocking/src/main/kotlin/com/netflix/graphql/mocking/MockGraphQLVisitor.kt b/graphql-dgs-mocking/src/main/kotlin/com/netflix/graphql/mocking/MockGraphQLVisitor.kt deleted file mode 100644 index 42ebb39c3..000000000 --- a/graphql-dgs-mocking/src/main/kotlin/com/netflix/graphql/mocking/MockGraphQLVisitor.kt +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Copyright 2021 Netflix, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.netflix.graphql.mocking - -import graphql.Scalars -import graphql.introspection.Introspection -import graphql.schema.* -import graphql.util.TraversalControl -import graphql.util.TraverserContext -import net.datafaker.Faker -import org.slf4j.Logger -import org.slf4j.LoggerFactory - -class MockGraphQLVisitor( - private val mockConfig: Map, - private val mockFetchers: MutableMap>, -) : GraphQLTypeVisitorStub() { - companion object { - private val logger: Logger = LoggerFactory.getLogger(MockGraphQLVisitor::class.java) - } - - private val additionalObjectTypes = mutableSetOf() - private val providedRoots: MutableList = mutableListOf() - private val faker = Faker() - - override fun visitGraphQLFieldDefinition( - node: GraphQLFieldDefinition, - context: TraverserContext, - ): TraversalControl { - val parentNode = context.parentNode as GraphQLFieldsContainer - if (Introspection.isIntrospectionTypes(parentNode)) { - return TraversalControl.CONTINUE - } - - val pathForNode = getPathForNode(context.parentNodes, node) - - if (parentNode in additionalObjectTypes || - ( - mockConfig.keys.any { pathForNode.startsWith(it) } && - !providedRoots.any { pathForNode.startsWith(it) && pathForNode.count { c -> c == '.' } != it.count { c -> c == '.' } } - ) - ) { - if (parentNode is GraphQLInterfaceType) { - val schema = context.getVarFromParents(GraphQLSchema::class.java) - for (objType in schema.getImplementations(parentNode)) { - if (objType !in context.visitedNodes()) { - additionalObjectTypes += objType - } - } - return TraversalControl.CONTINUE - } - - val type = GraphQLTypeUtil.unwrapNonNull(node.type) - - val dataFetcher: DataFetcher<*> = - if (mockConfig[pathForNode] != null) { - logger.info("Returning provided mock data for {}", pathForNode) - providedRoots += pathForNode - getProvidedMockData(pathForNode) - } else { - logger.info("Generating mock data for {}", pathForNode) - when (type) { - is GraphQLScalarType -> { - StaticDataFetcher(generateDataForScalar(type)) - } - is GraphQLEnumType -> { - StaticDataFetcher(type.values.random().value) - } - is GraphQLList -> { - val elementType = GraphQLTypeUtil.unwrapNonNull(type.wrappedType) - if (elementType !is GraphQLNamedType) { - return TraversalControl.CONTINUE - } - val mockedValues: Collection = - when (elementType) { - is GraphQLScalarType -> - (0..faker.number().numberBetween(0, 10)) - .map { generateDataForScalar(elementType) } - is GraphQLEnumType -> - (0..faker.number().numberBetween(0, 3)) - .asSequence() - .map { elementType.values.random().name } - .toSet() - else -> (0..faker.number().numberBetween(0, 10)).map { dummyObject(elementType) } - } - StaticDataFetcher(mockedValues) - } - else -> StaticDataFetcher(dummyObject(type)) - } - } - - mockFetchers[FieldCoordinates.coordinates(parentNode, node)] = dataFetcher - } - - return TraversalControl.CONTINUE - } - - private fun dummyObject(type: GraphQLType): Any { - val displayName = GraphQLTypeUtil.simplePrint(type) - return object { - override fun toString(): String = "DummyObject{type=$displayName}" - } - } - - private fun generateDataForScalar(scalarType: GraphQLScalarType): Any { - return when (scalarType) { - Scalars.GraphQLString -> faker.book().title() - Scalars.GraphQLBoolean -> faker.bool().bool() - Scalars.GraphQLInt -> faker.number().randomDigit() - Scalars.GraphQLFloat -> faker.number().randomDouble(2, 0, 100000) - Scalars.GraphQLID -> faker.number().digit() - else -> return dummyObject(scalarType) - } - } - - private fun getProvidedMockData(pathForNode: String?): DataFetcher<*> = - when (val provided = mockConfig[pathForNode]) { - is DataFetcher<*> -> provided - else -> StaticDataFetcher(provided) - } - - private fun getPathForNode( - parents: List, - node: GraphQLFieldDefinition, - ): String = - (parents.asReversed().asSequence().filterIsInstance() + sequenceOf(node)) - .map { it.name } - .joinToString(".") -} diff --git a/graphql-dgs-mocking/src/main/kotlin/com/netflix/graphql/mocking/MockProvider.kt b/graphql-dgs-mocking/src/main/kotlin/com/netflix/graphql/mocking/MockProvider.kt deleted file mode 100644 index 0e4b9e979..000000000 --- a/graphql-dgs-mocking/src/main/kotlin/com/netflix/graphql/mocking/MockProvider.kt +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Netflix, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.netflix.graphql.mocking - -/** - * Interface used by the Spring integration for the GraphQL mock library to Autowire mock provider implementations. - */ -interface MockProvider { - fun provide(): Map -} diff --git a/graphql-dgs-mocking/src/test/kotlin/com/netflix/graphql/mocking/MockGraphQLVisitorTest.kt b/graphql-dgs-mocking/src/test/kotlin/com/netflix/graphql/mocking/MockGraphQLVisitorTest.kt deleted file mode 100644 index 6c8d591e5..000000000 --- a/graphql-dgs-mocking/src/test/kotlin/com/netflix/graphql/mocking/MockGraphQLVisitorTest.kt +++ /dev/null @@ -1,522 +0,0 @@ -/* - * Copyright 2021 Netflix, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.netflix.graphql.mocking - -import com.netflix.graphql.mocking.testobjects.MyObject -import com.netflix.graphql.mocking.testobjects.SomeObject -import graphql.ExecutionInput -import graphql.GraphQL -import graphql.schema.DataFetcher -import graphql.schema.FieldCoordinates -import graphql.schema.GraphQLCodeRegistry -import graphql.schema.GraphQLSchema -import graphql.schema.StaticDataFetcher -import graphql.schema.idl.RuntimeWiring -import graphql.schema.idl.SchemaGenerator -import graphql.schema.idl.SchemaParser -import graphql.schema.idl.TypeRuntimeWiring -import org.assertj.core.api.Assertions.LIST -import org.assertj.core.api.Assertions.MAP -import org.assertj.core.api.Assertions.STRING -import org.assertj.core.api.Assertions.assertThat -import org.junit.jupiter.api.Assertions -import org.junit.jupiter.api.Test - -class MockGraphQLVisitorTest { - @Test - fun generateDataForStringScalar() { - val mockConfig = mapOf("someObject.someKey" to null) - - val schema = - createSchema( - """ - type Query { - someObject: SomeObject - } - - type SomeObject { - someKey: String - } - """, - ) - - val data = execute(schema, "query { someObject {someKey} }", mockConfig) - - val someObject = data["someObject"] as Map<*, *> - assertThat(someObject["someKey"]).asString().isNotEmpty() - } - - @Test - fun generateDataForBooleanScalar() { - val mockConfig = mapOf("someObject.someKey" to null) - - val schema = - createSchema( - """ - type Query { - someObject: SomeObject - } - - type SomeObject { - someKey: Boolean - } - """, - ) - - val data = execute(schema, "query { someObject {someKey} }", mockConfig) - - val someObject = data["someObject"] as Map<*, *> - assertThat(someObject["someKey"]).isInstanceOf(Boolean::class.javaObjectType) - } - - @Test - fun generateDataForIntScalar() { - val mockConfig = mapOf("someObject.someKey" to null) - - val schema = - createSchema( - """ - type Query { - someObject: SomeObject - } - - type SomeObject { - someKey: Int - } - """, - ) - - val data = execute(schema, "query { someObject {someKey} }", mockConfig) - - val someObject = data["someObject"] as Map<*, *> - assertThat(someObject["someKey"]).isInstanceOf(Int::class.javaObjectType) - } - - @Test - fun generateDataForFloatScalar() { - val mockConfig = mapOf("someObject.someKey" to null) - - val schema = - createSchema( - """ - type Query { - someObject: SomeObject - } - - type SomeObject { - someKey: Float - } - """, - ) - - val data = execute(schema, "query { someObject {someKey} }", mockConfig) - - val someObject = data["someObject"] as Map<*, *> - assertThat(someObject["someKey"]).isInstanceOf(Double::class.javaObjectType) - } - - @Test - fun generateDataForIDScalar() { - val mockConfig = mapOf("someObject.someKey" to null) - - val schema = - createSchema( - """ - type Query { - someObject: SomeObject - } - - type SomeObject { - someKey: ID - } - """, - ) - - val data = execute(schema, "query { someObject {someKey} }", mockConfig) - - val someObject = data["someObject"] as Map<*, *> - assertThat(someObject["someKey"]).asInstanceOf(STRING).isNotBlank() - } - - @Test - fun generateDataForNonNullableString() { - val mockConfig = mapOf("someObject.someKey" to null) - - val schema = - createSchema( - """ - type Query { - someObject: SomeObject - } - - type SomeObject { - someKey: String! - } - """, - ) - - val data = execute(schema, "query { someObject {someKey} }", mockConfig) - - val someObject = data["someObject"] as Map<*, *> - assertThat(someObject["someKey"]).asInstanceOf(STRING).isNotBlank() - } - - @Test - fun generateDataForStringList() { - val mockConfig = mapOf("someObject.someKey" to null) - - val schema = - createSchema( - """ - type Query { - someObject: SomeObject - } - - type SomeObject { - someKey: [String] - } - """, - ) - - val data = execute(schema, "query { someObject {someKey} }", mockConfig) - - val someObject = data["someObject"] as Map<*, *> - - when (val value = someObject["someKey"]!!) { - is List<*> -> value.forEach { assertThat(it).isInstanceOf(String::class.java) } - else -> Assertions.fail("Returned mock is not a List") - } - } - - @Test - fun generateDataForObject() { - val mockConfig = mapOf("someObject.someKey" to null) - - val schema = - createSchema( - """ - type Query { - someObject: SomeObject - } - - type SomeObject { - someKey: MyObject - } - - type MyObject { - name: String - } - """, - ) - - val data = execute(schema, "query { someObject {someKey { name} } }", mockConfig) - - val someObject = data["someObject"] as Map<*, *> - val someKey = someObject["someKey"] as Map<*, *> - assertThat(someKey["name"]).asInstanceOf(STRING).isNotBlank() - } - - @Test - fun generateDataForObjectList() { - val mockConfig = mapOf("someObject.someKey" to null) - - val schema = - createSchema( - """ - type Query { - someObject: SomeObject - } - - type SomeObject { - someKey: [MyObject] - } - - type MyObject { - name: String - } - """, - ) - - val data = execute(schema, "query { someObject {someKey { name} } }", mockConfig) - - val someObject = data["someObject"] as Map<*, *> - val myObjectArr = someObject["someKey"] as List<*> - assertThat(myObjectArr[0]) - .asInstanceOf(MAP) - .extractingByKey("name") - .asInstanceOf(STRING) - .isNotBlank() - } - - @Test - fun providedMockData() { - val mockConfig = mapOf("someObject.someKey" to listOf("a", "b", "c")) - - val schema = - createSchema( - """ - type Query { - someObject: SomeObject - } - - type SomeObject { - someKey: [String] - } - """, - ) - - val data = execute(schema, "query { someObject {someKey} }", mockConfig) - - val someObject = data["someObject"] as Map<*, *> - assertThat(someObject["someKey"]) - .asInstanceOf(LIST) - .containsExactly("a", "b", "c") - } - - @Test - fun providedMockDataForObject() { - val mockConfig = mapOf("someObject.someKey" to listOf(MyObject(name = "mymockedvalue"))) - - val schema = - createSchema( - """ - type Query { - someObject: SomeObject - } - - type SomeObject { - someKey: [MyObject] - } - - type MyObject { - name: String - } - """, - ) - - val data = execute(schema, "query { someObject {someKey { name} } }", mockConfig) - - val someObject = data["someObject"] as Map<*, *> - val someKeyList = someObject["someKey"] as List<*> - assertThat(someKeyList).size().isEqualTo(1) - assertThat(someKeyList[0]).asInstanceOf(MAP).extractingByKey("name").isEqualTo("mymockedvalue") - } - - @Test - fun providedMockDataFetcherData() { - val dataFetcher = DataFetcher { listOf("a", "b", "c") } - val mockConfig = mapOf("someObject.someKey" to dataFetcher) - - val schema = - createSchema( - """ - type Query { - someObject: SomeObject - } - - type SomeObject { - someKey: [String] - } - """, - ) - - val data = execute(schema, "query { someObject {someKey} }", mockConfig) - - val someObject = data["someObject"] as Map<*, *> - assertThat(someObject["someKey"]).asInstanceOf(LIST).containsExactly("a", "b", "c") - } - - @Test - fun multipleMocksSimilarName() { - val nameFetcher = StaticDataFetcher("nameMock") - val namesFetcher = StaticDataFetcher(listOf("listNameMock")) - val mockConfig = mapOf("name" to nameFetcher, "names" to namesFetcher) - - val schema = - createSchema( - """ - type Query { - name: String - names: [String] - } - """, - ) - - val data = execute(schema, "query { names }", mockConfig) - - val names = data["names"] as List<*> - assertThat(names).containsExactly("listNameMock") - } - - @Test - fun generateDataForEnumType() { - val schema = """ - type Query { - animalKind: AnimalKind! - } - - enum AnimalKind { DOG, SLOTH, BEAR, PIG } - """ - - val graphqlSchema = createSchema(schema) - - val data = execute(graphqlSchema, "query { animalKind }", mapOf("animalKind" to null)) - val animalKind = data["animalKind"] as String - assertThat(animalKind).isIn("DOG", "SLOTH", "BEAR", "PIG") - } - - @Test - fun generateDataForListOfEnumType() { - val schema = """ - type Query { - animalKinds: [AnimalKind!]! - } - - enum AnimalKind { DOG, SLOTH, BEAR, PIG } - """ - - val graphqlSchema = createSchema(schema) - - val data = execute(graphqlSchema, "query { animalKinds }", mapOf("animalKinds" to null)) - val animalKind = data["animalKinds"] as List<*> - assertThat(animalKind).isSubsetOf("DOG", "SLOTH", "BEAR", "PIG") - } - - @Test - fun generateDataForUnionType() { - val schema = """ - type Query { - animal: Animal - } - - union Animal = Dog | Sloth - - type Dog { - name: String - barkVolume: Int - } - - type Sloth { - chill: Boolean - speed: Int - } - """ - - val graphqlSchema = - createSchema(schema) { builder -> - builder.type(TypeRuntimeWiring.newTypeWiring("Animal").typeResolver { env -> env.schema.getObjectType("Sloth") }) - } - - val data = - execute( - graphqlSchema, - "query { animal { __typename ... on Sloth { chill speed } } }", - mapOf( - "animal" to null, - "Sloth" to null, - ), - ) - val slothData = data["animal"] as Map<*, *> - assertThat(slothData["chill"]).isInstanceOf(Boolean::class.javaObjectType) - assertThat(slothData["speed"]).isInstanceOf(Int::class.javaObjectType) - } - - @Test - fun generateDataForInterfaceType() { - val schema = """ - type Query { - animal: Animal - } - - interface Animal { - speed: Int - } - - type Dog implements Animal { - name: String - barkVolume: Int - speed: Int - } - - type Sloth implements Animal { - chill: Boolean - speed: Int - } - """ - - val graphqlSchema = - createSchema(schema) { builder -> - builder.type(TypeRuntimeWiring.newTypeWiring("Animal").typeResolver { env -> env.schema.getObjectType("Sloth") }) - } - - val data = execute(graphqlSchema, "query { animal { __typename ... on Sloth { chill speed } } }", mapOf("animal" to null)) - val slothData = data["animal"] as Map<*, *> - Assertions.assertInstanceOf(Boolean::class.javaObjectType, slothData["chill"]) - Assertions.assertInstanceOf(Int::class.javaObjectType, slothData["speed"]) - } - - private fun execute( - schema: GraphQLSchema, - query: String, - mockConfig: Map, - ): Map { - val transform = DgsSchemaTransformer().transformSchema(schema, mockConfig) - - val graphQL = - GraphQL - .newGraphQL(transform) - .build() - - val executionInput = - ExecutionInput - .newExecutionInput() - .query(query) - .build() - - val executionResult = graphQL.execute(executionInput) - if (!executionResult.isDataPresent) { - throw AssertionError("GraphQL query failed: $executionResult") - } - return executionResult.getData() - } - - private fun createSchema( - schema: String, - block: (RuntimeWiring.Builder) -> Unit = {}, - ): GraphQLSchema { - val schemaParser = SchemaParser() - val typeDefinitionRegistry = schemaParser.parse(schema.trimIndent()) - - val someObjectDf = StaticDataFetcher(SomeObject()) - - val codeRegistry = - GraphQLCodeRegistry - .newCodeRegistry() - .dataFetcher(FieldCoordinates.coordinates("Query", "someObject"), someObjectDf) - .build() - - val runtimeWiring = - RuntimeWiring - .newRuntimeWiring() - .codeRegistry(codeRegistry) - .build() - .transform(block) - - val schemaGenerator = SchemaGenerator() - return schemaGenerator.makeExecutableSchema(typeDefinitionRegistry, runtimeWiring) - } -} diff --git a/graphql-dgs-mocking/src/test/kotlin/com/netflix/graphql/mocking/testobjects/MyObject.kt b/graphql-dgs-mocking/src/test/kotlin/com/netflix/graphql/mocking/testobjects/MyObject.kt deleted file mode 100644 index 189ae08d1..000000000 --- a/graphql-dgs-mocking/src/test/kotlin/com/netflix/graphql/mocking/testobjects/MyObject.kt +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2021 Netflix, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.netflix.graphql.mocking.testobjects - -class MyObject( - val name: String = "test", -) diff --git a/graphql-dgs-mocking/src/test/kotlin/com/netflix/graphql/mocking/testobjects/SomeObject.kt b/graphql-dgs-mocking/src/test/kotlin/com/netflix/graphql/mocking/testobjects/SomeObject.kt deleted file mode 100644 index 32da4040a..000000000 --- a/graphql-dgs-mocking/src/test/kotlin/com/netflix/graphql/mocking/testobjects/SomeObject.kt +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2021 Netflix, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.netflix.graphql.mocking.testobjects - -class SomeObject( - var someKey: List = listOf(), -) diff --git a/graphql-dgs-pagination/dependencies.lock b/graphql-dgs-pagination/dependencies.lock index 7eab1d0a0..7a071f98f 100644 --- a/graphql-dgs-pagination/dependencies.lock +++ b/graphql-dgs-pagination/dependencies.lock @@ -12,7 +12,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -38,18 +37,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -64,7 +55,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -86,7 +76,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -112,18 +101,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -150,7 +131,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -228,7 +208,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -254,18 +233,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -292,7 +263,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -412,7 +382,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -438,18 +407,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -464,7 +425,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -486,7 +446,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -512,18 +471,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -562,7 +513,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -674,7 +624,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -700,18 +649,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -750,7 +691,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -920,30 +860,17 @@ "com.fasterxml.jackson.module:jackson-module-kotlin" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -970,18 +897,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -1124,12 +1043,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -1210,7 +1123,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "io.mockk:mockk-agent-api-jvm", "io.mockk:mockk-agent-jvm", @@ -1419,7 +1331,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -1537,7 +1448,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -2346,30 +2256,17 @@ "com.fasterxml.jackson.module:jackson-module-kotlin" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -2395,18 +2292,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -2444,12 +2333,6 @@ "org.jetbrains.kotlinx:kotlinx-coroutines-reactor" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -2473,7 +2356,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm", @@ -2545,8 +2427,7 @@ "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", - "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking" + "com.jayway.jsonpath:json-path" ] }, "org.springframework.boot:spring-boot": { @@ -2607,12 +2488,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs" ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker" - ] } }, "testCompileClasspath": { @@ -2632,7 +2507,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -2659,18 +2533,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -2847,7 +2713,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "io.mockk:mockk-agent-api-jvm", "io.mockk:mockk-agent-jvm", @@ -3083,7 +2948,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -3110,18 +2974,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -3266,7 +3122,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "io.mockk:mockk", "io.mockk:mockk-agent", @@ -3542,30 +3397,17 @@ "com.fasterxml.jackson.module:jackson-module-kotlin" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -3592,18 +3434,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -3746,12 +3580,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -3820,7 +3648,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "io.mockk:mockk-agent-api-jvm", "io.mockk:mockk-agent-jvm", @@ -4000,7 +3827,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -4118,7 +3944,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } diff --git a/graphql-dgs-reactive/dependencies.lock b/graphql-dgs-reactive/dependencies.lock index 7b38cd6ec..1d41c3927 100644 --- a/graphql-dgs-reactive/dependencies.lock +++ b/graphql-dgs-reactive/dependencies.lock @@ -12,7 +12,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -38,18 +37,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -64,7 +55,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -135,7 +125,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -161,18 +150,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -237,7 +218,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" @@ -571,7 +551,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -597,18 +576,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -639,7 +610,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlin:kotlin-stdlib-common", @@ -730,7 +700,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -756,18 +725,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -782,7 +743,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -853,7 +813,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -879,18 +838,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -967,7 +918,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm" @@ -1335,7 +1285,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -1361,18 +1310,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -1415,7 +1356,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlin:kotlin-stdlib-common", @@ -1556,30 +1496,17 @@ "com.fasterxml.jackson.module:jackson-module-kotlin" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -1606,18 +1533,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -1771,12 +1690,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -1857,7 +1770,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "io.mockk:mockk-agent-api-jvm", "io.mockk:mockk-agent-jvm", @@ -2066,7 +1978,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -2184,7 +2095,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -2993,30 +2903,17 @@ "com.fasterxml.jackson.module:jackson-module-kotlin" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -3042,18 +2939,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -3095,12 +2984,6 @@ "org.jetbrains.kotlinx:kotlinx-coroutines-reactor" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -3124,7 +3007,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm", @@ -3196,8 +3078,7 @@ "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", - "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking" + "com.jayway.jsonpath:json-path" ] }, "org.springframework:spring-aop": { @@ -3247,12 +3128,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs" ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker" - ] } }, "testCompileClasspath": { @@ -3309,7 +3184,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -3336,18 +3210,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -3547,7 +3413,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "io.mockk:mockk-agent-api-jvm", "io.mockk:mockk-agent-jvm", @@ -3843,7 +3708,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -3870,18 +3734,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -4049,7 +3905,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "io.mockk:mockk", "io.mockk:mockk-agent", @@ -4346,30 +4201,17 @@ "com.fasterxml.jackson.module:jackson-module-kotlin" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -4396,18 +4238,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -4561,12 +4395,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -4635,7 +4463,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "io.mockk:mockk-agent-api-jvm", "io.mockk:mockk-agent-jvm", @@ -4815,7 +4642,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -4933,7 +4759,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } diff --git a/graphql-dgs-spring-boot-micrometer/dependencies.lock b/graphql-dgs-spring-boot-micrometer/dependencies.lock index 3d35a2494..59ef89a0a 100644 --- a/graphql-dgs-spring-boot-micrometer/dependencies.lock +++ b/graphql-dgs-spring-boot-micrometer/dependencies.lock @@ -12,7 +12,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -38,18 +37,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -64,7 +55,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -167,7 +157,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -193,18 +182,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -289,7 +270,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -724,7 +704,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -750,18 +729,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -805,7 +776,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -920,7 +890,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -946,18 +915,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -972,7 +933,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -1075,7 +1035,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -1101,18 +1060,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -1209,7 +1160,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -1678,7 +1628,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -1704,18 +1653,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -1771,7 +1712,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -1972,12 +1912,6 @@ "com.github.ben-manes.caffeine:caffeine": { "locked": "3.1.8" }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.errorprone:error_prone_annotations": { "locked": "2.21.1", "transitive": [ @@ -1990,19 +1924,12 @@ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -2041,19 +1968,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -2252,12 +2171,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -2370,7 +2283,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -2591,7 +2503,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.spectator:spectator-api", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" @@ -2787,7 +2698,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -3599,12 +3509,6 @@ "com.github.ben-manes.caffeine:caffeine": { "locked": "3.1.8" }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.errorprone:error_prone_annotations": { "locked": "2.21.1", "transitive": [ @@ -3617,18 +3521,11 @@ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -3654,18 +3551,10 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -3714,12 +3603,6 @@ "org.jetbrains.kotlinx:kotlinx-coroutines-reactor" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -3755,7 +3638,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm", @@ -3834,7 +3716,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.spectator:spectator-api" ] }, @@ -3891,12 +3772,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs" ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker" - ] } }, "testCompileClasspath": { @@ -3987,7 +3862,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -4025,19 +3899,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -4293,7 +4159,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -4676,7 +4541,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -4714,19 +4578,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -4950,7 +4806,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -5338,12 +5193,6 @@ "com.github.ben-manes.caffeine:caffeine": { "locked": "3.1.8" }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.errorprone:error_prone_annotations": { "locked": "2.21.1", "transitive": [ @@ -5356,19 +5205,12 @@ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -5407,19 +5249,11 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -5618,12 +5452,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -5724,7 +5552,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter", @@ -5916,7 +5743,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.spectator:spectator-api", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" @@ -6112,7 +5938,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } diff --git a/graphql-dgs-spring-graphql-example-java-webflux/dependencies.lock b/graphql-dgs-spring-graphql-example-java-webflux/dependencies.lock index d4ce3e0e2..c5beb7d3a 100644 --- a/graphql-dgs-spring-graphql-example-java-webflux/dependencies.lock +++ b/graphql-dgs-spring-graphql-example-java-webflux/dependencies.lock @@ -103,7 +103,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -145,13 +144,6 @@ "com.netflix.graphql.dgs:graphql-dgs-example-shared": { "project": true }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -164,7 +156,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -460,7 +451,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -729,7 +719,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -771,13 +760,6 @@ "com.netflix.graphql.dgs:graphql-dgs-example-shared": { "project": true }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -790,7 +772,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -1086,7 +1067,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -1405,7 +1385,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -1447,13 +1426,6 @@ "com.netflix.graphql.dgs:graphql-dgs-example-shared": { "project": true }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -1466,7 +1438,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -1774,7 +1745,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -2077,7 +2047,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -2119,13 +2088,6 @@ "com.netflix.graphql.dgs:graphql-dgs-example-shared": { "project": true }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -2138,7 +2100,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -2446,7 +2407,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -2764,12 +2724,6 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.errorprone:error_prone_annotations": { "locked": "2.21.1", "transitive": [ @@ -2782,12 +2736,6 @@ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -2795,7 +2743,6 @@ "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -2855,13 +2802,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -2876,7 +2816,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -3284,12 +3223,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -3385,7 +3318,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -3608,7 +3540,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.spectator:spectator-api", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" @@ -3816,7 +3747,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -4677,12 +4607,6 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.errorprone:error_prone_annotations": { "locked": "2.21.1", "transitive": [ @@ -4695,12 +4619,6 @@ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -4708,7 +4626,6 @@ "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -4767,13 +4684,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -4788,7 +4698,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -5090,12 +4999,6 @@ "name.nkonev.multipart-spring-graphql:multipart-spring-graphql": { "locked": "1.5.2" }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -5148,7 +5051,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -5242,7 +5144,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.spectator:spectator-api", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" @@ -5415,7 +5316,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -5508,7 +5408,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -5551,13 +5450,6 @@ "com.netflix.graphql.dgs:graphql-dgs-example-shared": { "project": true }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -5570,7 +5462,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -6003,7 +5894,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -6387,7 +6277,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -6430,13 +6319,6 @@ "com.netflix.graphql.dgs:graphql-dgs-example-shared": { "project": true }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -6449,7 +6331,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -6850,7 +6731,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -7243,12 +7123,6 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.errorprone:error_prone_annotations": { "locked": "2.21.1", "transitive": [ @@ -7261,12 +7135,6 @@ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -7274,7 +7142,6 @@ "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -7334,13 +7201,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -7355,7 +7215,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -7763,12 +7622,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -7852,7 +7705,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -8046,7 +7898,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.spectator:spectator-api", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" @@ -8254,7 +8105,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } diff --git a/graphql-dgs-spring-graphql-example-java/dependencies.lock b/graphql-dgs-spring-graphql-example-java/dependencies.lock index 12c324d9b..665939d4c 100644 --- a/graphql-dgs-spring-graphql-example-java/dependencies.lock +++ b/graphql-dgs-spring-graphql-example-java/dependencies.lock @@ -103,7 +103,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -144,20 +143,12 @@ "com.netflix.graphql.dgs:graphql-dgs-example-shared": { "project": true }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -472,7 +463,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -764,7 +754,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -805,20 +794,12 @@ "com.netflix.graphql.dgs:graphql-dgs-example-shared": { "project": true }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -1133,7 +1114,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -1475,7 +1455,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -1516,20 +1495,12 @@ "com.netflix.graphql.dgs:graphql-dgs-example-shared": { "project": true }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -1856,7 +1827,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -2182,7 +2152,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -2223,20 +2192,12 @@ "com.netflix.graphql.dgs:graphql-dgs-example-shared": { "project": true }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -2563,7 +2524,6 @@ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", @@ -2904,12 +2864,6 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.errorprone:error_prone_annotations": { "locked": "2.21.1", "transitive": [ @@ -2922,12 +2876,6 @@ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -2935,7 +2883,6 @@ "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -2997,13 +2944,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -3018,7 +2958,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -3443,12 +3382,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -3563,7 +3496,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -3788,7 +3720,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.spectator:spectator-api", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" @@ -4031,7 +3962,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -4892,12 +4822,6 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.errorprone:error_prone_annotations": { "locked": "2.21.1", "transitive": [ @@ -4910,12 +4834,6 @@ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -4923,7 +4841,6 @@ "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -4982,13 +4899,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -5003,7 +4913,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -5306,12 +5215,6 @@ "name.nkonev.multipart-spring-graphql:multipart-spring-graphql": { "locked": "1.5.2" }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -5383,7 +5286,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -5477,7 +5379,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.spectator:spectator-api", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" @@ -5674,7 +5575,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -5767,7 +5667,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -5826,13 +5725,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -5846,7 +5738,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -6316,7 +6207,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -6735,7 +6625,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -6794,13 +6683,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -6814,7 +6696,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -7252,7 +7133,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -7680,12 +7560,6 @@ "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.errorprone:error_prone_annotations": { "locked": "2.21.1", "transitive": [ @@ -7698,12 +7572,6 @@ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ @@ -7711,7 +7579,6 @@ "com.graphql-java:graphql-java-extended-scalars", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -7773,13 +7640,6 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-pagination": { "project": true, "transitive": [ @@ -7794,7 +7654,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -8219,12 +8078,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -8327,7 +8180,6 @@ "com.netflix.graphql.dgs:graphql-dgs-client", "com.netflix.graphql.dgs:graphql-dgs-example-shared", "com.netflix.graphql.dgs:graphql-dgs-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-pagination", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer", @@ -8523,7 +8375,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.spectator:spectator-api", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" @@ -8766,7 +8617,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } diff --git a/graphql-dgs-spring-graphql-starter/dependencies.lock b/graphql-dgs-spring-graphql-starter/dependencies.lock index 316f27156..0215fabe7 100644 --- a/graphql-dgs-spring-graphql-starter/dependencies.lock +++ b/graphql-dgs-spring-graphql-starter/dependencies.lock @@ -86,7 +86,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -122,19 +121,11 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -213,7 +204,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -420,7 +410,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -456,19 +445,11 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -547,7 +528,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -760,7 +740,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -796,19 +775,11 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -887,7 +858,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -1142,7 +1112,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -1178,19 +1147,11 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -1269,7 +1230,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -1476,7 +1436,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -1512,19 +1471,11 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -1615,7 +1566,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -1862,7 +1812,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -1898,19 +1847,11 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -2001,7 +1942,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -2263,31 +2203,18 @@ "com.fasterxml.jackson.module:jackson-module-parameter-names" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -2325,19 +2252,11 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -2514,12 +2433,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -2601,7 +2514,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -2815,7 +2727,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -2965,7 +2876,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -3817,31 +3727,18 @@ "com.fasterxml.jackson.module:jackson-module-parameter-names" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -3878,19 +3775,11 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -3968,12 +3857,6 @@ "org.springframework.boot:spring-boot-starter" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -4012,7 +3895,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -4097,7 +3979,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -4212,7 +4093,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -4296,7 +4176,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -4333,19 +4212,11 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -4554,7 +4425,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -4882,7 +4752,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -4919,19 +4788,11 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -5108,7 +4969,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -5445,31 +5305,18 @@ "com.fasterxml.jackson.module:jackson-module-parameter-names" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", "com.netflix.graphql.dgs:graphql-error-types", @@ -5507,19 +5354,11 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -5696,12 +5535,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -5771,7 +5604,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", "com.netflix.graphql.dgs:graphql-dgs-client", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql", "com.netflix.graphql.dgs:graphql-dgs-subscription-types", @@ -5956,7 +5788,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -6106,7 +5937,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } diff --git a/graphql-dgs-spring-graphql/dependencies.lock b/graphql-dgs-spring-graphql/dependencies.lock index 44d5c1aa3..2cb4adf85 100644 --- a/graphql-dgs-spring-graphql/dependencies.lock +++ b/graphql-dgs-spring-graphql/dependencies.lock @@ -76,7 +76,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types", "org.springframework.graphql:spring-graphql" @@ -104,18 +103,10 @@ "com.netflix.graphql.dgs:graphql-dgs-reactive" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -184,7 +175,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect" @@ -457,7 +447,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types", "org.springframework.graphql:spring-graphql" @@ -485,18 +474,10 @@ "com.netflix.graphql.dgs:graphql-dgs-reactive" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -550,7 +531,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect" @@ -746,7 +726,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types", "org.springframework.graphql:spring-graphql" @@ -774,18 +753,10 @@ "com.netflix.graphql.dgs:graphql-dgs-reactive" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -866,7 +837,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect" @@ -1173,7 +1143,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types", "org.springframework.graphql:spring-graphql" @@ -1201,18 +1170,10 @@ "com.netflix.graphql.dgs:graphql-dgs-reactive" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -1278,7 +1239,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect" @@ -1486,12 +1446,6 @@ "com.github.ben-manes.caffeine:caffeine": { "locked": "3.1.8" }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.errorprone:error_prone_annotations": { "locked": "2.21.1", "transitive": [ @@ -1504,18 +1458,11 @@ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types", "org.springframework.graphql:spring-graphql", @@ -1546,18 +1493,10 @@ "com.netflix.graphql.dgs:graphql-dgs-reactive" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter-test", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-test", @@ -1734,12 +1673,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -1845,7 +1778,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter-test", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-test", @@ -2058,7 +1990,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -2236,7 +2167,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -3046,30 +2976,17 @@ "com.fasterxml.jackson.module:jackson-module-kotlin" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types", "org.springframework.graphql:spring-graphql" @@ -3097,18 +3014,10 @@ "com.netflix.graphql.dgs:graphql-dgs-reactive" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -3162,12 +3071,6 @@ "org.springframework.graphql:spring-graphql" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -3191,7 +3094,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", @@ -3265,8 +3167,7 @@ "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", - "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking" + "com.jayway.jsonpath:json-path" ] }, "org.springframework.boot:spring-boot": { @@ -3331,12 +3232,6 @@ "transitive": [ "com.netflix.graphql.dgs:graphql-dgs" ] - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker" - ] } }, "testCompileClasspath": { @@ -3434,7 +3329,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types", "org.springframework.graphql:spring-graphql", @@ -3465,18 +3359,10 @@ "com.netflix.graphql.dgs:graphql-dgs-reactive" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter-test", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-test", @@ -3723,7 +3609,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter-test", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-test", @@ -4107,7 +3992,6 @@ "locked": "22.3", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types", "org.springframework.graphql:spring-graphql", @@ -4138,18 +4022,10 @@ "com.netflix.graphql.dgs:graphql-dgs-reactive" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter-test", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-test", @@ -4364,7 +4240,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter-test", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-test", @@ -4736,12 +4611,6 @@ "com.github.ben-manes.caffeine:caffeine": { "locked": "3.1.8" }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.errorprone:error_prone_annotations": { "locked": "2.21.1", "transitive": [ @@ -4754,18 +4623,11 @@ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types", "org.springframework.graphql:spring-graphql", @@ -4796,18 +4658,10 @@ "com.netflix.graphql.dgs:graphql-dgs-reactive" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter-test", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-test", @@ -4984,12 +4838,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -5083,7 +4931,6 @@ "locked": "2.1.0", "transitive": [ "com.netflix.graphql.dgs:graphql-dgs", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-reactive", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter-test", "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-test", @@ -5267,7 +5114,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -5445,7 +5291,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } diff --git a/graphql-dgs-spring-graphql/src/main/kotlin/com/netflix/graphql/dgs/springgraphql/autoconfig/DgsSpringGraphQLAutoConfiguration.kt b/graphql-dgs-spring-graphql/src/main/kotlin/com/netflix/graphql/dgs/springgraphql/autoconfig/DgsSpringGraphQLAutoConfiguration.kt index 37774334e..411e82483 100644 --- a/graphql-dgs-spring-graphql/src/main/kotlin/com/netflix/graphql/dgs/springgraphql/autoconfig/DgsSpringGraphQLAutoConfiguration.kt +++ b/graphql-dgs-spring-graphql/src/main/kotlin/com/netflix/graphql/dgs/springgraphql/autoconfig/DgsSpringGraphQLAutoConfiguration.kt @@ -49,7 +49,6 @@ import com.netflix.graphql.dgs.springgraphql.SpringGraphQLDgsQueryExecutor import com.netflix.graphql.dgs.springgraphql.SpringGraphQLDgsReactiveQueryExecutor import com.netflix.graphql.dgs.springgraphql.webflux.DgsWebFluxGraphQLInterceptor import com.netflix.graphql.dgs.springgraphql.webmvc.DgsWebMvcGraphQLInterceptor -import com.netflix.graphql.mocking.MockProvider import graphql.GraphQLError import graphql.execution.DataFetcherExceptionHandler import graphql.execution.DataFetcherExceptionHandlerParameters @@ -262,7 +261,6 @@ open class DgsSpringGraphQLAutoConfiguration( federationResolver: Optional, existingTypeDefinitionFactory: Optional, existingCodeRegistry: Optional, - mockProviders: ObjectProvider, dataFetcherResultProcessors: List, dataFetcherExceptionHandler: Optional = Optional.empty(), entityFetcherRegistry: EntityFetcherRegistry, @@ -273,7 +271,6 @@ open class DgsSpringGraphQLAutoConfiguration( applicationContext = applicationContext, federationResolver = federationResolver, existingTypeDefinitionRegistry = existingTypeDefinitionFactory, - mockProviders = mockProviders.toSet(), schemaLocations = configProps.schemaLocations, dataFetcherResultProcessors = dataFetcherResultProcessors, dataFetcherExceptionHandler = dataFetcherExceptionHandler, diff --git a/graphql-dgs/build.gradle.kts b/graphql-dgs/build.gradle.kts index bbb4dd398..43c0ad83e 100644 --- a/graphql-dgs/build.gradle.kts +++ b/graphql-dgs/build.gradle.kts @@ -16,8 +16,6 @@ dependencies { api(project(":graphql-error-types")) - api(project(":graphql-dgs-mocking")) - api("com.graphql-java:graphql-java") api("com.graphql-java:java-dataloader") api("com.jayway.jsonpath:json-path") diff --git a/graphql-dgs/dependencies.lock b/graphql-dgs/dependencies.lock index 472bc14eb..eace3dfae 100644 --- a/graphql-dgs/dependencies.lock +++ b/graphql-dgs/dependencies.lock @@ -11,7 +11,6 @@ "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -29,16 +28,9 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -51,7 +43,6 @@ "org.jetbrains.kotlin:kotlin-stdlib": { "locked": "2.1.0", "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -141,7 +132,6 @@ "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -159,16 +149,9 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -223,7 +206,6 @@ "org.jetbrains.kotlin:kotlin-stdlib": { "locked": "2.1.0", "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm", @@ -507,7 +489,6 @@ "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -525,16 +506,9 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -579,7 +553,6 @@ "org.jetbrains.kotlin:kotlin-stdlib": { "locked": "2.1.0", "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlin:kotlin-stdlib-common", @@ -740,7 +713,6 @@ "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -758,16 +730,9 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -780,7 +745,6 @@ "org.jetbrains.kotlin:kotlin-stdlib": { "locked": "2.1.0", "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -870,7 +834,6 @@ "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -888,16 +851,9 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -964,7 +920,6 @@ "org.jetbrains.kotlin:kotlin-stdlib": { "locked": "2.1.0", "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm", @@ -1282,7 +1237,6 @@ "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -1300,16 +1254,9 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -1366,7 +1313,6 @@ "org.jetbrains.kotlin:kotlin-stdlib": { "locked": "2.1.0", "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlin:kotlin-stdlib-common", @@ -1575,30 +1521,17 @@ "com.fasterxml.jackson.module:jackson-module-kotlin" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:graphql-java-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -1623,16 +1556,9 @@ "org.springframework.boot:spring-boot-starter-test" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -1781,12 +1707,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -1865,7 +1785,6 @@ "org.jetbrains.kotlin:kotlin-stdlib": { "locked": "2.1.0", "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "io.mockk:mockk-agent-api-jvm", "io.mockk:mockk-agent-jvm", @@ -2089,7 +2008,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -2217,7 +2135,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } @@ -3023,29 +2940,16 @@ "com.fasterxml.jackson.module:jackson-module-kotlin" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -3063,16 +2967,9 @@ "com.netflix.graphql.dgs:graphql-dgs-platform" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -3108,12 +3005,6 @@ "org.jetbrains.kotlinx:kotlinx-coroutines-reactor" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -3135,7 +3026,6 @@ "org.jetbrains.kotlin:kotlin-stdlib": { "locked": "2.1.0", "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "org.jetbrains.kotlin:kotlin-reflect", "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm", @@ -3205,8 +3095,7 @@ "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", - "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking" + "com.jayway.jsonpath:json-path" ] }, "org.springframework:spring-aop": { @@ -3250,12 +3139,6 @@ }, "org.springframework:spring-web": { "locked": "6.1.15" - }, - "org.yaml:snakeyaml": { - "locked": "2.2", - "transitive": [ - "net.datafaker:datafaker" - ] } }, "testCompileClasspath": { @@ -3334,7 +3217,6 @@ "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -3359,16 +3241,9 @@ "org.springframework.boot:spring-boot-starter-test" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -3571,7 +3446,6 @@ "org.jetbrains.kotlin:kotlin-stdlib": { "locked": "2.1.0", "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "io.mockk:mockk-agent-api-jvm", "io.mockk:mockk-agent-jvm", @@ -3946,7 +3820,6 @@ "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -3971,16 +3844,9 @@ "org.springframework.boot:spring-boot-starter-test" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -4151,7 +4017,6 @@ "org.jetbrains.kotlin:kotlin-stdlib": { "locked": "2.1.0", "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "io.mockk:mockk", "io.mockk:mockk-agent", @@ -4502,30 +4367,17 @@ "com.fasterxml.jackson.module:jackson-module-kotlin" ] }, - "com.github.curious-odd-man:rgxgen": { - "locked": "2.0", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.google.protobuf:protobuf-java": { "locked": "4.27.1", "transitive": [ "com.apollographql.federation:federation-graphql-java-support" ] }, - "com.googlecode.libphonenumber:libphonenumber": { - "locked": "8.13.50", - "transitive": [ - "net.datafaker:datafaker" - ] - }, "com.graphql-java:graphql-java": { "locked": "22.3", "transitive": [ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:graphql-java-extended-scalars", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-dgs-platform", "com.netflix.graphql.dgs:graphql-error-types" ] @@ -4550,16 +4402,9 @@ "org.springframework.boot:spring-boot-starter-test" ] }, - "com.netflix.graphql.dgs:graphql-dgs-mocking": { - "project": true, - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-platform" - ] - }, "com.netflix.graphql.dgs:graphql-dgs-platform": { "project": true, "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types" ] }, @@ -4708,12 +4553,6 @@ "org.mockito:mockito-core" ] }, - "net.datafaker:datafaker": { - "locked": "2.4.2", - "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking" - ] - }, "net.minidev:accessors-smart": { "locked": "2.5.1", "transitive": [ @@ -4780,7 +4619,6 @@ "org.jetbrains.kotlin:kotlin-stdlib": { "locked": "2.1.0", "transitive": [ - "com.netflix.graphql.dgs:graphql-dgs-mocking", "com.netflix.graphql.dgs:graphql-error-types", "io.mockk:mockk-agent-api-jvm", "io.mockk:mockk-agent-jvm", @@ -4975,7 +4813,6 @@ "com.apollographql.federation:federation-graphql-java-support", "com.graphql-java:java-dataloader", "com.jayway.jsonpath:json-path", - "com.netflix.graphql.dgs:graphql-dgs-mocking", "org.apache.logging.log4j:log4j-to-slf4j", "org.slf4j:jul-to-slf4j" ] @@ -5103,7 +4940,6 @@ "org.yaml:snakeyaml": { "locked": "2.2", "transitive": [ - "net.datafaker:datafaker", "org.springframework.boot:spring-boot-starter" ] } diff --git a/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt b/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt index 7a7305165..2d2ab6841 100644 --- a/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt +++ b/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt @@ -28,8 +28,6 @@ import com.netflix.graphql.dgs.federation.DefaultDgsFederationResolver import com.netflix.graphql.dgs.internal.method.InputArgumentResolver import com.netflix.graphql.dgs.internal.method.MethodDataFetcherFactory import com.netflix.graphql.dgs.internal.utils.SelectionSetUtil -import com.netflix.graphql.mocking.DgsSchemaTransformer -import com.netflix.graphql.mocking.MockProvider import graphql.TypeResolutionEnvironment import graphql.execution.DataFetcherExceptionHandler import graphql.language.FieldDefinition @@ -71,7 +69,7 @@ import org.springframework.core.io.support.ResourcePatternUtils import org.springframework.util.ReflectionUtils import java.io.IOException import java.lang.reflect.Method -import java.util.Optional +import java.util.* import java.util.concurrent.CompletableFuture import java.util.concurrent.CompletionStage import java.util.concurrent.atomic.AtomicReference @@ -86,7 +84,6 @@ class DgsSchemaProvider( private val applicationContext: ApplicationContext, private val federationResolver: Optional, private val existingTypeDefinitionRegistry: Optional, - private val mockProviders: Set = emptySet(), private val schemaLocations: List = listOf(DEFAULT_SCHEMA_LOCATION), private val dataFetcherResultProcessors: List = emptyList(), private val dataFetcherExceptionHandler: Optional = Optional.empty(), @@ -237,13 +234,6 @@ class DgsSchemaProvider( val totalTime = endTime - startTime logger.debug("DGS initialized schema in {}ms", totalTime) - graphQLSchema = - if (mockProviders.isNotEmpty()) { - DgsSchemaTransformer().transformSchemaWithMockProviders(graphQLSchema, mockProviders) - } else { - graphQLSchema - } - return SchemaProviderResult(graphQLSchema, runtimeWiring) to dataFetcherInfo.toImmutable() } diff --git a/settings.gradle.kts b/settings.gradle.kts index 949ef773a..53940469e 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -27,7 +27,6 @@ gradleEnterprise { rootProject.name = "dgs-framework" include("graphql-dgs") include("graphql-error-types") -include("graphql-dgs-mocking") include("graphql-dgs-client") include("graphql-dgs-spring-boot-micrometer") include("graphql-dgs-platform") From c9111ce59a3d72e9635254e78d3da4f845e99637 Mon Sep 17 00:00:00 2001 From: "$(git --no-pager log --format=format:'%an' -n 1)" Date: Fri, 13 Dec 2024 16:04:20 -0800 Subject: [PATCH 2/3] Keep constructor overload for SchemaProvider because there is some explicit use of this class in tests. --- .../graphql/dgs/internal/DgsSchemaProvider.kt | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt b/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt index 2d2ab6841..a770dd3cd 100644 --- a/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt +++ b/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt @@ -94,6 +94,37 @@ class DgsSchemaProvider( private val schemaWiringValidationEnabled: Boolean = true, private val enableEntityFetcherCustomScalarParsing: Boolean = false, ) { + @Suppress("UNUSED_PARAMETER") + @Deprecated("The mockProviders argument is no longer supported") + constructor( + applicationContext: ApplicationContext, + federationResolver: Optional, + existingTypeDefinitionRegistry: Optional, + mockProviders: Set, + schemaLocations: List = listOf(DEFAULT_SCHEMA_LOCATION), + dataFetcherResultProcessors: List = emptyList(), + dataFetcherExceptionHandler: Optional = Optional.empty(), + entityFetcherRegistry: EntityFetcherRegistry = EntityFetcherRegistry(), + defaultDataFetcherFactory: Optional> = Optional.empty(), + methodDataFetcherFactory: MethodDataFetcherFactory, + componentFilter: ((Any) -> Boolean)? = null, + schemaWiringValidationEnabled: Boolean = true, + enableEntityFetcherCustomScalarParsing: Boolean = false, + ) : this( + applicationContext, + federationResolver, + existingTypeDefinitionRegistry, + schemaLocations, + dataFetcherResultProcessors, + dataFetcherExceptionHandler, + entityFetcherRegistry, + defaultDataFetcherFactory, + methodDataFetcherFactory, + componentFilter, + schemaWiringValidationEnabled, + enableEntityFetcherCustomScalarParsing, + ) + private val dataFetcherInfo = AtomicReference(DataFetcherInfo(emptyList(), emptySet(), emptySet())) /** From bc74016b303bf7ac67ff3c9cf38e620500d5e217 Mon Sep 17 00:00:00 2001 From: "$(git --no-pager log --format=format:'%an' -n 1)" Date: Mon, 16 Dec 2024 14:46:07 -0800 Subject: [PATCH 3/3] Explicit @Autowired on the new primary constructor of DgsSchemaProvider --- .../graphql/dgs/internal/DgsSchemaProvider.kt | 1433 +++++++++-------- 1 file changed, 721 insertions(+), 712 deletions(-) diff --git a/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt b/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt index a770dd3cd..433032a9c 100644 --- a/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt +++ b/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt @@ -57,6 +57,7 @@ import org.intellij.lang.annotations.Language import org.slf4j.Logger import org.slf4j.LoggerFactory import org.springframework.aop.support.AopUtils +import org.springframework.beans.factory.annotation.Autowired import org.springframework.beans.factory.getBeansWithAnnotation import org.springframework.context.ApplicationContext import org.springframework.core.BridgeMethodResolver @@ -80,388 +81,404 @@ import java.util.Set.copyOf as immutableSetOf /** * Main framework class that scans for components and configures a runtime executable schema. */ -class DgsSchemaProvider( - private val applicationContext: ApplicationContext, - private val federationResolver: Optional, - private val existingTypeDefinitionRegistry: Optional, - private val schemaLocations: List = listOf(DEFAULT_SCHEMA_LOCATION), - private val dataFetcherResultProcessors: List = emptyList(), - private val dataFetcherExceptionHandler: Optional = Optional.empty(), - private val entityFetcherRegistry: EntityFetcherRegistry = EntityFetcherRegistry(), - private val defaultDataFetcherFactory: Optional> = Optional.empty(), - private val methodDataFetcherFactory: MethodDataFetcherFactory, - private val componentFilter: ((Any) -> Boolean)? = null, - private val schemaWiringValidationEnabled: Boolean = true, - private val enableEntityFetcherCustomScalarParsing: Boolean = false, -) { - @Suppress("UNUSED_PARAMETER") - @Deprecated("The mockProviders argument is no longer supported") +class DgsSchemaProvider + @Autowired constructor( - applicationContext: ApplicationContext, - federationResolver: Optional, - existingTypeDefinitionRegistry: Optional, - mockProviders: Set, - schemaLocations: List = listOf(DEFAULT_SCHEMA_LOCATION), - dataFetcherResultProcessors: List = emptyList(), - dataFetcherExceptionHandler: Optional = Optional.empty(), - entityFetcherRegistry: EntityFetcherRegistry = EntityFetcherRegistry(), - defaultDataFetcherFactory: Optional> = Optional.empty(), - methodDataFetcherFactory: MethodDataFetcherFactory, - componentFilter: ((Any) -> Boolean)? = null, - schemaWiringValidationEnabled: Boolean = true, - enableEntityFetcherCustomScalarParsing: Boolean = false, - ) : this( - applicationContext, - federationResolver, - existingTypeDefinitionRegistry, - schemaLocations, - dataFetcherResultProcessors, - dataFetcherExceptionHandler, - entityFetcherRegistry, - defaultDataFetcherFactory, - methodDataFetcherFactory, - componentFilter, - schemaWiringValidationEnabled, - enableEntityFetcherCustomScalarParsing, - ) - - private val dataFetcherInfo = AtomicReference(DataFetcherInfo(emptyList(), emptySet(), emptySet())) - - /** - * Returns an immutable list of [DataFetcherReference]s that were identified after the schema was loaded. - * The returned list will be unstable until the [schema] is fully loaded. - */ - fun resolvedDataFetchers(): List = dataFetcherInfo.get().dataFetchers - - /** - * Given a field, expressed as a GraphQL `.` tuple, return... - * 1. `true` if the given field has _instrumentation_ enabled, or is missing an explicit setting. - * 2. `false` if the given field has _instrumentation_ explicitly disabled. - * - * The method should be considered unstable until the [schema] is fully loaded. - */ - fun isFieldTracingInstrumentationEnabled(field: String): Boolean = field in dataFetcherInfo.get().tracingEnabled - - /** - * Given a field, expressed as a GraphQL `.` tuple, return... - * 1. `true` if the given field has _instrumentation_ enabled, or is missing an explicit setting. - * 2. `false` if the given field has _instrumentation_ explicitly disabled. - * - * The method should be considered unstable until the [schema] is fully loaded. - */ - fun isFieldMetricsInstrumentationEnabled(field: String): Boolean = field in dataFetcherInfo.get().metricsEnabled - - fun schema( - @Language("GraphQL") schema: String? = null, - fieldVisibility: GraphqlFieldVisibility = DefaultGraphqlFieldVisibility.DEFAULT_FIELD_VISIBILITY, - schemaResources: Set = emptySet(), - showSdlComments: Boolean = true, - ): SchemaProviderResult { - val (result, dataFetcherInfo) = computeSchema(schema, fieldVisibility, schemaResources, showSdlComments) - this.dataFetcherInfo.set(dataFetcherInfo) - return result - } - - private fun computeSchema( - schema: String? = null, - fieldVisibility: GraphqlFieldVisibility, - schemaResources: Set = emptySet(), - showSdlComments: Boolean, - ): Pair { - val startTime = System.currentTimeMillis() - val dgsComponents = - applicationContext - .getBeansWithAnnotation() - .values - .asSequence() - .let { beans -> if (componentFilter != null) beans.filter(componentFilter) else beans } - .map { bean -> DgsBean(bean) } - .toList() - - var mergedRegistry = - if (schema == null) { - val hasDynamicTypeRegistry = dgsComponents.any { it.annotatedMethods().any() } - val readerBuilder = - MultiSourceReader - .newMultiSourceReader() - .trackData(false) - for (schemaFile in findSchemaFiles(hasDynamicTypeRegistry)) { - readerBuilder.reader(schemaFile.inputStream.reader(), schemaFile.filename) - // Add a reader that inserts a newline between schema files to avoid issues when - // the source files aren't newline-terminated. - readerBuilder.reader("\n".reader(), "newline") - } - - for (resource in schemaResources) { - readerBuilder.reader(resource.inputStream.reader(), resource.filename) - } - SchemaParser().parse(readerBuilder.build()) - } else { - SchemaParser().parse(schema) - } - - if (existingTypeDefinitionRegistry.isPresent) { - mergedRegistry = mergedRegistry.merge(existingTypeDefinitionRegistry.get()) - } + private val applicationContext: ApplicationContext, + private val federationResolver: Optional, + private val existingTypeDefinitionRegistry: Optional, + private val schemaLocations: List = listOf(DEFAULT_SCHEMA_LOCATION), + private val dataFetcherResultProcessors: List = emptyList(), + private val dataFetcherExceptionHandler: Optional = Optional.empty(), + private val entityFetcherRegistry: EntityFetcherRegistry = EntityFetcherRegistry(), + private val defaultDataFetcherFactory: Optional> = Optional.empty(), + private val methodDataFetcherFactory: MethodDataFetcherFactory, + private val componentFilter: ((Any) -> Boolean)? = null, + private val schemaWiringValidationEnabled: Boolean = true, + private val enableEntityFetcherCustomScalarParsing: Boolean = false, + ) { + @Suppress("UNUSED_PARAMETER") + @Deprecated("The mockProviders argument is no longer supported") + constructor( + applicationContext: ApplicationContext, + federationResolver: Optional, + existingTypeDefinitionRegistry: Optional, + mockProviders: Set, + schemaLocations: List = listOf(DEFAULT_SCHEMA_LOCATION), + dataFetcherResultProcessors: List = emptyList(), + dataFetcherExceptionHandler: Optional = Optional.empty(), + entityFetcherRegistry: EntityFetcherRegistry = EntityFetcherRegistry(), + defaultDataFetcherFactory: Optional> = Optional.empty(), + methodDataFetcherFactory: MethodDataFetcherFactory, + componentFilter: ((Any) -> Boolean)? = null, + schemaWiringValidationEnabled: Boolean = true, + enableEntityFetcherCustomScalarParsing: Boolean = false, + ) : this( + applicationContext, + federationResolver, + existingTypeDefinitionRegistry, + schemaLocations, + dataFetcherResultProcessors, + dataFetcherExceptionHandler, + entityFetcherRegistry, + defaultDataFetcherFactory, + methodDataFetcherFactory, + componentFilter, + schemaWiringValidationEnabled, + enableEntityFetcherCustomScalarParsing, + ) - val codeRegistryBuilder = GraphQLCodeRegistry.newCodeRegistry().fieldVisibility(fieldVisibility) - if (defaultDataFetcherFactory.isPresent) { - codeRegistryBuilder.defaultDataFetcher(defaultDataFetcherFactory.get()) + private val dataFetcherInfo = AtomicReference(DataFetcherInfo(emptyList(), emptySet(), emptySet())) + + /** + * Returns an immutable list of [DataFetcherReference]s that were identified after the schema was loaded. + * The returned list will be unstable until the [schema] is fully loaded. + */ + fun resolvedDataFetchers(): List = dataFetcherInfo.get().dataFetchers + + /** + * Given a field, expressed as a GraphQL `.` tuple, return... + * 1. `true` if the given field has _instrumentation_ enabled, or is missing an explicit setting. + * 2. `false` if the given field has _instrumentation_ explicitly disabled. + * + * The method should be considered unstable until the [schema] is fully loaded. + */ + fun isFieldTracingInstrumentationEnabled(field: String): Boolean = field in dataFetcherInfo.get().tracingEnabled + + /** + * Given a field, expressed as a GraphQL `.` tuple, return... + * 1. `true` if the given field has _instrumentation_ enabled, or is missing an explicit setting. + * 2. `false` if the given field has _instrumentation_ explicitly disabled. + * + * The method should be considered unstable until the [schema] is fully loaded. + */ + fun isFieldMetricsInstrumentationEnabled(field: String): Boolean = field in dataFetcherInfo.get().metricsEnabled + + fun schema( + @Language("GraphQL") schema: String? = null, + fieldVisibility: GraphqlFieldVisibility = DefaultGraphqlFieldVisibility.DEFAULT_FIELD_VISIBILITY, + schemaResources: Set = emptySet(), + showSdlComments: Boolean = true, + ): SchemaProviderResult { + val (result, dataFetcherInfo) = computeSchema(schema, fieldVisibility, schemaResources, showSdlComments) + this.dataFetcherInfo.set(dataFetcherInfo) + return result } - val runtimeWiringBuilder = - RuntimeWiring.newRuntimeWiring().codeRegistry(codeRegistryBuilder).fieldVisibility(fieldVisibility) - - val dgsCodeRegistryBuilder = DgsCodeRegistryBuilder(dataFetcherResultProcessors, codeRegistryBuilder, applicationContext) - - dgsComponents - .asSequence() - .mapNotNull { dgsComponent -> invokeDgsTypeDefinitionRegistry(dgsComponent, mergedRegistry) } - .fold(mergedRegistry) { a, b -> a.merge(b) } - findScalars(applicationContext, runtimeWiringBuilder) - findDirectives(applicationContext, runtimeWiringBuilder) - - val dataFetcherInfo = MutableDataFetcherInfo() - findDataFetchers(dgsComponents, dgsCodeRegistryBuilder, mergedRegistry, dataFetcherInfo) - findTypeResolvers(dgsComponents, runtimeWiringBuilder, mergedRegistry) + private fun computeSchema( + schema: String? = null, + fieldVisibility: GraphqlFieldVisibility, + schemaResources: Set = emptySet(), + showSdlComments: Boolean, + ): Pair { + val startTime = System.currentTimeMillis() + val dgsComponents = + applicationContext + .getBeansWithAnnotation() + .values + .asSequence() + .let { beans -> if (componentFilter != null) beans.filter(componentFilter) else beans } + .map { bean -> DgsBean(bean) } + .toList() + + var mergedRegistry = + if (schema == null) { + val hasDynamicTypeRegistry = dgsComponents.any { it.annotatedMethods().any() } + val readerBuilder = + MultiSourceReader + .newMultiSourceReader() + .trackData(false) + for (schemaFile in findSchemaFiles(hasDynamicTypeRegistry)) { + readerBuilder.reader(schemaFile.inputStream.reader(), schemaFile.filename) + // Add a reader that inserts a newline between schema files to avoid issues when + // the source files aren't newline-terminated. + readerBuilder.reader("\n".reader(), "newline") + } - dgsComponents.forEach { dgsComponent -> - invokeDgsCodeRegistry( - dgsComponent, - codeRegistryBuilder, - mergedRegistry, - ) - } + for (resource in schemaResources) { + readerBuilder.reader(resource.inputStream.reader(), resource.filename) + } + SchemaParser().parse(readerBuilder.build()) + } else { + SchemaParser().parse(schema) + } - runtimeWiringBuilder.codeRegistry(codeRegistryBuilder.build()) + if (existingTypeDefinitionRegistry.isPresent) { + mergedRegistry = mergedRegistry.merge(existingTypeDefinitionRegistry.get()) + } - dgsComponents.forEach { dgsComponent -> invokeDgsRuntimeWiring(dgsComponent, runtimeWiringBuilder) } + val codeRegistryBuilder = GraphQLCodeRegistry.newCodeRegistry().fieldVisibility(fieldVisibility) + if (defaultDataFetcherFactory.isPresent) { + codeRegistryBuilder.defaultDataFetcher(defaultDataFetcherFactory.get()) + } - val runtimeWiring = runtimeWiringBuilder.build() + val runtimeWiringBuilder = + RuntimeWiring.newRuntimeWiring().codeRegistry(codeRegistryBuilder).fieldVisibility(fieldVisibility) - findEntityFetchers(dgsComponents, mergedRegistry, runtimeWiring, dataFetcherInfo) + val dgsCodeRegistryBuilder = DgsCodeRegistryBuilder(dataFetcherResultProcessors, codeRegistryBuilder, applicationContext) - val federationResolverInstance = - federationResolver.orElseGet { - DefaultDgsFederationResolver( - entityFetcherRegistry, - dataFetcherExceptionHandler, - applicationContext, + dgsComponents + .asSequence() + .mapNotNull { dgsComponent -> invokeDgsTypeDefinitionRegistry(dgsComponent, mergedRegistry) } + .fold(mergedRegistry) { a, b -> a.merge(b) } + findScalars(applicationContext, runtimeWiringBuilder) + findDirectives(applicationContext, runtimeWiringBuilder) + + val dataFetcherInfo = MutableDataFetcherInfo() + findDataFetchers(dgsComponents, dgsCodeRegistryBuilder, mergedRegistry, dataFetcherInfo) + findTypeResolvers(dgsComponents, runtimeWiringBuilder, mergedRegistry) + + dgsComponents.forEach { dgsComponent -> + invokeDgsCodeRegistry( + dgsComponent, + codeRegistryBuilder, + mergedRegistry, ) } - val entityFetcher = federationResolverInstance.entitiesFetcher() - val typeResolver = federationResolverInstance.typeResolver() - val schemaOptions = SchemaGenerator.Options.defaultOptions().useCommentsAsDescriptions(showSdlComments) + runtimeWiringBuilder.codeRegistry(codeRegistryBuilder.build()) - var graphQLSchema = - Federation - .transform(mergedRegistry, runtimeWiring, schemaOptions) - .fetchEntities(entityFetcher) - .resolveEntityType(typeResolver) - .build() + dgsComponents.forEach { dgsComponent -> invokeDgsRuntimeWiring(dgsComponent, runtimeWiringBuilder) } - val endTime = System.currentTimeMillis() - val totalTime = endTime - startTime - logger.debug("DGS initialized schema in {}ms", totalTime) + val runtimeWiring = runtimeWiringBuilder.build() - return SchemaProviderResult(graphQLSchema, runtimeWiring) to dataFetcherInfo.toImmutable() - } + findEntityFetchers(dgsComponents, mergedRegistry, runtimeWiring, dataFetcherInfo) - private fun invokeDgsTypeDefinitionRegistry( - dgsComponent: DgsBean, - registry: TypeDefinitionRegistry, - ): TypeDefinitionRegistry? = - dgsComponent - .annotatedMethods() - .map { method -> - if (method.returnType != TypeDefinitionRegistry::class.java) { - throw InvalidDgsConfigurationException( - "Method annotated with @DgsTypeDefinitionRegistry must have return type TypeDefinitionRegistry", + val federationResolverInstance = + federationResolver.orElseGet { + DefaultDgsFederationResolver( + entityFetcherRegistry, + dataFetcherExceptionHandler, + applicationContext, ) } - if (method.parameterCount == 1 && method.parameterTypes[0] == TypeDefinitionRegistry::class.java) { - ReflectionUtils.invokeMethod(method, dgsComponent.instance, registry) as TypeDefinitionRegistry - } else { - ReflectionUtils.invokeMethod(method, dgsComponent.instance) as TypeDefinitionRegistry - } - }.reduceOrNull { a, b -> a.merge(b) } - private fun invokeDgsCodeRegistry( - dgsComponent: DgsBean, - codeRegistryBuilder: GraphQLCodeRegistry.Builder, - registry: TypeDefinitionRegistry, - ) { - val dgsCodeRegistryBuilder = DgsCodeRegistryBuilder(dataFetcherResultProcessors, codeRegistryBuilder, applicationContext) - - dgsComponent - .annotatedMethods() - .forEach { method -> - if (method.returnType != GraphQLCodeRegistry.Builder::class.java && - method.returnType != DgsCodeRegistryBuilder::class.java - ) { - throw InvalidDgsConfigurationException( - "Method annotated with @DgsCodeRegistry must have return type GraphQLCodeRegistry.Builder or DgsCodeRegistryBuilder", - ) - } + val entityFetcher = federationResolverInstance.entitiesFetcher() + val typeResolver = federationResolverInstance.typeResolver() + val schemaOptions = SchemaGenerator.Options.defaultOptions().useCommentsAsDescriptions(showSdlComments) - if (method.parameterCount != 2 || - method.parameterTypes[0] != method.returnType || - // Check that the first argument is of type DgsCodeRegistryBuilder or GraphQLCodeRegistry.Builder and the return type is the same - method.parameterTypes[1] != TypeDefinitionRegistry::class.java - ) { - throw InvalidDgsConfigurationException( - "Method annotated with @DgsCodeRegistry must accept the following arguments: GraphQLCodeRegistry.Builder or DgsCodeRegistryBuilder, and TypeDefinitionRegistry. ${dgsComponent.javaClass.name}.${method.name} has the following arguments: ${method.parameterTypes.joinToString()}", - ) - } + var graphQLSchema = + Federation + .transform(mergedRegistry, runtimeWiring, schemaOptions) + .fetchEntities(entityFetcher) + .resolveEntityType(typeResolver) + .build() - if (method.returnType == DgsCodeRegistryBuilder::class.java) { - ReflectionUtils.invokeMethod(method, dgsComponent.instance, dgsCodeRegistryBuilder, registry) - } else if (method.returnType == GraphQLCodeRegistry.Builder::class.java) { - ReflectionUtils.invokeMethod(method, dgsComponent.instance, codeRegistryBuilder, registry) - } - } - } + val endTime = System.currentTimeMillis() + val totalTime = endTime - startTime + logger.debug("DGS initialized schema in {}ms", totalTime) - private fun invokeDgsRuntimeWiring( - dgsComponent: DgsBean, - runtimeWiringBuilder: RuntimeWiring.Builder, - ) { - dgsComponent - .annotatedMethods() - .forEach { method -> - if (method.returnType != RuntimeWiring.Builder::class.java) { - throw InvalidDgsConfigurationException( - "Method annotated with @DgsRuntimeWiring must have return type RuntimeWiring.Builder", - ) - } + return SchemaProviderResult(graphQLSchema, runtimeWiring) to dataFetcherInfo.toImmutable() + } - if (method.parameterCount != 1 || method.parameterTypes[0] != RuntimeWiring.Builder::class.java) { - throw InvalidDgsConfigurationException( - "Method annotated with @DgsRuntimeWiring must accept an argument of type RuntimeWiring.Builder. ${dgsComponent.javaClass.name}.${method.name} has the following arguments: ${method.parameterTypes.joinToString()}", - ) - } + private fun invokeDgsTypeDefinitionRegistry( + dgsComponent: DgsBean, + registry: TypeDefinitionRegistry, + ): TypeDefinitionRegistry? = + dgsComponent + .annotatedMethods() + .map { method -> + if (method.returnType != TypeDefinitionRegistry::class.java) { + throw InvalidDgsConfigurationException( + "Method annotated with @DgsTypeDefinitionRegistry must have return type TypeDefinitionRegistry", + ) + } + if (method.parameterCount == 1 && method.parameterTypes[0] == TypeDefinitionRegistry::class.java) { + ReflectionUtils.invokeMethod(method, dgsComponent.instance, registry) as TypeDefinitionRegistry + } else { + ReflectionUtils.invokeMethod(method, dgsComponent.instance) as TypeDefinitionRegistry + } + }.reduceOrNull { a, b -> a.merge(b) } - ReflectionUtils.invokeMethod(method, dgsComponent.instance, runtimeWiringBuilder) - } - } + private fun invokeDgsCodeRegistry( + dgsComponent: DgsBean, + codeRegistryBuilder: GraphQLCodeRegistry.Builder, + registry: TypeDefinitionRegistry, + ) { + val dgsCodeRegistryBuilder = DgsCodeRegistryBuilder(dataFetcherResultProcessors, codeRegistryBuilder, applicationContext) - private fun findDataFetchers( - dgsComponents: Collection, - codeRegistryBuilder: DgsCodeRegistryBuilder, - typeDefinitionRegistry: TypeDefinitionRegistry, - dataFetcherInfo: MutableDataFetcherInfo, - ) { - dgsComponents.forEach { dgsComponent -> - dgsComponent.methods - .map { method -> - val mergedAnnotations = - MergedAnnotations - .from(method, MergedAnnotations.SearchStrategy.TYPE_HIERARCHY) - method to mergedAnnotations - }.filter { (_, mergedAnnotations) -> mergedAnnotations.isPresent(DgsData::class.java) } - .forEach { (method, mergedAnnotations) -> - val filteredMergedAnnotations = - mergedAnnotations - .stream(DgsData::class.java) - .filter { - AopUtils.getTargetClass((it.source as Method).declaringClass) == - AopUtils.getTargetClass(method.declaringClass) - }.toList() - filteredMergedAnnotations.forEach { dgsDataAnnotation -> - registerDataFetcher( - typeDefinitionRegistry, - codeRegistryBuilder, - dgsComponent, - method, - dgsDataAnnotation, - mergedAnnotations, - dataFetcherInfo, + dgsComponent + .annotatedMethods() + .forEach { method -> + if (method.returnType != GraphQLCodeRegistry.Builder::class.java && + method.returnType != DgsCodeRegistryBuilder::class.java + ) { + throw InvalidDgsConfigurationException( + "Method annotated with @DgsCodeRegistry must have return type GraphQLCodeRegistry.Builder or DgsCodeRegistryBuilder", + ) + } + + if (method.parameterCount != 2 || + method.parameterTypes[0] != method.returnType || + // Check that the first argument is of type DgsCodeRegistryBuilder or GraphQLCodeRegistry.Builder and the return type is the same + method.parameterTypes[1] != TypeDefinitionRegistry::class.java + ) { + throw InvalidDgsConfigurationException( + "Method annotated with @DgsCodeRegistry must accept the following arguments: GraphQLCodeRegistry.Builder or DgsCodeRegistryBuilder, and TypeDefinitionRegistry. ${dgsComponent.javaClass.name}.${method.name} has the following arguments: ${method.parameterTypes.joinToString()}", ) } + + if (method.returnType == DgsCodeRegistryBuilder::class.java) { + ReflectionUtils.invokeMethod(method, dgsComponent.instance, dgsCodeRegistryBuilder, registry) + } else if (method.returnType == GraphQLCodeRegistry.Builder::class.java) { + ReflectionUtils.invokeMethod(method, dgsComponent.instance, codeRegistryBuilder, registry) + } } } - } - private fun registerDataFetcher( - typeDefinitionRegistry: TypeDefinitionRegistry, - codeRegistryBuilder: DgsCodeRegistryBuilder, - dgsComponent: DgsBean, - method: Method, - dgsDataAnnotation: MergedAnnotation, - mergedAnnotations: MergedAnnotations, - dataFetcherInfo: MutableDataFetcherInfo, - ) { - val field = dgsDataAnnotation.getString("field").ifEmpty { method.name } - val parentType = dgsDataAnnotation.getString("parentType") + private fun invokeDgsRuntimeWiring( + dgsComponent: DgsBean, + runtimeWiringBuilder: RuntimeWiring.Builder, + ) { + dgsComponent + .annotatedMethods() + .forEach { method -> + if (method.returnType != RuntimeWiring.Builder::class.java) { + throw InvalidDgsConfigurationException( + "Method annotated with @DgsRuntimeWiring must have return type RuntimeWiring.Builder", + ) + } - if (dataFetcherInfo.dataFetchers.any { it.parentType == parentType && it.field == field }) { - logger.error("Duplicate data fetchers registered for {}.{}", parentType, field) - throw InvalidDgsConfigurationException("Duplicate data fetchers registered for $parentType.$field") - } + if (method.parameterCount != 1 || method.parameterTypes[0] != RuntimeWiring.Builder::class.java) { + throw InvalidDgsConfigurationException( + "Method annotated with @DgsRuntimeWiring must accept an argument of type RuntimeWiring.Builder. ${dgsComponent.javaClass.name}.${method.name} has the following arguments: ${method.parameterTypes.joinToString()}", + ) + } - dataFetcherInfo.dataFetchers += DataFetcherReference(dgsComponent.instance, method, mergedAnnotations, parentType, field) + ReflectionUtils.invokeMethod(method, dgsComponent.instance, runtimeWiringBuilder) + } + } - val enableTracingInstrumentation = - if (method.isAnnotationPresent(DgsEnableDataFetcherInstrumentation::class.java)) { - val dgsEnableDataFetcherInstrumentation = - method.getAnnotation(DgsEnableDataFetcherInstrumentation::class.java) - dgsEnableDataFetcherInstrumentation.value - } else { - method.returnType != CompletionStage::class.java && method.returnType != CompletableFuture::class.java + private fun findDataFetchers( + dgsComponents: Collection, + codeRegistryBuilder: DgsCodeRegistryBuilder, + typeDefinitionRegistry: TypeDefinitionRegistry, + dataFetcherInfo: MutableDataFetcherInfo, + ) { + dgsComponents.forEach { dgsComponent -> + dgsComponent.methods + .map { method -> + val mergedAnnotations = + MergedAnnotations + .from(method, MergedAnnotations.SearchStrategy.TYPE_HIERARCHY) + method to mergedAnnotations + }.filter { (_, mergedAnnotations) -> mergedAnnotations.isPresent(DgsData::class.java) } + .forEach { (method, mergedAnnotations) -> + val filteredMergedAnnotations = + mergedAnnotations + .stream(DgsData::class.java) + .filter { + AopUtils.getTargetClass((it.source as Method).declaringClass) == + AopUtils.getTargetClass(method.declaringClass) + }.toList() + filteredMergedAnnotations.forEach { dgsDataAnnotation -> + registerDataFetcher( + typeDefinitionRegistry, + codeRegistryBuilder, + dgsComponent, + method, + dgsDataAnnotation, + mergedAnnotations, + dataFetcherInfo, + ) + } + } } - if (enableTracingInstrumentation) { - dataFetcherInfo.tracingEnabled += "$parentType.$field" } - val enableMetricsInstrumentation = - if (method.isAnnotationPresent(DgsEnableDataFetcherInstrumentation::class.java)) { - val dgsEnableDataFetcherInstrumentation = - method.getAnnotation(DgsEnableDataFetcherInstrumentation::class.java) - dgsEnableDataFetcherInstrumentation.value - } else { - true + private fun registerDataFetcher( + typeDefinitionRegistry: TypeDefinitionRegistry, + codeRegistryBuilder: DgsCodeRegistryBuilder, + dgsComponent: DgsBean, + method: Method, + dgsDataAnnotation: MergedAnnotation, + mergedAnnotations: MergedAnnotations, + dataFetcherInfo: MutableDataFetcherInfo, + ) { + val field = dgsDataAnnotation.getString("field").ifEmpty { method.name } + val parentType = dgsDataAnnotation.getString("parentType") + + if (dataFetcherInfo.dataFetchers.any { it.parentType == parentType && it.field == field }) { + logger.error("Duplicate data fetchers registered for {}.{}", parentType, field) + throw InvalidDgsConfigurationException("Duplicate data fetchers registered for $parentType.$field") } - if (enableMetricsInstrumentation) { - dataFetcherInfo.metricsEnabled += "$parentType.$field" - } - val methodClassName = method.declaringClass.name - try { - val typeDefinition = typeDefinitionRegistry.getType(parentType).getOrNull() - if (typeDefinition == null) { - logger.error( - "Parent type {} not found, but it was referenced in {} in @DgsData annotation for field {}", - parentType, - methodClassName, - field, - ) - throw InvalidDgsConfigurationException( - "Parent type $parentType not found, but it was referenced on $methodClassName in @DgsData annotation for field $field", - ) + dataFetcherInfo.dataFetchers += DataFetcherReference(dgsComponent.instance, method, mergedAnnotations, parentType, field) + + val enableTracingInstrumentation = + if (method.isAnnotationPresent(DgsEnableDataFetcherInstrumentation::class.java)) { + val dgsEnableDataFetcherInstrumentation = + method.getAnnotation(DgsEnableDataFetcherInstrumentation::class.java) + dgsEnableDataFetcherInstrumentation.value + } else { + method.returnType != CompletionStage::class.java && method.returnType != CompletableFuture::class.java + } + if (enableTracingInstrumentation) { + dataFetcherInfo.tracingEnabled += "$parentType.$field" } - when (typeDefinition) { - is InterfaceTypeDefinition -> { - if (schemaWiringValidationEnabled) { - val matchingField = - getMatchingFieldOnInterfaceOrExtensions( - methodClassName, - typeDefinition, - field, - typeDefinitionRegistry, - parentType, + + val enableMetricsInstrumentation = + if (method.isAnnotationPresent(DgsEnableDataFetcherInstrumentation::class.java)) { + val dgsEnableDataFetcherInstrumentation = + method.getAnnotation(DgsEnableDataFetcherInstrumentation::class.java) + dgsEnableDataFetcherInstrumentation.value + } else { + true + } + if (enableMetricsInstrumentation) { + dataFetcherInfo.metricsEnabled += "$parentType.$field" + } + + val methodClassName = method.declaringClass.name + try { + val typeDefinition = typeDefinitionRegistry.getType(parentType).getOrNull() + if (typeDefinition == null) { + logger.error( + "Parent type {} not found, but it was referenced in {} in @DgsData annotation for field {}", + parentType, + methodClassName, + field, + ) + throw InvalidDgsConfigurationException( + "Parent type $parentType not found, but it was referenced on $methodClassName in @DgsData annotation for field $field", + ) + } + when (typeDefinition) { + is InterfaceTypeDefinition -> { + if (schemaWiringValidationEnabled) { + val matchingField = + getMatchingFieldOnInterfaceOrExtensions( + methodClassName, + typeDefinition, + field, + typeDefinitionRegistry, + parentType, + ) + checkInputArgumentsAreValid( + method, + matchingField.inputValueDefinitions.mapTo(mutableSetOf()) { it.name }, ) - checkInputArgumentsAreValid( - method, - matchingField.inputValueDefinitions.mapTo(mutableSetOf()) { it.name }, - ) + } + val implementationsOf = typeDefinitionRegistry.getImplementationsOf(typeDefinition) + implementationsOf.forEach { implType -> + // if we have a datafetcher explicitly defined for a parentType/field, use that and do not + // register the base implementation for interfaces + val coordinates = FieldCoordinates.coordinates(implType.name, field) + if (!codeRegistryBuilder.hasDataFetcher(coordinates)) { + val dataFetcher = methodDataFetcherFactory.createDataFetcher(dgsComponent.instance, method, coordinates) + codeRegistryBuilder.dataFetcher(coordinates, dataFetcher) + if (enableTracingInstrumentation) { + dataFetcherInfo.tracingEnabled += coordinates.toString() + } + if (enableMetricsInstrumentation) { + dataFetcherInfo.metricsEnabled += coordinates.toString() + } + } + } } - val implementationsOf = typeDefinitionRegistry.getImplementationsOf(typeDefinition) - implementationsOf.forEach { implType -> - // if we have a datafetcher explicitly defined for a parentType/field, use that and do not - // register the base implementation for interfaces - val coordinates = FieldCoordinates.coordinates(implType.name, field) - if (!codeRegistryBuilder.hasDataFetcher(coordinates)) { + is UnionTypeDefinition -> { + typeDefinition.memberTypes.asSequence().filterIsInstance().forEach { memberType -> + val coordinates = FieldCoordinates.coordinates(memberType.name, field) val dataFetcher = methodDataFetcherFactory.createDataFetcher(dgsComponent.instance, method, coordinates) codeRegistryBuilder.dataFetcher(coordinates, dataFetcher) if (enableTracingInstrumentation) { @@ -472,439 +489,431 @@ class DgsSchemaProvider( } } } - } - is UnionTypeDefinition -> { - typeDefinition.memberTypes.asSequence().filterIsInstance().forEach { memberType -> - val coordinates = FieldCoordinates.coordinates(memberType.name, field) + is ObjectTypeDefinition -> { + if (schemaWiringValidationEnabled) { + val matchingField = + getMatchingFieldOnObjectOrExtensions( + methodClassName, + typeDefinition, + field, + typeDefinitionRegistry, + parentType, + ) + checkInputArgumentsAreValid( + method, + matchingField.inputValueDefinitions + .asSequence() + .map { it.name } + .toSet(), + ) + } + + val coordinates = FieldCoordinates.coordinates(parentType, field) val dataFetcher = methodDataFetcherFactory.createDataFetcher(dgsComponent.instance, method, coordinates) codeRegistryBuilder.dataFetcher(coordinates, dataFetcher) - if (enableTracingInstrumentation) { - dataFetcherInfo.tracingEnabled += coordinates.toString() - } - if (enableMetricsInstrumentation) { - dataFetcherInfo.metricsEnabled += coordinates.toString() - } } - } - is ObjectTypeDefinition -> { - if (schemaWiringValidationEnabled) { - val matchingField = - getMatchingFieldOnObjectOrExtensions(methodClassName, typeDefinition, field, typeDefinitionRegistry, parentType) - checkInputArgumentsAreValid( - method, - matchingField.inputValueDefinitions - .asSequence() - .map { it.name } - .toSet(), + else -> { + throw InvalidDgsConfigurationException( + "Parent type $parentType referenced on $methodClassName in " + + "@DgsData annotation for field $field must be either an interface, a union, or an object.", ) } - - val coordinates = FieldCoordinates.coordinates(parentType, field) - val dataFetcher = methodDataFetcherFactory.createDataFetcher(dgsComponent.instance, method, coordinates) - codeRegistryBuilder.dataFetcher(coordinates, dataFetcher) - } - else -> { - throw InvalidDgsConfigurationException( - "Parent type $parentType referenced on $methodClassName in " + - "@DgsData annotation for field $field must be either an interface, a union, or an object.", - ) } + } catch (ex: Exception) { + logger.error("Invalid parent type {}", parentType) + throw ex } - } catch (ex: Exception) { - logger.error("Invalid parent type {}", parentType) - throw ex } - } - private fun getMatchingFieldOnObjectOrExtensions( - methodClassName: String, - type: ObjectTypeDefinition, - field: String, - typeDefinitionRegistry: TypeDefinitionRegistry, - parentType: String, - ): FieldDefinition = - type.fieldDefinitions.firstOrNull { it.name == field } - ?: typeDefinitionRegistry - .objectTypeExtensions() - .getOrDefault(parentType, emptyList()) - .asSequence() - .flatMap { it.fieldDefinitions.filter { f -> f.name == field } } - .firstOrNull() - ?: throw DataFetcherSchemaMismatchException( - "@DgsData in $methodClassName on field $field references " + - "object type `$parentType` it has no field named `$field`. All data fetchers registered with " + - "@DgsData|@DgsQuery|@DgsMutation|@DgsSubscription must match a field in the schema.", - ) + private fun getMatchingFieldOnObjectOrExtensions( + methodClassName: String, + type: ObjectTypeDefinition, + field: String, + typeDefinitionRegistry: TypeDefinitionRegistry, + parentType: String, + ): FieldDefinition = + type.fieldDefinitions.firstOrNull { it.name == field } + ?: typeDefinitionRegistry + .objectTypeExtensions() + .getOrDefault(parentType, emptyList()) + .asSequence() + .flatMap { it.fieldDefinitions.filter { f -> f.name == field } } + .firstOrNull() + ?: throw DataFetcherSchemaMismatchException( + "@DgsData in $methodClassName on field $field references " + + "object type `$parentType` it has no field named `$field`. All data fetchers registered with " + + "@DgsData|@DgsQuery|@DgsMutation|@DgsSubscription must match a field in the schema.", + ) - private fun getMatchingFieldOnInterfaceOrExtensions( - methodClassName: String, - type: InterfaceTypeDefinition, - field: String, - typeDefinitionRegistry: TypeDefinitionRegistry, - parentType: String, - ): FieldDefinition = - type.fieldDefinitions.firstOrNull { it.name == field } - ?: typeDefinitionRegistry - .interfaceTypeExtensions() - .getOrDefault(parentType, emptyList()) - .flatMap { it.fieldDefinitions.filter { f -> f.name == field } } - .firstOrNull() - ?: throw DataFetcherSchemaMismatchException( - "@DgsData in $methodClassName on field `$field` references " + - "interface `$parentType` it has no field named `$field`. All data fetchers registered with @DgsData " + - "must match a field in the schema.", - ) + private fun getMatchingFieldOnInterfaceOrExtensions( + methodClassName: String, + type: InterfaceTypeDefinition, + field: String, + typeDefinitionRegistry: TypeDefinitionRegistry, + parentType: String, + ): FieldDefinition = + type.fieldDefinitions.firstOrNull { it.name == field } + ?: typeDefinitionRegistry + .interfaceTypeExtensions() + .getOrDefault(parentType, emptyList()) + .flatMap { it.fieldDefinitions.filter { f -> f.name == field } } + .firstOrNull() + ?: throw DataFetcherSchemaMismatchException( + "@DgsData in $methodClassName on field `$field` references " + + "interface `$parentType` it has no field named `$field`. All data fetchers registered with @DgsData " + + "must match a field in the schema.", + ) - private fun checkInputArgumentsAreValid( - method: Method, - argumentNames: Set, - ) { - val bridgedMethod: Method = BridgeMethodResolver.findBridgedMethod(method) - val methodParameters: List = - bridgedMethod.parameters.map { parameter -> - val methodParameter = SynthesizingMethodParameter.forParameter(parameter) - methodParameter.initParameterNameDiscovery(methodDataFetcherFactory.parameterNameDiscoverer) - methodParameter - } + private fun checkInputArgumentsAreValid( + method: Method, + argumentNames: Set, + ) { + val bridgedMethod: Method = BridgeMethodResolver.findBridgedMethod(method) + val methodParameters: List = + bridgedMethod.parameters.map { parameter -> + val methodParameter = SynthesizingMethodParameter.forParameter(parameter) + methodParameter.initParameterNameDiscovery(methodDataFetcherFactory.parameterNameDiscoverer) + methodParameter + } - methodParameters.forEach { m -> - val selectedArgResolver = methodDataFetcherFactory.getSelectedArgumentResolver(m) ?: return@forEach - if (selectedArgResolver is InputArgumentResolver) { - val argName = selectedArgResolver.resolveArgumentName(m) - if (!argumentNames.contains(argName)) { - val paramName = m.parameterName ?: return@forEach - val arguments = - if (argumentNames.isNotEmpty()) { - "Found the following argument(s) in the schema: " + argumentNames.joinToString(prefix = "[", postfix = "]") - } else { - "No arguments on the field are defined in the schema." - } + methodParameters.forEach { m -> + val selectedArgResolver = methodDataFetcherFactory.getSelectedArgumentResolver(m) ?: return@forEach + if (selectedArgResolver is InputArgumentResolver) { + val argName = selectedArgResolver.resolveArgumentName(m) + if (!argumentNames.contains(argName)) { + val paramName = m.parameterName ?: return@forEach + val arguments = + if (argumentNames.isNotEmpty()) { + "Found the following argument(s) in the schema: " + argumentNames.joinToString(prefix = "[", postfix = "]") + } else { + "No arguments on the field are defined in the schema." + } - throw DataFetcherInputArgumentSchemaMismatchException( - "@InputArgument(name = \"$argName\") defined in ${method.declaringClass} in method `${method.name}` " + - "on parameter named `$paramName` has no matching argument with name `$argName` in the GraphQL schema. " + - arguments, - ) + throw DataFetcherInputArgumentSchemaMismatchException( + "@InputArgument(name = \"$argName\") defined in ${method.declaringClass} in method `${method.name}` " + + "on parameter named `$paramName` has no matching argument with name `$argName` in the GraphQL schema. " + + arguments, + ) + } } } } - } - private fun findEntityFetchers( - dgsComponents: Collection, - registry: TypeDefinitionRegistry, - runtimeWiring: RuntimeWiring, - dataFetcherInfo: MutableDataFetcherInfo, - ) { - dgsComponents.forEach { dgsComponent -> - dgsComponent - .annotatedMethods() - .forEach { method -> - val dgsEntityFetcherAnnotation = method.getAnnotation(DgsEntityFetcher::class.java) - - val enableInstrumentation = - method.getAnnotation(DgsEnableDataFetcherInstrumentation::class.java)?.value - ?: false - val entityFetcherTypeName = dgsEntityFetcherAnnotation.name - if (enableInstrumentation) { - val coordinateName = "__entities.$entityFetcherTypeName" - dataFetcherInfo.tracingEnabled += coordinateName - dataFetcherInfo.metricsEnabled += coordinateName - } + private fun findEntityFetchers( + dgsComponents: Collection, + registry: TypeDefinitionRegistry, + runtimeWiring: RuntimeWiring, + dataFetcherInfo: MutableDataFetcherInfo, + ) { + dgsComponents.forEach { dgsComponent -> + dgsComponent + .annotatedMethods() + .forEach { method -> + val dgsEntityFetcherAnnotation = method.getAnnotation(DgsEntityFetcher::class.java) + + val enableInstrumentation = + method.getAnnotation(DgsEnableDataFetcherInstrumentation::class.java)?.value + ?: false + val entityFetcherTypeName = dgsEntityFetcherAnnotation.name + if (enableInstrumentation) { + val coordinateName = "__entities.$entityFetcherTypeName" + dataFetcherInfo.tracingEnabled += coordinateName + dataFetcherInfo.metricsEnabled += coordinateName + } - // Throw if an entity fetcher for the same type was already registered - if (entityFetcherRegistry.entityFetchers.contains(entityFetcherTypeName)) { - val firstEntityFetcher = entityFetcherRegistry.entityFetchers[entityFetcherTypeName]!! - - // It's possible the schema() method is invoked multiple times, so check if the second entity fetcher is different from the existing one. - if (firstEntityFetcher != dgsComponent.instance to method) { - throw DuplicateEntityFetcherException( - entityFetcherTypeName, - firstEntityFetcher.first::class.java, - firstEntityFetcher.second, - dgsComponent.instance::class.java, - method, - ) + // Throw if an entity fetcher for the same type was already registered + if (entityFetcherRegistry.entityFetchers.contains(entityFetcherTypeName)) { + val firstEntityFetcher = entityFetcherRegistry.entityFetchers[entityFetcherTypeName]!! + + // It's possible the schema() method is invoked multiple times, so check if the second entity fetcher is different from the existing one. + if (firstEntityFetcher != dgsComponent.instance to method) { + throw DuplicateEntityFetcherException( + entityFetcherTypeName, + firstEntityFetcher.first::class.java, + firstEntityFetcher.second, + dgsComponent.instance::class.java, + method, + ) + } } - } - entityFetcherRegistry.entityFetchers[entityFetcherTypeName] = dgsComponent.instance to method - - val type = registry.getType(entityFetcherTypeName) - - if (enableEntityFetcherCustomScalarParsing) { - type.ifPresent { - val typeDefinition = it as? ImplementingTypeDefinition - val keyDirective = it.directives.find { directive -> directive.name == "key" } - - keyDirective?.let { directive -> - val fields = directive.argumentsByName["fields"] - - if (fields != null && fields.value is StringValue) { - val fieldsSelection = (fields.value as StringValue).value - val paths = SelectionSetUtil.toPaths(fieldsSelection) - - entityFetcherRegistry.entityFetcherInputMappings[entityFetcherTypeName] = - paths - .asSequence() - .mapNotNull { path -> - val coercing = traverseType(path.iterator(), typeDefinition, registry, runtimeWiring) - if (coercing != null) { - path to coercing - } else { - null - } - }.toMap() + entityFetcherRegistry.entityFetchers[entityFetcherTypeName] = dgsComponent.instance to method + + val type = registry.getType(entityFetcherTypeName) + + if (enableEntityFetcherCustomScalarParsing) { + type.ifPresent { + val typeDefinition = it as? ImplementingTypeDefinition + val keyDirective = it.directives.find { directive -> directive.name == "key" } + + keyDirective?.let { directive -> + val fields = directive.argumentsByName["fields"] + + if (fields != null && fields.value is StringValue) { + val fieldsSelection = (fields.value as StringValue).value + val paths = SelectionSetUtil.toPaths(fieldsSelection) + + entityFetcherRegistry.entityFetcherInputMappings[entityFetcherTypeName] = + paths + .asSequence() + .mapNotNull { path -> + val coercing = traverseType(path.iterator(), typeDefinition, registry, runtimeWiring) + if (coercing != null) { + path to coercing + } else { + null + } + }.toMap() + } } } } } - } + } } - } - private fun traverseType( - path: Iterator, - type: ImplementingTypeDefinition<*>?, - registry: TypeDefinitionRegistry, - runtimeWiring: RuntimeWiring, - ): Coercing<*, *>? { - if (type == null || !path.hasNext()) { - return null - } + private fun traverseType( + path: Iterator, + type: ImplementingTypeDefinition<*>?, + registry: TypeDefinitionRegistry, + runtimeWiring: RuntimeWiring, + ): Coercing<*, *>? { + if (type == null || !path.hasNext()) { + return null + } - val item = path.next() - val fieldDefinition = type.fieldDefinitions.firstOrNull { it.name == item } - val fieldDefinitionType = fieldDefinition?.type + val item = path.next() + val fieldDefinition = type.fieldDefinitions.firstOrNull { it.name == item } + val fieldDefinitionType = fieldDefinition?.type - if (fieldDefinitionType is TypeName) { - val fieldType = registry.getType(fieldDefinitionType.name).getOrNull() + if (fieldDefinitionType is TypeName) { + val fieldType = registry.getType(fieldDefinitionType.name).getOrNull() - if (fieldType != null) { - return when (fieldType) { - is ObjectTypeDefinition -> traverseType(path, fieldType, registry, runtimeWiring) - is ScalarTypeDefinition -> runtimeWiring.scalars[fieldType.name]?.coercing - else -> null + if (fieldType != null) { + return when (fieldType) { + is ObjectTypeDefinition -> traverseType(path, fieldType, registry, runtimeWiring) + is ScalarTypeDefinition -> runtimeWiring.scalars[fieldType.name]?.coercing + else -> null + } } } - } - return null - } + return null + } - private fun findTypeResolvers( - dgsComponents: Collection, - runtimeWiringBuilder: RuntimeWiring.Builder, - mergedRegistry: TypeDefinitionRegistry, - ) { - val registeredTypeResolvers = mutableSetOf() + private fun findTypeResolvers( + dgsComponents: Collection, + runtimeWiringBuilder: RuntimeWiring.Builder, + mergedRegistry: TypeDefinitionRegistry, + ) { + val registeredTypeResolvers = mutableSetOf() - dgsComponents.forEach { dgsComponent -> - dgsComponent - .annotatedMethods() - .forEach { method -> - val annotation = method.getAnnotation(DgsTypeResolver::class.java) + dgsComponents.forEach { dgsComponent -> + dgsComponent + .annotatedMethods() + .forEach { method -> + val annotation = method.getAnnotation(DgsTypeResolver::class.java) - if (method.returnType != String::class.java) { - throw InvalidTypeResolverException("@DgsTypeResolvers must return String") - } + if (method.returnType != String::class.java) { + throw InvalidTypeResolverException("@DgsTypeResolvers must return String") + } - if (method.parameterCount != 1) { - throw InvalidTypeResolverException("@DgsTypeResolvers must take exactly one parameter") - } + if (method.parameterCount != 1) { + throw InvalidTypeResolverException("@DgsTypeResolvers must take exactly one parameter") + } - if (!mergedRegistry.hasType(TypeName(annotation.name))) { - throw InvalidTypeResolverException("could not find type name '${annotation.name}' in schema") - } + if (!mergedRegistry.hasType(TypeName(annotation.name))) { + throw InvalidTypeResolverException("could not find type name '${annotation.name}' in schema") + } - var overrideTypeResolver = false - val defaultTypeResolver = method.getAnnotation(DgsDefaultTypeResolver::class.java) - if (defaultTypeResolver != null) { - overrideTypeResolver = - dgsComponents.any { component -> - component != dgsComponent && - component.annotatedMethods().any { method -> - method.getAnnotation(DgsTypeResolver::class.java).name == annotation.name - } - } - } - // do not add the default resolver if another resolver with the same name is present - if (defaultTypeResolver == null || !overrideTypeResolver) { - registeredTypeResolvers += annotation.name - - val dgsComponentInstance = dgsComponent.instance - runtimeWiringBuilder.type( - TypeRuntimeWiring - .newTypeWiring(annotation.name) - .typeResolver { env: TypeResolutionEnvironment -> - val typeName: String? = - ReflectionUtils.invokeMethod(method, dgsComponentInstance, env.getObject()) as String? - if (typeName != null) { - env.schema.getObjectType(typeName) - } else { - null - } - }, - ) + var overrideTypeResolver = false + val defaultTypeResolver = method.getAnnotation(DgsDefaultTypeResolver::class.java) + if (defaultTypeResolver != null) { + overrideTypeResolver = + dgsComponents.any { component -> + component != dgsComponent && + component.annotatedMethods().any { method -> + method.getAnnotation(DgsTypeResolver::class.java).name == annotation.name + } + } + } + // do not add the default resolver if another resolver with the same name is present + if (defaultTypeResolver == null || !overrideTypeResolver) { + registeredTypeResolvers += annotation.name + + val dgsComponentInstance = dgsComponent.instance + runtimeWiringBuilder.type( + TypeRuntimeWiring + .newTypeWiring(annotation.name) + .typeResolver { env: TypeResolutionEnvironment -> + val typeName: String? = + ReflectionUtils.invokeMethod(method, dgsComponentInstance, env.getObject()) as String? + if (typeName != null) { + env.schema.getObjectType(typeName) + } else { + null + } + }, + ) + } } - } - } - - // Add a fallback type resolver for types that don't have a type resolver registered. - // This works when the Java type has the same name as the GraphQL type. - // Check for unregistered interface types - val unregisteredInterfaceTypes = - mergedRegistry - .types() - .asSequence() - .filter { (_, typeDef) -> typeDef is InterfaceTypeDefinition } - .map { (name, _) -> name } - .filter { it !in registeredTypeResolvers } - checkTypeResolverExists(unregisteredInterfaceTypes, runtimeWiringBuilder, "interface") - - // Check for unregistered union types - val unregisteredUnionTypes = - mergedRegistry - .types() - .asSequence() - .filter { (_, typeDef) -> typeDef is UnionTypeDefinition } - .map { (name, _) -> name } - .filter { it !in registeredTypeResolvers } - checkTypeResolverExists(unregisteredUnionTypes, runtimeWiringBuilder, "union") - } + } - private fun checkTypeResolverExists( - unregisteredTypes: Sequence, - runtimeWiringBuilder: RuntimeWiring.Builder, - typeName: String, - ) { - unregisteredTypes.forEach { - runtimeWiringBuilder.type( - TypeRuntimeWiring - .newTypeWiring(it) - .typeResolver { env: TypeResolutionEnvironment -> - val instance = env.getObject() - val resolvedType = env.schema.getObjectType(instance::class.java.simpleName) - resolvedType - ?: throw InvalidTypeResolverException( - "The default type resolver could not find a suitable Java type for GraphQL $typeName type `$it`. Provide a @DgsTypeResolver for `${instance::class.java.simpleName}`.", - ) - }, - ) + // Add a fallback type resolver for types that don't have a type resolver registered. + // This works when the Java type has the same name as the GraphQL type. + // Check for unregistered interface types + val unregisteredInterfaceTypes = + mergedRegistry + .types() + .asSequence() + .filter { (_, typeDef) -> typeDef is InterfaceTypeDefinition } + .map { (name, _) -> name } + .filter { it !in registeredTypeResolvers } + checkTypeResolverExists(unregisteredInterfaceTypes, runtimeWiringBuilder, "interface") + + // Check for unregistered union types + val unregisteredUnionTypes = + mergedRegistry + .types() + .asSequence() + .filter { (_, typeDef) -> typeDef is UnionTypeDefinition } + .map { (name, _) -> name } + .filter { it !in registeredTypeResolvers } + checkTypeResolverExists(unregisteredUnionTypes, runtimeWiringBuilder, "union") } - } - private fun findScalars( - applicationContext: ApplicationContext, - runtimeWiringBuilder: RuntimeWiring.Builder, - ) { - applicationContext.getBeansWithAnnotation().values.forEach { scalarComponent -> - val annotation = scalarComponent::class.java.getAnnotation(DgsScalar::class.java) - when (scalarComponent) { - is Coercing<*, *> -> - runtimeWiringBuilder.scalar( - GraphQLScalarType - .newScalar() - .name(annotation.name) - .coercing(scalarComponent) - .build(), - ) - else -> throw RuntimeException("Invalid @DgsScalar type: the class must implement graphql.schema.Coercing") + private fun checkTypeResolverExists( + unregisteredTypes: Sequence, + runtimeWiringBuilder: RuntimeWiring.Builder, + typeName: String, + ) { + unregisteredTypes.forEach { + runtimeWiringBuilder.type( + TypeRuntimeWiring + .newTypeWiring(it) + .typeResolver { env: TypeResolutionEnvironment -> + val instance = env.getObject() + val resolvedType = env.schema.getObjectType(instance::class.java.simpleName) + resolvedType + ?: throw InvalidTypeResolverException( + "The default type resolver could not find a suitable Java type for GraphQL $typeName type `$it`. Provide a @DgsTypeResolver for `${instance::class.java.simpleName}`.", + ) + }, + ) } } - } - private fun findDirectives( - applicationContext: ApplicationContext, - runtimeWiringBuilder: RuntimeWiring.Builder, - ) { - applicationContext.getBeansWithAnnotation().values.forEach { directiveComponent -> - val annotation = AopUtils.getTargetClass(directiveComponent).getAnnotation(DgsDirective::class.java) - when (directiveComponent) { - is SchemaDirectiveWiring -> - if (annotation.name.isNotBlank()) { - runtimeWiringBuilder.directive(annotation.name, directiveComponent) - } else { - runtimeWiringBuilder.directiveWiring(directiveComponent) - } - else -> throw RuntimeException( - "Invalid @DgsDirective type: the class must implement graphql.schema.idl.SchemaDirectiveWiring", - ) + private fun findScalars( + applicationContext: ApplicationContext, + runtimeWiringBuilder: RuntimeWiring.Builder, + ) { + applicationContext.getBeansWithAnnotation().values.forEach { scalarComponent -> + val annotation = scalarComponent::class.java.getAnnotation(DgsScalar::class.java) + when (scalarComponent) { + is Coercing<*, *> -> + runtimeWiringBuilder.scalar( + GraphQLScalarType + .newScalar() + .name(annotation.name) + .coercing(scalarComponent) + .build(), + ) + else -> throw RuntimeException("Invalid @DgsScalar type: the class must implement graphql.schema.Coercing") + } } } - } - internal fun findSchemaFiles(hasDynamicTypeRegistry: Boolean = false): List { - val resolver = ResourcePatternUtils.getResourcePatternResolver(applicationContext) - val schemas = - schemaLocations - .asSequence() - .flatMap { resolver.getResources(it).asSequence() } - .toMutableSet() - - if (schemas.isEmpty()) { - if (existingTypeDefinitionRegistry.isPresent || hasDynamicTypeRegistry) { - logger.info("No schema files found, but a schema was provided as an TypeDefinitionRegistry") - } else { - logger.error( - "No schema files found in {}. Define schema locations with property dgs.graphql.schema-locations", - schemaLocations, - ) - throw NoSchemaFoundException() + private fun findDirectives( + applicationContext: ApplicationContext, + runtimeWiringBuilder: RuntimeWiring.Builder, + ) { + applicationContext.getBeansWithAnnotation().values.forEach { directiveComponent -> + val annotation = AopUtils.getTargetClass(directiveComponent).getAnnotation(DgsDirective::class.java) + when (directiveComponent) { + is SchemaDirectiveWiring -> + if (annotation.name.isNotBlank()) { + runtimeWiringBuilder.directive(annotation.name, directiveComponent) + } else { + runtimeWiringBuilder.directiveWiring(directiveComponent) + } + else -> throw RuntimeException( + "Invalid @DgsDirective type: the class must implement graphql.schema.idl.SchemaDirectiveWiring", + ) + } } } - val metaInfSchemas = - try { - resolver.getResources("classpath*:META-INF/schema/**/*.graphql*") - } catch (ex: IOException) { - arrayOf() + internal fun findSchemaFiles(hasDynamicTypeRegistry: Boolean = false): List { + val resolver = ResourcePatternUtils.getResourcePatternResolver(applicationContext) + val schemas = + schemaLocations + .asSequence() + .flatMap { resolver.getResources(it).asSequence() } + .toMutableSet() + + if (schemas.isEmpty()) { + if (existingTypeDefinitionRegistry.isPresent || hasDynamicTypeRegistry) { + logger.info("No schema files found, but a schema was provided as an TypeDefinitionRegistry") + } else { + logger.error( + "No schema files found in {}. Define schema locations with property dgs.graphql.schema-locations", + schemaLocations, + ) + throw NoSchemaFoundException() + } } - schemas += metaInfSchemas + val metaInfSchemas = + try { + resolver.getResources("classpath*:META-INF/schema/**/*.graphql*") + } catch (ex: IOException) { + arrayOf() + } + + schemas += metaInfSchemas - return schemas.filter { resource -> - val filename = resource.filename ?: return@filter false - filename.endsWith(".graphql", ignoreCase = true) || filename.endsWith(".graphqls", ignoreCase = true) + return schemas.filter { resource -> + val filename = resource.filename ?: return@filter false + filename.endsWith(".graphql", ignoreCase = true) || filename.endsWith(".graphqls", ignoreCase = true) + } } - } - companion object { - const val DEFAULT_SCHEMA_LOCATION = "classpath*:schema/**/*.graphql*" - private val logger: Logger = LoggerFactory.getLogger(DgsSchemaProvider::class.java) + companion object { + const val DEFAULT_SCHEMA_LOCATION = "classpath*:schema/**/*.graphql*" + private val logger: Logger = LoggerFactory.getLogger(DgsSchemaProvider::class.java) - private data class DgsBean( - val instance: Any, - val targetClass: Class<*> = AopUtils.getTargetClass(instance), - ) { - private val cachedMethods = ReflectionUtils.getUniqueDeclaredMethods(targetClass, ReflectionUtils.USER_DECLARED_METHODS) - val methods: Sequence get() = cachedMethods.asSequence() + private data class DgsBean( + val instance: Any, + val targetClass: Class<*> = AopUtils.getTargetClass(instance), + ) { + private val cachedMethods = ReflectionUtils.getUniqueDeclaredMethods(targetClass, ReflectionUtils.USER_DECLARED_METHODS) + val methods: Sequence get() = cachedMethods.asSequence() - inline fun annotatedMethods(): Sequence = - methods.filter { it.isAnnotationPresent(T::class.java) } - } + inline fun annotatedMethods(): Sequence = + methods.filter { it.isAnnotationPresent(T::class.java) } + } - private class MutableDataFetcherInfo( - val dataFetchers: MutableList = mutableListOf(), - val tracingEnabled: MutableSet = mutableSetOf(), - val metricsEnabled: MutableSet = mutableSetOf(), - ) { - fun toImmutable(): DataFetcherInfo = - DataFetcherInfo( - dataFetchers = immutableListOf(dataFetchers), - tracingEnabled = immutableSetOf(tracingEnabled), - metricsEnabled = immutableSetOf(metricsEnabled), - ) - } + private class MutableDataFetcherInfo( + val dataFetchers: MutableList = mutableListOf(), + val tracingEnabled: MutableSet = mutableSetOf(), + val metricsEnabled: MutableSet = mutableSetOf(), + ) { + fun toImmutable(): DataFetcherInfo = + DataFetcherInfo( + dataFetchers = immutableListOf(dataFetchers), + tracingEnabled = immutableSetOf(tracingEnabled), + metricsEnabled = immutableSetOf(metricsEnabled), + ) + } - @JvmRecord - private data class DataFetcherInfo( - val dataFetchers: List, - val tracingEnabled: Set, - val metricsEnabled: Set, - ) + @JvmRecord + private data class DataFetcherInfo( + val dataFetchers: List, + val tracingEnabled: Set, + val metricsEnabled: Set, + ) + } } -} data class SchemaProviderResult( val graphQLSchema: GraphQLSchema,