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

com.groupbyinc.flux.ingest.PipelineStore.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?(com/groupbyinc/flux/ingest/PipelineStore6com/groupbyinc/flux/common/component/AbstractComponent/com/groupbyinc/flux/cluster/ClusterStateApplierPipelineStore.java*com/groupbyinc/flux/ingest/PipelineStore$2*com/groupbyinc/flux/ingest/PipelineStore$1
+com/groupbyinc/flux/ingest/Pipeline$Factory#com/groupbyinc/flux/ingest/PipelineFactory,com/groupbyinc/flux/ingest/Processor$Factory$com/groupbyinc/flux/ingest/Processor0com/groupbyinc/flux/cluster/ClusterState$Builder(com/groupbyinc/flux/cluster/ClusterStateBuilderjava/util/Map$Entry
java/util/MapEntry4com/groupbyinc/flux/cluster/metadata/MetaData$Custom-com/groupbyinc/flux/cluster/metadata/MetaData!Custom5com/groupbyinc/flux/cluster/metadata/MetaData$Builder$factory-Lcom/groupbyinc/flux/ingest/Pipeline$Factory;processorFactoriesLjava/util/Map;QLjava/util/Map;	pipelinesHLjava/util/Map;@(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/Map;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)V-/
0()V-2

3&'	5java/util/HashMap7
83+)	:()	<this*Lcom/groupbyinc/flux/ingest/PipelineStore;settings.Lcom/groupbyinc/flux/common/settings/Settings;applyClusterState4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)V/com/groupbyinc/flux/cluster/ClusterChangedEventD
previousState,()Lcom/groupbyinc/flux/cluster/ClusterState;FG
EHstateJG
EKinnerUpdatePipelinesW(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/ClusterState;)VMN
Oevent1Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;/com/groupbyinc/flux/ElasticsearchParseExceptionSjava/lang/ExceptionUgetMetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;WX
Yingest[customJ(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Custom;]^
"_)com/groupbyinc/flux/ingest/IngestMetadataajava/util/Objectscequals'(Ljava/lang/Object;Ljava/lang/Object;)Zef
dggetPipelines()Ljava/util/Map;ij
bkvalues()Ljava/util/Collection;mnojava/util/Collectionqiterator()Ljava/util/Iterator;strujava/util/IteratorwhasNext()Zyzx{next()Ljava/lang/Object;}~x0com/groupbyinc/flux/ingest/PipelineConfiguration?getId()Ljava/lang/String;??
??getConfigAsMap?j
??createW(Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;)Lcom/groupbyinc/flux/ingest/Pipeline;??

?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???java/lang/StringBuilder?
?3!Error updating pipeline with id [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??]?toString??
??java/lang/Object?=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V-?
T?java/util/Collections?unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;??
??e1Lcom/groupbyinc/flux/ElasticsearchParseException;Ljava/lang/Exception;pipeline2Lcom/groupbyinc/flux/ingest/PipelineConfiguration;*Lcom/groupbyinc/flux/cluster/ClusterState;ingestMetadata+Lcom/groupbyinc/flux/ingest/IngestMetadata;previousIngestMetadatadelete?(Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/action/ingest/DeletePipelineRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vdelete-pipeline-?7com/groupbyinc/flux/action/ingest/DeletePipelineRequest?
???(Lcom/groupbyinc/flux/ingest/PipelineStore;Lcom/groupbyinc/flux/cluster/ack/AckedRequest;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/action/ingest/DeletePipelineRequest;)V-?
?2com/groupbyinc/flux/cluster/service/ClusterService?submitStateUpdateTaskI(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateTaskConfig;)V??
??clusterService4Lcom/groupbyinc/flux/cluster/service/ClusterService;request9Lcom/groupbyinc/flux/action/ingest/DeletePipelineRequest;listenerfLcom/groupbyinc/flux/action/ActionListener;+Lcom/groupbyinc/flux/action/ActionListener;innerDelete?(Lcom/groupbyinc/flux/action/ingest/DeletePipelineRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState;metaData?X
?java/util/HashSet?
?3keySet()Ljava/util/Set;???
java/util/Set??ujava/lang/String?&com/groupbyinc/flux/common/regex/Regex?simpleMatch'(Ljava/lang/String;Ljava/lang/String;)Z??
??add(Ljava/lang/Object;)Z????isEmpty?z??isMatchAllPattern(Ljava/lang/String;)Z??
??-com/groupbyinc/flux/ResourceNotFoundException?pipeline [{}] is missing?((Ljava/lang/String;[Ljava/lang/Object;)V-?
??(Ljava/util/Map;)V-?
8?remove&(Ljava/lang/Object;)Ljava/lang/Object;???builder^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder;??
?h(Lcom/groupbyinc/flux/cluster/metadata/MetaData;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder;??
"
b?	putCustom?(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/metadata/MetaData$Custom;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder;
%buildX
%c(Lcom/groupbyinc/flux/cluster/metadata/MetaData;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder;?

G

pipelineKeyLjava/lang/String;keycurrentStatecurrentIngestMetadataULjava/util/Map;toRemove#Ljava/util/Set;Ljava/util/Set;
pipelinesCopynewState2Lcom/groupbyinc/flux/cluster/ClusterState$Builder;?(Lcom/groupbyinc/flux/cluster/service/ClusterService;Ljava/util/Map;Lcom/groupbyinc/flux/action/ingest/PutPipelineRequest;Lcom/groupbyinc/flux/action/ActionListener;)VvalidatePipelineH(Ljava/util/Map;Lcom/groupbyinc/flux/action/ingest/PutPipelineRequest;)V

put-pipeline- 4com/groupbyinc/flux/action/ingest/PutPipelineRequest"
#??(Lcom/groupbyinc/flux/ingest/PipelineStore;Lcom/groupbyinc/flux/cluster/ack/AckedRequest;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/action/ingest/PutPipelineRequest;)V-%
	&ingestInfoshLjava/util/Map;6Lcom/groupbyinc/flux/action/ingest/PutPipelineRequest;?java/lang/IllegalStateException,Ingest info is empty.(Ljava/lang/String;)V-0
-1	getSource3()Lcom/groupbyinc/flux/common/bytes/BytesReference;34
#5getXContentType4()Lcom/groupbyinc/flux/common/xcontent/XContentType;78
#92com/groupbyinc/flux/common/xcontent/XContentHelper;convertToMap?(Lcom/groupbyinc/flux/common/bytes/BytesReference;ZLcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/collect/Tuple;=>
<?(com/groupbyinc/flux/common/collect/TupleAv2C~
BDjava/util/ArrayListF
G3flattenAllProcessors()Ljava/util/List;IJ
Kjava/util/ListMNuentrySetP?QgetValueS~T%com/groupbyinc/flux/ingest/IngestInfoVgetTypeX?YcontainsProcessor[?
W\Processor type [^] is not installed on node [`getKeyb~c-(Ljava/lang/Object;)Ljava/lang/StringBuilder;?e
?fgetTagh?i-com/groupbyinc/flux/ingest/ConfigurationUtilsknewConfigurationExceptionv(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/ElasticsearchException;mn
loN?$com/groupbyinc/flux/ExceptionsHelperrrethrowAndSuppress(Ljava/util/List;)Vtu
svmessageentrynLjava/util/Map$Entry;Ljava/util/Map$Entry;	processor&Lcom/groupbyinc/flux/ingest/Processor;pipelineConfig5Ljava/util/Map;%Lcom/groupbyinc/flux/ingest/Pipeline;
exceptions'Ljava/util/List;Ljava/util/List;innerPut?(Lcom/groupbyinc/flux/action/ingest/PutPipelineRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState;x(Ljava/lang/String;Lcom/groupbyinc/flux/common/bytes/BytesReference;Lcom/groupbyinc/flux/common/xcontent/XContentType;)V-?
??get9(Ljava/lang/String;)Lcom/groupbyinc/flux/ingest/Pipeline;???idgetProcessorFactoriesO(Lcom/groupbyinc/flux/cluster/ClusterState;[Ljava/lang/String;)Ljava/util/List;innerGetPipelinesP(Lcom/groupbyinc/flux/ingest/IngestMetadata;[Ljava/lang/String;)Ljava/util/List;??
?clusterStateids[Ljava/lang/String;	emptyList?J
??(Ljava/util/Collection;)V-?
G?(I)V-?
G??isSimpleMatchPattern??
??[Ljava/util/Map$Entry;resultDLjava/util/List;	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable?(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/Map;)V
StackMapTable?(Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/action/ingest/DeletePipelineRequest;Lcom/groupbyinc/flux/action/ActionListener;)V
Exceptions;(Lcom/groupbyinc/flux/cluster/service/ClusterService;Ljava/util/Map;Lcom/groupbyinc/flux/action/ingest/PutPipelineRequest;Lcom/groupbyinc/flux/action/ActionListener;)V?(Ljava/util/Map;Lcom/groupbyinc/flux/action/ingest/PutPipelineRequest;)VS()Ljava/util/Map;?(Lcom/groupbyinc/flux/cluster/ClusterState;[Ljava/lang/String;)Ljava/util/List;?(Lcom/groupbyinc/flux/ingest/IngestMetadata;[Ljava/lang/String;)Ljava/util/List;
SourceFileInnerClasses!&'()?*@+)?,-.??!*+?1*?
Y?4?6*?8Y?9?;*,?=?? !>?!@A!()?!(*??5<@ A??BC?E
*+?I+?L?P??
>?
QR?
EFMN??	?,?Z\?`?bN+?Z\?`?b:-?h???8Y?9:-?l?p?v:?|?h????:??*?6????*?=????W?4:?:?TY??Y??????????????????????*???;?TvyTTv~V?\	{???*??TV???>??F??J?
??????.?+)?.?+,?>I
JK$L%O.PTRvWyS{T~U?V?X?Y?Z?@?%bb?x?:bbx?TDV?+?????&+??Y?????,???????Y*,-,???ñ?*&>?&??&??&???&???
`%m?????#	?,??\?`?bN-?,?-?l:??Y??:????:?|?(????:+????
??W??????"+??????Y???Y+??S?????,??8Y??:??:?|?????:??W???,??:,?Z?\?bY???	?W???f
F?
?>??????
???+)"??V)?$? ?+"??V?^p
qrtu"vFwRx\z_{s|?}?~?????????????????????&?b??x+?(?x?"???.*,-?+??Y??!??-?$?????	Y*--?'?ñ?4.>?.??.().?*.???.().?????-??V????+?+??-Y/?2?,?6,?:?@?E?N*?6,?$-*?=??:?GY?H:?L?O:?|?????:+?R??:?|?v???:		?U?W?Z?]?P??Y??_???Z??a??	?d?g?????:
?Z?j
?p?qW?????`?w??\	?x
?dy{	d?|}?>??()??*'?~)9???B????*?dyz	?()'?~B????:?	??'?9?B?d????????????????1?9#Nx?"x?y???V?????1s,??\?`?bN-??8Y-?l??:??8Y?9:+?$??Y+?$+?6+?:????W,??:,?Z?\?bY???	?W???H+)s>?s?*s?
f?*I+)O$?+*I+?.?
??!?*?I?O?c?f?i?m???!b????B*?;+?????>?????j?/*?=??>??????i??`+?Z\?`?bN*-,????*>?????
???
?
????????
?+????,???GY+?l?p????GY,???N,:?66??2:???O+?l?R??:?|?2???:		?d?۸?-	?U?qW??ʧ!+?l????:?-?qW???}-??Ho y{	???Ar??>???????(????o y?	(????B???
??(?A?I?o????????????????0	?b?N??%?x5???????B	
			 "#	%"	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy