diff --git a/proxy/cassandra/src/graal/reflect-config.json b/proxy/cassandra/src/graal/reflect-config.json index 22b4dcf42..b00119c48 100644 --- a/proxy/cassandra/src/graal/reflect-config.json +++ b/proxy/cassandra/src/graal/reflect-config.json @@ -197,6 +197,14 @@ "name":"akka.cluster.ddata.protobuf.ReplicatorMessageSerializer", "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }] }, +{ + "name": "akka.cluster.ddata.protobuf.msg.ReplicatorMessages$OtherMessage", + "allPublicMethods":true +}, +{ + "name": "akka.cluster.ddata.protobuf.msg.ReplicatorMessages$OtherMessage$Builder", + "allPublicMethods":true +}, { "name":"akka.cluster.protobuf.ClusterMessageSerializer", "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }] diff --git a/proxy/core/src/graal/reflect-config.json b/proxy/core/src/graal/reflect-config.json index 0f987d74d..4a44ae1ff 100644 --- a/proxy/core/src/graal/reflect-config.json +++ b/proxy/core/src/graal/reflect-config.json @@ -186,6 +186,14 @@ "name":"akka.cluster.ddata.protobuf.ReplicatorMessageSerializer", "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }] }, +{ + "name": "akka.cluster.ddata.protobuf.msg.ReplicatorMessages$OtherMessage", + "allPublicMethods":true +}, +{ + "name": "akka.cluster.ddata.protobuf.msg.ReplicatorMessages$OtherMessage$Builder", + "allPublicMethods":true +}, { "name":"akka.cluster.protobuf.ClusterMessageSerializer", "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }] diff --git a/proxy/core/src/main/resources/META-INF/native-image/io.cloudstate/cloudstate-proxy-core/cloudstate-reflect-config.json b/proxy/core/src/main/resources/META-INF/native-image/io.cloudstate/cloudstate-proxy-core/cloudstate-reflect-config.json new file mode 100644 index 000000000..406c18ee9 --- /dev/null +++ b/proxy/core/src/main/resources/META-INF/native-image/io.cloudstate/cloudstate-proxy-core/cloudstate-reflect-config.json @@ -0,0 +1,59 @@ +[ + { + "name":"io.cloudstate.proxy.autoscaler.KubernetesDeploymentScaler$Metadata", + "allDeclaredFields":true, + "allPublicMethods":true, + "allPublicConstructors":true + }, + { + "name":"io.cloudstate.proxy.autoscaler.KubernetesDeploymentScaler$ScaleSpec", + "allDeclaredFields":true, + "allPublicMethods":true, + "allPublicConstructors":true + }, + { + "name":"io.cloudstate.proxy.autoscaler.KubernetesDeploymentScaler$ScaleStatus", + "allDeclaredFields":true, + "allPublicMethods":true, + "allPublicConstructors":true + }, + { + "name":"io.cloudstate.proxy.autoscaler.KubernetesDeploymentScaler$Scale", + "allDeclaredFields":true, + "allPublicMethods":true, + "allPublicConstructors":true + }, + { + "name":"io.cloudstate.proxy.autoscaler.KubernetesDeploymentScaler$DeploymentCondition", + "allDeclaredFields":true, + "allPublicMethods":true, + "allPublicConstructors":true + }, + { + "name":"io.cloudstate.proxy.autoscaler.KubernetesDeploymentScaler$DeploymentStatus", + "allDeclaredFields":true, + "allPublicMethods":true, + "allPublicConstructors":true + }, + { + "name":"io.cloudstate.proxy.autoscaler.KubernetesDeploymentScaler$DeploymentSpec", + "allDeclaredFields":true, + "allPublicMethods":true, + "allPublicConstructors":true + }, + { + "name":"io.cloudstate.proxy.autoscaler.KubernetesDeploymentScaler$Deployment", + "allDeclaredFields":true, + "allPublicMethods":true, + "allPublicConstructors":true + }, + { + "name":"io.cloudstate.proxy.autoscaler.KubernetesDeploymentScaler$DeploymentList", + "allDeclaredFields":true, + "allPublicMethods":true, + "allPublicConstructors":true + }, + { + "name":"com.google.protobuf.any.Any" + } +] \ No newline at end of file diff --git a/proxy/core/src/main/resources/META-INF/native-image/io.cloudstate/cloudstate-proxy-core/native-image.properties b/proxy/core/src/main/resources/META-INF/native-image/io.cloudstate/cloudstate-proxy-core/native-image.properties index ec901ed12..6860543df 100644 --- a/proxy/core/src/main/resources/META-INF/native-image/io.cloudstate/cloudstate-proxy-core/native-image.properties +++ b/proxy/core/src/main/resources/META-INF/native-image/io.cloudstate/cloudstate-proxy-core/native-image.properties @@ -1 +1 @@ -Args = -H:ReflectionConfigurationResources=${.}/akka-cluster-reflect-config.json,${.}/akka-management-reflect-config.json \ No newline at end of file +Args = -H:ReflectionConfigurationResources=${.}/akka-cluster-reflect-config.json,${.}/akka-management-reflect-config.json,${.}/cloudstate-reflect-config.json \ No newline at end of file diff --git a/proxy/postgres/src/graal/reflect-config.json b/proxy/postgres/src/graal/reflect-config.json index 33d7ab185..7bed223c3 100644 --- a/proxy/postgres/src/graal/reflect-config.json +++ b/proxy/postgres/src/graal/reflect-config.json @@ -186,6 +186,14 @@ "name":"akka.cluster.ddata.protobuf.ReplicatorMessageSerializer", "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }] }, +{ + "name": "akka.cluster.ddata.protobuf.msg.ReplicatorMessages$OtherMessage", + "allPublicMethods":true +}, +{ + "name": "akka.cluster.ddata.protobuf.msg.ReplicatorMessages$OtherMessage$Builder", + "allPublicMethods":true +}, { "name":"akka.cluster.protobuf.ClusterMessageSerializer", "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }]