From d897f49da6c4c6d98507b0d944207a87009a4863 Mon Sep 17 00:00:00 2001 From: Michael Kimberlin Date: Mon, 25 Nov 2024 09:56:58 -0600 Subject: [PATCH] Added reflection configurations for updated flyway version --- .../checkins/reflect-config.json | 195 +++++++++++++++++ .../checkins-test/reflect-config.json | 196 +++++++++++++++++- 2 files changed, 390 insertions(+), 1 deletion(-) diff --git a/server/src/main/resources/META-INF/native-image/com.objectcomputing/checkins/reflect-config.json b/server/src/main/resources/META-INF/native-image/com.objectcomputing/checkins/reflect-config.json index c7ac5c8c3..b366e7e3d 100644 --- a/server/src/main/resources/META-INF/native-image/com.objectcomputing/checkins/reflect-config.json +++ b/server/src/main/resources/META-INF/native-image/com.objectcomputing/checkins/reflect-config.json @@ -51,5 +51,200 @@ ] } ] + }, + { + "name": "org.flywaydb.core.api.migration.baseline.BaselineMigrationConfigurationExtension", + "condition": { + "typeReachable": "org.flywaydb.core.api.configuration.ClassicConfiguration" + }, + "allDeclaredFields": true + }, + { + "name": "org.flywaydb.core.api.migration.baseline.BaselineMigrationConfigurationExtension", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [ + ] + }, + { + "name": "getBaselineMigrationPrefix", + "parameterTypes": [ + ] + }, + { + "name": "setBaselineMigrationPrefix", + "parameterTypes": [ + "java.lang.String" + ] + } + ] + }, + { + "name": "org.flywaydb.core.extensibility.ConfigurationExtension", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + } + }, + { + "name": "org.flywaydb.core.extensibility.Plugin", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + } + }, + { + "name": "org.flywaydb.core.internal.command.clean.CleanModeConfigurationExtension", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [ + ] + }, + { + "name": "getClean", + "parameterTypes": [ + ] + }, + { + "name": "setClean", + "parameterTypes": [ + "org.flywaydb.core.internal.command.clean.CleanModel" + ] + } + ] + }, + { + "name": "org.flywaydb.core.internal.command.clean.CleanModel", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true + }, + { + "name": "org.flywaydb.core.internal.command.clean.SchemaModel", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true + }, + { + "name": "org.flywaydb.core.internal.configuration.extensions.DeployScriptFilenameConfigurationExtension", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [ + ] + }, + { + "name": "getScriptFilename", + "parameterTypes": [ + ] + }, + { + "name": "setScriptFilename", + "parameterTypes": [ + "java.lang.String" + ] + } + ] + }, + { + "name": "org.flywaydb.core.internal.configuration.extensions.PrepareScriptFilenameConfigurationExtension", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [ + ] + }, + { + "name": "getScriptFilename", + "parameterTypes": [ + ] + }, + { + "name": "setScriptFilename", + "parameterTypes": [ + "java.lang.String" + ] + } + ] + }, + { + "name": "org.flywaydb.core.internal.proprietaryStubs.LicensingConfigurationExtensionStub", + "condition": { + "typeReachable": "org.flywaydb.core.api.configuration.ClassicConfiguration" + }, + "allDeclaredFields": true + }, + { + "name": "org.flywaydb.core.internal.proprietaryStubs.PATTokenConfigurationExtensionStub", + "condition": { + "typeReachable": "org.flywaydb.core.api.configuration.ClassicConfiguration" + }, + "allDeclaredFields": true + }, + { + "name": "org.flywaydb.core.internal.publishing.PublishingConfigurationExtension", + "condition": { + "typeReachable": "org.flywaydb.core.api.configuration.ClassicConfiguration" + }, + "allDeclaredFields": true + }, + { + "name": "org.flywaydb.core.internal.publishing.PublishingConfigurationExtension", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [ + ] + }, + { + "name": "isPublishResult", + "parameterTypes": [ + ] + }, + { + "name": "setPublishResult", + "parameterTypes": [ + "boolean" + ] + } + ] } ] \ No newline at end of file diff --git a/server/src/test/resources/META-INF/native-image/com.objectcomputing/checkins-test/reflect-config.json b/server/src/test/resources/META-INF/native-image/com.objectcomputing/checkins-test/reflect-config.json index fadf978ec..e50773f53 100644 --- a/server/src/test/resources/META-INF/native-image/com.objectcomputing/checkins-test/reflect-config.json +++ b/server/src/test/resources/META-INF/native-image/com.objectcomputing/checkins-test/reflect-config.json @@ -8,7 +8,6 @@ { "name": "", "parameterTypes": [ - ] }, { @@ -18,5 +17,200 @@ ] } ] + }, + { + "name": "org.flywaydb.core.api.migration.baseline.BaselineMigrationConfigurationExtension", + "condition": { + "typeReachable": "org.flywaydb.core.api.configuration.ClassicConfiguration" + }, + "allDeclaredFields": true + }, + { + "name": "org.flywaydb.core.api.migration.baseline.BaselineMigrationConfigurationExtension", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [ + ] + }, + { + "name": "getBaselineMigrationPrefix", + "parameterTypes": [ + ] + }, + { + "name": "setBaselineMigrationPrefix", + "parameterTypes": [ + "java.lang.String" + ] + } + ] + }, + { + "name": "org.flywaydb.core.extensibility.ConfigurationExtension", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + } + }, + { + "name": "org.flywaydb.core.extensibility.Plugin", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + } + }, + { + "name": "org.flywaydb.core.internal.command.clean.CleanModeConfigurationExtension", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [ + ] + }, + { + "name": "getClean", + "parameterTypes": [ + ] + }, + { + "name": "setClean", + "parameterTypes": [ + "org.flywaydb.core.internal.command.clean.CleanModel" + ] + } + ] + }, + { + "name": "org.flywaydb.core.internal.command.clean.CleanModel", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true + }, + { + "name": "org.flywaydb.core.internal.command.clean.SchemaModel", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true + }, + { + "name": "org.flywaydb.core.internal.configuration.extensions.DeployScriptFilenameConfigurationExtension", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [ + ] + }, + { + "name": "getScriptFilename", + "parameterTypes": [ + ] + }, + { + "name": "setScriptFilename", + "parameterTypes": [ + "java.lang.String" + ] + } + ] + }, + { + "name": "org.flywaydb.core.internal.configuration.extensions.PrepareScriptFilenameConfigurationExtension", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [ + ] + }, + { + "name": "getScriptFilename", + "parameterTypes": [ + ] + }, + { + "name": "setScriptFilename", + "parameterTypes": [ + "java.lang.String" + ] + } + ] + }, + { + "name": "org.flywaydb.core.internal.proprietaryStubs.LicensingConfigurationExtensionStub", + "condition": { + "typeReachable": "org.flywaydb.core.api.configuration.ClassicConfiguration" + }, + "allDeclaredFields": true + }, + { + "name": "org.flywaydb.core.internal.proprietaryStubs.PATTokenConfigurationExtensionStub", + "condition": { + "typeReachable": "org.flywaydb.core.api.configuration.ClassicConfiguration" + }, + "allDeclaredFields": true + }, + { + "name": "org.flywaydb.core.internal.publishing.PublishingConfigurationExtension", + "condition": { + "typeReachable": "org.flywaydb.core.api.configuration.ClassicConfiguration" + }, + "allDeclaredFields": true + }, + { + "name": "org.flywaydb.core.internal.publishing.PublishingConfigurationExtension", + "queryAllDeclaredMethods": true, + "condition": { + "typeReachable": "org.flywaydb.core.extensibility.ConfigurationExtension" + }, + "allDeclaredFields": true, + "queryAllDeclaredConstructors": true, + "methods": [ + { + "name": "", + "parameterTypes": [ + ] + }, + { + "name": "isPublishResult", + "parameterTypes": [ + ] + }, + { + "name": "setPublishResult", + "parameterTypes": [ + "boolean" + ] + } + ] } ] \ No newline at end of file