All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.index.reindex.TransportReindexAction.class Maven / Gradle / Ivy

????4l8com/groupbyinc/flux/index/reindex/TransportReindexAction?Lcom/groupbyinc/flux/action/support/HandledTransportAction;9com/groupbyinc/flux/action/support/HandledTransportActionTransportReindexAction.javaQcom/groupbyinc/flux/index/reindex/TransportReindexAction$AsyncIndexBySearchActionAsyncIndexBySearchActionjava/util/Map$Entry

java/util/MapEntryJcom/groupbyinc/flux/common/apache/http/client/config/RequestConfig$BuilderBcom/groupbyinc/flux/common/apache/http/client/config/RequestConfigBuilder4com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/SettingPropertyBcom/groupbyinc/flux/client/RestClientBuilder$RequestConfigCallback,com/groupbyinc/flux/client/RestClientBuilderRequestConfigCallbackEcom/groupbyinc/flux/client/RestClientBuilder$HttpClientConfigCallbackHttpClientConfigCallbackOcom/groupbyinc/flux/common/apache/http/impl/nio/reactor/IOReactorConfig$Builder!Gcom/groupbyinc/flux/common/apache/http/impl/nio/reactor/IOReactorConfig#%java/lang/invoke/MethodHandles$Lookup%java/lang/invoke/MethodHandles'LookupREMOTE_CLUSTER_WHITELIST-Lcom/groupbyinc/flux/common/settings/Setting;SLcom/groupbyinc/flux/common/settings/Setting;>;clusterService4Lcom/groupbyinc/flux/cluster/service/ClusterService;
scriptService*Lcom/groupbyinc/flux/script/ScriptService;autoCreateIndex4Lcom/groupbyinc/flux/action/support/AutoCreateIndex;client#Lcom/groupbyinc/flux/client/Client;remoteWhitelistOLcom/groupbyinc/flux/common/apache/lucene/util/automaton/CharacterRunAutomaton;?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/script/ScriptService;Lcom/groupbyinc/flux/action/support/AutoCreateIndex;Lcom/groupbyinc/flux/client/Client;Lcom/groupbyinc/flux/transport/TransportService;)V*Lcom/groupbyinc/flux/common/inject/Inject;indices:data/write/reindex:"java/lang/invoke/LambdaMetafactory<metafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;>?
=@A()Ljava/lang/Object;C0com/groupbyinc/flux/index/reindex/ReindexRequestE()V7G
FHI4()Lcom/groupbyinc/flux/index/reindex/ReindexRequest;Kget()Ljava/util/function/Supplier;MNO/(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Ljava/util/function/Supplier;)V7Q
R-.	T/0	V12	X34	Z*+	\B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;M^
_java/util/ListabuildRemoteWhitelista(Ljava/util/List;)Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/CharacterRunAutomaton;cd
e56	gthis:Lcom/groupbyinc/flux/index/reindex/TransportReindexAction;settings.Lcom/groupbyinc/flux/common/settings/Settings;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;
actionFilters2Lcom/groupbyinc/flux/action/support/ActionFilters;indexNameExpressionResolverBLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;transportService0Lcom/groupbyinc/flux/transport/TransportService;	doExecute?(Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/index/reindex/ReindexRequest;Lcom/groupbyinc/flux/action/ActionListener;)V	getSlices()Iwx
FytaskManager'Lcom/groupbyinc/flux/tasks/TaskManager;{|	}/com/groupbyinc/flux/index/reindex/ReindexActionINSTANCE1Lcom/groupbyinc/flux/index/reindex/ReindexAction;??	??2com/groupbyinc/flux/cluster/service/ClusterService?	localNode2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;??
??.com/groupbyinc/flux/cluster/node/DiscoveryNode?getId()Ljava/lang/String;??
??8com/groupbyinc/flux/index/reindex/ParentBulkByScrollTask?Ccom/groupbyinc/flux/index/reindex/BulkByScrollParallelizationHelper?startSlices&(Lcom/groupbyinc/flux/client/Client;Lcom/groupbyinc/flux/tasks/TaskManager;Lcom/groupbyinc/flux/action/Action;Ljava/lang/String;Lcom/groupbyinc/flux/index/reindex/ParentBulkByScrollTask;Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;Lcom/groupbyinc/flux/action/ActionListener;)V??
??
getRemoteInfo0()Lcom/groupbyinc/flux/index/reindex/RemoteInfo;??
F?checkRemoteWhitelist?(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/CharacterRunAutomaton;Lcom/groupbyinc/flux/index/reindex/RemoteInfo;)V??
?state,()Lcom/groupbyinc/flux/cluster/ClusterState;??
??getSearchRequest3()Lcom/groupbyinc/flux/action/search/SearchRequest;??
F?getDestination1()Lcom/groupbyinc/flux/action/index/IndexRequest;??
F?qr	?validateAgainstAliases1(Lcom/groupbyinc/flux/action/search/SearchRequest;Lcom/groupbyinc/flux/action/index/IndexRequest;Lcom/groupbyinc/flux/index/reindex/RemoteInfo;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Lcom/groupbyinc/flux/action/support/AutoCreateIndex;Lcom/groupbyinc/flux/cluster/ClusterState;)V??
?4com/groupbyinc/flux/client/ParentTaskAssigningClient?v(Lcom/groupbyinc/flux/client/Client;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/tasks/Task;)V7?
??9com/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask?logger8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;??	?mn	??(Lcom/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/client/ParentTaskAssigningClient;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/index/reindex/ReindexRequest;Lcom/groupbyinc/flux/script/ScriptService;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)V7?
?start?G
?*Lcom/groupbyinc/flux/cluster/ClusterState;6Lcom/groupbyinc/flux/client/ParentTaskAssigningClient;task Lcom/groupbyinc/flux/tasks/Task;request2Lcom/groupbyinc/flux/index/reindex/ReindexRequest;listenereLcom/groupbyinc/flux/action/ActionListener;+Lcom/groupbyinc/flux/action/ActionListener;`(Lcom/groupbyinc/flux/index/reindex/ReindexRequest;Lcom/groupbyinc/flux/action/ActionListener;)V'java/lang/UnsupportedOperationException?
task required?(Ljava/lang/String;)V7?
??java/lang/StringBuilder?
?H,com/groupbyinc/flux/index/reindex/RemoteInfo?getHost??
??append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(C)Ljava/lang/StringBuilder;??
??getPort?x
??(I)Ljava/lang/StringBuilder;??
??toString??
??Mcom/groupbyinc/flux/common/apache/lucene/util/automaton/CharacterRunAutomaton?run(Ljava/lang/String;)Z??
??java/lang/String?"java/lang/IllegalArgumentException?] not whitelisted in ?getKey??
?
??	whitelist
remoteInfo.Lcom/groupbyinc/flux/index/reindex/RemoteInfo;checkLjava/lang/String;isEmpty()Zb@com/groupbyinc/flux/common/apache/lucene/util/automaton/Automata	makeEmptyE()Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;

	F(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;)V7
?"com/groupbyinc/flux/common/StringsEMPTY_ARRAY[Ljava/lang/String;	toArray(([Ljava/lang/Object;)[Ljava/lang/Object;b&com/groupbyinc/flux/common/regex/RegexsimpleMatchToAutomatonX([Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;
 Ncom/groupbyinc/flux/common/apache/lucene/util/automaton/MinimizationOperations"minimize?(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;I)Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;$%
#&Bcom/groupbyinc/flux/common/apache/lucene/util/automaton/Operations(isTotalF(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;)Z*+
),$Refusing to start because whitelist .-(Ljava/lang/Object;)Ljava/lang/StringBuilder;?0
?1? accepts all addresses. This would allow users to reindex-from-remote any URL they like effectively having Elasticsearch make HTTP GETs for them.3Acom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton5$Ljava/util/List;Ljava/util/List;	automatonCLcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;-com/groupbyinc/flux/action/index/IndexRequest;index=?
<>2com/groupbyinc/flux/action/support/AutoCreateIndex@shouldAutoCreate?(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;)ZBC
AD@com/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolverFconcreteIndexNamesj(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/IndicesRequest;)[Ljava/lang/String;HI
GJequals(Ljava/lang/Object;)ZLM
?N;com/groupbyinc/flux/action/ActionRequestValidationExceptionP
QH5reindex cannot write into an index its reading from [SaddValidationErrorU?
QVe=Lcom/groupbyinc/flux/action/ActionRequestValidationException;sourceIndexsource1Lcom/groupbyinc/flux/action/search/SearchRequest;destination/Lcom/groupbyinc/flux/action/index/IndexRequest;clusterStatetargetbuildRestClienth(Lcom/groupbyinc/flux/index/reindex/RemoteInfo;JLjava/util/List;)Lcom/groupbyinc/flux/client/RestClient;
getHeaders()Ljava/util/Map;cd
?esizegx
h-com/groupbyinc/flux/common/apache/http/HeaderjentrySet()Ljava/util/Set;lm
n
java/util/Setpiterator()Ljava/util/Iterator;rsqt0[Lcom/groupbyinc/flux/common/apache/http/Header;vjava/util/IteratorxhasNextzy{next}Cy~:com/groupbyinc/flux/common/apache/http/message/BasicHeader??C?getValue?C?'(Ljava/lang/String;Ljava/lang/String;)V7?
??/com/groupbyinc/flux/common/apache/http/HttpHost?	getScheme??
??((Ljava/lang/String;ILjava/lang/String;)V7?
??%com/groupbyinc/flux/client/RestClient?builderb([Lcom/groupbyinc/flux/common/apache/http/HttpHost;)Lcom/groupbyinc/flux/client/RestClientBuilder;??
??setDefaultHeaders`([Lcom/groupbyinc/flux/common/apache/http/Header;)Lcom/groupbyinc/flux/client/RestClientBuilder;??
??(Lcom/groupbyinc/flux/common/apache/http/client/config/RequestConfig$Builder;)Lcom/groupbyinc/flux/common/apache/http/client/config/RequestConfig$Builder;?lambda$buildRestClient$0?(Lcom/groupbyinc/flux/index/reindex/RemoteInfo;Lcom/groupbyinc/flux/common/apache/http/client/config/RequestConfig$Builder;)Lcom/groupbyinc/flux/common/apache/http/client/config/RequestConfig$Builder;??
??customizeRequestConfigt(Lcom/groupbyinc/flux/index/reindex/RemoteInfo;)Lcom/groupbyinc/flux/client/RestClientBuilder$RequestConfigCallback;???setRequestConfigCallbackt(Lcom/groupbyinc/flux/client/RestClientBuilder$RequestConfigCallback;)Lcom/groupbyinc/flux/client/RestClientBuilder;??
??(Lcom/groupbyinc/flux/common/apache/http/impl/nio/client/HttpAsyncClientBuilder;)Lcom/groupbyinc/flux/common/apache/http/impl/nio/client/HttpAsyncClientBuilder;?lambda$buildRestClient$2?(Lcom/groupbyinc/flux/index/reindex/RemoteInfo;JLjava/util/List;Lcom/groupbyinc/flux/common/apache/http/impl/nio/client/HttpAsyncClientBuilder;)Lcom/groupbyinc/flux/common/apache/http/impl/nio/client/HttpAsyncClientBuilder;??
??customizeHttpClient?(Lcom/groupbyinc/flux/index/reindex/RemoteInfo;JLjava/util/List;)Lcom/groupbyinc/flux/client/RestClientBuilder$HttpClientConfigCallback;???setHttpClientConfigCallbackw(Lcom/groupbyinc/flux/client/RestClientBuilder$HttpClientConfigCallback;)Lcom/groupbyinc/flux/client/RestClientBuilder;??
?build)()Lcom/groupbyinc/flux/client/RestClient;??
?header;Ljava/util/Map$Entry;Ljava/util/Map$Entry;taskIdJthreadCollector$Ljava/util/List;
clientHeadersiIX(Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vu?
?x(Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vuv
?getUsername??
??Gcom/groupbyinc/flux/common/apache/http/auth/UsernamePasswordCredentials?getPassword??
??
??Kcom/groupbyinc/flux/common/apache/http/impl/client/BasicCredentialsProvider?
?H5com/groupbyinc/flux/common/apache/http/auth/AuthScope?ANY7Lcom/groupbyinc/flux/common/apache/http/auth/AuthScope;??	??Acom/groupbyinc/flux/common/apache/http/client/CredentialsProvider?setCredentialss(Lcom/groupbyinc/flux/common/apache/http/auth/AuthScope;Lcom/groupbyinc/flux/common/apache/http/auth/Credentials;)V????Mcom/groupbyinc/flux/common/apache/http/impl/nio/client/HttpAsyncClientBuilder?setDefaultCredentialsProvider?(Lcom/groupbyinc/flux/common/apache/http/client/CredentialsProvider;)Lcom/groupbyinc/flux/common/apache/http/impl/nio/client/HttpAsyncClientBuilder;??
??)java/util/concurrent/atomic/AtomicInteger?
?H((Ljava/lang/Runnable;)Ljava/lang/Thread;?
lambda$null$1d(JLjava/util/concurrent/atomic/AtomicInteger;Ljava/util/List;Ljava/lang/Runnable;)Ljava/lang/Thread;??
??	newThreadb(JLjava/util/concurrent/atomic/AtomicInteger;Ljava/util/List;)Ljava/util/concurrent/ThreadFactory;???setThreadFactoryu(Ljava/util/concurrent/ThreadFactory;)Lcom/groupbyinc/flux/common/apache/http/impl/nio/client/HttpAsyncClientBuilder;??
??customS()Lcom/groupbyinc/flux/common/apache/http/impl/nio/reactor/IOReactorConfig$Builder;??
$setIoThreadCountT(I)Lcom/groupbyinc/flux/common/apache/http/impl/nio/reactor/IOReactorConfig$Builder;
"K()Lcom/groupbyinc/flux/common/apache/http/impl/nio/reactor/IOReactorConfig;?
"setDefaultIOReactorConfig?(Lcom/groupbyinc/flux/common/apache/http/impl/nio/reactor/IOReactorConfig;)Lcom/groupbyinc/flux/common/apache/http/impl/nio/client/HttpAsyncClientBuilder;	

?credsILcom/groupbyinc/flux/common/apache/http/auth/UsernamePasswordCredentials;credentialsProviderCLcom/groupbyinc/flux/common/apache/http/client/CredentialsProvider;cOLcom/groupbyinc/flux/common/apache/http/impl/nio/client/HttpAsyncClientBuilder;threads+Ljava/util/concurrent/atomic/AtomicInteger;
es-client-(J)Ljava/lang/StringBuilder;?
?-getAndIncrementx
?java/lang/Thread)(Ljava/lang/Runnable;Ljava/lang/String;)V7!
 "add$Mb%rLjava/lang/Runnable;nametLjava/lang/Thread;getConnectTimeout-()Lcom/groupbyinc/flux/common/unit/TimeValue;,-
?.)com/groupbyinc/flux/common/unit/TimeValue0millis()J23
14java/lang/Math6
toIntExact(J)I89
7:setConnectTimeoutO(I)Lcom/groupbyinc/flux/common/apache/http/client/config/RequestConfig$Builder;<=
>getSocketTimeout@-
?AsetSocketTimeoutC=
DLLcom/groupbyinc/flux/common/apache/http/client/config/RequestConfig$Builder;reindex.remote.whitelistHjava/util/CollectionsJ	emptyList()Ljava/util/List;LM
KNjava/util/function/FunctionPidentity()Ljava/util/function/Function;RSQT	NodeScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;VW	XlistSetting?(Ljava/lang/String;Ljava/util/List;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;Z[
\	SignatureCodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotationsLocalVariableTypeTable
StackMapTable?(Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/index/reindex/ReindexRequest;Lcom/groupbyinc/flux/action/ActionListener;)V?(Lcom/groupbyinc/flux/index/reindex/ReindexRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vu(Ljava/util/List;)Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/CharacterRunAutomaton;|(Lcom/groupbyinc/flux/index/reindex/RemoteInfo;JLjava/util/List;)Lcom/groupbyinc/flux/client/RestClient;BootstrapMethods
SourceFileInnerClasses!*+^,-./0123456
78_?
<*+;,	-?P?S*?U*?W*?Y*?[*?]+?`?b?f?h?`f
<ij<kl<mn<op<qr<-.</0<12<34<st	aeghi$j*k;lb9uv_&
?,?z?$*?[*?~??*?U????+??,-???e*?h,????*?U??:,??,??,??*??*?Y????Y*?[*?U??+??:?Y+??*??*??,*?W-?¶ű`>=N??k 3??ij?????????c???a&	pq)t4u=vVxky?z?|d)?a^eu?_Z
??Yӷֿ` 
ij
??
??c
??a?^f??_?U+????Y??+?޶?:??+????M*,??????Y??Y??[??,?????]???????` U?6U#2a???#?+?,?d	?&?cd_?^*????Y?
??*????!L+'?'L+?-?%??Y??Y??/??*?24???????Y+??`^?8$:9:c^?7a?	??$?,?3?U?d	?@6^g??_A~,??+??:?E?-+?K2:-*?K:?66		?E	2:

?O?.?QY?R:??Y??T????]???W??	????`\	U"XYB5Z
~[\~]^~~qr~12~_?s`a2?????#?B?L?U?t?w?}?d????B?ab_I?*?f?i?k:6*?f?o?u:?|?2??:??Y??????????S?????Y??Y*??*??*????S????*????*-???????`>7 ????????8??v???c7 ?????a.???7?W?Z?y?????????d?!wy?8^hDu?_4
*+?F,?ʱ`
ijaWDu?_5*+,?F-?ͱ`ijaW
??_?`*???1??Y*??*?շ?:??Y??:??????W??Y??:-????W????W?`H
!``??`?8`>"a*
????!?-?5?>?M?]?d5
??_?<??<<?8<'(#)0*+a?#?0?9?
??_\ +*?/?5?;??W+*?B?5?;?EW+?`  Fa???GG_:I?O?U?Y?YS?]?]?aXYXi*BDJLB???B???B???^jkB	
		@	 	"$	&()




© 2015 - 2025 Weber Informatics LLC | Privacy Policy