From 3383b023169bc7ec3c7e44927c4a750dd8303910 Mon Sep 17 00:00:00 2001 From: wenxuan70 Date: Wed, 29 Nov 2023 14:49:18 +0800 Subject: [PATCH] feat: add reachability metadata --- .../META-INF/native-image/reflect-config.json | 541 +++++++++++++++ .../native-image/resource-config.json | 57 ++ .../META-INF/native-image/reflect-config.json | 7 + .../META-INF/native-image/reflect-config.json | 9 + .../META-INF/native-image/reflect-config.json | 16 + .../META-INF/native-image/proxy-config.json | 44 ++ .../META-INF/native-image/reflect-config.json | 624 ++++++++++++++++++ .../native-image/resource-config.json | 13 + .../META-INF/native-image/reflect-config.json | 434 ++++++++++++ .../native-image/resource-config.json | 49 ++ .../META-INF/native-image/reflect-config.json | 434 ++++++++++++ .../native-image/resource-config.json | 61 ++ .../META-INF/native-image/reflect-config.json | 44 ++ .../native-image/resource-config.json | 9 + .../META-INF/native-image/proxy-config.json | 35 + .../META-INF/native-image/reflect-config.json | 554 ++++++++++++++++ .../native-image/resource-config.json | 13 + .../META-INF/native-image/jni-config.json | 8 + .../META-INF/native-image/proxy-config.json | 53 ++ .../META-INF/native-image/reflect-config.json | 495 ++++++++++++++ .../native-image/resource-config.json | 39 ++ .../META-INF/native-image/reflect-config.json | 311 +++++++++ .../native-image/resource-config.json | 15 + .../META-INF/native-image/reflect-config.json | 327 +++++++++ .../native-image/resource-config.json | 15 + .../META-INF/native-image/reflect-config.json | 9 + .../native-image/resource-config.json | 9 + .../META-INF/native-image/reflect-config.json | 35 + .../native-image/resource-config.json | 9 + .../META-INF/native-image/proxy-config.json | 17 + .../META-INF/native-image/reflect-config.json | 108 +++ .../native-image/resource-config.json | 15 + .../META-INF/native-image/reflect-config.json | 61 ++ .../native-image/resource-config.json | 21 + .../META-INF/native-image/reflect-config.json | 519 +++++++++++++++ .../native-image/resource-config.json | 45 ++ pom.xml | 55 +- 37 files changed, 5108 insertions(+), 2 deletions(-) create mode 100644 polaris-circuitbreaker/polaris-circuitbreaker-factory/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-circuitbreaker/polaris-circuitbreaker-factory/src/main/resources/META-INF/native-image/resource-config.json create mode 100644 polaris-common/polaris-client/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-common/polaris-config/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-common/polaris-model/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-configuration/polaris-configuration-client/src/main/resources/META-INF/native-image/proxy-config.json create mode 100644 polaris-configuration/polaris-configuration-client/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-configuration/polaris-configuration-client/src/main/resources/META-INF/native-image/resource-config.json create mode 100644 polaris-discovery/polaris-discovery-factory/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-discovery/polaris-discovery-factory/src/main/resources/META-INF/native-image/resource-config.json create mode 100644 polaris-factory/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-factory/src/main/resources/META-INF/native-image/resource-config.json create mode 100644 polaris-plugins/polaris-plugins-circuitbreaker/circuitbreaker-composite/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-plugins/polaris-plugins-circuitbreaker/circuitbreaker-composite/src/main/resources/META-INF/native-image/resource-config.json create mode 100644 polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto/src/main/resources/META-INF/native-image/proxy-config.json create mode 100644 polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto/src/main/resources/META-INF/native-image/resource-config.json create mode 100644 polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/jni-config.json create mode 100644 polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/proxy-config.json create mode 100644 polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/resource-config.json create mode 100644 polaris-plugins/polaris-plugins-healthchecker/healthchecker-http/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-plugins/polaris-plugins-healthchecker/healthchecker-http/src/main/resources/META-INF/native-image/resource-config.json create mode 100644 polaris-plugins/polaris-plugins-healthchecker/healthchecker-tcp/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-plugins/polaris-plugins-healthchecker/healthchecker-tcp/src/main/resources/META-INF/native-image/resource-config.json create mode 100644 polaris-plugins/polaris-plugins-loadbalancer/loadbalancer-roundrobin/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-plugins/polaris-plugins-loadbalancer/loadbalancer-roundrobin/src/main/resources/META-INF/native-image/resource-config.json create mode 100644 polaris-plugins/polaris-plugins-observability/stat-common/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-plugins/polaris-plugins-observability/stat-common/src/main/resources/META-INF/native-image/resource-config.json create mode 100644 polaris-plugins/polaris-plugins-observability/stat-prometheus/src/main/resources/META-INF/native-image/proxy-config.json create mode 100644 polaris-plugins/polaris-plugins-observability/stat-prometheus/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-plugins/polaris-plugins-observability/stat-prometheus/src/main/resources/META-INF/native-image/resource-config.json create mode 100644 polaris-plugins/polaris-plugins-router/router-rule/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-plugins/polaris-plugins-router/router-rule/src/main/resources/META-INF/native-image/resource-config.json create mode 100644 polaris-ratelimit/polaris-ratelimit-factory/src/main/resources/META-INF/native-image/reflect-config.json create mode 100644 polaris-ratelimit/polaris-ratelimit-factory/src/main/resources/META-INF/native-image/resource-config.json diff --git a/polaris-circuitbreaker/polaris-circuitbreaker-factory/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-circuitbreaker/polaris-circuitbreaker-factory/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..fa606153d --- /dev/null +++ b/polaris-circuitbreaker/polaris-circuitbreaker-factory/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,541 @@ +[ +{ + "name":"com.tencent.polaris.api.config.Configuration", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFileConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFilterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.CircuitBreakerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ConsumerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.DiscoveryConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LoadBalanceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LocalCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ServiceRouterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.SubscribeConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.APIConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ClusterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.GlobalConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ServerConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.StatReporterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.SystemConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.plugin.PluginConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RegisterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ServiceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.verify.Verifier", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.plugin.route.LocationLevel", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.rpc.RuleBasedRouterFailoverType", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.circuitbreaker.factory.test.CircuitBreakerTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"after","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testCircuitBreakByErrorCount","parameterTypes":[] }, {"name":"testCircuitBreakByErrorRate","parameterTypes":[] }, {"name":"testFunctionalDecorator","parameterTypes":[] }, {"name":"testUpdateServiceCallResult","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.ConfigurationImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFile","parameterTypes":[] }, {"name":"getConsumer","parameterTypes":[] }, {"name":"getGlobal","parameterTypes":[] }, {"name":"getProvider","parameterTypes":[] }, {"name":"setConsumer","parameterTypes":["com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl"] }, {"name":"setGlobal","parameterTypes":["com.tencent.polaris.factory.config.global.GlobalConfigImpl"] }, {"name":"setProvider","parameterTypes":["com.tencent.polaris.factory.config.provider.ProviderConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFileConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFilterConfig","parameterTypes":[] }, {"name":"getPropertiesValueCacheSize","parameterTypes":[] }, {"name":"getPropertiesValueExpireTime","parameterTypes":[] }, {"name":"getServerConnector","parameterTypes":[] }, {"name":"setPropertiesValueCacheSize","parameterTypes":["int"] }, {"name":"setPropertiesValueExpireTime","parameterTypes":["long"] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFilterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"getChain","parameterTypes":[] }, {"name":"getPluginConfigs","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFileGroupThreadNum","parameterTypes":[] }, {"name":"getConnectorType","parameterTypes":[] }, {"name":"getFallbackToLocalCache","parameterTypes":[] }, {"name":"getPersistDir","parameterTypes":[] }, {"name":"getPersistEnable","parameterTypes":[] }, {"name":"getPersistMaxReadRetry","parameterTypes":[] }, {"name":"getPersistMaxWriteRetry","parameterTypes":[] }, {"name":"getPersistRetryInterval","parameterTypes":[] }, {"name":"setConnectorType","parameterTypes":["java.lang.String"] }, {"name":"setFallbackToLocalCache","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistRetryInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.CircuitBreakerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"getCheckPeriod","parameterTypes":[] }, {"name":"getRequestCountAfterHalfOpen","parameterTypes":[] }, {"name":"getSleepWindow","parameterTypes":[] }, {"name":"getSuccessCountAfterHalfOpen","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"isEnableRemotePull","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setEnableRemotePull","parameterTypes":["boolean"] }, {"name":"setRequestCountAfterHalfOpen","parameterTypes":["int"] }, {"name":"setSleepWindow","parameterTypes":["long"] }, {"name":"setSuccessCountAfterHalfOpen","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getCircuitBreaker","parameterTypes":[] }, {"name":"getDiscoveries","parameterTypes":[] }, {"name":"getLoadbalancer","parameterTypes":[] }, {"name":"getLocalCache","parameterTypes":[] }, {"name":"getOutlierDetection","parameterTypes":[] }, {"name":"getServiceRouter","parameterTypes":[] }, {"name":"getSubscribe","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.DiscoveryConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LoadBalanceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LocalCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getPersistDir","parameterTypes":[] }, {"name":"getPersistMaxReadRetry","parameterTypes":[] }, {"name":"getPersistMaxWriteRetry","parameterTypes":[] }, {"name":"getPersistRetryInterval","parameterTypes":[] }, {"name":"getServiceExpireTime","parameterTypes":[] }, {"name":"getServiceListRefreshInterval","parameterTypes":[] }, {"name":"getServiceRefreshInterval","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"isPersistEnable","parameterTypes":[] }, {"name":"isServiceExpireEnable","parameterTypes":[] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["int"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["int"] }, {"name":"setPersistRetryInterval","parameterTypes":["long"] }, {"name":"setServiceExpireEnable","parameterTypes":["boolean"] }, {"name":"setServiceExpireTime","parameterTypes":["long"] }, {"name":"setServiceListRefreshInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServiceRefreshInterval","parameterTypes":["long"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.OutlierDetectionConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"getCheckPeriod","parameterTypes":[] }, {"name":"getWhen","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setWhen","parameterTypes":["com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ServiceRouterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAfterChain","parameterTypes":[] }, {"name":"getBeforeChain","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"setAfterChain","parameterTypes":["java.util.List"] }, {"name":"setBeforeChain","parameterTypes":["java.util.List"] }, {"name":"setChain","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.SubscribeConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getCallbackConcurrency","parameterTypes":[] }, {"name":"setCallbackConcurrency","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.APIConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getBindIP","parameterTypes":[] }, {"name":"getBindIf","parameterTypes":[] }, {"name":"getMaxRetryTimes","parameterTypes":[] }, {"name":"getReportInterval","parameterTypes":[] }, {"name":"getRetryInterval","parameterTypes":[] }, {"name":"getTimeout","parameterTypes":[] }, {"name":"setMaxRetryTimes","parameterTypes":["int"] }, {"name":"setReportInterval","parameterTypes":["long"] }, {"name":"setRetryInterval","parameterTypes":["long"] }, {"name":"setTimeout","parameterTypes":["long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ClusterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getLbPolicy","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getRefreshInterval","parameterTypes":[] }, {"name":"getRouters","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"isSameAsBuiltin","parameterTypes":[] }, {"name":"setLbPolicy","parameterTypes":["java.lang.String"] }, {"name":"setRefreshInterval","parameterTypes":["long"] }, {"name":"setRouters","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getExpireInterval","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setExpireInterval","parameterTypes":["long"] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.GlobalConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAPI","parameterTypes":[] }, {"name":"getLocation","parameterTypes":[] }, {"name":"getServerConnector","parameterTypes":[] }, {"name":"getServerConnectors","parameterTypes":[] }, {"name":"getStatReporter","parameterTypes":[] }, {"name":"getSystem","parameterTypes":[] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getProviders","parameterTypes":[] }, {"name":"setProviders","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getOptions","parameterTypes":[] }, {"name":"getTye","parameterTypes":[] }, {"name":"setOptions","parameterTypes":["java.util.Map"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAddresses","parameterTypes":[] }, {"name":"getCertFile","parameterTypes":[] }, {"name":"getConnectTimeout","parameterTypes":[] }, {"name":"getConnectionIdleTimeout","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getKeyFile","parameterTypes":[] }, {"name":"getMessageTimeout","parameterTypes":[] }, {"name":"getMetadata","parameterTypes":[] }, {"name":"getProtocol","parameterTypes":[] }, {"name":"getReconnectInterval","parameterTypes":[] }, {"name":"getServerSwitchInterval","parameterTypes":[] }, {"name":"getTrustedCAFile","parameterTypes":[] }, {"name":"setAddresses","parameterTypes":["java.util.List"] }, {"name":"setConnectTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setConnectionIdleTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setId","parameterTypes":["java.lang.String"] }, {"name":"setMessageTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setProtocol","parameterTypes":["java.lang.String"] }, {"name":"setReconnectInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServerSwitchInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.StatReporterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.SystemConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigCluster","parameterTypes":[] }, {"name":"getDiscoverCluster","parameterTypes":[] }, {"name":"getFlow","parameterTypes":[] }, {"name":"getFlowCache","parameterTypes":[] }, {"name":"getHealthCheckCluster","parameterTypes":[] }, {"name":"getMonitorCluster","parameterTypes":[] }, {"name":"getVariables","parameterTypes":[] }, {"name":"setFlow","parameterTypes":["com.tencent.polaris.factory.config.global.FlowConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.plugin.PluginConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "methods":[{"name":"getPlugin","parameterTypes":[] }, {"name":"getPluginConfigs","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getMinRegisterInterval","parameterTypes":[] }, {"name":"getRateLimit","parameterTypes":[] }, {"name":"getRegisters","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RateLimitConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getFallbackOnExceedWindowCount","parameterTypes":[] }, {"name":"getLimiterAddresses","parameterTypes":[] }, {"name":"getLimiterNamespace","parameterTypes":[] }, {"name":"getLimiterService","parameterTypes":[] }, {"name":"getMaxQueuingTime","parameterTypes":[] }, {"name":"getMaxWindowCount","parameterTypes":[] }, {"name":"getRemoteSyncTimeoutMilli","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"isReportMetrics","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setFallbackOnExceedWindowCount","parameterTypes":["com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback"] }, {"name":"setLimiterNamespace","parameterTypes":["java.lang.String"] }, {"name":"setLimiterService","parameterTypes":["java.lang.String"] }, {"name":"setMaxQueuingTime","parameterTypes":["java.lang.Long"] }, {"name":"setMaxWindowCount","parameterTypes":["int"] }, {"name":"setRemoteSyncTimeoutMilli","parameterTypes":["long"] }, {"name":"setReportMetrics","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RegisterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ServiceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"getName","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.util.TimeStrJsonDeserializer", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugin.location.base.BaseLocationProvider$GetOption", + "allDeclaredFields":true, + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.circuitbreaker.errcount.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getContinuousErrorThreshold","parameterTypes":[] }, {"name":"setContinuousErrorThreshold","parameterTypes":["java.lang.Integer"] }] +}, +{ + "name":"com.tencent.polaris.plugins.circuitbreaker.errrate.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getErrorRateThreshold","parameterTypes":[] }, {"name":"getMetricNumBuckets","parameterTypes":[] }, {"name":"getRequestVolumeThreshold","parameterTypes":[] }, {"name":"setErrorRateThreshold","parameterTypes":["java.lang.Integer"] }, {"name":"setMetricNumBuckets","parameterTypes":["java.lang.Integer"] }, {"name":"setRequestVolumeThreshold","parameterTypes":["java.lang.Integer"] }] +}, +{ + "name":"com.tencent.polaris.plugins.outlier.detector.http.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getPath","parameterTypes":[] }, {"name":"getTimeout","parameterTypes":[] }, {"name":"setPath","parameterTypes":["java.lang.String"] }, {"name":"setTimeout","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.plugins.outlier.detector.tcp.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getReceive","parameterTypes":[] }, {"name":"getSend","parameterTypes":[] }, {"name":"setReceive","parameterTypes":["java.lang.String"] }, {"name":"setSend","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.plugins.outlier.detector.udp.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getReceive","parameterTypes":[] }, {"name":"getSend","parameterTypes":[] }, {"name":"getTimeout","parameterTypes":[] }, {"name":"setReceive","parameterTypes":["java.lang.String"] }, {"name":"setSend","parameterTypes":["java.lang.String"] }, {"name":"setTimeout","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.healthy.RecoverRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"isExcludeCircuitBreakInstances","parameterTypes":[] }, {"name":"setExcludeCircuitBreakInstances","parameterTypes":["java.lang.Boolean"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.metadata.FailOverType", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.plugins.router.metadata.MetadataRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getMetadataFailOverType","parameterTypes":[] }, {"name":"setMetadataFailOverType","parameterTypes":["com.tencent.polaris.plugins.router.metadata.FailOverType"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.nearby.NearbyRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getMatchLevel","parameterTypes":[] }, {"name":"getMaxMatchLevel","parameterTypes":[] }, {"name":"getUnhealthyPercentToDegrade","parameterTypes":[] }, {"name":"isEnableDegradeByUnhealthyPercent","parameterTypes":[] }, {"name":"isEnableReportLocalAddress","parameterTypes":[] }, {"name":"isStrictNearby","parameterTypes":[] }, {"name":"setEnableDegradeByUnhealthyPercent","parameterTypes":["java.lang.Boolean"] }, {"name":"setEnableReportLocalAddress","parameterTypes":["java.lang.Boolean"] }, {"name":"setMatchLevel","parameterTypes":["com.tencent.polaris.api.plugin.route.LocationLevel"] }, {"name":"setMaxMatchLevel","parameterTypes":["com.tencent.polaris.api.plugin.route.LocationLevel"] }, {"name":"setStrictNearby","parameterTypes":["java.lang.Boolean"] }, {"name":"setUnhealthyPercentToDegrade","parameterTypes":["java.lang.Integer"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.rule.RuleBasedRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getFailoverType","parameterTypes":[] }, {"name":"setFailoverType","parameterTypes":["com.tencent.polaris.api.rpc.RuleBasedRouterFailoverType"] }] +}, +{ + "name":"com.tencent.polaris.plugins.stat.prometheus.handler.PrometheusHandlerConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAddress","parameterTypes":[] }, {"name":"getHost","parameterTypes":[] }, {"name":"getPath","parameterTypes":[] }, {"name":"getPort","parameterTypes":[] }, {"name":"getPushInterval","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"isOpenGzip","parameterTypes":[] }, {"name":"setAddress","parameterTypes":["java.lang.String"] }, {"name":"setHost","parameterTypes":["java.lang.String"] }, {"name":"setOpenGzip","parameterTypes":["java.lang.Boolean"] }, {"name":"setPath","parameterTypes":["java.lang.String"] }, {"name":"setPort","parameterTypes":["java.lang.Integer"] }, {"name":"setPushInterval","parameterTypes":["java.lang.Long"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$CircuitBreakerRule", + "methods":[{"name":"getCtime","parameterTypes":[] }, {"name":"getCtimeBytes","parameterTypes":[] }, {"name":"getDescription","parameterTypes":[] }, {"name":"getDescriptionBytes","parameterTypes":[] }, {"name":"getEnable","parameterTypes":[] }, {"name":"getErrorConditions","parameterTypes":["int"] }, {"name":"getErrorConditionsCount","parameterTypes":[] }, {"name":"getErrorConditionsList","parameterTypes":[] }, {"name":"getEtime","parameterTypes":[] }, {"name":"getEtimeBytes","parameterTypes":[] }, {"name":"getFallbackConfig","parameterTypes":[] }, {"name":"getFaultDetectConfig","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getIdBytes","parameterTypes":[] }, {"name":"getLevel","parameterTypes":[] }, {"name":"getLevelValue","parameterTypes":[] }, {"name":"getMaxEjectionPercent","parameterTypes":[] }, {"name":"getMtime","parameterTypes":[] }, {"name":"getMtimeBytes","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"getNameBytes","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getNamespaceBytes","parameterTypes":[] }, {"name":"getRecoverCondition","parameterTypes":[] }, {"name":"getRevision","parameterTypes":[] }, {"name":"getRevisionBytes","parameterTypes":[] }, {"name":"getRuleMatcher","parameterTypes":[] }, {"name":"getTriggerCondition","parameterTypes":["int"] }, {"name":"getTriggerConditionCount","parameterTypes":[] }, {"name":"getTriggerConditionList","parameterTypes":[] }, {"name":"hasFallbackConfig","parameterTypes":[] }, {"name":"hasFaultDetectConfig","parameterTypes":[] }, {"name":"hasRecoverCondition","parameterTypes":[] }, {"name":"hasRuleMatcher","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$CircuitBreakerRule$Builder", + "methods":[{"name":"addErrorConditions","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$ErrorCondition"] }, {"name":"addTriggerCondition","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$TriggerCondition"] }, {"name":"clearCtime","parameterTypes":[] }, {"name":"clearDescription","parameterTypes":[] }, {"name":"clearEnable","parameterTypes":[] }, {"name":"clearErrorConditions","parameterTypes":[] }, {"name":"clearEtime","parameterTypes":[] }, {"name":"clearFallbackConfig","parameterTypes":[] }, {"name":"clearFaultDetectConfig","parameterTypes":[] }, {"name":"clearId","parameterTypes":[] }, {"name":"clearLevel","parameterTypes":[] }, {"name":"clearMaxEjectionPercent","parameterTypes":[] }, {"name":"clearMtime","parameterTypes":[] }, {"name":"clearName","parameterTypes":[] }, {"name":"clearNamespace","parameterTypes":[] }, {"name":"clearRecoverCondition","parameterTypes":[] }, {"name":"clearRevision","parameterTypes":[] }, {"name":"clearRuleMatcher","parameterTypes":[] }, {"name":"clearTriggerCondition","parameterTypes":[] }, {"name":"getCtime","parameterTypes":[] }, {"name":"getCtimeBytes","parameterTypes":[] }, {"name":"getDescription","parameterTypes":[] }, {"name":"getDescriptionBytes","parameterTypes":[] }, {"name":"getEnable","parameterTypes":[] }, {"name":"getErrorConditions","parameterTypes":["int"] }, {"name":"getErrorConditionsBuilder","parameterTypes":["int"] }, {"name":"getErrorConditionsCount","parameterTypes":[] }, {"name":"getErrorConditionsList","parameterTypes":[] }, {"name":"getEtime","parameterTypes":[] }, {"name":"getEtimeBytes","parameterTypes":[] }, {"name":"getFallbackConfig","parameterTypes":[] }, {"name":"getFallbackConfigBuilder","parameterTypes":[] }, {"name":"getFaultDetectConfig","parameterTypes":[] }, {"name":"getFaultDetectConfigBuilder","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getIdBytes","parameterTypes":[] }, {"name":"getLevel","parameterTypes":[] }, {"name":"getLevelValue","parameterTypes":[] }, {"name":"getMaxEjectionPercent","parameterTypes":[] }, {"name":"getMtime","parameterTypes":[] }, {"name":"getMtimeBytes","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"getNameBytes","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getNamespaceBytes","parameterTypes":[] }, {"name":"getRecoverCondition","parameterTypes":[] }, {"name":"getRecoverConditionBuilder","parameterTypes":[] }, {"name":"getRevision","parameterTypes":[] }, {"name":"getRevisionBytes","parameterTypes":[] }, {"name":"getRuleMatcher","parameterTypes":[] }, {"name":"getRuleMatcherBuilder","parameterTypes":[] }, {"name":"getTriggerCondition","parameterTypes":["int"] }, {"name":"getTriggerConditionBuilder","parameterTypes":["int"] }, {"name":"getTriggerConditionCount","parameterTypes":[] }, {"name":"getTriggerConditionList","parameterTypes":[] }, {"name":"hasFallbackConfig","parameterTypes":[] }, {"name":"hasFaultDetectConfig","parameterTypes":[] }, {"name":"hasRecoverCondition","parameterTypes":[] }, {"name":"hasRuleMatcher","parameterTypes":[] }, {"name":"setCtime","parameterTypes":["java.lang.String"] }, {"name":"setCtimeBytes","parameterTypes":["com.google.protobuf.ByteString"] }, {"name":"setDescription","parameterTypes":["java.lang.String"] }, {"name":"setDescriptionBytes","parameterTypes":["com.google.protobuf.ByteString"] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setErrorConditions","parameterTypes":["int","com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$ErrorCondition"] }, {"name":"setEtime","parameterTypes":["java.lang.String"] }, {"name":"setEtimeBytes","parameterTypes":["com.google.protobuf.ByteString"] }, {"name":"setFallbackConfig","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$FallbackConfig"] }, {"name":"setFaultDetectConfig","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$FaultDetectConfig"] }, {"name":"setId","parameterTypes":["java.lang.String"] }, {"name":"setIdBytes","parameterTypes":["com.google.protobuf.ByteString"] }, {"name":"setLevel","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$Level"] }, {"name":"setLevelValue","parameterTypes":["int"] }, {"name":"setMaxEjectionPercent","parameterTypes":["int"] }, {"name":"setMtime","parameterTypes":["java.lang.String"] }, {"name":"setMtimeBytes","parameterTypes":["com.google.protobuf.ByteString"] }, {"name":"setName","parameterTypes":["java.lang.String"] }, {"name":"setNameBytes","parameterTypes":["com.google.protobuf.ByteString"] }, {"name":"setNamespace","parameterTypes":["java.lang.String"] }, {"name":"setNamespaceBytes","parameterTypes":["com.google.protobuf.ByteString"] }, {"name":"setRecoverCondition","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$RecoverCondition"] }, {"name":"setRevision","parameterTypes":["java.lang.String"] }, {"name":"setRevisionBytes","parameterTypes":["com.google.protobuf.ByteString"] }, {"name":"setRuleMatcher","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$RuleMatcher"] }, {"name":"setTriggerCondition","parameterTypes":["int","com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$TriggerCondition"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$ErrorCondition", + "methods":[{"name":"getCondition","parameterTypes":[] }, {"name":"getInputType","parameterTypes":[] }, {"name":"getInputTypeValue","parameterTypes":[] }, {"name":"hasCondition","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$ErrorCondition$Builder", + "methods":[{"name":"clearCondition","parameterTypes":[] }, {"name":"clearInputType","parameterTypes":[] }, {"name":"getCondition","parameterTypes":[] }, {"name":"getConditionBuilder","parameterTypes":[] }, {"name":"getInputType","parameterTypes":[] }, {"name":"getInputTypeValue","parameterTypes":[] }, {"name":"hasCondition","parameterTypes":[] }, {"name":"setCondition","parameterTypes":["com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString"] }, {"name":"setInputType","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$ErrorCondition$InputType"] }, {"name":"setInputTypeValue","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$ErrorCondition$InputType", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$FallbackConfig", + "methods":[{"name":"getEnable","parameterTypes":[] }, {"name":"getResponse","parameterTypes":[] }, {"name":"hasResponse","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$FallbackConfig$Builder", + "methods":[{"name":"clearEnable","parameterTypes":[] }, {"name":"clearResponse","parameterTypes":[] }, {"name":"getEnable","parameterTypes":[] }, {"name":"getResponse","parameterTypes":[] }, {"name":"getResponseBuilder","parameterTypes":[] }, {"name":"hasResponse","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setResponse","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$FallbackResponse"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$FallbackResponse", + "methods":[{"name":"getBody","parameterTypes":[] }, {"name":"getBodyBytes","parameterTypes":[] }, {"name":"getCode","parameterTypes":[] }, {"name":"getHeaders","parameterTypes":["int"] }, {"name":"getHeadersCount","parameterTypes":[] }, {"name":"getHeadersList","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$FallbackResponse$Builder", + "methods":[{"name":"addHeaders","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$FallbackResponse$MessageHeader"] }, {"name":"clearBody","parameterTypes":[] }, {"name":"clearCode","parameterTypes":[] }, {"name":"clearHeaders","parameterTypes":[] }, {"name":"getBody","parameterTypes":[] }, {"name":"getBodyBytes","parameterTypes":[] }, {"name":"getCode","parameterTypes":[] }, {"name":"getHeaders","parameterTypes":["int"] }, {"name":"getHeadersBuilder","parameterTypes":["int"] }, {"name":"getHeadersCount","parameterTypes":[] }, {"name":"getHeadersList","parameterTypes":[] }, {"name":"setBody","parameterTypes":["java.lang.String"] }, {"name":"setBodyBytes","parameterTypes":["com.google.protobuf.ByteString"] }, {"name":"setCode","parameterTypes":["int"] }, {"name":"setHeaders","parameterTypes":["int","com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$FallbackResponse$MessageHeader"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$FallbackResponse$MessageHeader", + "methods":[{"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$FaultDetectConfig", + "methods":[{"name":"getEnable","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$FaultDetectConfig$Builder", + "methods":[{"name":"clearEnable","parameterTypes":[] }, {"name":"getEnable","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$Level", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$RecoverCondition", + "methods":[{"name":"getConsecutiveSuccess","parameterTypes":[] }, {"name":"getSleepWindow","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$RecoverCondition$Builder", + "methods":[{"name":"clearConsecutiveSuccess","parameterTypes":[] }, {"name":"clearSleepWindow","parameterTypes":[] }, {"name":"getConsecutiveSuccess","parameterTypes":[] }, {"name":"getSleepWindow","parameterTypes":[] }, {"name":"setConsecutiveSuccess","parameterTypes":["int"] }, {"name":"setSleepWindow","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$RuleMatcher", + "methods":[{"name":"getDestination","parameterTypes":[] }, {"name":"getSource","parameterTypes":[] }, {"name":"hasDestination","parameterTypes":[] }, {"name":"hasSource","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$RuleMatcher$Builder", + "methods":[{"name":"clearDestination","parameterTypes":[] }, {"name":"clearSource","parameterTypes":[] }, {"name":"getDestination","parameterTypes":[] }, {"name":"getDestinationBuilder","parameterTypes":[] }, {"name":"getSource","parameterTypes":[] }, {"name":"getSourceBuilder","parameterTypes":[] }, {"name":"hasDestination","parameterTypes":[] }, {"name":"hasSource","parameterTypes":[] }, {"name":"setDestination","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$RuleMatcher$DestinationService"] }, {"name":"setSource","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$RuleMatcher$SourceService"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$RuleMatcher$DestinationService", + "methods":[{"name":"getMethod","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getNamespaceBytes","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceBytes","parameterTypes":[] }, {"name":"hasMethod","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$RuleMatcher$DestinationService$Builder", + "methods":[{"name":"clearMethod","parameterTypes":[] }, {"name":"clearNamespace","parameterTypes":[] }, {"name":"clearService","parameterTypes":[] }, {"name":"getMethod","parameterTypes":[] }, {"name":"getMethodBuilder","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getNamespaceBytes","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceBytes","parameterTypes":[] }, {"name":"hasMethod","parameterTypes":[] }, {"name":"setMethod","parameterTypes":["com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString"] }, {"name":"setNamespace","parameterTypes":["java.lang.String"] }, {"name":"setNamespaceBytes","parameterTypes":["com.google.protobuf.ByteString"] }, {"name":"setService","parameterTypes":["java.lang.String"] }, {"name":"setServiceBytes","parameterTypes":["com.google.protobuf.ByteString"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$RuleMatcher$SourceService", + "methods":[{"name":"getNamespace","parameterTypes":[] }, {"name":"getNamespaceBytes","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceBytes","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$RuleMatcher$SourceService$Builder", + "methods":[{"name":"clearNamespace","parameterTypes":[] }, {"name":"clearService","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getNamespaceBytes","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceBytes","parameterTypes":[] }, {"name":"setNamespace","parameterTypes":["java.lang.String"] }, {"name":"setNamespaceBytes","parameterTypes":["com.google.protobuf.ByteString"] }, {"name":"setService","parameterTypes":["java.lang.String"] }, {"name":"setServiceBytes","parameterTypes":["com.google.protobuf.ByteString"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$TriggerCondition", + "methods":[{"name":"getErrorCount","parameterTypes":[] }, {"name":"getErrorPercent","parameterTypes":[] }, {"name":"getInterval","parameterTypes":[] }, {"name":"getMinimumRequest","parameterTypes":[] }, {"name":"getTriggerType","parameterTypes":[] }, {"name":"getTriggerTypeValue","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$TriggerCondition$Builder", + "methods":[{"name":"clearErrorCount","parameterTypes":[] }, {"name":"clearErrorPercent","parameterTypes":[] }, {"name":"clearInterval","parameterTypes":[] }, {"name":"clearMinimumRequest","parameterTypes":[] }, {"name":"clearTriggerType","parameterTypes":[] }, {"name":"getErrorCount","parameterTypes":[] }, {"name":"getErrorPercent","parameterTypes":[] }, {"name":"getInterval","parameterTypes":[] }, {"name":"getMinimumRequest","parameterTypes":[] }, {"name":"getTriggerType","parameterTypes":[] }, {"name":"getTriggerTypeValue","parameterTypes":[] }, {"name":"setErrorCount","parameterTypes":["int"] }, {"name":"setErrorPercent","parameterTypes":["int"] }, {"name":"setInterval","parameterTypes":["int"] }, {"name":"setMinimumRequest","parameterTypes":["int"] }, {"name":"setTriggerType","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$TriggerCondition$TriggerType"] }, {"name":"setTriggerTypeValue","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$TriggerCondition$TriggerType", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.ModelProto$Location", + "methods":[{"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString", + "methods":[{"name":"getType","parameterTypes":[] }, {"name":"getTypeValue","parameterTypes":[] }, {"name":"getValue","parameterTypes":[] }, {"name":"getValueType","parameterTypes":[] }, {"name":"getValueTypeValue","parameterTypes":[] }, {"name":"hasValue","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$Builder", + "methods":[{"name":"clearType","parameterTypes":[] }, {"name":"clearValue","parameterTypes":[] }, {"name":"clearValueType","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"getTypeValue","parameterTypes":[] }, {"name":"getValue","parameterTypes":[] }, {"name":"getValueBuilder","parameterTypes":[] }, {"name":"getValueType","parameterTypes":[] }, {"name":"getValueTypeValue","parameterTypes":[] }, {"name":"hasValue","parameterTypes":[] }, {"name":"setType","parameterTypes":["com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$MatchStringType"] }, {"name":"setTypeValue","parameterTypes":["int"] }, {"name":"setValue","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setValueType","parameterTypes":["com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$ValueType"] }, {"name":"setValueTypeValue","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$MatchStringType", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$ValueType", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$HealthCheck", + "methods":[{"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$Instance", + "methods":[{"name":"getCtime","parameterTypes":[] }, {"name":"getDefaultInstance","parameterTypes":[] }, {"name":"getEnableHealthCheck","parameterTypes":[] }, {"name":"getHealthCheck","parameterTypes":[] }, {"name":"getHealthy","parameterTypes":[] }, {"name":"getHost","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getIsolate","parameterTypes":[] }, {"name":"getLocation","parameterTypes":[] }, {"name":"getLogicSet","parameterTypes":[] }, {"name":"getMtime","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getPort","parameterTypes":[] }, {"name":"getPriority","parameterTypes":[] }, {"name":"getProtocol","parameterTypes":[] }, {"name":"getRevision","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceToken","parameterTypes":[] }, {"name":"getVersion","parameterTypes":[] }, {"name":"getVpcId","parameterTypes":[] }, {"name":"getWeight","parameterTypes":[] }, {"name":"hasCtime","parameterTypes":[] }, {"name":"hasEnableHealthCheck","parameterTypes":[] }, {"name":"hasHealthCheck","parameterTypes":[] }, {"name":"hasHealthy","parameterTypes":[] }, {"name":"hasHost","parameterTypes":[] }, {"name":"hasId","parameterTypes":[] }, {"name":"hasIsolate","parameterTypes":[] }, {"name":"hasLocation","parameterTypes":[] }, {"name":"hasLogicSet","parameterTypes":[] }, {"name":"hasMtime","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasPort","parameterTypes":[] }, {"name":"hasPriority","parameterTypes":[] }, {"name":"hasProtocol","parameterTypes":[] }, {"name":"hasRevision","parameterTypes":[] }, {"name":"hasService","parameterTypes":[] }, {"name":"hasServiceToken","parameterTypes":[] }, {"name":"hasVersion","parameterTypes":[] }, {"name":"hasVpcId","parameterTypes":[] }, {"name":"hasWeight","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$Instance$Builder", + "methods":[{"name":"clearCtime","parameterTypes":[] }, {"name":"clearEnableHealthCheck","parameterTypes":[] }, {"name":"clearHealthCheck","parameterTypes":[] }, {"name":"clearHealthy","parameterTypes":[] }, {"name":"clearHost","parameterTypes":[] }, {"name":"clearId","parameterTypes":[] }, {"name":"clearIsolate","parameterTypes":[] }, {"name":"clearLocation","parameterTypes":[] }, {"name":"clearLogicSet","parameterTypes":[] }, {"name":"clearMtime","parameterTypes":[] }, {"name":"clearNamespace","parameterTypes":[] }, {"name":"clearPort","parameterTypes":[] }, {"name":"clearPriority","parameterTypes":[] }, {"name":"clearProtocol","parameterTypes":[] }, {"name":"clearRevision","parameterTypes":[] }, {"name":"clearService","parameterTypes":[] }, {"name":"clearServiceToken","parameterTypes":[] }, {"name":"clearVersion","parameterTypes":[] }, {"name":"clearVpcId","parameterTypes":[] }, {"name":"clearWeight","parameterTypes":[] }, {"name":"getCtime","parameterTypes":[] }, {"name":"getCtimeBuilder","parameterTypes":[] }, {"name":"getEnableHealthCheck","parameterTypes":[] }, {"name":"getEnableHealthCheckBuilder","parameterTypes":[] }, {"name":"getHealthCheck","parameterTypes":[] }, {"name":"getHealthCheckBuilder","parameterTypes":[] }, {"name":"getHealthy","parameterTypes":[] }, {"name":"getHealthyBuilder","parameterTypes":[] }, {"name":"getHost","parameterTypes":[] }, {"name":"getHostBuilder","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getIdBuilder","parameterTypes":[] }, {"name":"getIsolate","parameterTypes":[] }, {"name":"getIsolateBuilder","parameterTypes":[] }, {"name":"getLocation","parameterTypes":[] }, {"name":"getLocationBuilder","parameterTypes":[] }, {"name":"getLogicSet","parameterTypes":[] }, {"name":"getLogicSetBuilder","parameterTypes":[] }, {"name":"getMtime","parameterTypes":[] }, {"name":"getMtimeBuilder","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getNamespaceBuilder","parameterTypes":[] }, {"name":"getPort","parameterTypes":[] }, {"name":"getPortBuilder","parameterTypes":[] }, {"name":"getPriority","parameterTypes":[] }, {"name":"getPriorityBuilder","parameterTypes":[] }, {"name":"getProtocol","parameterTypes":[] }, {"name":"getProtocolBuilder","parameterTypes":[] }, {"name":"getRevision","parameterTypes":[] }, {"name":"getRevisionBuilder","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceBuilder","parameterTypes":[] }, {"name":"getServiceToken","parameterTypes":[] }, {"name":"getServiceTokenBuilder","parameterTypes":[] }, {"name":"getVersion","parameterTypes":[] }, {"name":"getVersionBuilder","parameterTypes":[] }, {"name":"getVpcId","parameterTypes":[] }, {"name":"getVpcIdBuilder","parameterTypes":[] }, {"name":"getWeight","parameterTypes":[] }, {"name":"getWeightBuilder","parameterTypes":[] }, {"name":"hasCtime","parameterTypes":[] }, {"name":"hasEnableHealthCheck","parameterTypes":[] }, {"name":"hasHealthCheck","parameterTypes":[] }, {"name":"hasHealthy","parameterTypes":[] }, {"name":"hasHost","parameterTypes":[] }, {"name":"hasId","parameterTypes":[] }, {"name":"hasIsolate","parameterTypes":[] }, {"name":"hasLocation","parameterTypes":[] }, {"name":"hasLogicSet","parameterTypes":[] }, {"name":"hasMtime","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasPort","parameterTypes":[] }, {"name":"hasPriority","parameterTypes":[] }, {"name":"hasProtocol","parameterTypes":[] }, {"name":"hasRevision","parameterTypes":[] }, {"name":"hasService","parameterTypes":[] }, {"name":"hasServiceToken","parameterTypes":[] }, {"name":"hasVersion","parameterTypes":[] }, {"name":"hasVpcId","parameterTypes":[] }, {"name":"hasWeight","parameterTypes":[] }, {"name":"setCtime","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setEnableHealthCheck","parameterTypes":["com.google.protobuf.BoolValue"] }, {"name":"setHealthCheck","parameterTypes":["com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$HealthCheck"] }, {"name":"setHealthy","parameterTypes":["com.google.protobuf.BoolValue"] }, {"name":"setHost","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setId","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setIsolate","parameterTypes":["com.google.protobuf.BoolValue"] }, {"name":"setLocation","parameterTypes":["com.tencent.polaris.specification.api.v1.model.ModelProto$Location"] }, {"name":"setLogicSet","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setMtime","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setNamespace","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setPort","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setPriority","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setProtocol","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setRevision","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setService","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setServiceToken","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setVersion","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setVpcId","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setWeight","parameterTypes":["com.google.protobuf.UInt32Value"] }] +} +] diff --git a/polaris-circuitbreaker/polaris-circuitbreaker-factory/src/main/resources/META-INF/native-image/resource-config.json b/polaris-circuitbreaker/polaris-circuitbreaker-factory/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..94cb3ac40 --- /dev/null +++ b/polaris-circuitbreaker/polaris-circuitbreaker-factory/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,57 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.config.ConfigProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.config.plugin.PluginConfigProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.flow.DiscoveryFlow\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.TypeProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.cache.FlowCache\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.circuitbreaker.CircuitBreaker\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.circuitbreaker.InstanceCircuitBreaker\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.detect.HealthChecker\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.loadbalance.LoadBalancer\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.location.LocationProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.registry.CacheHandler\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.registry.LocalRegistry\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.route.ServiceRouter\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.server.ServerConnector\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.stat.StatReporter\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.circuitbreak.api.flow.CircuitBreakerFlow\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.client.api.ServiceCallResultListener\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.LoadBalancerProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.ManagedChannelProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.NameResolverProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.ServerProvider\\E" + }, { + "pattern":"\\QcircuitBreakerRule.json\\E" + }, { + "pattern":"\\Qconf/default-config.yml\\E" + }, { + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }, { + "pattern":"\\Qpolaris.yml\\E" + }]}, + "bundles":[] +} diff --git a/polaris-common/polaris-client/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-common/polaris-client/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..592bf30a6 --- /dev/null +++ b/polaris-common/polaris-client/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,7 @@ +[ +{ + "name":"MessagePersistHandlerTest", + "queryAllDeclaredMethods":true, + "methods":[{"name":"suite","parameterTypes":[] }] +} +] diff --git a/polaris-common/polaris-config/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-common/polaris-config/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..daa3e8cf3 --- /dev/null +++ b/polaris-common/polaris-config/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,9 @@ +[ +{ + "name":"com.tencent.polaris.factory.util.ConfigUtilsTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"test1","parameterTypes":[] }] +} +] diff --git a/polaris-common/polaris-model/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-common/polaris-model/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..8a9e04745 --- /dev/null +++ b/polaris-common/polaris-model/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,16 @@ +[ +{ + "name":"com.tencent.polaris.api.pojo.ServiceEventKeyTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"verifyCase1","parameterTypes":[] }, {"name":"verifyCase2","parameterTypes":[] }, {"name":"verifyCase3","parameterTypes":[] }, {"name":"verifyCase4","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.api.utils.RuleUtilsTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testMatchMetadata","parameterTypes":[] }] +} +] diff --git a/polaris-configuration/polaris-configuration-client/src/main/resources/META-INF/native-image/proxy-config.json b/polaris-configuration/polaris-configuration-client/src/main/resources/META-INF/native-image/proxy-config.json new file mode 100644 index 000000000..c80c53d0e --- /dev/null +++ b/polaris-configuration/polaris-configuration-client/src/main/resources/META-INF/native-image/proxy-config.json @@ -0,0 +1,44 @@ +[ + { + "interfaces":["net.bytebuddy.description.method.MethodDescription$InDefinedShape$AbstractBase$Executable"] + }, + { + "interfaces":["net.bytebuddy.description.method.ParameterDescription$ForLoadedParameter$Parameter"] + }, + { + "interfaces":["net.bytebuddy.description.method.ParameterList$ForLoadedExecutable$Executable"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDefinition$Sort$AnnotatedType"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$ForLoadedType$Dispatcher"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedExecutableExceptionType$Dispatcher"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedExecutableParameterType$Dispatcher"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedMethodReturnType$Dispatcher"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForComponentType$AnnotatedParameterizedType"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeArgument$AnnotatedParameterizedType"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeVariableBoundType$AnnotatedTypeVariable"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeVariableBoundType$OfFormalTypeVariable$FormalTypeVariable"] + }, + { + "interfaces":["net.bytebuddy.utility.JavaModule$Module"] + }, + { + "interfaces":["net.bytebuddy.utility.JavaModule$Resolver"] + } +] diff --git a/polaris-configuration/polaris-configuration-client/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-configuration/polaris-configuration-client/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..3abd04051 --- /dev/null +++ b/polaris-configuration/polaris-configuration-client/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,624 @@ +[ +{ + "name":"com.tencent.polaris.api.config.Configuration", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFileConfig", + "queryAllDeclaredMethods":true, + "queryAllPublicMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"getConfigFilterConfig","parameterTypes":[] }, {"name":"getPropertiesValueCacheSize","parameterTypes":[] }, {"name":"getPropertiesValueExpireTime","parameterTypes":[] }, {"name":"getServerConnector","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFilterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.CircuitBreakerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ConsumerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.DiscoveryConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LoadBalanceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LocalCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ServiceRouterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.SubscribeConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.APIConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ClusterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.GlobalConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ServerConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.StatReporterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.SystemConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.plugin.PluginConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RegisterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ServiceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.verify.Verifier", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"setDefault","parameterTypes":["java.lang.Object"] }, {"name":"verify","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.api.control.Destroyable", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"checkDestroyed","parameterTypes":[] }, {"name":"destroy","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"isDestroyed","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.api.plugin.Plugin", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"destroy","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"init","parameterTypes":["com.tencent.polaris.api.plugin.common.InitContext"] }, {"name":"postContextInit","parameterTypes":["com.tencent.polaris.api.plugin.compose.Extensions"] }] +}, +{ + "name":"com.tencent.polaris.api.plugin.common.InitContext", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.api.plugin.configuration.ConfigFileConnector", + "queryAllDeclaredMethods":true, + "queryAllPublicMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"createConfigFile","parameterTypes":["com.tencent.polaris.api.plugin.configuration.ConfigFile"] }, {"name":"getConfigFile","parameterTypes":["com.tencent.polaris.api.plugin.configuration.ConfigFile"] }, {"name":"releaseConfigFile","parameterTypes":["com.tencent.polaris.api.plugin.configuration.ConfigFile"] }, {"name":"updateConfigFile","parameterTypes":["com.tencent.polaris.api.plugin.configuration.ConfigFile"] }, {"name":"watchConfigFiles","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.api.plugin.filter.ConfigFileFilter", + "queryAllDeclaredMethods":true, + "queryAllPublicMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"doFilter","parameterTypes":["com.tencent.polaris.api.plugin.configuration.ConfigFile","java.util.function.Function"] }] +}, +{ + "name":"com.tencent.polaris.api.plugin.filter.ConfigFileFilterChain", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"execute","parameterTypes":["com.tencent.polaris.api.plugin.configuration.ConfigFile","java.util.function.Function"] }] +}, +{ + "name":"com.tencent.polaris.client.api.SDKContext", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"close","parameterTypes":[] }, {"name":"doDestroy","parameterTypes":[] }, {"name":"getConfig","parameterTypes":[] }, {"name":"getExtensions","parameterTypes":[] }, {"name":"getOrInitFlow","parameterTypes":["java.lang.Class"] }, {"name":"getPlugins","parameterTypes":[] }, {"name":"getServerServices","parameterTypes":[] }, {"name":"getValueContext","parameterTypes":[] }, {"name":"init","parameterTypes":[] }, {"name":"registerDestroyHook","parameterTypes":["com.tencent.polaris.api.control.Destroyable"] }] +}, +{ + "name":"com.tencent.polaris.configuration.api.core.ConfigFile", + "queryAllDeclaredMethods":true, + "queryAllPublicMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"addChangeListener","parameterTypes":["com.tencent.polaris.configuration.api.core.ConfigFileChangeListener"] }, {"name":"asJson","parameterTypes":["java.lang.Class","java.lang.Object"] }, {"name":"asJson","parameterTypes":["java.lang.reflect.Type","java.lang.Object"] }, {"name":"getContent","parameterTypes":[] }, {"name":"hasContent","parameterTypes":[] }, {"name":"removeChangeListener","parameterTypes":["com.tencent.polaris.configuration.api.core.ConfigFileChangeListener"] }] +}, +{ + "name":"com.tencent.polaris.configuration.api.core.ConfigFileMetadata", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"getFileGroup","parameterTypes":[] }, {"name":"getFileName","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.configuration.api.core.ConfigKVFile", + "queryAllDeclaredMethods":true, + "queryAllPublicMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"addChangeListener","parameterTypes":["com.tencent.polaris.configuration.api.core.ConfigKVFileChangeListener"] }, {"name":"getArrayProperty","parameterTypes":["java.lang.String","java.lang.String","java.lang.String[]"] }, {"name":"getBooleanProperty","parameterTypes":["java.lang.String","java.lang.Boolean"] }, {"name":"getByteProperty","parameterTypes":["java.lang.String","java.lang.Byte"] }, {"name":"getDoubleProperty","parameterTypes":["java.lang.String","java.lang.Double"] }, {"name":"getEnumProperty","parameterTypes":["java.lang.String","java.lang.Class","java.lang.Enum"] }, {"name":"getFloatProperty","parameterTypes":["java.lang.String","java.lang.Float"] }, {"name":"getIntProperty","parameterTypes":["java.lang.String","java.lang.Integer"] }, {"name":"getJsonProperty","parameterTypes":["java.lang.String","java.lang.Class","java.lang.Object"] }, {"name":"getJsonProperty","parameterTypes":["java.lang.String","java.lang.reflect.Type","java.lang.Object"] }, {"name":"getLongProperty","parameterTypes":["java.lang.String","java.lang.Long"] }, {"name":"getProperty","parameterTypes":["java.lang.String","java.lang.String"] }, {"name":"getPropertyNames","parameterTypes":[] }, {"name":"getShortProperty","parameterTypes":["java.lang.String","java.lang.Short"] }, {"name":"removeChangeListener","parameterTypes":["com.tencent.polaris.configuration.api.core.ConfigKVFileChangeListener"] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.ConfigFilePublishServiceTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testCreateConfigFile","parameterTypes":[] }, {"name":"testCreateConfigFile2","parameterTypes":[] }, {"name":"testCreateFileNameBlank","parameterTypes":[] }, {"name":"testCreateFileNameBlank2","parameterTypes":[] }, {"name":"testCreateGroupBlank","parameterTypes":[] }, {"name":"testCreateGroupBlank2","parameterTypes":[] }, {"name":"testCreateNamespaceBlank","parameterTypes":[] }, {"name":"testCreateNamespaceBlank2","parameterTypes":[] }, {"name":"testReleaseConfigFile","parameterTypes":[] }, {"name":"testReleaseConfigFile2","parameterTypes":[] }, {"name":"testReleaseFileNameBlank","parameterTypes":[] }, {"name":"testReleaseFileNameBlank2","parameterTypes":[] }, {"name":"testReleaseGroupBlank","parameterTypes":[] }, {"name":"testReleaseGroupBlank2","parameterTypes":[] }, {"name":"testReleaseNamespaceBlank","parameterTypes":[] }, {"name":"testReleaseNamespaceBlank2","parameterTypes":[] }, {"name":"testUpdateConfigFile","parameterTypes":[] }, {"name":"testUpdateConfigFile2","parameterTypes":[] }, {"name":"testUpdateFileNameBlank","parameterTypes":[] }, {"name":"testUpdateFileNameBlank2","parameterTypes":[] }, {"name":"testUpdateGroupBlank","parameterTypes":[] }, {"name":"testUpdateGroupBlank2","parameterTypes":[] }, {"name":"testUpdateNamespaceBlank","parameterTypes":[] }, {"name":"testUpdateNamespaceBlank2","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.ConfigFileServiceTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testFileNameBlank","parameterTypes":[] }, {"name":"testFileNameBlank2","parameterTypes":[] }, {"name":"testGetNormalConfigFile","parameterTypes":[] }, {"name":"testGroupBlank","parameterTypes":[] }, {"name":"testGroupBlank2","parameterTypes":[] }, {"name":"testNamespaceBlank","parameterTypes":[] }, {"name":"testNamespaceBlank2","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.ConfigFileTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testAddContent","parameterTypes":[] }, {"name":"testContentNotChanged","parameterTypes":[] }, {"name":"testContentNotChangedWithNull","parameterTypes":[] }, {"name":"testDeleteContent","parameterTypes":[] }, {"name":"testGetContent","parameterTypes":[] }, {"name":"testGetJsonArray","parameterTypes":[] }, {"name":"testGetJsonObject","parameterTypes":[] }, {"name":"testModifiedContent","parameterTypes":[] }, {"name":"testRemoveChangeListener","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.ConfigFileTestUtils$User", + "allDeclaredFields":true, + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.ConfigPropertiesFileTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testGetPropertiesKey","parameterTypes":[] }, {"name":"testListener","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.ConfigYamlFileTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testGetYamlKey","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.DefaultConfigFilePublishService", + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":["com.tencent.polaris.client.api.SDKContext"] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.internal.AbstractConfigFileRepo", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"addChangeListener","parameterTypes":["com.tencent.polaris.configuration.client.internal.ConfigFileRepoChangeListener"] }, {"name":"fireChangeEvent","parameterTypes":["java.lang.String"] }, {"name":"getConfigFileMetadata","parameterTypes":[] }, {"name":"pull","parameterTypes":[] }, {"name":"removeChangeListener","parameterTypes":["com.tencent.polaris.configuration.client.internal.ConfigFileRepoChangeListener"] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.internal.ConfigFileLongPollingServiceTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testNotReceivedPushEvent","parameterTypes":[] }, {"name":"testReceivedPushEvent","parameterTypes":[] }, {"name":"testSecondReceivedVersionLessThanFirstReceived","parameterTypes":[] }, {"name":"testThrowRetryException","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.internal.ConfigFileLongPullService", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"addConfigFile","parameterTypes":["com.tencent.polaris.configuration.client.internal.RemoteConfigFileRepo"] }, {"name":"doLongPullingDestroy","parameterTypes":[] }, {"name":"stopLongPulling","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.internal.ConfigFileManager", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"createConfigFile","parameterTypes":["com.tencent.polaris.configuration.api.core.ConfigFileMetadata"] }, {"name":"createConfigFile","parameterTypes":["com.tencent.polaris.configuration.api.core.ConfigFileMetadata","java.lang.String"] }, {"name":"createConfigKVFile","parameterTypes":["com.tencent.polaris.configuration.api.core.ConfigFileMetadata","com.tencent.polaris.configuration.api.core.ConfigFileFormat"] }, {"name":"getConfigFile","parameterTypes":["com.tencent.polaris.configuration.api.core.ConfigFileMetadata"] }, {"name":"getConfigKVFile","parameterTypes":["com.tencent.polaris.configuration.api.core.ConfigFileMetadata","com.tencent.polaris.configuration.api.core.ConfigFileFormat"] }, {"name":"releaseConfigFile","parameterTypes":["com.tencent.polaris.configuration.api.core.ConfigFileMetadata"] }, {"name":"updateConfigFile","parameterTypes":["com.tencent.polaris.configuration.api.core.ConfigFileMetadata","java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.internal.ConfigFileManagerTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testCreateConfigFile","parameterTypes":[] }, {"name":"testCreateConfigFileOnFail","parameterTypes":[] }, {"name":"testGetConfigFile","parameterTypes":[] }, {"name":"testGetConfigPropertiesFile","parameterTypes":[] }, {"name":"testReleaseConfigFile","parameterTypes":[] }, {"name":"testReleaseConfigFileOnFail","parameterTypes":[] }, {"name":"testUpdateConfigFile","parameterTypes":[] }, {"name":"testUpdateConfigFileOnFail","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.internal.ConfigFilePersistentHandler", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"asyncDeleteConfigFile","parameterTypes":["com.tencent.polaris.api.plugin.configuration.ConfigFile"] }, {"name":"asyncSaveConfigFile","parameterTypes":["com.tencent.polaris.api.plugin.configuration.ConfigFile"] }, {"name":"deleteFileConfig","parameterTypes":["com.tencent.polaris.api.plugin.configuration.ConfigFile"] }, {"name":"doDestroy","parameterTypes":[] }, {"name":"loadPersistedConfigFile","parameterTypes":["com.tencent.polaris.api.plugin.configuration.ConfigFile"] }, {"name":"saveConfigFile","parameterTypes":["com.tencent.polaris.api.plugin.configuration.ConfigFile"] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.internal.ConfigFileRepo", + "queryAllDeclaredMethods":true, + "queryAllPublicMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"addChangeListener","parameterTypes":["com.tencent.polaris.configuration.client.internal.ConfigFileRepoChangeListener"] }, {"name":"getContent","parameterTypes":[] }, {"name":"removeChangeListener","parameterTypes":["com.tencent.polaris.configuration.client.internal.ConfigFileRepoChangeListener"] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.internal.RemoteConfigFileRepo", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"doPull","parameterTypes":[] }, {"name":"getConfigFileVersion","parameterTypes":[] }, {"name":"getContent","parameterTypes":[] }, {"name":"onLongPollNotified","parameterTypes":["long"] }] +}, +{ + "name":"com.tencent.polaris.configuration.client.internal.RemoteConfigFileRepoTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testNotifyAndPullSecondTime","parameterTypes":[] }, {"name":"testPullNotFoundConfigFile","parameterTypes":[] }, {"name":"testPullSuccess","parameterTypes":[] }, {"name":"testPullWithRetryException","parameterTypes":[] }, {"name":"testPullWithUnexpectedResponseCode","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.ConfigurationImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setConsumer","parameterTypes":["com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl"] }, {"name":"setGlobal","parameterTypes":["com.tencent.polaris.factory.config.global.GlobalConfigImpl"] }, {"name":"setProvider","parameterTypes":["com.tencent.polaris.factory.config.provider.ProviderConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFileConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setPropertiesValueCacheSize","parameterTypes":["int"] }, {"name":"setPropertiesValueExpireTime","parameterTypes":["long"] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFilterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setConnectorType","parameterTypes":["java.lang.String"] }, {"name":"setFallbackToLocalCache","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistRetryInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.CircuitBreakerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setEnableRemotePull","parameterTypes":["boolean"] }, {"name":"setRequestCountAfterHalfOpen","parameterTypes":["int"] }, {"name":"setSleepWindow","parameterTypes":["long"] }, {"name":"setSuccessCountAfterHalfOpen","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.DiscoveryConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LoadBalanceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LocalCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["int"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["int"] }, {"name":"setPersistRetryInterval","parameterTypes":["long"] }, {"name":"setServiceExpireEnable","parameterTypes":["boolean"] }, {"name":"setServiceExpireTime","parameterTypes":["long"] }, {"name":"setServiceListRefreshInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServiceRefreshInterval","parameterTypes":["long"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.OutlierDetectionConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setWhen","parameterTypes":["com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ServiceRouterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setAfterChain","parameterTypes":["java.util.List"] }, {"name":"setBeforeChain","parameterTypes":["java.util.List"] }, {"name":"setChain","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.SubscribeConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setCallbackConcurrency","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.APIConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setMaxRetryTimes","parameterTypes":["int"] }, {"name":"setReportInterval","parameterTypes":["long"] }, {"name":"setRetryInterval","parameterTypes":["long"] }, {"name":"setTimeout","parameterTypes":["long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ClusterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setLbPolicy","parameterTypes":["java.lang.String"] }, {"name":"setRefreshInterval","parameterTypes":["long"] }, {"name":"setRouters","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setExpireInterval","parameterTypes":["long"] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.GlobalConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setProviders","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setOptions","parameterTypes":["java.util.Map"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setAddresses","parameterTypes":["java.util.List"] }, {"name":"setConnectTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setConnectionIdleTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setId","parameterTypes":["java.lang.String"] }, {"name":"setMessageTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setProtocol","parameterTypes":["java.lang.String"] }, {"name":"setReconnectInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServerSwitchInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.StatReporterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.SystemConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setFlow","parameterTypes":["com.tencent.polaris.factory.config.global.FlowConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.plugin.PluginConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RateLimitConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setFallbackOnExceedWindowCount","parameterTypes":["com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback"] }, {"name":"setLimiterNamespace","parameterTypes":["java.lang.String"] }, {"name":"setLimiterService","parameterTypes":["java.lang.String"] }, {"name":"setMaxQueuingTime","parameterTypes":["java.lang.Long"] }, {"name":"setMaxWindowCount","parameterTypes":["int"] }, {"name":"setRemoteSyncTimeoutMilli","parameterTypes":["long"] }, {"name":"setReportMetrics","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RegisterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ServiceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.util.TimeStrJsonDeserializer", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.description.method.MethodDescription$InDefinedShape$AbstractBase$Executable", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.method.ParameterDescription$ForLoadedParameter$Parameter", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.method.ParameterList$ForLoadedExecutable$Executable", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDefinition$Sort$AnnotatedType", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$ForLoadedType$Dispatcher", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedExecutableExceptionType$Dispatcher", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedExecutableParameterType$Dispatcher", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedMethodReturnType$Dispatcher", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForComponentType$AnnotatedParameterizedType", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeArgument$AnnotatedParameterizedType", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeVariableBoundType$AnnotatedTypeVariable", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeVariableBoundType$OfFormalTypeVariable$FormalTypeVariable", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.AllArguments", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"includeSelf","parameterTypes":[] }, {"name":"nullIfEmpty","parameterTypes":[] }, {"name":"value","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Argument", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"bindingMechanic","parameterTypes":[] }, {"name":"value","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Argument$BindingMechanic" +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.BindingPriority", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"value","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Default", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.DefaultCall", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.DefaultMethod", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.FieldValue", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"declaringType","parameterTypes":[] }, {"name":"value","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Origin", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"cache","parameterTypes":[] }, {"name":"privileged","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.StubValue", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Super", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.SuperCall", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"fallbackToDefault","parameterTypes":[] }, {"name":"nullIfImpossible","parameterTypes":[] }, {"name":"serializableProxy","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.SuperMethod", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.This", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"optional","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.utility.Invoker", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.utility.Invoker$Dispatcher", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.utility.JavaModule$Module", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.utility.JavaModule$Resolver", + "queryAllPublicMethods":true +} +] diff --git a/polaris-configuration/polaris-configuration-client/src/main/resources/META-INF/native-image/resource-config.json b/polaris-configuration/polaris-configuration-client/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..2073f2d13 --- /dev/null +++ b/polaris-configuration/polaris-configuration-client/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,13 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.config.ConfigProvider\\E" + }, { + "pattern":"\\Qconf/default-config.yml\\E" + }, { + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }]}, + "bundles":[] +} diff --git a/polaris-discovery/polaris-discovery-factory/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-discovery/polaris-discovery-factory/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..c2e81ef60 --- /dev/null +++ b/polaris-discovery/polaris-discovery-factory/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,434 @@ +[ +{ + "name":"com.tencent.polaris.api.config.Configuration", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFileConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFilterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.CircuitBreakerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ConsumerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.DiscoveryConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LoadBalanceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LocalCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ServiceRouterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.SubscribeConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.APIConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ClusterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.GlobalConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ServerConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.StatReporterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.SystemConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.plugin.PluginConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RegisterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ServiceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.verify.Verifier", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.plugin.route.LocationLevel", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.rpc.RuleBasedRouterFailoverType", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.discovery.test.core.ConsumerTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"after","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testConcurrentSyncGetOneInstanceNormal","parameterTypes":[] }, {"name":"testGetNotExistsService","parameterTypes":[] }, {"name":"testSyncGetAllInstancesAbnormal","parameterTypes":[] }, {"name":"testSyncGetAllInstancesNormal","parameterTypes":[] }, {"name":"testSyncGetInstancesAbnormal","parameterTypes":[] }, {"name":"testSyncGetInstancesNormal","parameterTypes":[] }, {"name":"testSyncGetOneInstanceAbnormal","parameterTypes":[] }, {"name":"testSyncGetOneInstanceNormal","parameterTypes":[] }, {"name":"testUseBuiltinAsDiscover","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.discovery.test.core.GetServicesTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"after","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testRoundTrip","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.discovery.test.core.MetadataRouterTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"after","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testFailoverAllScene","parameterTypes":[] }, {"name":"testFailoverNoneScene","parameterTypes":[] }, {"name":"testFailoverNotKeyScene","parameterTypes":[] }, {"name":"testFailoverNotKeyScene2","parameterTypes":[] }, {"name":"testNormalScene","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.discovery.test.core.ProviderTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"after","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testRoundTrip","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.discovery.test.core.ServiceDynamicRuleTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"after","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testServiceDynamicRule","parameterTypes":[] }, {"name":"testServiceDynamicRuleByRouterArgument","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.discovery.test.core.ServiceExpireTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"after","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testMultiServices","parameterTypes":[] }, {"name":"testServiceExpiration","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.ConfigurationImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFile","parameterTypes":[] }, {"name":"getConsumer","parameterTypes":[] }, {"name":"getGlobal","parameterTypes":[] }, {"name":"getProvider","parameterTypes":[] }, {"name":"setConsumer","parameterTypes":["com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl"] }, {"name":"setGlobal","parameterTypes":["com.tencent.polaris.factory.config.global.GlobalConfigImpl"] }, {"name":"setProvider","parameterTypes":["com.tencent.polaris.factory.config.provider.ProviderConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFileConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFilterConfig","parameterTypes":[] }, {"name":"getPropertiesValueCacheSize","parameterTypes":[] }, {"name":"getPropertiesValueExpireTime","parameterTypes":[] }, {"name":"getServerConnector","parameterTypes":[] }, {"name":"setPropertiesValueCacheSize","parameterTypes":["int"] }, {"name":"setPropertiesValueExpireTime","parameterTypes":["long"] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFilterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"getChain","parameterTypes":[] }, {"name":"getPluginConfigs","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFileGroupThreadNum","parameterTypes":[] }, {"name":"getConnectorType","parameterTypes":[] }, {"name":"getFallbackToLocalCache","parameterTypes":[] }, {"name":"getPersistDir","parameterTypes":[] }, {"name":"getPersistEnable","parameterTypes":[] }, {"name":"getPersistMaxReadRetry","parameterTypes":[] }, {"name":"getPersistMaxWriteRetry","parameterTypes":[] }, {"name":"getPersistRetryInterval","parameterTypes":[] }, {"name":"setConnectorType","parameterTypes":["java.lang.String"] }, {"name":"setFallbackToLocalCache","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistRetryInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.CircuitBreakerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"getCheckPeriod","parameterTypes":[] }, {"name":"getRequestCountAfterHalfOpen","parameterTypes":[] }, {"name":"getSleepWindow","parameterTypes":[] }, {"name":"getSuccessCountAfterHalfOpen","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"isEnableRemotePull","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setEnableRemotePull","parameterTypes":["boolean"] }, {"name":"setRequestCountAfterHalfOpen","parameterTypes":["int"] }, {"name":"setSleepWindow","parameterTypes":["long"] }, {"name":"setSuccessCountAfterHalfOpen","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getCircuitBreaker","parameterTypes":[] }, {"name":"getDiscoveries","parameterTypes":[] }, {"name":"getLoadbalancer","parameterTypes":[] }, {"name":"getLocalCache","parameterTypes":[] }, {"name":"getOutlierDetection","parameterTypes":[] }, {"name":"getServiceRouter","parameterTypes":[] }, {"name":"getSubscribe","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.DiscoveryConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LoadBalanceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LocalCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getPersistDir","parameterTypes":[] }, {"name":"getPersistMaxReadRetry","parameterTypes":[] }, {"name":"getPersistMaxWriteRetry","parameterTypes":[] }, {"name":"getPersistRetryInterval","parameterTypes":[] }, {"name":"getServiceExpireTime","parameterTypes":[] }, {"name":"getServiceListRefreshInterval","parameterTypes":[] }, {"name":"getServiceRefreshInterval","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"isPersistEnable","parameterTypes":[] }, {"name":"isServiceExpireEnable","parameterTypes":[] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["int"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["int"] }, {"name":"setPersistRetryInterval","parameterTypes":["long"] }, {"name":"setServiceExpireEnable","parameterTypes":["boolean"] }, {"name":"setServiceExpireTime","parameterTypes":["long"] }, {"name":"setServiceListRefreshInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServiceRefreshInterval","parameterTypes":["long"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.OutlierDetectionConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"getCheckPeriod","parameterTypes":[] }, {"name":"getWhen","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setWhen","parameterTypes":["com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ServiceRouterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAfterChain","parameterTypes":[] }, {"name":"getBeforeChain","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"setAfterChain","parameterTypes":["java.util.List"] }, {"name":"setBeforeChain","parameterTypes":["java.util.List"] }, {"name":"setChain","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.SubscribeConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getCallbackConcurrency","parameterTypes":[] }, {"name":"setCallbackConcurrency","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.APIConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getBindIP","parameterTypes":[] }, {"name":"getBindIf","parameterTypes":[] }, {"name":"getMaxRetryTimes","parameterTypes":[] }, {"name":"getReportInterval","parameterTypes":[] }, {"name":"getRetryInterval","parameterTypes":[] }, {"name":"getTimeout","parameterTypes":[] }, {"name":"setMaxRetryTimes","parameterTypes":["int"] }, {"name":"setReportInterval","parameterTypes":["long"] }, {"name":"setRetryInterval","parameterTypes":["long"] }, {"name":"setTimeout","parameterTypes":["long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ClusterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getLbPolicy","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getRefreshInterval","parameterTypes":[] }, {"name":"getRouters","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"isSameAsBuiltin","parameterTypes":[] }, {"name":"setLbPolicy","parameterTypes":["java.lang.String"] }, {"name":"setRefreshInterval","parameterTypes":["long"] }, {"name":"setRouters","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getExpireInterval","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setExpireInterval","parameterTypes":["long"] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.GlobalConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAPI","parameterTypes":[] }, {"name":"getLocation","parameterTypes":[] }, {"name":"getServerConnector","parameterTypes":[] }, {"name":"getServerConnectors","parameterTypes":[] }, {"name":"getStatReporter","parameterTypes":[] }, {"name":"getSystem","parameterTypes":[] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getProviders","parameterTypes":[] }, {"name":"setProviders","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getOptions","parameterTypes":[] }, {"name":"getTye","parameterTypes":[] }, {"name":"setOptions","parameterTypes":["java.util.Map"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAddresses","parameterTypes":[] }, {"name":"getCertFile","parameterTypes":[] }, {"name":"getConnectTimeout","parameterTypes":[] }, {"name":"getConnectionIdleTimeout","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getKeyFile","parameterTypes":[] }, {"name":"getMessageTimeout","parameterTypes":[] }, {"name":"getMetadata","parameterTypes":[] }, {"name":"getProtocol","parameterTypes":[] }, {"name":"getReconnectInterval","parameterTypes":[] }, {"name":"getServerSwitchInterval","parameterTypes":[] }, {"name":"getTrustedCAFile","parameterTypes":[] }, {"name":"setAddresses","parameterTypes":["java.util.List"] }, {"name":"setConnectTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setConnectionIdleTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setId","parameterTypes":["java.lang.String"] }, {"name":"setMessageTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setProtocol","parameterTypes":["java.lang.String"] }, {"name":"setReconnectInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServerSwitchInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.StatReporterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.SystemConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigCluster","parameterTypes":[] }, {"name":"getDiscoverCluster","parameterTypes":[] }, {"name":"getFlow","parameterTypes":[] }, {"name":"getFlowCache","parameterTypes":[] }, {"name":"getHealthCheckCluster","parameterTypes":[] }, {"name":"getMonitorCluster","parameterTypes":[] }, {"name":"getVariables","parameterTypes":[] }, {"name":"setFlow","parameterTypes":["com.tencent.polaris.factory.config.global.FlowConfigImpl"] }, {"name":"setVariables","parameterTypes":["java.util.Map"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.plugin.PluginConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "methods":[{"name":"getPlugin","parameterTypes":[] }, {"name":"getPluginConfigs","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getMinRegisterInterval","parameterTypes":[] }, {"name":"getRateLimit","parameterTypes":[] }, {"name":"getRegisters","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RateLimitConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getFallbackOnExceedWindowCount","parameterTypes":[] }, {"name":"getLimiterAddresses","parameterTypes":[] }, {"name":"getLimiterNamespace","parameterTypes":[] }, {"name":"getLimiterService","parameterTypes":[] }, {"name":"getMaxQueuingTime","parameterTypes":[] }, {"name":"getMaxWindowCount","parameterTypes":[] }, {"name":"getRemoteSyncTimeoutMilli","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"isReportMetrics","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setFallbackOnExceedWindowCount","parameterTypes":["com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback"] }, {"name":"setLimiterNamespace","parameterTypes":["java.lang.String"] }, {"name":"setLimiterService","parameterTypes":["java.lang.String"] }, {"name":"setMaxQueuingTime","parameterTypes":["java.lang.Long"] }, {"name":"setMaxWindowCount","parameterTypes":["int"] }, {"name":"setRemoteSyncTimeoutMilli","parameterTypes":["long"] }, {"name":"setReportMetrics","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RegisterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ServiceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"getName","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.util.TimeStrJsonDeserializer", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugin.location.base.BaseLocationProvider$GetOption", + "allDeclaredFields":true, + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.outlier.detector.http.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getPath","parameterTypes":[] }, {"name":"getTimeout","parameterTypes":[] }, {"name":"setPath","parameterTypes":["java.lang.String"] }, {"name":"setTimeout","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.plugins.outlier.detector.tcp.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getReceive","parameterTypes":[] }, {"name":"getSend","parameterTypes":[] }, {"name":"setReceive","parameterTypes":["java.lang.String"] }, {"name":"setSend","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.plugins.outlier.detector.udp.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getReceive","parameterTypes":[] }, {"name":"getSend","parameterTypes":[] }, {"name":"getTimeout","parameterTypes":[] }, {"name":"setReceive","parameterTypes":["java.lang.String"] }, {"name":"setSend","parameterTypes":["java.lang.String"] }, {"name":"setTimeout","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.healthy.RecoverRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"isExcludeCircuitBreakInstances","parameterTypes":[] }, {"name":"setExcludeCircuitBreakInstances","parameterTypes":["java.lang.Boolean"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.metadata.FailOverType", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.plugins.router.metadata.MetadataRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getMetadataFailOverType","parameterTypes":[] }, {"name":"setMetadataFailOverType","parameterTypes":["com.tencent.polaris.plugins.router.metadata.FailOverType"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.nearby.NearbyRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getMatchLevel","parameterTypes":[] }, {"name":"getMaxMatchLevel","parameterTypes":[] }, {"name":"getUnhealthyPercentToDegrade","parameterTypes":[] }, {"name":"isEnableDegradeByUnhealthyPercent","parameterTypes":[] }, {"name":"isEnableReportLocalAddress","parameterTypes":[] }, {"name":"isStrictNearby","parameterTypes":[] }, {"name":"setEnableDegradeByUnhealthyPercent","parameterTypes":["java.lang.Boolean"] }, {"name":"setEnableReportLocalAddress","parameterTypes":["java.lang.Boolean"] }, {"name":"setMatchLevel","parameterTypes":["com.tencent.polaris.api.plugin.route.LocationLevel"] }, {"name":"setMaxMatchLevel","parameterTypes":["com.tencent.polaris.api.plugin.route.LocationLevel"] }, {"name":"setStrictNearby","parameterTypes":["java.lang.Boolean"] }, {"name":"setUnhealthyPercentToDegrade","parameterTypes":["java.lang.Integer"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.rule.RuleBasedRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getFailoverType","parameterTypes":[] }, {"name":"setFailoverType","parameterTypes":["com.tencent.polaris.api.rpc.RuleBasedRouterFailoverType"] }] +}, +{ + "name":"com.tencent.polaris.plugins.stat.prometheus.handler.PrometheusHandlerConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAddress","parameterTypes":[] }, {"name":"getHost","parameterTypes":[] }, {"name":"getPath","parameterTypes":[] }, {"name":"getPort","parameterTypes":[] }, {"name":"getPushInterval","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"isOpenGzip","parameterTypes":[] }, {"name":"setAddress","parameterTypes":["java.lang.String"] }, {"name":"setHost","parameterTypes":["java.lang.String"] }, {"name":"setOpenGzip","parameterTypes":["java.lang.Boolean"] }, {"name":"setPath","parameterTypes":["java.lang.String"] }, {"name":"setPort","parameterTypes":["java.lang.Integer"] }, {"name":"setPushInterval","parameterTypes":["java.lang.Long"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +} +] diff --git a/polaris-discovery/polaris-discovery-factory/src/main/resources/META-INF/native-image/resource-config.json b/polaris-discovery/polaris-discovery-factory/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..c975e356a --- /dev/null +++ b/polaris-discovery/polaris-discovery-factory/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,49 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.config.ConfigProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.config.plugin.PluginConfigProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.flow.DiscoveryFlow\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.TypeProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.cache.FlowCache\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.detect.HealthChecker\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.loadbalance.LoadBalancer\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.location.LocationProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.registry.CacheHandler\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.registry.LocalRegistry\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.route.ServiceRouter\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.server.ServerConnector\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.stat.StatReporter\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.client.api.ServiceCallResultListener\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.LoadBalancerProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.ManagedChannelProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.NameResolverProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.ServerProvider\\E" + }, { + "pattern":"\\Qconf/default-config.yml\\E" + }, { + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }, { + "pattern":"\\Qpolaris.yml\\E" + }]}, + "bundles":[] +} diff --git a/polaris-factory/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-factory/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..1057ad29a --- /dev/null +++ b/polaris-factory/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,434 @@ +[ +{ + "name":"com.tencent.polaris.api.config.Configuration", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFileConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFilterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.CircuitBreakerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ConsumerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.DiscoveryConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LoadBalanceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LocalCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ServiceRouterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.SubscribeConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.APIConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ClusterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.GlobalConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ServerConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.StatReporterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.SystemConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.plugin.PluginConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RegisterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ServiceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.verify.Verifier", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.exception.ServerErrorResponseException" +}, +{ + "name":"com.tencent.polaris.api.plugin.route.LocationLevel", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.rpc.RuleBasedRouterFailoverType", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.client.api.SDKContext" +}, +{ + "name":"com.tencent.polaris.factory.api.APIFactory" +}, +{ + "name":"com.tencent.polaris.factory.api.test.APIFactoryTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testCreateConsumerAPIByFile","parameterTypes":[] }, {"name":"testCreateProviderAPIByFile","parameterTypes":[] }, {"name":"testInitContextByConfig","parameterTypes":[] }, {"name":"testInitContextByFile","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.ConfigurationImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFile","parameterTypes":[] }, {"name":"getConsumer","parameterTypes":[] }, {"name":"getGlobal","parameterTypes":[] }, {"name":"getProvider","parameterTypes":[] }, {"name":"setConsumer","parameterTypes":["com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl"] }, {"name":"setGlobal","parameterTypes":["com.tencent.polaris.factory.config.global.GlobalConfigImpl"] }, {"name":"setProvider","parameterTypes":["com.tencent.polaris.factory.config.provider.ProviderConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFileConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFilterConfig","parameterTypes":[] }, {"name":"getPropertiesValueCacheSize","parameterTypes":[] }, {"name":"getPropertiesValueExpireTime","parameterTypes":[] }, {"name":"getServerConnector","parameterTypes":[] }, {"name":"setPropertiesValueCacheSize","parameterTypes":["int"] }, {"name":"setPropertiesValueExpireTime","parameterTypes":["long"] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFilterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"getChain","parameterTypes":[] }, {"name":"getPluginConfigs","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFileGroupThreadNum","parameterTypes":[] }, {"name":"getConnectorType","parameterTypes":[] }, {"name":"getFallbackToLocalCache","parameterTypes":[] }, {"name":"getPersistDir","parameterTypes":[] }, {"name":"getPersistEnable","parameterTypes":[] }, {"name":"getPersistMaxReadRetry","parameterTypes":[] }, {"name":"getPersistMaxWriteRetry","parameterTypes":[] }, {"name":"getPersistRetryInterval","parameterTypes":[] }, {"name":"setConnectorType","parameterTypes":["java.lang.String"] }, {"name":"setFallbackToLocalCache","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistRetryInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.CircuitBreakerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"getCheckPeriod","parameterTypes":[] }, {"name":"getRequestCountAfterHalfOpen","parameterTypes":[] }, {"name":"getSleepWindow","parameterTypes":[] }, {"name":"getSuccessCountAfterHalfOpen","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"isEnableRemotePull","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setEnableRemotePull","parameterTypes":["boolean"] }, {"name":"setRequestCountAfterHalfOpen","parameterTypes":["int"] }, {"name":"setSleepWindow","parameterTypes":["long"] }, {"name":"setSuccessCountAfterHalfOpen","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getCircuitBreaker","parameterTypes":[] }, {"name":"getDiscoveries","parameterTypes":[] }, {"name":"getLoadbalancer","parameterTypes":[] }, {"name":"getLocalCache","parameterTypes":[] }, {"name":"getOutlierDetection","parameterTypes":[] }, {"name":"getServiceRouter","parameterTypes":[] }, {"name":"getSubscribe","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.DiscoveryConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LoadBalanceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LocalCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getPersistDir","parameterTypes":[] }, {"name":"getPersistMaxReadRetry","parameterTypes":[] }, {"name":"getPersistMaxWriteRetry","parameterTypes":[] }, {"name":"getPersistRetryInterval","parameterTypes":[] }, {"name":"getServiceExpireTime","parameterTypes":[] }, {"name":"getServiceListRefreshInterval","parameterTypes":[] }, {"name":"getServiceRefreshInterval","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"isPersistEnable","parameterTypes":[] }, {"name":"isServiceExpireEnable","parameterTypes":[] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["int"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["int"] }, {"name":"setPersistRetryInterval","parameterTypes":["long"] }, {"name":"setServiceExpireEnable","parameterTypes":["boolean"] }, {"name":"setServiceExpireTime","parameterTypes":["long"] }, {"name":"setServiceListRefreshInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServiceRefreshInterval","parameterTypes":["long"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.OutlierDetectionConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"getCheckPeriod","parameterTypes":[] }, {"name":"getWhen","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setWhen","parameterTypes":["com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ServiceRouterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAfterChain","parameterTypes":[] }, {"name":"getBeforeChain","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"setAfterChain","parameterTypes":["java.util.List"] }, {"name":"setBeforeChain","parameterTypes":["java.util.List"] }, {"name":"setChain","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.SubscribeConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getCallbackConcurrency","parameterTypes":[] }, {"name":"setCallbackConcurrency","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.APIConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getBindIP","parameterTypes":[] }, {"name":"getBindIf","parameterTypes":[] }, {"name":"getMaxRetryTimes","parameterTypes":[] }, {"name":"getReportInterval","parameterTypes":[] }, {"name":"getRetryInterval","parameterTypes":[] }, {"name":"getTimeout","parameterTypes":[] }, {"name":"setBindIf","parameterTypes":["java.lang.String"] }, {"name":"setMaxRetryTimes","parameterTypes":["int"] }, {"name":"setReportInterval","parameterTypes":["long"] }, {"name":"setRetryInterval","parameterTypes":["long"] }, {"name":"setTimeout","parameterTypes":["long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ClusterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getLbPolicy","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getRefreshInterval","parameterTypes":[] }, {"name":"getRouters","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"isSameAsBuiltin","parameterTypes":[] }, {"name":"setLbPolicy","parameterTypes":["java.lang.String"] }, {"name":"setNamespace","parameterTypes":["java.lang.String"] }, {"name":"setRefreshInterval","parameterTypes":["long"] }, {"name":"setRouters","parameterTypes":["java.util.List"] }, {"name":"setService","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getExpireInterval","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setExpireInterval","parameterTypes":["long"] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.GlobalConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAPI","parameterTypes":[] }, {"name":"getLocation","parameterTypes":[] }, {"name":"getServerConnector","parameterTypes":[] }, {"name":"getServerConnectors","parameterTypes":[] }, {"name":"getStatReporter","parameterTypes":[] }, {"name":"getSystem","parameterTypes":[] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getProviders","parameterTypes":[] }, {"name":"setProviders","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getOptions","parameterTypes":[] }, {"name":"getTye","parameterTypes":[] }, {"name":"setOptions","parameterTypes":["java.util.Map"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAddresses","parameterTypes":[] }, {"name":"getCertFile","parameterTypes":[] }, {"name":"getConnectTimeout","parameterTypes":[] }, {"name":"getConnectionIdleTimeout","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getKeyFile","parameterTypes":[] }, {"name":"getMessageTimeout","parameterTypes":[] }, {"name":"getMetadata","parameterTypes":[] }, {"name":"getProtocol","parameterTypes":[] }, {"name":"getReconnectInterval","parameterTypes":[] }, {"name":"getServerSwitchInterval","parameterTypes":[] }, {"name":"getTrustedCAFile","parameterTypes":[] }, {"name":"setAddresses","parameterTypes":["java.util.List"] }, {"name":"setConnectTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setConnectionIdleTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setId","parameterTypes":["java.lang.String"] }, {"name":"setMessageTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setProtocol","parameterTypes":["java.lang.String"] }, {"name":"setReconnectInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServerSwitchInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.StatReporterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.SystemConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigCluster","parameterTypes":[] }, {"name":"getDiscoverCluster","parameterTypes":[] }, {"name":"getFlow","parameterTypes":[] }, {"name":"getFlowCache","parameterTypes":[] }, {"name":"getHealthCheckCluster","parameterTypes":[] }, {"name":"getMonitorCluster","parameterTypes":[] }, {"name":"getVariables","parameterTypes":[] }, {"name":"setFlow","parameterTypes":["com.tencent.polaris.factory.config.global.FlowConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.plugin.PluginConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "methods":[{"name":"getPlugin","parameterTypes":[] }, {"name":"getPluginConfigs","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getMinRegisterInterval","parameterTypes":[] }, {"name":"getRateLimit","parameterTypes":[] }, {"name":"getRegisters","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RateLimitConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getFallbackOnExceedWindowCount","parameterTypes":[] }, {"name":"getLimiterAddresses","parameterTypes":[] }, {"name":"getLimiterNamespace","parameterTypes":[] }, {"name":"getLimiterService","parameterTypes":[] }, {"name":"getMaxQueuingTime","parameterTypes":[] }, {"name":"getMaxWindowCount","parameterTypes":[] }, {"name":"getRemoteSyncTimeoutMilli","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"isReportMetrics","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setFallbackOnExceedWindowCount","parameterTypes":["com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback"] }, {"name":"setLimiterNamespace","parameterTypes":["java.lang.String"] }, {"name":"setLimiterService","parameterTypes":["java.lang.String"] }, {"name":"setMaxQueuingTime","parameterTypes":["java.lang.Long"] }, {"name":"setMaxWindowCount","parameterTypes":["int"] }, {"name":"setRemoteSyncTimeoutMilli","parameterTypes":["long"] }, {"name":"setReportMetrics","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RegisterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ServiceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"getName","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.util.TimeStrJsonDeserializer", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugin.location.base.BaseLocationProvider$GetOption", + "allDeclaredFields":true, + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.circuitbreaker.errcount.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getContinuousErrorThreshold","parameterTypes":[] }, {"name":"setContinuousErrorThreshold","parameterTypes":["java.lang.Integer"] }] +}, +{ + "name":"com.tencent.polaris.plugins.circuitbreaker.errrate.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getErrorRateThreshold","parameterTypes":[] }, {"name":"getMetricNumBuckets","parameterTypes":[] }, {"name":"getRequestVolumeThreshold","parameterTypes":[] }, {"name":"setErrorRateThreshold","parameterTypes":["java.lang.Integer"] }, {"name":"setMetricNumBuckets","parameterTypes":["java.lang.Integer"] }, {"name":"setRequestVolumeThreshold","parameterTypes":["java.lang.Integer"] }] +}, +{ + "name":"com.tencent.polaris.plugins.connector.common.ServiceUpdateTask" +}, +{ + "name":"com.tencent.polaris.plugins.connector.grpc.GrpcConnector" +}, +{ + "name":"com.tencent.polaris.plugins.connector.grpc.GrpcServiceUpdateTask" +}, +{ + "name":"com.tencent.polaris.plugins.connector.grpc.SpecStreamClient" +}, +{ + "name":"com.tencent.polaris.plugins.outlier.detector.http.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getPath","parameterTypes":[] }, {"name":"getTimeout","parameterTypes":[] }, {"name":"setPath","parameterTypes":["java.lang.String"] }, {"name":"setTimeout","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.plugins.outlier.detector.tcp.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getReceive","parameterTypes":[] }, {"name":"getSend","parameterTypes":[] }, {"name":"setReceive","parameterTypes":["java.lang.String"] }, {"name":"setSend","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.plugins.outlier.detector.udp.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getReceive","parameterTypes":[] }, {"name":"getSend","parameterTypes":[] }, {"name":"getTimeout","parameterTypes":[] }, {"name":"setReceive","parameterTypes":["java.lang.String"] }, {"name":"setSend","parameterTypes":["java.lang.String"] }, {"name":"setTimeout","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.healthy.RecoverRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"isExcludeCircuitBreakInstances","parameterTypes":[] }, {"name":"setExcludeCircuitBreakInstances","parameterTypes":["java.lang.Boolean"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.metadata.FailOverType", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.plugins.router.metadata.MetadataRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getMetadataFailOverType","parameterTypes":[] }, {"name":"setMetadataFailOverType","parameterTypes":["com.tencent.polaris.plugins.router.metadata.FailOverType"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.nearby.NearbyRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getMatchLevel","parameterTypes":[] }, {"name":"getMaxMatchLevel","parameterTypes":[] }, {"name":"getUnhealthyPercentToDegrade","parameterTypes":[] }, {"name":"isEnableDegradeByUnhealthyPercent","parameterTypes":[] }, {"name":"isEnableReportLocalAddress","parameterTypes":[] }, {"name":"isStrictNearby","parameterTypes":[] }, {"name":"setEnableDegradeByUnhealthyPercent","parameterTypes":["java.lang.Boolean"] }, {"name":"setEnableReportLocalAddress","parameterTypes":["java.lang.Boolean"] }, {"name":"setMatchLevel","parameterTypes":["com.tencent.polaris.api.plugin.route.LocationLevel"] }, {"name":"setMaxMatchLevel","parameterTypes":["com.tencent.polaris.api.plugin.route.LocationLevel"] }, {"name":"setStrictNearby","parameterTypes":["java.lang.Boolean"] }, {"name":"setUnhealthyPercentToDegrade","parameterTypes":["java.lang.Integer"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.rule.RuleBasedRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getFailoverType","parameterTypes":[] }, {"name":"setFailoverType","parameterTypes":["com.tencent.polaris.api.rpc.RuleBasedRouterFailoverType"] }] +}, +{ + "name":"com.tencent.polaris.plugins.stat.prometheus.handler.PrometheusHandlerConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAddress","parameterTypes":[] }, {"name":"getHost","parameterTypes":[] }, {"name":"getPath","parameterTypes":[] }, {"name":"getPort","parameterTypes":[] }, {"name":"getPushInterval","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"isOpenGzip","parameterTypes":[] }, {"name":"setAddress","parameterTypes":["java.lang.String"] }, {"name":"setHost","parameterTypes":["java.lang.String"] }, {"name":"setOpenGzip","parameterTypes":["java.lang.Boolean"] }, {"name":"setPath","parameterTypes":["java.lang.String"] }, {"name":"setPort","parameterTypes":["java.lang.Integer"] }, {"name":"setPushInterval","parameterTypes":["java.lang.Long"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +} +] diff --git a/polaris-factory/src/main/resources/META-INF/native-image/resource-config.json b/polaris-factory/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..fb2df9fb4 --- /dev/null +++ b/polaris-factory/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,61 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.config.ConfigProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.config.plugin.PluginConfigProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.flow.DiscoveryFlow\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.TypeProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.cache.FlowCache\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.circuitbreaker.CircuitBreaker\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.circuitbreaker.InstanceCircuitBreaker\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.configuration.ConfigFileConnector\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.configuration.ConfigFileGroupConnector\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.detect.HealthChecker\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.filter.ConfigFileFilter\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.filter.Crypto\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.loadbalance.LoadBalancer\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.location.LocationProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.ratelimiter.ServiceRateLimiter\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.registry.CacheHandler\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.registry.LocalRegistry\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.route.ServiceRouter\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.server.ServerConnector\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.stat.StatReporter\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.client.api.ServiceCallResultListener\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.LoadBalancerProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.ManagedChannelProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.NameResolverProvider\\E" + }, { + "pattern":"\\Qconf/default-config.yml\\E" + }, { + "pattern":"\\Qconf/default.yaml\\E" + }, { + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }]}, + "bundles":[] +} diff --git a/polaris-plugins/polaris-plugins-circuitbreaker/circuitbreaker-composite/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-plugins/polaris-plugins-circuitbreaker/circuitbreaker-composite/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..07cb20c6f --- /dev/null +++ b/polaris-plugins/polaris-plugins-circuitbreaker/circuitbreaker-composite/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,44 @@ +[ +{ + "name":"com.tencent.polaris.plugins.circuitbraker.composite.trigger.CircuitBreakerRuleContainerTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testSelectRuleMethod","parameterTypes":[] }, {"name":"testSelectRuleService","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.circuitbraker.composite.trigger.ConsecutiveCounterTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testConsecutiveReport","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.circuitbraker.composite.trigger.ErrRateCounterTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testErrorRateReport","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.circuitbraker.composite.trigger.PolarisCircuitBreakerTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testCheckResource","parameterTypes":[] }, {"name":"testRuleChanged","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.circuitbraker.composite.trigger.ResourceCountersTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testDestroy","parameterTypes":[] }, {"name":"testParseStatus","parameterTypes":[] }, {"name":"testStatusChanged","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.circuitbraker.composite.trigger.ResourceHealthCheckerTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testSelectFdRule","parameterTypes":[] }] +} +] diff --git a/polaris-plugins/polaris-plugins-circuitbreaker/circuitbreaker-composite/src/main/resources/META-INF/native-image/resource-config.json b/polaris-plugins/polaris-plugins-circuitbreaker/circuitbreaker-composite/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..c9a04605d --- /dev/null +++ b/polaris-plugins/polaris-plugins-circuitbreaker/circuitbreaker-composite/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,9 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }]}, + "bundles":[] +} diff --git a/polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto/src/main/resources/META-INF/native-image/proxy-config.json b/polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto/src/main/resources/META-INF/native-image/proxy-config.json new file mode 100644 index 000000000..c98612fa7 --- /dev/null +++ b/polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto/src/main/resources/META-INF/native-image/proxy-config.json @@ -0,0 +1,35 @@ +[ + { + "interfaces":["net.bytebuddy.description.method.MethodDescription$InDefinedShape$AbstractBase$Executable"] + }, + { + "interfaces":["net.bytebuddy.description.method.ParameterDescription$ForLoadedParameter$Parameter"] + }, + { + "interfaces":["net.bytebuddy.description.method.ParameterList$ForLoadedExecutable$Executable"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDefinition$Sort$AnnotatedType"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$ForLoadedType$Dispatcher"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedExecutableExceptionType$Dispatcher"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedExecutableParameterType$Dispatcher"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedMethodReturnType$Dispatcher"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForComponentType$AnnotatedParameterizedType"] + }, + { + "interfaces":["net.bytebuddy.utility.JavaModule$Module"] + }, + { + "interfaces":["net.bytebuddy.utility.JavaModule$Resolver"] + } +] diff --git a/polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..a91b2ce30 --- /dev/null +++ b/polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,554 @@ +[ +{ + "name":"[B" +}, +{ + "name":"[Ljava.lang.String;" +}, +{ + "name":"[Lsun.security.pkcs.SignerInfo;" +}, +{ + "name":"com.tencent.polaris.api.plugin.Plugin", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"destroy","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"init","parameterTypes":["com.tencent.polaris.api.plugin.common.InitContext"] }, {"name":"postContextInit","parameterTypes":["com.tencent.polaris.api.plugin.compose.Extensions"] }] +}, +{ + "name":"com.tencent.polaris.api.plugin.filter.Crypto", + "queryAllDeclaredMethods":true, + "queryAllPublicMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"doDecrypt","parameterTypes":["com.tencent.polaris.api.plugin.configuration.ConfigFile","byte[]"] }, {"name":"doEncrypt","parameterTypes":["com.tencent.polaris.api.plugin.configuration.ConfigFile"] }] +}, +{ + "name":"com.tencent.polaris.plugins.configfilefilter.CryptoConfigFileFilterTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setUp","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testDoFilter","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.configfilefilter.service.RSAService", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"decrypt","parameterTypes":["java.lang.String"] }, {"name":"getPKCS1PublicKey","parameterTypes":[] }, {"name":"getPublicKey","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.configfilefilter.util.AESUtilTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testAes","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.configfilefilter.util.RSAUtilTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testRsa","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.description.method.MethodDescription$InDefinedShape$AbstractBase$Executable", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.method.ParameterDescription$ForLoadedParameter$Parameter", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.method.ParameterList$ForLoadedExecutable$Executable", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDefinition$Sort$AnnotatedType", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$ForLoadedType$Dispatcher", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedExecutableExceptionType$Dispatcher", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedExecutableParameterType$Dispatcher", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedMethodReturnType$Dispatcher", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForComponentType$AnnotatedParameterizedType", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.AllArguments", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"includeSelf","parameterTypes":[] }, {"name":"nullIfEmpty","parameterTypes":[] }, {"name":"value","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Argument", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"bindingMechanic","parameterTypes":[] }, {"name":"value","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Argument$BindingMechanic" +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.BindingPriority", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"value","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Default", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.DefaultCall", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.DefaultMethod", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.FieldValue", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"declaringType","parameterTypes":[] }, {"name":"value","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Origin", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"cache","parameterTypes":[] }, {"name":"privileged","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.StubValue", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Super", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.SuperCall", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"fallbackToDefault","parameterTypes":[] }, {"name":"nullIfImpossible","parameterTypes":[] }, {"name":"serializableProxy","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.SuperMethod", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.This", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"optional","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.utility.Invoker", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.utility.Invoker$Dispatcher", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.utility.JavaModule$Module", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.utility.JavaModule$Resolver", + "queryAllPublicMethods":true +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.COMPOSITE$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.DH$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.DSA$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.DSTU4145$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.Dilithium$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.EC$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.ECGOST$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.EXTERNAL$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.EdEC$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.ElGamal$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.Falcon$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.GM$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.GOST$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.IES$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.LMS$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.NTRU$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.RSA$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.SPHINCSPlus$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.asymmetric.X509$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.Blake2b$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.Blake2s$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.Blake3$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.DSTU7564$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.GOST3411$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.Haraka$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.Keccak$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.MD2$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.MD4$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.MD5$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.RIPEMD128$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.RIPEMD160$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.RIPEMD256$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.RIPEMD320$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.SHA1$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.SHA224$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.SHA256$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.SHA3$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.SHA384$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.SHA512$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.SM3$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.Skein$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.Tiger$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.digest.Whirlpool$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.drbg.DRBG$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.keystore.BC$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.keystore.BCFKS$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.keystore.PKCS12$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.AES$ECB", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.AES$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.ARC4$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.ARIA$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Blowfish$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.CAST5$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.CAST6$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Camellia$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.ChaCha$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.DES$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.DESede$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.DSTU7624$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.GOST28147$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.GOST3412_2015$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Grain128$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Grainv1$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.HC128$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.HC256$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.IDEA$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Noekeon$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.OpenSSLPBKDF$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.PBEPBKDF1$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.PBEPBKDF2$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.PBEPKCS12$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Poly1305$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.RC2$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.RC5$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.RC6$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Rijndael$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.SCRYPT$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.SEED$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.SM4$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Salsa20$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Serpent$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Shacal2$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.SipHash$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.SipHash128$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Skipjack$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.TEA$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.TLSKDF$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Threefish$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Twofish$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.VMPC$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.VMPCKSA3$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.XSalsa20$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.XTEA$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"org.bouncycastle.jcajce.provider.symmetric.Zuc$Mappings", + "methods":[{"name":"","parameterTypes":[] }] +} +] diff --git a/polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto/src/main/resources/META-INF/native-image/resource-config.json b/polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..d81d02415 --- /dev/null +++ b/polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,13 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }, { + "pattern":"java.base:\\Qjdk/internal/icu/impl/data/icudt67b/nfc.nrm\\E" + }, { + "pattern":"java.base:\\Qjdk/internal/icu/impl/data/icudt67b/nfkc.nrm\\E" + }]}, + "bundles":[] +} diff --git a/polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/jni-config.json b/polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/jni-config.json new file mode 100644 index 000000000..2e6bbbf6a --- /dev/null +++ b/polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/jni-config.json @@ -0,0 +1,8 @@ +[ +{ + "name":"[B" +}, +{ + "name":"[Ljava.lang.String;" +} +] diff --git a/polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/proxy-config.json b/polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/proxy-config.json new file mode 100644 index 000000000..7f9d608df --- /dev/null +++ b/polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/proxy-config.json @@ -0,0 +1,53 @@ +[ + { + "interfaces":["net.bytebuddy.description.method.MethodDescription$InDefinedShape$AbstractBase$Executable"] + }, + { + "interfaces":["net.bytebuddy.description.method.ParameterDescription$ForLoadedParameter$Parameter"] + }, + { + "interfaces":["net.bytebuddy.description.method.ParameterList$ForLoadedExecutable$Executable"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDefinition$Sort$AnnotatedType"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$ForLoadedType$Dispatcher"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedExecutableExceptionType$Dispatcher"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedExecutableParameterType$Dispatcher"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedMethodReturnType$Dispatcher"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForComponentType$AnnotatedParameterizedType"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeArgument$AnnotatedParameterizedType"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeVariableBoundType$AnnotatedTypeVariable"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeVariableBoundType$OfFormalTypeVariable$FormalTypeVariable"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForWildcardUpperBoundType$AnnotatedWildcardType"] + }, + { + "interfaces":["net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$System"] + }, + { + "interfaces":["net.bytebuddy.dynamic.loading.ClassInjector$UsingUnsafe$System"] + }, + { + "interfaces":["net.bytebuddy.utility.JavaModule$Module"] + }, + { + "interfaces":["net.bytebuddy.utility.JavaModule$Resolver"] + } +] diff --git a/polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..fbcb1badf --- /dev/null +++ b/polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,495 @@ +[ +{ + "name":"[B" +}, +{ + "name":"com.tencent.polaris.api.config.Configuration", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFileConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFilterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.CircuitBreakerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ConsumerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.DiscoveryConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LoadBalanceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LocalCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ServiceRouterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.SubscribeConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.APIConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ClusterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.GlobalConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ServerConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.StatReporterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.SystemConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.plugin.PluginConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RegisterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ServiceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.verify.Verifier", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.factory.config.ConfigurationImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFile","parameterTypes":[] }, {"name":"getConsumer","parameterTypes":[] }, {"name":"getGlobal","parameterTypes":[] }, {"name":"getProvider","parameterTypes":[] }, {"name":"setConsumer","parameterTypes":["com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl"] }, {"name":"setGlobal","parameterTypes":["com.tencent.polaris.factory.config.global.GlobalConfigImpl"] }, {"name":"setProvider","parameterTypes":["com.tencent.polaris.factory.config.provider.ProviderConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFileConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFilterConfig","parameterTypes":[] }, {"name":"getPropertiesValueCacheSize","parameterTypes":[] }, {"name":"getPropertiesValueExpireTime","parameterTypes":[] }, {"name":"getServerConnector","parameterTypes":[] }, {"name":"setPropertiesValueCacheSize","parameterTypes":["int"] }, {"name":"setPropertiesValueExpireTime","parameterTypes":["long"] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFilterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"getChain","parameterTypes":[] }, {"name":"getPluginConfigs","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFileGroupThreadNum","parameterTypes":[] }, {"name":"getConnectorType","parameterTypes":[] }, {"name":"getFallbackToLocalCache","parameterTypes":[] }, {"name":"getPersistDir","parameterTypes":[] }, {"name":"getPersistEnable","parameterTypes":[] }, {"name":"getPersistMaxReadRetry","parameterTypes":[] }, {"name":"getPersistMaxWriteRetry","parameterTypes":[] }, {"name":"getPersistRetryInterval","parameterTypes":[] }, {"name":"setConnectorType","parameterTypes":["java.lang.String"] }, {"name":"setFallbackToLocalCache","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistRetryInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.CircuitBreakerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"getCheckPeriod","parameterTypes":[] }, {"name":"getRequestCountAfterHalfOpen","parameterTypes":[] }, {"name":"getSleepWindow","parameterTypes":[] }, {"name":"getSuccessCountAfterHalfOpen","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"isEnableRemotePull","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setEnableRemotePull","parameterTypes":["boolean"] }, {"name":"setRequestCountAfterHalfOpen","parameterTypes":["int"] }, {"name":"setSleepWindow","parameterTypes":["long"] }, {"name":"setSuccessCountAfterHalfOpen","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getCircuitBreaker","parameterTypes":[] }, {"name":"getDiscoveries","parameterTypes":[] }, {"name":"getLoadbalancer","parameterTypes":[] }, {"name":"getLocalCache","parameterTypes":[] }, {"name":"getOutlierDetection","parameterTypes":[] }, {"name":"getServiceRouter","parameterTypes":[] }, {"name":"getSubscribe","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.DiscoveryConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LoadBalanceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LocalCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getPersistDir","parameterTypes":[] }, {"name":"getPersistMaxReadRetry","parameterTypes":[] }, {"name":"getPersistMaxWriteRetry","parameterTypes":[] }, {"name":"getPersistRetryInterval","parameterTypes":[] }, {"name":"getServiceExpireTime","parameterTypes":[] }, {"name":"getServiceListRefreshInterval","parameterTypes":[] }, {"name":"getServiceRefreshInterval","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"isPersistEnable","parameterTypes":[] }, {"name":"isServiceExpireEnable","parameterTypes":[] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["int"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["int"] }, {"name":"setPersistRetryInterval","parameterTypes":["long"] }, {"name":"setServiceExpireEnable","parameterTypes":["boolean"] }, {"name":"setServiceExpireTime","parameterTypes":["long"] }, {"name":"setServiceListRefreshInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServiceRefreshInterval","parameterTypes":["long"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.OutlierDetectionConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"getCheckPeriod","parameterTypes":[] }, {"name":"getWhen","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setWhen","parameterTypes":["com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ServiceRouterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAfterChain","parameterTypes":[] }, {"name":"getBeforeChain","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"setAfterChain","parameterTypes":["java.util.List"] }, {"name":"setBeforeChain","parameterTypes":["java.util.List"] }, {"name":"setChain","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.SubscribeConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getCallbackConcurrency","parameterTypes":[] }, {"name":"setCallbackConcurrency","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.APIConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getBindIP","parameterTypes":[] }, {"name":"getBindIf","parameterTypes":[] }, {"name":"getMaxRetryTimes","parameterTypes":[] }, {"name":"getReportInterval","parameterTypes":[] }, {"name":"getRetryInterval","parameterTypes":[] }, {"name":"getTimeout","parameterTypes":[] }, {"name":"setMaxRetryTimes","parameterTypes":["int"] }, {"name":"setReportInterval","parameterTypes":["long"] }, {"name":"setRetryInterval","parameterTypes":["long"] }, {"name":"setTimeout","parameterTypes":["long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ClusterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getLbPolicy","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getRefreshInterval","parameterTypes":[] }, {"name":"getRouters","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"isSameAsBuiltin","parameterTypes":[] }, {"name":"setLbPolicy","parameterTypes":["java.lang.String"] }, {"name":"setRefreshInterval","parameterTypes":["long"] }, {"name":"setRouters","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getExpireInterval","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setExpireInterval","parameterTypes":["long"] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.GlobalConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAPI","parameterTypes":[] }, {"name":"getLocation","parameterTypes":[] }, {"name":"getServerConnector","parameterTypes":[] }, {"name":"getServerConnectors","parameterTypes":[] }, {"name":"getStatReporter","parameterTypes":[] }, {"name":"getSystem","parameterTypes":[] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getProviders","parameterTypes":[] }, {"name":"setProviders","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getOptions","parameterTypes":[] }, {"name":"getTye","parameterTypes":[] }, {"name":"setOptions","parameterTypes":["java.util.Map"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAddresses","parameterTypes":[] }, {"name":"getCertFile","parameterTypes":[] }, {"name":"getConnectTimeout","parameterTypes":[] }, {"name":"getConnectionIdleTimeout","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getKeyFile","parameterTypes":[] }, {"name":"getMessageTimeout","parameterTypes":[] }, {"name":"getMetadata","parameterTypes":[] }, {"name":"getProtocol","parameterTypes":[] }, {"name":"getReconnectInterval","parameterTypes":[] }, {"name":"getServerSwitchInterval","parameterTypes":[] }, {"name":"getTrustedCAFile","parameterTypes":[] }, {"name":"setAddresses","parameterTypes":["java.util.List"] }, {"name":"setConnectTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setConnectionIdleTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setId","parameterTypes":["java.lang.String"] }, {"name":"setMessageTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setProtocol","parameterTypes":["java.lang.String"] }, {"name":"setReconnectInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServerSwitchInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.StatReporterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.SystemConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigCluster","parameterTypes":[] }, {"name":"getDiscoverCluster","parameterTypes":[] }, {"name":"getFlow","parameterTypes":[] }, {"name":"getFlowCache","parameterTypes":[] }, {"name":"getHealthCheckCluster","parameterTypes":[] }, {"name":"getMonitorCluster","parameterTypes":[] }, {"name":"getVariables","parameterTypes":[] }, {"name":"setFlow","parameterTypes":["com.tencent.polaris.factory.config.global.FlowConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.plugin.PluginConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "methods":[{"name":"getPlugin","parameterTypes":[] }, {"name":"getPluginConfigs","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getMinRegisterInterval","parameterTypes":[] }, {"name":"getRateLimit","parameterTypes":[] }, {"name":"getRegisters","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RateLimitConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getFallbackOnExceedWindowCount","parameterTypes":[] }, {"name":"getLimiterAddresses","parameterTypes":[] }, {"name":"getLimiterNamespace","parameterTypes":[] }, {"name":"getLimiterService","parameterTypes":[] }, {"name":"getMaxQueuingTime","parameterTypes":[] }, {"name":"getMaxWindowCount","parameterTypes":[] }, {"name":"getRemoteSyncTimeoutMilli","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"isReportMetrics","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setFallbackOnExceedWindowCount","parameterTypes":["com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback"] }, {"name":"setLimiterNamespace","parameterTypes":["java.lang.String"] }, {"name":"setLimiterService","parameterTypes":["java.lang.String"] }, {"name":"setMaxQueuingTime","parameterTypes":["java.lang.Long"] }, {"name":"setMaxWindowCount","parameterTypes":["int"] }, {"name":"setRemoteSyncTimeoutMilli","parameterTypes":["long"] }, {"name":"setReportMetrics","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RegisterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ServiceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"getName","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.util.TimeStrJsonDeserializer", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.connector.grpc.ChannelTlsCertificatesTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setUp","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testHasNoCert","parameterTypes":[] }, {"name":"testHasNoCertFile","parameterTypes":[] }, {"name":"testHasNoKeyFile","parameterTypes":[] }, {"name":"testHasNoTrustedCert","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.connector.grpc.ConnectionManagerTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"after","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testNoSwitchClientOnFailNetworkError","parameterTypes":[] }, {"name":"testSwitchClient","parameterTypes":[] }, {"name":"testSwitchClientOnFailBusinessError","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.connector.grpc.ManagedChannelUtilTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testSetChannelTls","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.connector.grpc.SpecStreamClientTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"testAbNormalPendingTask","parameterTypes":[] }, {"name":"testNormalPendingTask","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$Service", + "methods":[{"name":"getBusiness","parameterTypes":[] }, {"name":"getCmdbMod1","parameterTypes":[] }, {"name":"getCmdbMod2","parameterTypes":[] }, {"name":"getCmdbMod3","parameterTypes":[] }, {"name":"getComment","parameterTypes":[] }, {"name":"getCtime","parameterTypes":[] }, {"name":"getDefaultInstance","parameterTypes":[] }, {"name":"getDepartment","parameterTypes":[] }, {"name":"getEditable","parameterTypes":[] }, {"name":"getExportTo","parameterTypes":["int"] }, {"name":"getExportToCount","parameterTypes":[] }, {"name":"getExportToList","parameterTypes":[] }, {"name":"getGroupIds","parameterTypes":["int"] }, {"name":"getGroupIdsCount","parameterTypes":[] }, {"name":"getGroupIdsList","parameterTypes":[] }, {"name":"getHealthyInstanceCount","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getMtime","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getOwners","parameterTypes":[] }, {"name":"getPlatformId","parameterTypes":[] }, {"name":"getPorts","parameterTypes":[] }, {"name":"getRemoveGroupIds","parameterTypes":["int"] }, {"name":"getRemoveGroupIdsCount","parameterTypes":[] }, {"name":"getRemoveGroupIdsList","parameterTypes":[] }, {"name":"getRemoveUserIds","parameterTypes":["int"] }, {"name":"getRemoveUserIdsCount","parameterTypes":[] }, {"name":"getRemoveUserIdsList","parameterTypes":[] }, {"name":"getRevision","parameterTypes":[] }, {"name":"getToken","parameterTypes":[] }, {"name":"getTotalInstanceCount","parameterTypes":[] }, {"name":"getUserIds","parameterTypes":["int"] }, {"name":"getUserIdsCount","parameterTypes":[] }, {"name":"getUserIdsList","parameterTypes":[] }, {"name":"hasBusiness","parameterTypes":[] }, {"name":"hasCmdbMod1","parameterTypes":[] }, {"name":"hasCmdbMod2","parameterTypes":[] }, {"name":"hasCmdbMod3","parameterTypes":[] }, {"name":"hasComment","parameterTypes":[] }, {"name":"hasCtime","parameterTypes":[] }, {"name":"hasDepartment","parameterTypes":[] }, {"name":"hasEditable","parameterTypes":[] }, {"name":"hasHealthyInstanceCount","parameterTypes":[] }, {"name":"hasId","parameterTypes":[] }, {"name":"hasMtime","parameterTypes":[] }, {"name":"hasName","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasOwners","parameterTypes":[] }, {"name":"hasPlatformId","parameterTypes":[] }, {"name":"hasPorts","parameterTypes":[] }, {"name":"hasRevision","parameterTypes":[] }, {"name":"hasToken","parameterTypes":[] }, {"name":"hasTotalInstanceCount","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$Service$Builder", + "methods":[{"name":"addExportTo","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"addGroupIds","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"addRemoveGroupIds","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"addRemoveUserIds","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"addUserIds","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"clearBusiness","parameterTypes":[] }, {"name":"clearCmdbMod1","parameterTypes":[] }, {"name":"clearCmdbMod2","parameterTypes":[] }, {"name":"clearCmdbMod3","parameterTypes":[] }, {"name":"clearComment","parameterTypes":[] }, {"name":"clearCtime","parameterTypes":[] }, {"name":"clearDepartment","parameterTypes":[] }, {"name":"clearEditable","parameterTypes":[] }, {"name":"clearExportTo","parameterTypes":[] }, {"name":"clearGroupIds","parameterTypes":[] }, {"name":"clearHealthyInstanceCount","parameterTypes":[] }, {"name":"clearId","parameterTypes":[] }, {"name":"clearMtime","parameterTypes":[] }, {"name":"clearName","parameterTypes":[] }, {"name":"clearNamespace","parameterTypes":[] }, {"name":"clearOwners","parameterTypes":[] }, {"name":"clearPlatformId","parameterTypes":[] }, {"name":"clearPorts","parameterTypes":[] }, {"name":"clearRemoveGroupIds","parameterTypes":[] }, {"name":"clearRemoveUserIds","parameterTypes":[] }, {"name":"clearRevision","parameterTypes":[] }, {"name":"clearToken","parameterTypes":[] }, {"name":"clearTotalInstanceCount","parameterTypes":[] }, {"name":"clearUserIds","parameterTypes":[] }, {"name":"getBusiness","parameterTypes":[] }, {"name":"getBusinessBuilder","parameterTypes":[] }, {"name":"getCmdbMod1","parameterTypes":[] }, {"name":"getCmdbMod1Builder","parameterTypes":[] }, {"name":"getCmdbMod2","parameterTypes":[] }, {"name":"getCmdbMod2Builder","parameterTypes":[] }, {"name":"getCmdbMod3","parameterTypes":[] }, {"name":"getCmdbMod3Builder","parameterTypes":[] }, {"name":"getComment","parameterTypes":[] }, {"name":"getCommentBuilder","parameterTypes":[] }, {"name":"getCtime","parameterTypes":[] }, {"name":"getCtimeBuilder","parameterTypes":[] }, {"name":"getDepartment","parameterTypes":[] }, {"name":"getDepartmentBuilder","parameterTypes":[] }, {"name":"getEditable","parameterTypes":[] }, {"name":"getEditableBuilder","parameterTypes":[] }, {"name":"getExportTo","parameterTypes":["int"] }, {"name":"getExportToBuilder","parameterTypes":["int"] }, {"name":"getExportToCount","parameterTypes":[] }, {"name":"getExportToList","parameterTypes":[] }, {"name":"getGroupIds","parameterTypes":["int"] }, {"name":"getGroupIdsBuilder","parameterTypes":["int"] }, {"name":"getGroupIdsCount","parameterTypes":[] }, {"name":"getGroupIdsList","parameterTypes":[] }, {"name":"getHealthyInstanceCount","parameterTypes":[] }, {"name":"getHealthyInstanceCountBuilder","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getIdBuilder","parameterTypes":[] }, {"name":"getMtime","parameterTypes":[] }, {"name":"getMtimeBuilder","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"getNameBuilder","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getNamespaceBuilder","parameterTypes":[] }, {"name":"getOwners","parameterTypes":[] }, {"name":"getOwnersBuilder","parameterTypes":[] }, {"name":"getPlatformId","parameterTypes":[] }, {"name":"getPlatformIdBuilder","parameterTypes":[] }, {"name":"getPorts","parameterTypes":[] }, {"name":"getPortsBuilder","parameterTypes":[] }, {"name":"getRemoveGroupIds","parameterTypes":["int"] }, {"name":"getRemoveGroupIdsBuilder","parameterTypes":["int"] }, {"name":"getRemoveGroupIdsCount","parameterTypes":[] }, {"name":"getRemoveGroupIdsList","parameterTypes":[] }, {"name":"getRemoveUserIds","parameterTypes":["int"] }, {"name":"getRemoveUserIdsBuilder","parameterTypes":["int"] }, {"name":"getRemoveUserIdsCount","parameterTypes":[] }, {"name":"getRemoveUserIdsList","parameterTypes":[] }, {"name":"getRevision","parameterTypes":[] }, {"name":"getRevisionBuilder","parameterTypes":[] }, {"name":"getToken","parameterTypes":[] }, {"name":"getTokenBuilder","parameterTypes":[] }, {"name":"getTotalInstanceCount","parameterTypes":[] }, {"name":"getTotalInstanceCountBuilder","parameterTypes":[] }, {"name":"getUserIds","parameterTypes":["int"] }, {"name":"getUserIdsBuilder","parameterTypes":["int"] }, {"name":"getUserIdsCount","parameterTypes":[] }, {"name":"getUserIdsList","parameterTypes":[] }, {"name":"hasBusiness","parameterTypes":[] }, {"name":"hasCmdbMod1","parameterTypes":[] }, {"name":"hasCmdbMod2","parameterTypes":[] }, {"name":"hasCmdbMod3","parameterTypes":[] }, {"name":"hasComment","parameterTypes":[] }, {"name":"hasCtime","parameterTypes":[] }, {"name":"hasDepartment","parameterTypes":[] }, {"name":"hasEditable","parameterTypes":[] }, {"name":"hasHealthyInstanceCount","parameterTypes":[] }, {"name":"hasId","parameterTypes":[] }, {"name":"hasMtime","parameterTypes":[] }, {"name":"hasName","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasOwners","parameterTypes":[] }, {"name":"hasPlatformId","parameterTypes":[] }, {"name":"hasPorts","parameterTypes":[] }, {"name":"hasRevision","parameterTypes":[] }, {"name":"hasToken","parameterTypes":[] }, {"name":"hasTotalInstanceCount","parameterTypes":[] }, {"name":"setBusiness","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setCmdbMod1","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setCmdbMod2","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setCmdbMod3","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setComment","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setCtime","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setDepartment","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setEditable","parameterTypes":["com.google.protobuf.BoolValue"] }, {"name":"setExportTo","parameterTypes":["int","com.google.protobuf.StringValue"] }, {"name":"setGroupIds","parameterTypes":["int","com.google.protobuf.StringValue"] }, {"name":"setHealthyInstanceCount","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setId","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setMtime","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setName","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setNamespace","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setOwners","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setPlatformId","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setPorts","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setRemoveGroupIds","parameterTypes":["int","com.google.protobuf.StringValue"] }, {"name":"setRemoveUserIds","parameterTypes":["int","com.google.protobuf.StringValue"] }, {"name":"setRevision","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setToken","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setTotalInstanceCount","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setUserIds","parameterTypes":["int","com.google.protobuf.StringValue"] }] +}, +{ + "name":"net.bytebuddy.description.method.MethodDescription$InDefinedShape$AbstractBase$Executable", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.method.ParameterDescription$ForLoadedParameter$Parameter", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.method.ParameterList$ForLoadedExecutable$Executable", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDefinition$Sort$AnnotatedType", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$ForLoadedType$Dispatcher", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedExecutableExceptionType$Dispatcher", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedExecutableParameterType$Dispatcher", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$ForLoadedMethodReturnType$Dispatcher", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForComponentType$AnnotatedParameterizedType", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeArgument$AnnotatedParameterizedType", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeVariableBoundType$AnnotatedTypeVariable", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeVariableBoundType$OfFormalTypeVariable$FormalTypeVariable", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForWildcardUpperBoundType$AnnotatedWildcardType", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$System", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.dynamic.loading.ClassInjector$UsingUnsafe$System", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.AllArguments", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Argument", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.BindingPriority", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Default", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.DefaultCall", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.DefaultMethod", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.FieldValue", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Origin", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Super", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.SuperCall", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.SuperMethod", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.This", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.mirror.AccessibleObject", + "fields":[{"name":"override"}] +}, +{ + "name":"net.bytebuddy.utility.Invoker", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.utility.Invoker$Dispatcher", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"net.bytebuddy.utility.JavaModule$Module", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.utility.JavaModule$Resolver", + "queryAllPublicMethods":true +} +] diff --git a/polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/resource-config.json b/polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..0b46a3f4d --- /dev/null +++ b/polaris-plugins/polaris-plugins-connector/connector-polaris-grpc/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,39 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\QMETA-INF/native/libnetty_tcnative_osx_x86_64.jnilib\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.config.ConfigProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.TypeProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.server.ServerConnector\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.LoadBalancerProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.ManagedChannelProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.NameResolverProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.ServerProvider\\E" + }, { + "pattern":"\\Qclient.crt\\E" + }, { + "pattern":"\\Qclient.key\\E" + }, { + "pattern":"\\Qconf/default-config.yml\\E" + }, { + "pattern":"\\Qjava/lang/reflect/AccessibleObject.class\\E" + }, { + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }, { + "pattern":"\\Qserver.crt\\E" + }, { + "pattern":"java.base:\\Qjava/lang/reflect/AccessibleObject.class\\E" + }, { + "pattern":"java.base:\\Qjdk/internal/icu/impl/data/icudt67b/nfc.nrm\\E" + }]}, + "bundles":[] +} diff --git a/polaris-plugins/polaris-plugins-healthchecker/healthchecker-http/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-plugins/polaris-plugins-healthchecker/healthchecker-http/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..48abc5307 --- /dev/null +++ b/polaris-plugins/polaris-plugins-healthchecker/healthchecker-http/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,311 @@ +[ +{ + "name":"com.tencent.polaris.api.config.Configuration", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFileConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFilterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.CircuitBreakerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ConsumerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.DiscoveryConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LoadBalanceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LocalCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ServiceRouterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.SubscribeConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.APIConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ClusterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.GlobalConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ServerConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.StatReporterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.SystemConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.plugin.PluginConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RegisterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ServiceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.verify.Verifier", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.factory.config.ConfigurationImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setConsumer","parameterTypes":["com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl"] }, {"name":"setGlobal","parameterTypes":["com.tencent.polaris.factory.config.global.GlobalConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFileConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFilterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.CircuitBreakerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setEnableRemotePull","parameterTypes":["boolean"] }, {"name":"setRequestCountAfterHalfOpen","parameterTypes":["int"] }, {"name":"setSleepWindow","parameterTypes":["long"] }, {"name":"setSuccessCountAfterHalfOpen","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.DiscoveryConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LoadBalanceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LocalCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.OutlierDetectionConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setWhen","parameterTypes":["com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ServiceRouterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.SubscribeConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.global.APIConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setTimeout","parameterTypes":["long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ClusterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.global.GlobalConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setAddresses","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.StatReporterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.global.SystemConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setVariables","parameterTypes":["java.util.Map"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.plugin.PluginConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RateLimitConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RegisterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ServiceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.util.TimeStrJsonDeserializer", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.outlier.detector.http.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setPath","parameterTypes":["java.lang.String"] }, {"name":"setTimeout","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.plugins.outlier.detector.http.HttpHealthCheckerTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"detectInstanceFail","parameterTypes":[] }, {"name":"detectInstanceSuccess","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }] +} +] diff --git a/polaris-plugins/polaris-plugins-healthchecker/healthchecker-http/src/main/resources/META-INF/native-image/resource-config.json b/polaris-plugins/polaris-plugins-healthchecker/healthchecker-http/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..b958a23fe --- /dev/null +++ b/polaris-plugins/polaris-plugins-healthchecker/healthchecker-http/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,15 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.config.plugin.PluginConfigProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.ServerProvider\\E" + }, { + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }, { + "pattern":"\\Qpolaris.yml\\E" + }]}, + "bundles":[] +} diff --git a/polaris-plugins/polaris-plugins-healthchecker/healthchecker-tcp/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-plugins/polaris-plugins-healthchecker/healthchecker-tcp/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..6a56c6126 --- /dev/null +++ b/polaris-plugins/polaris-plugins-healthchecker/healthchecker-tcp/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,327 @@ +[ +{ + "name":"com.tencent.polaris.api.config.Configuration", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFileConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFilterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.CircuitBreakerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ConsumerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.DiscoveryConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LoadBalanceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LocalCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ServiceRouterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.SubscribeConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.APIConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ClusterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.GlobalConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ServerConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.StatReporterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.SystemConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.plugin.PluginConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RegisterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ServiceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.verify.Verifier", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.factory.config.ConfigurationImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setConsumer","parameterTypes":["com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl"] }, {"name":"setGlobal","parameterTypes":["com.tencent.polaris.factory.config.global.GlobalConfigImpl"] }, {"name":"setProvider","parameterTypes":["com.tencent.polaris.factory.config.provider.ProviderConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFileConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setPropertiesValueCacheSize","parameterTypes":["int"] }, {"name":"setPropertiesValueExpireTime","parameterTypes":["long"] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFilterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setConnectorType","parameterTypes":["java.lang.String"] }, {"name":"setFallbackToLocalCache","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistRetryInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.CircuitBreakerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setEnableRemotePull","parameterTypes":["boolean"] }, {"name":"setRequestCountAfterHalfOpen","parameterTypes":["int"] }, {"name":"setSleepWindow","parameterTypes":["long"] }, {"name":"setSuccessCountAfterHalfOpen","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.DiscoveryConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LoadBalanceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LocalCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["int"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["int"] }, {"name":"setPersistRetryInterval","parameterTypes":["long"] }, {"name":"setServiceExpireEnable","parameterTypes":["boolean"] }, {"name":"setServiceExpireTime","parameterTypes":["long"] }, {"name":"setServiceListRefreshInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServiceRefreshInterval","parameterTypes":["long"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.OutlierDetectionConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setWhen","parameterTypes":["com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ServiceRouterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setAfterChain","parameterTypes":["java.util.List"] }, {"name":"setBeforeChain","parameterTypes":["java.util.List"] }, {"name":"setChain","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.SubscribeConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setCallbackConcurrency","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.APIConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setMaxRetryTimes","parameterTypes":["int"] }, {"name":"setReportInterval","parameterTypes":["long"] }, {"name":"setRetryInterval","parameterTypes":["long"] }, {"name":"setTimeout","parameterTypes":["long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ClusterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setLbPolicy","parameterTypes":["java.lang.String"] }, {"name":"setRefreshInterval","parameterTypes":["long"] }, {"name":"setRouters","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setExpireInterval","parameterTypes":["long"] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.GlobalConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setProviders","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setOptions","parameterTypes":["java.util.Map"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setAddresses","parameterTypes":["java.util.List"] }, {"name":"setConnectTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setConnectionIdleTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setId","parameterTypes":["java.lang.String"] }, {"name":"setMessageTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setProtocol","parameterTypes":["java.lang.String"] }, {"name":"setReconnectInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServerSwitchInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.StatReporterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.SystemConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setFlow","parameterTypes":["com.tencent.polaris.factory.config.global.FlowConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.plugin.PluginConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RateLimitConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setFallbackOnExceedWindowCount","parameterTypes":["com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback"] }, {"name":"setLimiterNamespace","parameterTypes":["java.lang.String"] }, {"name":"setLimiterService","parameterTypes":["java.lang.String"] }, {"name":"setMaxQueuingTime","parameterTypes":["java.lang.Long"] }, {"name":"setMaxWindowCount","parameterTypes":["int"] }, {"name":"setRemoteSyncTimeoutMilli","parameterTypes":["long"] }, {"name":"setReportMetrics","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RegisterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ServiceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"com.tencent.polaris.factory.util.TimeStrJsonDeserializer", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.outlier.detector.tcp.Config", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getReceive","parameterTypes":[] }, {"name":"getSend","parameterTypes":[] }, {"name":"setReceive","parameterTypes":["java.lang.String"] }, {"name":"setSend","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.plugins.outlier.detector.tcp.TcpHealthCheckerTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"detectInstanceConnect","parameterTypes":[] }, {"name":"detectInstanceFail","parameterTypes":[] }, {"name":"detectInstanceSuccess","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }] +} +] diff --git a/polaris-plugins/polaris-plugins-healthchecker/healthchecker-tcp/src/main/resources/META-INF/native-image/resource-config.json b/polaris-plugins/polaris-plugins-healthchecker/healthchecker-tcp/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..cdc78df04 --- /dev/null +++ b/polaris-plugins/polaris-plugins-healthchecker/healthchecker-tcp/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,15 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.config.ConfigProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.config.plugin.PluginConfigProvider\\E" + }, { + "pattern":"\\Qconf/default-config.yml\\E" + }, { + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }]}, + "bundles":[] +} diff --git a/polaris-plugins/polaris-plugins-loadbalancer/loadbalancer-roundrobin/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-plugins/polaris-plugins-loadbalancer/loadbalancer-roundrobin/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..dc9bd0c21 --- /dev/null +++ b/polaris-plugins/polaris-plugins-loadbalancer/loadbalancer-roundrobin/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,9 @@ +[ +{ + "name":"com.tencent.polaris.plugins.loadbalancer.roundrobin.WeightedRoundRobinBalanceTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testChooseInstance","parameterTypes":[] }] +} +] diff --git a/polaris-plugins/polaris-plugins-loadbalancer/loadbalancer-roundrobin/src/main/resources/META-INF/native-image/resource-config.json b/polaris-plugins/polaris-plugins-loadbalancer/loadbalancer-roundrobin/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..c9a04605d --- /dev/null +++ b/polaris-plugins/polaris-plugins-loadbalancer/loadbalancer-roundrobin/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,9 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }]}, + "bundles":[] +} diff --git a/polaris-plugins/polaris-plugins-observability/stat-common/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-plugins/polaris-plugins-observability/stat-common/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..c83bee5d1 --- /dev/null +++ b/polaris-plugins/polaris-plugins-observability/stat-common/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,35 @@ +[ +{ + "name":"com.tencent.polaris.plugins.stat.common.TestUtil", + "queryAllDeclaredMethods":true, + "methods":[{"name":"suite","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.stat.common.model.StatInfoRevisionCollectorTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setUp","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testCollectStatInfo","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.stat.common.model.StatInfoStatefulCollectorTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testCollectStatInfo","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.stat.common.model.StatMetricTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testEquals","parameterTypes":[] }, {"name":"testIncValue","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.stat.common.util.SignatureUtilTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testLabelsToSignature1","parameterTypes":[] }] +} +] diff --git a/polaris-plugins/polaris-plugins-observability/stat-common/src/main/resources/META-INF/native-image/resource-config.json b/polaris-plugins/polaris-plugins-observability/stat-common/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..c9a04605d --- /dev/null +++ b/polaris-plugins/polaris-plugins-observability/stat-common/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,9 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }]}, + "bundles":[] +} diff --git a/polaris-plugins/polaris-plugins-observability/stat-prometheus/src/main/resources/META-INF/native-image/proxy-config.json b/polaris-plugins/polaris-plugins-observability/stat-prometheus/src/main/resources/META-INF/native-image/proxy-config.json new file mode 100644 index 000000000..4569c033e --- /dev/null +++ b/polaris-plugins/polaris-plugins-observability/stat-prometheus/src/main/resources/META-INF/native-image/proxy-config.json @@ -0,0 +1,17 @@ +[ + { + "interfaces":["net.bytebuddy.description.method.MethodDescription$InDefinedShape$AbstractBase$Executable"] + }, + { + "interfaces":["net.bytebuddy.description.method.ParameterDescription$ForLoadedParameter$Parameter"] + }, + { + "interfaces":["net.bytebuddy.description.method.ParameterList$ForLoadedExecutable$Executable"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDefinition$Sort$AnnotatedType"] + }, + { + "interfaces":["net.bytebuddy.description.type.TypeDescription$ForLoadedType$Dispatcher"] + } +] diff --git a/polaris-plugins/polaris-plugins-observability/stat-prometheus/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-plugins/polaris-plugins-observability/stat-prometheus/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..1b862a635 --- /dev/null +++ b/polaris-plugins/polaris-plugins-observability/stat-prometheus/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,108 @@ +[ +{ + "name":"com.tencent.polaris.plugins.stat.prometheus.handler.PrometheusHttpServerTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"tearDown","parameterTypes":[] }, {"name":"testHttpServerRandomPort","parameterTypes":[] }, {"name":"testHttpServerWithPath","parameterTypes":[] }, {"name":"testHttpServerWithPort","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.stat.prometheus.plugin.PrometheusReporterTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setUp","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testCircuitBreakerCloseToOpen","parameterTypes":[] }, {"name":"testCircuitBreakerOpen","parameterTypes":[] }, {"name":"testCircuitBreakerOpenToClose","parameterTypes":[] }, {"name":"testCircuitBreakerOpenToHalf","parameterTypes":[] }, {"name":"testCircuitBreakerRepeatOpenToHalfOpen","parameterTypes":[] }, {"name":"testExpiredDataClean","parameterTypes":[] }, {"name":"testPushInstanceGaugeConcurrency","parameterTypes":[] }, {"name":"testPushNullStatInfo","parameterTypes":[] }, {"name":"testServiceCallSuccessStrategy","parameterTypes":[] }, {"name":"testServiceCallSumAndMaxStrategy","parameterTypes":[] }, {"name":"testServiceCallTotalStrategy","parameterTypes":[] }] +}, +{ + "name":"io.prometheus.client.Striped64", + "fields":[{"name":"base"}, {"name":"busy"}] +}, +{ + "name":"net.bytebuddy.description.method.MethodDescription$InDefinedShape$AbstractBase$Executable", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.method.ParameterDescription$ForLoadedParameter$Parameter", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.method.ParameterList$ForLoadedExecutable$Executable", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDefinition$Sort$AnnotatedType", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.description.type.TypeDescription$ForLoadedType$Dispatcher", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.AllArguments", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Argument", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.BindingPriority", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Default", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.DefaultCall", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.DefaultMethod", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.FieldValue", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Origin", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.Super", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.SuperCall", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.SuperMethod", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.implementation.bind.annotation.This", + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true +}, +{ + "name":"net.bytebuddy.utility.Invoker", + "queryAllPublicMethods":true +}, +{ + "name":"net.bytebuddy.utility.Invoker$Dispatcher", + "methods":[{"name":"","parameterTypes":[] }] +} +] diff --git a/polaris-plugins/polaris-plugins-observability/stat-prometheus/src/main/resources/META-INF/native-image/resource-config.json b/polaris-plugins/polaris-plugins-observability/stat-prometheus/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..19e05be97 --- /dev/null +++ b/polaris-plugins/polaris-plugins-observability/stat-prometheus/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,15 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\Qmockito-extensions/org.mockito.plugins.MockMaker\\E" + }, { + "pattern":"\\Qmockito-extensions/org.mockito.plugins.StackTraceCleanerProvider\\E" + }, { + "pattern":"\\Qorg/powermock/default.properties\\E" + }, { + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }]}, + "bundles":[] +} diff --git a/polaris-plugins/polaris-plugins-router/router-rule/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-plugins/polaris-plugins-router/router-rule/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..08ad07c48 --- /dev/null +++ b/polaris-plugins/polaris-plugins-router/router-rule/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,61 @@ +[ +{ + "name":"com.tencent.polaris.plugins.router.rule.RuleBasedRouterTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testFailoverAll","parameterTypes":[] }, {"name":"testMatchLabelsUseIn","parameterTypes":[] }, {"name":"testMatchLabelsUseNotEquals","parameterTypes":[] }, {"name":"testMatchLabelsUseNotIn","parameterTypes":[] }, {"name":"testMatchLabelsUseRegx","parameterTypes":[] }, {"name":"testMultipleLabels","parameterTypes":[] }, {"name":"testRouteByIsolatedDestination","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString", + "methods":[{"name":"getType","parameterTypes":[] }, {"name":"getTypeValue","parameterTypes":[] }, {"name":"getValue","parameterTypes":[] }, {"name":"getValueType","parameterTypes":[] }, {"name":"getValueTypeValue","parameterTypes":[] }, {"name":"hasValue","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$Builder", + "methods":[{"name":"clearType","parameterTypes":[] }, {"name":"clearValue","parameterTypes":[] }, {"name":"clearValueType","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"getTypeValue","parameterTypes":[] }, {"name":"getValue","parameterTypes":[] }, {"name":"getValueBuilder","parameterTypes":[] }, {"name":"getValueType","parameterTypes":[] }, {"name":"getValueTypeValue","parameterTypes":[] }, {"name":"hasValue","parameterTypes":[] }, {"name":"setType","parameterTypes":["com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$MatchStringType"] }, {"name":"setTypeValue","parameterTypes":["int"] }, {"name":"setValue","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setValueType","parameterTypes":["com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$ValueType"] }, {"name":"setValueTypeValue","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$MatchStringType", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$ValueType", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Destination", + "methods":[{"name":"getDefaultInstance","parameterTypes":[] }, {"name":"getIsolate","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getPriority","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getTransfer","parameterTypes":[] }, {"name":"getWeight","parameterTypes":[] }, {"name":"hasIsolate","parameterTypes":[] }, {"name":"hasName","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasPriority","parameterTypes":[] }, {"name":"hasService","parameterTypes":[] }, {"name":"hasTransfer","parameterTypes":[] }, {"name":"hasWeight","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Destination$Builder", + "methods":[{"name":"clearIsolate","parameterTypes":[] }, {"name":"clearName","parameterTypes":[] }, {"name":"clearNamespace","parameterTypes":[] }, {"name":"clearPriority","parameterTypes":[] }, {"name":"clearService","parameterTypes":[] }, {"name":"clearTransfer","parameterTypes":[] }, {"name":"clearWeight","parameterTypes":[] }, {"name":"getIsolate","parameterTypes":[] }, {"name":"getIsolateBuilder","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"getNameBuilder","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getNamespaceBuilder","parameterTypes":[] }, {"name":"getPriority","parameterTypes":[] }, {"name":"getPriorityBuilder","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceBuilder","parameterTypes":[] }, {"name":"getTransfer","parameterTypes":[] }, {"name":"getTransferBuilder","parameterTypes":[] }, {"name":"getWeight","parameterTypes":[] }, {"name":"getWeightBuilder","parameterTypes":[] }, {"name":"hasIsolate","parameterTypes":[] }, {"name":"hasName","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasPriority","parameterTypes":[] }, {"name":"hasService","parameterTypes":[] }, {"name":"hasTransfer","parameterTypes":[] }, {"name":"hasWeight","parameterTypes":[] }, {"name":"setIsolate","parameterTypes":["com.google.protobuf.BoolValue"] }, {"name":"setName","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setNamespace","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setPriority","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setService","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setTransfer","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setWeight","parameterTypes":["com.google.protobuf.UInt32Value"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Route", + "methods":[{"name":"getDefaultInstance","parameterTypes":[] }, {"name":"getDestinations","parameterTypes":["int"] }, {"name":"getDestinationsCount","parameterTypes":[] }, {"name":"getDestinationsList","parameterTypes":[] }, {"name":"getSources","parameterTypes":["int"] }, {"name":"getSourcesCount","parameterTypes":[] }, {"name":"getSourcesList","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Route$Builder", + "methods":[{"name":"addDestinations","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Destination"] }, {"name":"addSources","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Source"] }, {"name":"clearDestinations","parameterTypes":[] }, {"name":"clearSources","parameterTypes":[] }, {"name":"getDestinations","parameterTypes":["int"] }, {"name":"getDestinationsBuilder","parameterTypes":["int"] }, {"name":"getDestinationsCount","parameterTypes":[] }, {"name":"getDestinationsList","parameterTypes":[] }, {"name":"getSources","parameterTypes":["int"] }, {"name":"getSourcesBuilder","parameterTypes":["int"] }, {"name":"getSourcesCount","parameterTypes":[] }, {"name":"getSourcesList","parameterTypes":[] }, {"name":"setDestinations","parameterTypes":["int","com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Destination"] }, {"name":"setSources","parameterTypes":["int","com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Source"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$RouteRule", + "methods":[{"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Routing", + "methods":[{"name":"getCtime","parameterTypes":[] }, {"name":"getInbounds","parameterTypes":["int"] }, {"name":"getInboundsCount","parameterTypes":[] }, {"name":"getInboundsList","parameterTypes":[] }, {"name":"getMtime","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getOutbounds","parameterTypes":["int"] }, {"name":"getOutboundsCount","parameterTypes":[] }, {"name":"getOutboundsList","parameterTypes":[] }, {"name":"getRevision","parameterTypes":[] }, {"name":"getRules","parameterTypes":["int"] }, {"name":"getRulesCount","parameterTypes":[] }, {"name":"getRulesList","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceToken","parameterTypes":[] }, {"name":"hasCtime","parameterTypes":[] }, {"name":"hasMtime","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasRevision","parameterTypes":[] }, {"name":"hasService","parameterTypes":[] }, {"name":"hasServiceToken","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Routing$Builder", + "methods":[{"name":"addInbounds","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Route"] }, {"name":"addOutbounds","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Route"] }, {"name":"addRules","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$RouteRule"] }, {"name":"clearCtime","parameterTypes":[] }, {"name":"clearInbounds","parameterTypes":[] }, {"name":"clearMtime","parameterTypes":[] }, {"name":"clearNamespace","parameterTypes":[] }, {"name":"clearOutbounds","parameterTypes":[] }, {"name":"clearRevision","parameterTypes":[] }, {"name":"clearRules","parameterTypes":[] }, {"name":"clearService","parameterTypes":[] }, {"name":"clearServiceToken","parameterTypes":[] }, {"name":"getCtime","parameterTypes":[] }, {"name":"getCtimeBuilder","parameterTypes":[] }, {"name":"getInbounds","parameterTypes":["int"] }, {"name":"getInboundsBuilder","parameterTypes":["int"] }, {"name":"getInboundsCount","parameterTypes":[] }, {"name":"getInboundsList","parameterTypes":[] }, {"name":"getMtime","parameterTypes":[] }, {"name":"getMtimeBuilder","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getNamespaceBuilder","parameterTypes":[] }, {"name":"getOutbounds","parameterTypes":["int"] }, {"name":"getOutboundsBuilder","parameterTypes":["int"] }, {"name":"getOutboundsCount","parameterTypes":[] }, {"name":"getOutboundsList","parameterTypes":[] }, {"name":"getRevision","parameterTypes":[] }, {"name":"getRevisionBuilder","parameterTypes":[] }, {"name":"getRules","parameterTypes":["int"] }, {"name":"getRulesBuilder","parameterTypes":["int"] }, {"name":"getRulesCount","parameterTypes":[] }, {"name":"getRulesList","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceBuilder","parameterTypes":[] }, {"name":"getServiceToken","parameterTypes":[] }, {"name":"getServiceTokenBuilder","parameterTypes":[] }, {"name":"hasCtime","parameterTypes":[] }, {"name":"hasMtime","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasRevision","parameterTypes":[] }, {"name":"hasService","parameterTypes":[] }, {"name":"hasServiceToken","parameterTypes":[] }, {"name":"setCtime","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setInbounds","parameterTypes":["int","com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Route"] }, {"name":"setMtime","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setNamespace","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setOutbounds","parameterTypes":["int","com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Route"] }, {"name":"setRevision","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setRules","parameterTypes":["int","com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$RouteRule"] }, {"name":"setService","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setServiceToken","parameterTypes":["com.google.protobuf.StringValue"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Source", + "methods":[{"name":"getDefaultInstance","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasService","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Source$Builder", + "methods":[{"name":"clearNamespace","parameterTypes":[] }, {"name":"clearService","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getNamespaceBuilder","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceBuilder","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasService","parameterTypes":[] }, {"name":"setNamespace","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setService","parameterTypes":["com.google.protobuf.StringValue"] }] +} +] diff --git a/polaris-plugins/polaris-plugins-router/router-rule/src/main/resources/META-INF/native-image/resource-config.json b/polaris-plugins/polaris-plugins-router/router-rule/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..f11852daa --- /dev/null +++ b/polaris-plugins/polaris-plugins-router/router-rule/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,21 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }, { + "pattern":"\\Qroute-rules/isolated-rule.json\\E" + }, { + "pattern":"\\Qroute-rules/match-function-in-rule.json\\E" + }, { + "pattern":"\\Qroute-rules/match-function-not_equals-rule.json\\E" + }, { + "pattern":"\\Qroute-rules/match-function-not_in-rule.json\\E" + }, { + "pattern":"\\Qroute-rules/match-function-regx-rule.json\\E" + }, { + "pattern":"\\Qroute-rules/multi-labels-rule.json\\E" + }]}, + "bundles":[] +} diff --git a/polaris-ratelimit/polaris-ratelimit-factory/src/main/resources/META-INF/native-image/reflect-config.json b/polaris-ratelimit/polaris-ratelimit-factory/src/main/resources/META-INF/native-image/reflect-config.json new file mode 100644 index 000000000..0774becee --- /dev/null +++ b/polaris-ratelimit/polaris-ratelimit-factory/src/main/resources/META-INF/native-image/reflect-config.json @@ -0,0 +1,519 @@ +[ +{ + "name":"com.tencent.polaris.api.config.Configuration", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFileConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConfigFilterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.configuration.ConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.CircuitBreakerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ConsumerConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.DiscoveryConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LoadBalanceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.LocalCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.ServiceRouterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.consumer.SubscribeConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.APIConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ClusterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowCacheConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.FlowConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.GlobalConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.LocationProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.ServerConnectorConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.StatReporterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.global.SystemConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.plugin.PluginConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ProviderConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.RegisterConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.provider.ServiceConfig", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.config.verify.Verifier", + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.plugin.route.LocationLevel", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.api.rpc.RuleBasedRouterFailoverType", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.factory.config.ConfigurationImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFile","parameterTypes":[] }, {"name":"getConsumer","parameterTypes":[] }, {"name":"getGlobal","parameterTypes":[] }, {"name":"getProvider","parameterTypes":[] }, {"name":"setConsumer","parameterTypes":["com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl"] }, {"name":"setGlobal","parameterTypes":["com.tencent.polaris.factory.config.global.GlobalConfigImpl"] }, {"name":"setProvider","parameterTypes":["com.tencent.polaris.factory.config.provider.ProviderConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFileConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFilterConfig","parameterTypes":[] }, {"name":"getPropertiesValueCacheSize","parameterTypes":[] }, {"name":"getPropertiesValueExpireTime","parameterTypes":[] }, {"name":"getServerConnector","parameterTypes":[] }, {"name":"setPropertiesValueCacheSize","parameterTypes":["int"] }, {"name":"setPropertiesValueExpireTime","parameterTypes":["long"] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConfigFilterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"getChain","parameterTypes":[] }, {"name":"getPluginConfigs","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.configuration.ConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigFileGroupThreadNum","parameterTypes":[] }, {"name":"getConnectorType","parameterTypes":[] }, {"name":"getFallbackToLocalCache","parameterTypes":[] }, {"name":"getPersistDir","parameterTypes":[] }, {"name":"getPersistEnable","parameterTypes":[] }, {"name":"getPersistMaxReadRetry","parameterTypes":[] }, {"name":"getPersistMaxWriteRetry","parameterTypes":[] }, {"name":"getPersistRetryInterval","parameterTypes":[] }, {"name":"setConnectorType","parameterTypes":["java.lang.String"] }, {"name":"setFallbackToLocalCache","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["java.lang.Integer"] }, {"name":"setPersistRetryInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.CircuitBreakerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"getCheckPeriod","parameterTypes":[] }, {"name":"getRequestCountAfterHalfOpen","parameterTypes":[] }, {"name":"getSleepWindow","parameterTypes":[] }, {"name":"getSuccessCountAfterHalfOpen","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"isEnableRemotePull","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setEnableRemotePull","parameterTypes":["boolean"] }, {"name":"setRequestCountAfterHalfOpen","parameterTypes":["int"] }, {"name":"setSleepWindow","parameterTypes":["long"] }, {"name":"setSuccessCountAfterHalfOpen","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ConsumerConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getCircuitBreaker","parameterTypes":[] }, {"name":"getDiscoveries","parameterTypes":[] }, {"name":"getLoadbalancer","parameterTypes":[] }, {"name":"getLocalCache","parameterTypes":[] }, {"name":"getOutlierDetection","parameterTypes":[] }, {"name":"getServiceRouter","parameterTypes":[] }, {"name":"getSubscribe","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.DiscoveryConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LoadBalanceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.LocalCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getPersistDir","parameterTypes":[] }, {"name":"getPersistMaxReadRetry","parameterTypes":[] }, {"name":"getPersistMaxWriteRetry","parameterTypes":[] }, {"name":"getPersistRetryInterval","parameterTypes":[] }, {"name":"getServiceExpireTime","parameterTypes":[] }, {"name":"getServiceListRefreshInterval","parameterTypes":[] }, {"name":"getServiceRefreshInterval","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"isPersistEnable","parameterTypes":[] }, {"name":"isServiceExpireEnable","parameterTypes":[] }, {"name":"setPersistDir","parameterTypes":["java.lang.String"] }, {"name":"setPersistEnable","parameterTypes":["java.lang.Boolean"] }, {"name":"setPersistMaxReadRetry","parameterTypes":["int"] }, {"name":"setPersistMaxWriteRetry","parameterTypes":["int"] }, {"name":"setPersistRetryInterval","parameterTypes":["long"] }, {"name":"setServiceExpireEnable","parameterTypes":["boolean"] }, {"name":"setServiceExpireTime","parameterTypes":["long"] }, {"name":"setServiceListRefreshInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServiceRefreshInterval","parameterTypes":["long"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.OutlierDetectionConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"getCheckPeriod","parameterTypes":[] }, {"name":"getWhen","parameterTypes":[] }, {"name":"setChain","parameterTypes":["java.util.List"] }, {"name":"setCheckPeriod","parameterTypes":["long"] }, {"name":"setWhen","parameterTypes":["com.tencent.polaris.api.config.consumer.OutlierDetectionConfig$When"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.ServiceRouterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAfterChain","parameterTypes":[] }, {"name":"getBeforeChain","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"setAfterChain","parameterTypes":["java.util.List"] }, {"name":"setBeforeChain","parameterTypes":["java.util.List"] }, {"name":"setChain","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.consumer.SubscribeConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getCallbackConcurrency","parameterTypes":[] }, {"name":"setCallbackConcurrency","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.APIConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getBindIP","parameterTypes":[] }, {"name":"getBindIf","parameterTypes":[] }, {"name":"getMaxRetryTimes","parameterTypes":[] }, {"name":"getReportInterval","parameterTypes":[] }, {"name":"getRetryInterval","parameterTypes":[] }, {"name":"getTimeout","parameterTypes":[] }, {"name":"setMaxRetryTimes","parameterTypes":["int"] }, {"name":"setReportInterval","parameterTypes":["long"] }, {"name":"setRetryInterval","parameterTypes":["long"] }, {"name":"setTimeout","parameterTypes":["long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ClusterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getLbPolicy","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getRefreshInterval","parameterTypes":[] }, {"name":"getRouters","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"isSameAsBuiltin","parameterTypes":[] }, {"name":"setLbPolicy","parameterTypes":["java.lang.String"] }, {"name":"setRefreshInterval","parameterTypes":["long"] }, {"name":"setRouters","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowCacheConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getExpireInterval","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setExpireInterval","parameterTypes":["long"] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.FlowConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"setName","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.GlobalConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAPI","parameterTypes":[] }, {"name":"getLocation","parameterTypes":[] }, {"name":"getServerConnector","parameterTypes":[] }, {"name":"getServerConnectors","parameterTypes":[] }, {"name":"getStatReporter","parameterTypes":[] }, {"name":"getSystem","parameterTypes":[] }, {"name":"setServerConnector","parameterTypes":["com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getProviders","parameterTypes":[] }, {"name":"setProviders","parameterTypes":["java.util.List"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.LocationProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getOptions","parameterTypes":[] }, {"name":"getTye","parameterTypes":[] }, {"name":"setOptions","parameterTypes":["java.util.Map"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.ServerConnectorConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAddresses","parameterTypes":[] }, {"name":"getCertFile","parameterTypes":[] }, {"name":"getConnectTimeout","parameterTypes":[] }, {"name":"getConnectionIdleTimeout","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getKeyFile","parameterTypes":[] }, {"name":"getMessageTimeout","parameterTypes":[] }, {"name":"getMetadata","parameterTypes":[] }, {"name":"getProtocol","parameterTypes":[] }, {"name":"getReconnectInterval","parameterTypes":[] }, {"name":"getServerSwitchInterval","parameterTypes":[] }, {"name":"getTrustedCAFile","parameterTypes":[] }, {"name":"setAddresses","parameterTypes":["java.util.List"] }, {"name":"setConnectTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setConnectionIdleTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setId","parameterTypes":["java.lang.String"] }, {"name":"setMessageTimeout","parameterTypes":["java.lang.Long"] }, {"name":"setProtocol","parameterTypes":["java.lang.String"] }, {"name":"setReconnectInterval","parameterTypes":["java.lang.Long"] }, {"name":"setServerSwitchInterval","parameterTypes":["java.lang.Long"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.StatReporterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getChain","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.global.SystemConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getConfigCluster","parameterTypes":[] }, {"name":"getDiscoverCluster","parameterTypes":[] }, {"name":"getFlow","parameterTypes":[] }, {"name":"getFlowCache","parameterTypes":[] }, {"name":"getHealthCheckCluster","parameterTypes":[] }, {"name":"getMonitorCluster","parameterTypes":[] }, {"name":"getVariables","parameterTypes":[] }, {"name":"setFlow","parameterTypes":["com.tencent.polaris.factory.config.global.FlowConfigImpl"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.plugin.PluginConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "methods":[{"name":"getPlugin","parameterTypes":[] }, {"name":"getPluginConfigs","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ProviderConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getMinRegisterInterval","parameterTypes":[] }, {"name":"getRateLimit","parameterTypes":[] }, {"name":"getRegisters","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RateLimitConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getFallbackOnExceedWindowCount","parameterTypes":[] }, {"name":"getLimiterAddresses","parameterTypes":[] }, {"name":"getLimiterNamespace","parameterTypes":[] }, {"name":"getLimiterService","parameterTypes":[] }, {"name":"getMaxQueuingTime","parameterTypes":[] }, {"name":"getMaxWindowCount","parameterTypes":[] }, {"name":"getRemoteSyncTimeoutMilli","parameterTypes":[] }, {"name":"isEnable","parameterTypes":[] }, {"name":"isReportMetrics","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setFallbackOnExceedWindowCount","parameterTypes":["com.tencent.polaris.api.config.provider.RateLimitConfig$Fallback"] }, {"name":"setLimiterNamespace","parameterTypes":["java.lang.String"] }, {"name":"setLimiterService","parameterTypes":["java.lang.String"] }, {"name":"setMaxQueuingTime","parameterTypes":["java.lang.Long"] }, {"name":"setMaxWindowCount","parameterTypes":["int"] }, {"name":"setRemoteSyncTimeoutMilli","parameterTypes":["long"] }, {"name":"setReportMetrics","parameterTypes":["boolean"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.RegisterConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"setEnable","parameterTypes":["boolean"] }, {"name":"setServerConnectorId","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.factory.config.provider.ServiceConfigImpl", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"getName","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.factory.util.TimeStrJsonDeserializer", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.ratelimiter.common.bucket.UpdateIdentifier", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.ratelimiter.reject.TokenBucket$AllocateResult", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.healthy.RecoverRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"isExcludeCircuitBreakInstances","parameterTypes":[] }, {"name":"setExcludeCircuitBreakInstances","parameterTypes":["java.lang.Boolean"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.metadata.FailOverType", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true +}, +{ + "name":"com.tencent.polaris.plugins.router.metadata.MetadataRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getMetadataFailOverType","parameterTypes":[] }, {"name":"setMetadataFailOverType","parameterTypes":["com.tencent.polaris.plugins.router.metadata.FailOverType"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.nearby.NearbyRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getMatchLevel","parameterTypes":[] }, {"name":"getMaxMatchLevel","parameterTypes":[] }, {"name":"getUnhealthyPercentToDegrade","parameterTypes":[] }, {"name":"isEnableDegradeByUnhealthyPercent","parameterTypes":[] }, {"name":"isEnableReportLocalAddress","parameterTypes":[] }, {"name":"isStrictNearby","parameterTypes":[] }, {"name":"setEnableDegradeByUnhealthyPercent","parameterTypes":["java.lang.Boolean"] }, {"name":"setEnableReportLocalAddress","parameterTypes":["java.lang.Boolean"] }, {"name":"setMatchLevel","parameterTypes":["com.tencent.polaris.api.plugin.route.LocationLevel"] }, {"name":"setMaxMatchLevel","parameterTypes":["com.tencent.polaris.api.plugin.route.LocationLevel"] }, {"name":"setStrictNearby","parameterTypes":["java.lang.Boolean"] }, {"name":"setUnhealthyPercentToDegrade","parameterTypes":["java.lang.Integer"] }] +}, +{ + "name":"com.tencent.polaris.plugins.router.rule.RuleBasedRouterConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getFailoverType","parameterTypes":[] }, {"name":"setFailoverType","parameterTypes":["com.tencent.polaris.api.rpc.RuleBasedRouterFailoverType"] }] +}, +{ + "name":"com.tencent.polaris.plugins.stat.prometheus.handler.PrometheusHandlerConfig", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"getAddress","parameterTypes":[] }, {"name":"getHost","parameterTypes":[] }, {"name":"getPath","parameterTypes":[] }, {"name":"getPort","parameterTypes":[] }, {"name":"getPushInterval","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"isOpenGzip","parameterTypes":[] }, {"name":"setAddress","parameterTypes":["java.lang.String"] }, {"name":"setHost","parameterTypes":["java.lang.String"] }, {"name":"setOpenGzip","parameterTypes":["java.lang.Boolean"] }, {"name":"setPath","parameterTypes":["java.lang.String"] }, {"name":"setPort","parameterTypes":["java.lang.Integer"] }, {"name":"setPushInterval","parameterTypes":["java.lang.Long"] }, {"name":"setType","parameterTypes":["java.lang.String"] }] +}, +{ + "name":"com.tencent.polaris.ratelimit.test.core.LocalTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"after","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testSingleThreadLimit","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.ratelimit.test.core.MultiRuleTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"after","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testGetQuotaLayer2","parameterTypes":[] }, {"name":"testGetQuotaLayer3","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.ratelimit.test.core.RuleMatchTest", + "allDeclaredFields":true, + "queryAllDeclaredMethods":true, + "queryAllPublicConstructors":true, + "methods":[{"name":"","parameterTypes":[] }, {"name":"after","parameterTypes":[] }, {"name":"before","parameterTypes":[] }, {"name":"suite","parameterTypes":[] }, {"name":"testGetQuotaIn","parameterTypes":[] }, {"name":"testGetQuotaNotEqual","parameterTypes":[] }, {"name":"testGetQuotaNotIn","parameterTypes":[] }, {"name":"testGetQuotaRegex","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$CircuitBreaker", + "methods":[{"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.fault.tolerance.FaultDetectorProto$FaultDetector", + "methods":[{"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString", + "methods":[{"name":"getType","parameterTypes":[] }, {"name":"getTypeValue","parameterTypes":[] }, {"name":"getValue","parameterTypes":[] }, {"name":"getValueType","parameterTypes":[] }, {"name":"getValueTypeValue","parameterTypes":[] }, {"name":"hasValue","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$Builder", + "methods":[{"name":"clearType","parameterTypes":[] }, {"name":"clearValue","parameterTypes":[] }, {"name":"clearValueType","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"getTypeValue","parameterTypes":[] }, {"name":"getValue","parameterTypes":[] }, {"name":"getValueBuilder","parameterTypes":[] }, {"name":"getValueType","parameterTypes":[] }, {"name":"getValueTypeValue","parameterTypes":[] }, {"name":"hasValue","parameterTypes":[] }, {"name":"setType","parameterTypes":["com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$MatchStringType"] }, {"name":"setTypeValue","parameterTypes":["int"] }, {"name":"setValue","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setValueType","parameterTypes":["com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$ValueType"] }, {"name":"setValueTypeValue","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$MatchStringType", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString$ValueType", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.model.NamespaceProto$Namespace", + "methods":[{"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.service.manage.ResponseProto$DiscoverResponse", + "methods":[{"name":"getAliasFor","parameterTypes":[] }, {"name":"getCircuitBreaker","parameterTypes":[] }, {"name":"getCode","parameterTypes":[] }, {"name":"getFaultDetector","parameterTypes":[] }, {"name":"getInfo","parameterTypes":[] }, {"name":"getInstances","parameterTypes":["int"] }, {"name":"getInstancesCount","parameterTypes":[] }, {"name":"getInstancesList","parameterTypes":[] }, {"name":"getNamespaces","parameterTypes":["int"] }, {"name":"getNamespacesCount","parameterTypes":[] }, {"name":"getNamespacesList","parameterTypes":[] }, {"name":"getRateLimit","parameterTypes":[] }, {"name":"getRouting","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceContract","parameterTypes":[] }, {"name":"getServices","parameterTypes":["int"] }, {"name":"getServicesCount","parameterTypes":[] }, {"name":"getServicesList","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"getTypeValue","parameterTypes":[] }, {"name":"hasAliasFor","parameterTypes":[] }, {"name":"hasCircuitBreaker","parameterTypes":[] }, {"name":"hasCode","parameterTypes":[] }, {"name":"hasFaultDetector","parameterTypes":[] }, {"name":"hasInfo","parameterTypes":[] }, {"name":"hasRateLimit","parameterTypes":[] }, {"name":"hasRouting","parameterTypes":[] }, {"name":"hasService","parameterTypes":[] }, {"name":"hasServiceContract","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.service.manage.ResponseProto$DiscoverResponse$Builder", + "methods":[{"name":"addInstances","parameterTypes":["com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$Instance"] }, {"name":"addNamespaces","parameterTypes":["com.tencent.polaris.specification.api.v1.model.NamespaceProto$Namespace"] }, {"name":"addServices","parameterTypes":["com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$Service"] }, {"name":"clearAliasFor","parameterTypes":[] }, {"name":"clearCircuitBreaker","parameterTypes":[] }, {"name":"clearCode","parameterTypes":[] }, {"name":"clearFaultDetector","parameterTypes":[] }, {"name":"clearInfo","parameterTypes":[] }, {"name":"clearInstances","parameterTypes":[] }, {"name":"clearNamespaces","parameterTypes":[] }, {"name":"clearRateLimit","parameterTypes":[] }, {"name":"clearRouting","parameterTypes":[] }, {"name":"clearService","parameterTypes":[] }, {"name":"clearServiceContract","parameterTypes":[] }, {"name":"clearServices","parameterTypes":[] }, {"name":"clearType","parameterTypes":[] }, {"name":"getAliasFor","parameterTypes":[] }, {"name":"getAliasForBuilder","parameterTypes":[] }, {"name":"getCircuitBreaker","parameterTypes":[] }, {"name":"getCircuitBreakerBuilder","parameterTypes":[] }, {"name":"getCode","parameterTypes":[] }, {"name":"getCodeBuilder","parameterTypes":[] }, {"name":"getFaultDetector","parameterTypes":[] }, {"name":"getFaultDetectorBuilder","parameterTypes":[] }, {"name":"getInfo","parameterTypes":[] }, {"name":"getInfoBuilder","parameterTypes":[] }, {"name":"getInstances","parameterTypes":["int"] }, {"name":"getInstancesBuilder","parameterTypes":["int"] }, {"name":"getInstancesCount","parameterTypes":[] }, {"name":"getInstancesList","parameterTypes":[] }, {"name":"getNamespaces","parameterTypes":["int"] }, {"name":"getNamespacesBuilder","parameterTypes":["int"] }, {"name":"getNamespacesCount","parameterTypes":[] }, {"name":"getNamespacesList","parameterTypes":[] }, {"name":"getRateLimit","parameterTypes":[] }, {"name":"getRateLimitBuilder","parameterTypes":[] }, {"name":"getRouting","parameterTypes":[] }, {"name":"getRoutingBuilder","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceBuilder","parameterTypes":[] }, {"name":"getServiceContract","parameterTypes":[] }, {"name":"getServiceContractBuilder","parameterTypes":[] }, {"name":"getServices","parameterTypes":["int"] }, {"name":"getServicesBuilder","parameterTypes":["int"] }, {"name":"getServicesCount","parameterTypes":[] }, {"name":"getServicesList","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"getTypeValue","parameterTypes":[] }, {"name":"hasAliasFor","parameterTypes":[] }, {"name":"hasCircuitBreaker","parameterTypes":[] }, {"name":"hasCode","parameterTypes":[] }, {"name":"hasFaultDetector","parameterTypes":[] }, {"name":"hasInfo","parameterTypes":[] }, {"name":"hasRateLimit","parameterTypes":[] }, {"name":"hasRouting","parameterTypes":[] }, {"name":"hasService","parameterTypes":[] }, {"name":"hasServiceContract","parameterTypes":[] }, {"name":"setAliasFor","parameterTypes":["com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$Service"] }, {"name":"setCircuitBreaker","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto$CircuitBreaker"] }, {"name":"setCode","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setFaultDetector","parameterTypes":["com.tencent.polaris.specification.api.v1.fault.tolerance.FaultDetectorProto$FaultDetector"] }, {"name":"setInfo","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setInstances","parameterTypes":["int","com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$Instance"] }, {"name":"setNamespaces","parameterTypes":["int","com.tencent.polaris.specification.api.v1.model.NamespaceProto$Namespace"] }, {"name":"setRateLimit","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$RateLimit"] }, {"name":"setRouting","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Routing"] }, {"name":"setService","parameterTypes":["com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$Service"] }, {"name":"setServiceContract","parameterTypes":["com.tencent.polaris.specification.api.v1.service.manage.ServiceContractProto$ServiceContract"] }, {"name":"setServices","parameterTypes":["int","com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$Service"] }, {"name":"setType","parameterTypes":["com.tencent.polaris.specification.api.v1.service.manage.ResponseProto$DiscoverResponse$DiscoverResponseType"] }, {"name":"setTypeValue","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.service.manage.ResponseProto$DiscoverResponse$DiscoverResponseType", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.service.manage.ServiceContractProto$ServiceContract", + "methods":[{"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$Instance", + "methods":[{"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$Service", + "methods":[{"name":"getBusiness","parameterTypes":[] }, {"name":"getCmdbMod1","parameterTypes":[] }, {"name":"getCmdbMod2","parameterTypes":[] }, {"name":"getCmdbMod3","parameterTypes":[] }, {"name":"getComment","parameterTypes":[] }, {"name":"getCtime","parameterTypes":[] }, {"name":"getDefaultInstance","parameterTypes":[] }, {"name":"getDepartment","parameterTypes":[] }, {"name":"getEditable","parameterTypes":[] }, {"name":"getExportTo","parameterTypes":["int"] }, {"name":"getExportToCount","parameterTypes":[] }, {"name":"getExportToList","parameterTypes":[] }, {"name":"getGroupIds","parameterTypes":["int"] }, {"name":"getGroupIdsCount","parameterTypes":[] }, {"name":"getGroupIdsList","parameterTypes":[] }, {"name":"getHealthyInstanceCount","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getMtime","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getOwners","parameterTypes":[] }, {"name":"getPlatformId","parameterTypes":[] }, {"name":"getPorts","parameterTypes":[] }, {"name":"getRemoveGroupIds","parameterTypes":["int"] }, {"name":"getRemoveGroupIdsCount","parameterTypes":[] }, {"name":"getRemoveGroupIdsList","parameterTypes":[] }, {"name":"getRemoveUserIds","parameterTypes":["int"] }, {"name":"getRemoveUserIdsCount","parameterTypes":[] }, {"name":"getRemoveUserIdsList","parameterTypes":[] }, {"name":"getRevision","parameterTypes":[] }, {"name":"getToken","parameterTypes":[] }, {"name":"getTotalInstanceCount","parameterTypes":[] }, {"name":"getUserIds","parameterTypes":["int"] }, {"name":"getUserIdsCount","parameterTypes":[] }, {"name":"getUserIdsList","parameterTypes":[] }, {"name":"hasBusiness","parameterTypes":[] }, {"name":"hasCmdbMod1","parameterTypes":[] }, {"name":"hasCmdbMod2","parameterTypes":[] }, {"name":"hasCmdbMod3","parameterTypes":[] }, {"name":"hasComment","parameterTypes":[] }, {"name":"hasCtime","parameterTypes":[] }, {"name":"hasDepartment","parameterTypes":[] }, {"name":"hasEditable","parameterTypes":[] }, {"name":"hasHealthyInstanceCount","parameterTypes":[] }, {"name":"hasId","parameterTypes":[] }, {"name":"hasMtime","parameterTypes":[] }, {"name":"hasName","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasOwners","parameterTypes":[] }, {"name":"hasPlatformId","parameterTypes":[] }, {"name":"hasPorts","parameterTypes":[] }, {"name":"hasRevision","parameterTypes":[] }, {"name":"hasToken","parameterTypes":[] }, {"name":"hasTotalInstanceCount","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.service.manage.ServiceProto$Service$Builder", + "methods":[{"name":"addExportTo","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"addGroupIds","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"addRemoveGroupIds","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"addRemoveUserIds","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"addUserIds","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"clearBusiness","parameterTypes":[] }, {"name":"clearCmdbMod1","parameterTypes":[] }, {"name":"clearCmdbMod2","parameterTypes":[] }, {"name":"clearCmdbMod3","parameterTypes":[] }, {"name":"clearComment","parameterTypes":[] }, {"name":"clearCtime","parameterTypes":[] }, {"name":"clearDepartment","parameterTypes":[] }, {"name":"clearEditable","parameterTypes":[] }, {"name":"clearExportTo","parameterTypes":[] }, {"name":"clearGroupIds","parameterTypes":[] }, {"name":"clearHealthyInstanceCount","parameterTypes":[] }, {"name":"clearId","parameterTypes":[] }, {"name":"clearMtime","parameterTypes":[] }, {"name":"clearName","parameterTypes":[] }, {"name":"clearNamespace","parameterTypes":[] }, {"name":"clearOwners","parameterTypes":[] }, {"name":"clearPlatformId","parameterTypes":[] }, {"name":"clearPorts","parameterTypes":[] }, {"name":"clearRemoveGroupIds","parameterTypes":[] }, {"name":"clearRemoveUserIds","parameterTypes":[] }, {"name":"clearRevision","parameterTypes":[] }, {"name":"clearToken","parameterTypes":[] }, {"name":"clearTotalInstanceCount","parameterTypes":[] }, {"name":"clearUserIds","parameterTypes":[] }, {"name":"getBusiness","parameterTypes":[] }, {"name":"getBusinessBuilder","parameterTypes":[] }, {"name":"getCmdbMod1","parameterTypes":[] }, {"name":"getCmdbMod1Builder","parameterTypes":[] }, {"name":"getCmdbMod2","parameterTypes":[] }, {"name":"getCmdbMod2Builder","parameterTypes":[] }, {"name":"getCmdbMod3","parameterTypes":[] }, {"name":"getCmdbMod3Builder","parameterTypes":[] }, {"name":"getComment","parameterTypes":[] }, {"name":"getCommentBuilder","parameterTypes":[] }, {"name":"getCtime","parameterTypes":[] }, {"name":"getCtimeBuilder","parameterTypes":[] }, {"name":"getDepartment","parameterTypes":[] }, {"name":"getDepartmentBuilder","parameterTypes":[] }, {"name":"getEditable","parameterTypes":[] }, {"name":"getEditableBuilder","parameterTypes":[] }, {"name":"getExportTo","parameterTypes":["int"] }, {"name":"getExportToBuilder","parameterTypes":["int"] }, {"name":"getExportToCount","parameterTypes":[] }, {"name":"getExportToList","parameterTypes":[] }, {"name":"getGroupIds","parameterTypes":["int"] }, {"name":"getGroupIdsBuilder","parameterTypes":["int"] }, {"name":"getGroupIdsCount","parameterTypes":[] }, {"name":"getGroupIdsList","parameterTypes":[] }, {"name":"getHealthyInstanceCount","parameterTypes":[] }, {"name":"getHealthyInstanceCountBuilder","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getIdBuilder","parameterTypes":[] }, {"name":"getMtime","parameterTypes":[] }, {"name":"getMtimeBuilder","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"getNameBuilder","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getNamespaceBuilder","parameterTypes":[] }, {"name":"getOwners","parameterTypes":[] }, {"name":"getOwnersBuilder","parameterTypes":[] }, {"name":"getPlatformId","parameterTypes":[] }, {"name":"getPlatformIdBuilder","parameterTypes":[] }, {"name":"getPorts","parameterTypes":[] }, {"name":"getPortsBuilder","parameterTypes":[] }, {"name":"getRemoveGroupIds","parameterTypes":["int"] }, {"name":"getRemoveGroupIdsBuilder","parameterTypes":["int"] }, {"name":"getRemoveGroupIdsCount","parameterTypes":[] }, {"name":"getRemoveGroupIdsList","parameterTypes":[] }, {"name":"getRemoveUserIds","parameterTypes":["int"] }, {"name":"getRemoveUserIdsBuilder","parameterTypes":["int"] }, {"name":"getRemoveUserIdsCount","parameterTypes":[] }, {"name":"getRemoveUserIdsList","parameterTypes":[] }, {"name":"getRevision","parameterTypes":[] }, {"name":"getRevisionBuilder","parameterTypes":[] }, {"name":"getToken","parameterTypes":[] }, {"name":"getTokenBuilder","parameterTypes":[] }, {"name":"getTotalInstanceCount","parameterTypes":[] }, {"name":"getTotalInstanceCountBuilder","parameterTypes":[] }, {"name":"getUserIds","parameterTypes":["int"] }, {"name":"getUserIdsBuilder","parameterTypes":["int"] }, {"name":"getUserIdsCount","parameterTypes":[] }, {"name":"getUserIdsList","parameterTypes":[] }, {"name":"hasBusiness","parameterTypes":[] }, {"name":"hasCmdbMod1","parameterTypes":[] }, {"name":"hasCmdbMod2","parameterTypes":[] }, {"name":"hasCmdbMod3","parameterTypes":[] }, {"name":"hasComment","parameterTypes":[] }, {"name":"hasCtime","parameterTypes":[] }, {"name":"hasDepartment","parameterTypes":[] }, {"name":"hasEditable","parameterTypes":[] }, {"name":"hasHealthyInstanceCount","parameterTypes":[] }, {"name":"hasId","parameterTypes":[] }, {"name":"hasMtime","parameterTypes":[] }, {"name":"hasName","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasOwners","parameterTypes":[] }, {"name":"hasPlatformId","parameterTypes":[] }, {"name":"hasPorts","parameterTypes":[] }, {"name":"hasRevision","parameterTypes":[] }, {"name":"hasToken","parameterTypes":[] }, {"name":"hasTotalInstanceCount","parameterTypes":[] }, {"name":"setBusiness","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setCmdbMod1","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setCmdbMod2","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setCmdbMod3","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setComment","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setCtime","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setDepartment","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setEditable","parameterTypes":["com.google.protobuf.BoolValue"] }, {"name":"setExportTo","parameterTypes":["int","com.google.protobuf.StringValue"] }, {"name":"setGroupIds","parameterTypes":["int","com.google.protobuf.StringValue"] }, {"name":"setHealthyInstanceCount","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setId","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setMtime","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setName","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setNamespace","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setOwners","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setPlatformId","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setPorts","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setRemoveGroupIds","parameterTypes":["int","com.google.protobuf.StringValue"] }, {"name":"setRemoveUserIds","parameterTypes":["int","com.google.protobuf.StringValue"] }, {"name":"setRevision","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setToken","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setTotalInstanceCount","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setUserIds","parameterTypes":["int","com.google.protobuf.StringValue"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Amount", + "methods":[{"name":"getMaxAmount","parameterTypes":[] }, {"name":"getMinAmount","parameterTypes":[] }, {"name":"getPrecision","parameterTypes":[] }, {"name":"getStartAmount","parameterTypes":[] }, {"name":"getValidDuration","parameterTypes":[] }, {"name":"hasMaxAmount","parameterTypes":[] }, {"name":"hasMinAmount","parameterTypes":[] }, {"name":"hasPrecision","parameterTypes":[] }, {"name":"hasStartAmount","parameterTypes":[] }, {"name":"hasValidDuration","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Amount$Builder", + "methods":[{"name":"clearMaxAmount","parameterTypes":[] }, {"name":"clearMinAmount","parameterTypes":[] }, {"name":"clearPrecision","parameterTypes":[] }, {"name":"clearStartAmount","parameterTypes":[] }, {"name":"clearValidDuration","parameterTypes":[] }, {"name":"getMaxAmount","parameterTypes":[] }, {"name":"getMaxAmountBuilder","parameterTypes":[] }, {"name":"getMinAmount","parameterTypes":[] }, {"name":"getMinAmountBuilder","parameterTypes":[] }, {"name":"getPrecision","parameterTypes":[] }, {"name":"getPrecisionBuilder","parameterTypes":[] }, {"name":"getStartAmount","parameterTypes":[] }, {"name":"getStartAmountBuilder","parameterTypes":[] }, {"name":"getValidDuration","parameterTypes":[] }, {"name":"getValidDurationBuilder","parameterTypes":[] }, {"name":"hasMaxAmount","parameterTypes":[] }, {"name":"hasMinAmount","parameterTypes":[] }, {"name":"hasPrecision","parameterTypes":[] }, {"name":"hasStartAmount","parameterTypes":[] }, {"name":"hasValidDuration","parameterTypes":[] }, {"name":"setMaxAmount","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setMinAmount","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setPrecision","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setStartAmount","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setValidDuration","parameterTypes":["com.google.protobuf.Duration"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$AmountAdjuster", + "methods":[{"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$MatchArgument", + "methods":[{"name":"getKey","parameterTypes":[] }, {"name":"getKeyBytes","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"getTypeValue","parameterTypes":[] }, {"name":"getValue","parameterTypes":[] }, {"name":"hasValue","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$MatchArgument$Builder", + "methods":[{"name":"clearKey","parameterTypes":[] }, {"name":"clearType","parameterTypes":[] }, {"name":"clearValue","parameterTypes":[] }, {"name":"getKey","parameterTypes":[] }, {"name":"getKeyBytes","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"getTypeValue","parameterTypes":[] }, {"name":"getValue","parameterTypes":[] }, {"name":"getValueBuilder","parameterTypes":[] }, {"name":"hasValue","parameterTypes":[] }, {"name":"setKey","parameterTypes":["java.lang.String"] }, {"name":"setKeyBytes","parameterTypes":["com.google.protobuf.ByteString"] }, {"name":"setType","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$MatchArgument$Type"] }, {"name":"setTypeValue","parameterTypes":["int"] }, {"name":"setValue","parameterTypes":["com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$MatchArgument$Type", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$RateLimit", + "methods":[{"name":"getRevision","parameterTypes":[] }, {"name":"getRules","parameterTypes":["int"] }, {"name":"getRulesCount","parameterTypes":[] }, {"name":"getRulesList","parameterTypes":[] }, {"name":"hasRevision","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$RateLimit$Builder", + "methods":[{"name":"addRules","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Rule"] }, {"name":"clearRevision","parameterTypes":[] }, {"name":"clearRules","parameterTypes":[] }, {"name":"getRevision","parameterTypes":[] }, {"name":"getRevisionBuilder","parameterTypes":[] }, {"name":"getRules","parameterTypes":["int"] }, {"name":"getRulesBuilder","parameterTypes":["int"] }, {"name":"getRulesCount","parameterTypes":[] }, {"name":"getRulesList","parameterTypes":[] }, {"name":"hasRevision","parameterTypes":[] }, {"name":"setRevision","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setRules","parameterTypes":["int","com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Rule"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$RateLimitCluster", + "methods":[{"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Report", + "methods":[{"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Rule", + "methods":[{"name":"getAction","parameterTypes":[] }, {"name":"getAdjuster","parameterTypes":[] }, {"name":"getAmountMode","parameterTypes":[] }, {"name":"getAmountModeValue","parameterTypes":[] }, {"name":"getAmounts","parameterTypes":["int"] }, {"name":"getAmountsCount","parameterTypes":[] }, {"name":"getAmountsList","parameterTypes":[] }, {"name":"getArguments","parameterTypes":["int"] }, {"name":"getArgumentsCount","parameterTypes":[] }, {"name":"getArgumentsList","parameterTypes":[] }, {"name":"getCluster","parameterTypes":[] }, {"name":"getCtime","parameterTypes":[] }, {"name":"getDefaultInstance","parameterTypes":[] }, {"name":"getDisable","parameterTypes":[] }, {"name":"getEtime","parameterTypes":[] }, {"name":"getFailover","parameterTypes":[] }, {"name":"getFailoverValue","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getMaxQueueDelay","parameterTypes":[] }, {"name":"getMethod","parameterTypes":[] }, {"name":"getMtime","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getPriority","parameterTypes":[] }, {"name":"getRegexCombine","parameterTypes":[] }, {"name":"getReport","parameterTypes":[] }, {"name":"getResource","parameterTypes":[] }, {"name":"getResourceValue","parameterTypes":[] }, {"name":"getRevision","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceToken","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"getTypeValue","parameterTypes":[] }, {"name":"hasAction","parameterTypes":[] }, {"name":"hasAdjuster","parameterTypes":[] }, {"name":"hasCluster","parameterTypes":[] }, {"name":"hasCtime","parameterTypes":[] }, {"name":"hasDisable","parameterTypes":[] }, {"name":"hasEtime","parameterTypes":[] }, {"name":"hasId","parameterTypes":[] }, {"name":"hasMaxQueueDelay","parameterTypes":[] }, {"name":"hasMethod","parameterTypes":[] }, {"name":"hasMtime","parameterTypes":[] }, {"name":"hasName","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasPriority","parameterTypes":[] }, {"name":"hasRegexCombine","parameterTypes":[] }, {"name":"hasReport","parameterTypes":[] }, {"name":"hasRevision","parameterTypes":[] }, {"name":"hasService","parameterTypes":[] }, {"name":"hasServiceToken","parameterTypes":[] }, {"name":"newBuilder","parameterTypes":[] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Rule$AmountMode", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Rule$Builder", + "methods":[{"name":"addAmounts","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Amount"] }, {"name":"addArguments","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$MatchArgument"] }, {"name":"clearAction","parameterTypes":[] }, {"name":"clearAdjuster","parameterTypes":[] }, {"name":"clearAmountMode","parameterTypes":[] }, {"name":"clearAmounts","parameterTypes":[] }, {"name":"clearArguments","parameterTypes":[] }, {"name":"clearCluster","parameterTypes":[] }, {"name":"clearCtime","parameterTypes":[] }, {"name":"clearDisable","parameterTypes":[] }, {"name":"clearEtime","parameterTypes":[] }, {"name":"clearFailover","parameterTypes":[] }, {"name":"clearId","parameterTypes":[] }, {"name":"clearMaxQueueDelay","parameterTypes":[] }, {"name":"clearMethod","parameterTypes":[] }, {"name":"clearMtime","parameterTypes":[] }, {"name":"clearName","parameterTypes":[] }, {"name":"clearNamespace","parameterTypes":[] }, {"name":"clearPriority","parameterTypes":[] }, {"name":"clearRegexCombine","parameterTypes":[] }, {"name":"clearReport","parameterTypes":[] }, {"name":"clearResource","parameterTypes":[] }, {"name":"clearRevision","parameterTypes":[] }, {"name":"clearService","parameterTypes":[] }, {"name":"clearServiceToken","parameterTypes":[] }, {"name":"clearType","parameterTypes":[] }, {"name":"getAction","parameterTypes":[] }, {"name":"getActionBuilder","parameterTypes":[] }, {"name":"getAdjuster","parameterTypes":[] }, {"name":"getAdjusterBuilder","parameterTypes":[] }, {"name":"getAmountMode","parameterTypes":[] }, {"name":"getAmountModeValue","parameterTypes":[] }, {"name":"getAmounts","parameterTypes":["int"] }, {"name":"getAmountsBuilder","parameterTypes":["int"] }, {"name":"getAmountsCount","parameterTypes":[] }, {"name":"getAmountsList","parameterTypes":[] }, {"name":"getArguments","parameterTypes":["int"] }, {"name":"getArgumentsBuilder","parameterTypes":["int"] }, {"name":"getArgumentsCount","parameterTypes":[] }, {"name":"getArgumentsList","parameterTypes":[] }, {"name":"getCluster","parameterTypes":[] }, {"name":"getClusterBuilder","parameterTypes":[] }, {"name":"getCtime","parameterTypes":[] }, {"name":"getCtimeBuilder","parameterTypes":[] }, {"name":"getDisable","parameterTypes":[] }, {"name":"getDisableBuilder","parameterTypes":[] }, {"name":"getEtime","parameterTypes":[] }, {"name":"getEtimeBuilder","parameterTypes":[] }, {"name":"getFailover","parameterTypes":[] }, {"name":"getFailoverValue","parameterTypes":[] }, {"name":"getId","parameterTypes":[] }, {"name":"getIdBuilder","parameterTypes":[] }, {"name":"getMaxQueueDelay","parameterTypes":[] }, {"name":"getMaxQueueDelayBuilder","parameterTypes":[] }, {"name":"getMethod","parameterTypes":[] }, {"name":"getMethodBuilder","parameterTypes":[] }, {"name":"getMtime","parameterTypes":[] }, {"name":"getMtimeBuilder","parameterTypes":[] }, {"name":"getName","parameterTypes":[] }, {"name":"getNameBuilder","parameterTypes":[] }, {"name":"getNamespace","parameterTypes":[] }, {"name":"getNamespaceBuilder","parameterTypes":[] }, {"name":"getPriority","parameterTypes":[] }, {"name":"getPriorityBuilder","parameterTypes":[] }, {"name":"getRegexCombine","parameterTypes":[] }, {"name":"getRegexCombineBuilder","parameterTypes":[] }, {"name":"getReport","parameterTypes":[] }, {"name":"getReportBuilder","parameterTypes":[] }, {"name":"getResource","parameterTypes":[] }, {"name":"getResourceValue","parameterTypes":[] }, {"name":"getRevision","parameterTypes":[] }, {"name":"getRevisionBuilder","parameterTypes":[] }, {"name":"getService","parameterTypes":[] }, {"name":"getServiceBuilder","parameterTypes":[] }, {"name":"getServiceToken","parameterTypes":[] }, {"name":"getServiceTokenBuilder","parameterTypes":[] }, {"name":"getType","parameterTypes":[] }, {"name":"getTypeValue","parameterTypes":[] }, {"name":"hasAction","parameterTypes":[] }, {"name":"hasAdjuster","parameterTypes":[] }, {"name":"hasCluster","parameterTypes":[] }, {"name":"hasCtime","parameterTypes":[] }, {"name":"hasDisable","parameterTypes":[] }, {"name":"hasEtime","parameterTypes":[] }, {"name":"hasId","parameterTypes":[] }, {"name":"hasMaxQueueDelay","parameterTypes":[] }, {"name":"hasMethod","parameterTypes":[] }, {"name":"hasMtime","parameterTypes":[] }, {"name":"hasName","parameterTypes":[] }, {"name":"hasNamespace","parameterTypes":[] }, {"name":"hasPriority","parameterTypes":[] }, {"name":"hasRegexCombine","parameterTypes":[] }, {"name":"hasReport","parameterTypes":[] }, {"name":"hasRevision","parameterTypes":[] }, {"name":"hasService","parameterTypes":[] }, {"name":"hasServiceToken","parameterTypes":[] }, {"name":"setAction","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setAdjuster","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$AmountAdjuster"] }, {"name":"setAmountMode","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Rule$AmountMode"] }, {"name":"setAmountModeValue","parameterTypes":["int"] }, {"name":"setAmounts","parameterTypes":["int","com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Amount"] }, {"name":"setArguments","parameterTypes":["int","com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$MatchArgument"] }, {"name":"setCluster","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$RateLimitCluster"] }, {"name":"setCtime","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setDisable","parameterTypes":["com.google.protobuf.BoolValue"] }, {"name":"setEtime","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setFailover","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Rule$FailoverType"] }, {"name":"setFailoverValue","parameterTypes":["int"] }, {"name":"setId","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setMaxQueueDelay","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setMethod","parameterTypes":["com.tencent.polaris.specification.api.v1.model.ModelProto$MatchString"] }, {"name":"setMtime","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setName","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setNamespace","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setPriority","parameterTypes":["com.google.protobuf.UInt32Value"] }, {"name":"setRegexCombine","parameterTypes":["com.google.protobuf.BoolValue"] }, {"name":"setReport","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Report"] }, {"name":"setResource","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Rule$Resource"] }, {"name":"setResourceValue","parameterTypes":["int"] }, {"name":"setRevision","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setService","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setServiceToken","parameterTypes":["com.google.protobuf.StringValue"] }, {"name":"setType","parameterTypes":["com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Rule$Type"] }, {"name":"setTypeValue","parameterTypes":["int"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Rule$FailoverType", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Rule$Resource", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RateLimitProto$Rule$Type", + "methods":[{"name":"getValueDescriptor","parameterTypes":[] }, {"name":"valueOf","parameterTypes":["com.google.protobuf.Descriptors$EnumValueDescriptor"] }] +}, +{ + "name":"com.tencent.polaris.specification.api.v1.traffic.manage.RoutingProto$Routing", + "methods":[{"name":"newBuilder","parameterTypes":[] }] +} +] diff --git a/polaris-ratelimit/polaris-ratelimit-factory/src/main/resources/META-INF/native-image/resource-config.json b/polaris-ratelimit/polaris-ratelimit-factory/src/main/resources/META-INF/native-image/resource-config.json new file mode 100644 index 000000000..133f208dc --- /dev/null +++ b/polaris-ratelimit/polaris-ratelimit-factory/src/main/resources/META-INF/native-image/resource-config.json @@ -0,0 +1,45 @@ +{ + "resources":{ + "includes":[{ + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.config.ConfigProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.config.plugin.PluginConfigProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.TypeProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.cache.FlowCache\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.loadbalance.LoadBalancer\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.ratelimiter.ServiceRateLimiter\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.registry.CacheHandler\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.registry.LocalRegistry\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.route.ServiceRouter\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.server.ServerConnector\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.api.plugin.stat.StatReporter\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.client.api.ServiceCallResultListener\\E" + }, { + "pattern":"\\QMETA-INF/services/com.tencent.polaris.ratelimit.api.flow.LimitFlow\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.LoadBalancerProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.ManagedChannelProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.NameResolverProvider\\E" + }, { + "pattern":"\\QMETA-INF/services/io.grpc.ServerProvider\\E" + }, { + "pattern":"\\Qconf/default-config.yml\\E" + }, { + "pattern":"\\Qorg/slf4j/impl/StaticLoggerBinder.class\\E" + }, { + "pattern":"\\Qpolaris-logback.xml\\E" + }]}, + "bundles":[] +} diff --git a/pom.xml b/pom.xml index cef0a554a..06416b735 100644 --- a/pom.xml +++ b/pom.xml @@ -1,7 +1,7 @@ + xmlns="http://maven.apache.org/POM/4.0.0" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> com.tencent.polaris polaris-parent @@ -380,6 +380,57 @@ + + generateReachabilityMetadata + + + + org.graalvm.buildtools + native-maven-plugin + 0.9.28 + true + + + test-native + + test + + test + + + build-native + + compile-no-fork + + package + + + + + + Standard + + true + true + true + + true + + true + + + true + + + + + true + + + + + +