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$3*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/1
2()V/4
5()	7java/util/HashMap9
:5-+	<*+	>this*Lcom/groupbyinc/flux/ingest/PipelineStore;settings.Lcom/groupbyinc/flux/common/settings/Settings;applyClusterState4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)V/com/groupbyinc/flux/cluster/ClusterChangedEventF
previousState,()Lcom/groupbyinc/flux/cluster/ClusterState;HI
GJstateLI
GMinnerUpdatePipelinesW(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/ClusterState;)VOP
Qevent1Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;/com/groupbyinc/flux/ElasticsearchParseExceptionUjava/lang/ExceptionWblocks3()Lcom/groupbyinc/flux/cluster/block/ClusterBlocks;YZ
[*com/groupbyinc/flux/gateway/GatewayService]STATE_NOT_RECOVERED_BLOCK0Lcom/groupbyinc/flux/cluster/block/ClusterBlock;_`	^a/com/groupbyinc/flux/cluster/block/ClusterBlockschasGlobalBlock3(Lcom/groupbyinc/flux/cluster/block/ClusterBlock;)Zef
dggetMetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;ij
kingestmcustomJ(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Custom;op
$q)com/groupbyinc/flux/ingest/IngestMetadatasjava/util/Objectsuequals'(Ljava/lang/Object;Ljava/lang/Object;)Zwx
vyjava/util/ArrayList{
|5getPipelines()Ljava/util/Map;~
t?values()Ljava/util/Collection;???java/util/Collection?iterator()Ljava/util/Iterator;????java/util/List?java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????0com/groupbyinc/flux/ingest/PipelineConfiguration?getId()Ljava/lang/String;??
??getConfigAsMap?
??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;???substitutePipelinej(Ljava/lang/String;Lcom/groupbyinc/flux/ElasticsearchParseException;)Lcom/groupbyinc/flux/ingest/Pipeline;??
?add(Ljava/lang/Object;)Z????java/lang/StringBuilder?
?5!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/?
V?java/util/Collections?unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;??
??$com/groupbyinc/flux/ExceptionsHelper?rethrowAndSuppress(Ljava/util/List;)V??
??e1Lcom/groupbyinc/flux/ElasticsearchParseException;parseExceptionLjava/lang/Exception;pipeline2Lcom/groupbyinc/flux/ingest/PipelineConfiguration;*Lcom/groupbyinc/flux/cluster/ClusterState;ingestMetadata+Lcom/groupbyinc/flux/ingest/IngestMetadata;previousIngestMetadata
exceptionsCLjava/util/List;Ljava/util/List;
getHeaderKeys()Ljava/util/Set;??
V?
processor_tag?
java/util/Set?contains????	getHeader$(Ljava/lang/String;)Ljava/util/List;??
V?get(I)Ljava/lang/Object;????java/lang/String?processor_type?unknown?pipeline with id [?"] could not be loaded, caused by [?getDetailedMessage??
V?c(Lcom/groupbyinc/flux/ingest/PipelineStore;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V/?

?;this is a place holder pipeline, because pipeline with id [] could not be loaded,com/groupbyinc/flux/ingest/CompoundProcessor*([Lcom/groupbyinc/flux/ingest/Processor;)V/
h(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Lcom/groupbyinc/flux/ingest/CompoundProcessor;)V/	

idLjava/lang/String;tagtypeerrorMessagefailureProcessor&Lcom/groupbyinc/flux/ingest/Processor;descriptiondelete?(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/ClusterServicesubmitStateUpdateTaskI(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-j
.java/util/HashSet0
15keySet3?4??&com/groupbyinc/flux/common/regex/Regex7simpleMatch'(Ljava/lang/String;Ljava/lang/String;)Z9:
8;??isEmpty>???isMatchAllPattern(Ljava/lang/String;)ZAB
8C-com/groupbyinc/flux/ResourceNotFoundExceptionEpipeline [{}] is missingG((Ljava/lang/String;[Ljava/lang/Object;)V/I
FJ(Ljava/util/Map;)V/L
:Mremove&(Ljava/lang/Object;)Ljava/lang/Object;OPQbuilder^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder;ST
Uh(Lcom/groupbyinc/flux/cluster/metadata/MetaData;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder;SW
$X
tM	putCustom?(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/metadata/MetaData$Custom;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder;[\
']build_j
'`c(Lcom/groupbyinc/flux/cluster/metadata/MetaData;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder;-b
c_I
epipelineKeykey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st
u
put-pipeline-w4com/groupbyinc/flux/action/ingest/PutPipelineRequesty
z??(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/?
??	getSource3()Lcom/groupbyinc/flux/common/bytes/BytesReference;??
z?getXContentType4()Lcom/groupbyinc/flux/common/xcontent/XContentType;??
z?2com/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/Tuple?v2??
??flattenAllProcessors()Ljava/util/List;??
???entrySet???getValue???%com/groupbyinc/flux/ingest/IngestInfo?getType???containsProcessor?B
??Processor type [?] is not installed on node [?getKey???-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??getTag???-com/groupbyinc/flux/ingest/ConfigurationUtils?newConfigurationExceptionv(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/ElasticsearchException;??
??messageentrynLjava/util/Map$Entry;Ljava/util/Map$Entry;	processorpipelineConfig5Ljava/util/Map;%Lcom/groupbyinc/flux/ingest/Pipeline;'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/?
??9(Ljava/lang/String;)Lcom/groupbyinc/flux/ingest/Pipeline;?P?getProcessorFactoriesO(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??
??(Ljava/util/Collection;)V/?
|?(I)V/?
|??isSimpleMatchPattern?B
8?[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!()*+?,@-+?.
/0??!*+?3*?Y?6?8*?:Y?;?=*,???? !@A!BC!*+?!*,??5<@ A??DE?E
*+?K+?N?R??
@A
ST?
EFOP?{,?\?b?h??,?ln?r?tN+?ln?r?t:-?z???:Y?;:?|Y?}:-??????:????????:??*?8????*??????W?y:	??*??	????W	??W?R:	?VY??Y??????????????	????:
??*??
????W
??W??O*?ɵ=?ϱk??Vk??X?p?"??	?"??
?M??	k???@AH?L????)???<?-+E????<?-.E????bI
JMN)O2P3S<TEUkW?`?X?Y?Z?`?[?\?]?^?_a	bcd?G?$tt?!???:	tt???VfX?N????N?,?????,??????N,?????,???????:??Y?????+?????,?????????:?
Y*-??:??Y????+??????:?Y+?Y?YS????R?@A?
???"?
Fm
lG
{8?
?g"hFilj{u?v? @?? ?A???'+??Y????,??????Y*,-,??#??*'@A'$%'&''(*?'()?
}&???+,?$	?,?/n?r?tN-?,?-??:?1Y?2:?5?6:???(????:+??




© 2015 - 2024 Weber Informatics LLC | Privacy Policy