diff --git a/gradle.properties b/gradle.properties index acd6240..c32f10e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ projectVersion=0.6.2-SNAPSHOT vertxVersion=4.3.0 graalVersion = 21.3.0 -apolloVersion=3.4.0 +apolloVersion=3.5.0 commonsLang3Version = 3.12.0 cliktVersion = 3.2.0 bouncycastleVersion = 1.69 diff --git a/settings.gradle b/settings.gradle index 01471b6..1fa4ea7 100644 --- a/settings.gradle +++ b/settings.gradle @@ -10,7 +10,7 @@ pluginManagement { id 'com.avast.gradle.docker-compose' version "0.16.8" apply false id 'io.gitlab.arturbosch.detekt' version "1.21.0" apply false id 'com.github.johnrengelman.shadow' version "7.1.2" apply false - id 'com.apollographql.apollo3' version "3.4.0" apply false + id 'com.apollographql.apollo3' version "3.5.0" apply false id 'org.mikeneck.graalvm-native-image' version "1.4.1" apply false id 'com.diffplug.spotless' version '6.9.0' apply false } diff --git a/src/main/graphql/schema.json b/src/main/graphql/schema.json index 1a33fb6..9e3538e 100644 --- a/src/main/graphql/schema.json +++ b/src/main/graphql/schema.json @@ -278,6 +278,41 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "ClientAccess", + "description": null, + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "secret", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "DataRedaction", @@ -300,7 +335,39 @@ "deprecationReason": null }, { - "name": "redactionPattern", + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "RedactionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lookup", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "replacement", "description": null, "args": [], "type": { @@ -2630,7 +2697,45 @@ "description": null, "args": [ { - "name": "redactionPattern", + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "type", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "RedactionType", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "lookup", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "replacement", "description": null, "type": { "kind": "NON_NULL", @@ -2656,6 +2761,67 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "updateDataRedaction", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "type", + "description": null, + "type": { + "kind": "ENUM", + "name": "RedactionType", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "lookup", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "replacement", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DataRedaction", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "removeDataRedaction", "description": null, @@ -3378,6 +3544,84 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "addClientAccess", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ClientAccess", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "removeClientAccess", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updateClientAccess", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ClientAccess", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -4004,6 +4248,30 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "getClientAccessors", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ClientAccess", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -4011,6 +4279,29 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "ENUM", + "name": "RedactionType", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "IDENTIFIER_MATCH", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VALUE_REGEX", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "ENUM", "name": "RolePermission", @@ -4025,6 +4316,30 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "ADD_CLIENT_ACCESS", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REMOVE_CLIENT_ACCESS", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GET_CLIENT_ACCESSORS", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATE_CLIENT_ACCESS", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "ADD_DEVELOPER", "description": null, @@ -5414,7 +5729,7 @@ "FIELD_DEFINITION", "ARGUMENT_DEFINITION", "ENUM_VALUE", - "VARIABLE_DEFINITION" + "INPUT_FIELD_DEFINITION" ], "args": [ { @@ -5455,4 +5770,4 @@ ] } } -} +} \ No newline at end of file