com.groupbyinc.flux.action.ActionModule.class Maven / Gradle / Ivy
???? 4P 'com/groupbyinc/flux/action/ActionModule 0com/groupbyinc/flux/common/inject/AbstractModule ActionModule.java 7com/groupbyinc/flux/action/ActionModule$1ActionRegistry ActionRegistry 6com/groupbyinc/flux/plugins/ActionPlugin$ActionHandler (com/groupbyinc/flux/plugins/ActionPlugin
ActionHandler %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup logger !Lorg/apache/logging/log4j/Logger; transportClient Z settings .Lcom/groupbyinc/flux/common/settings/Settings; indexNameExpressionResolver BLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver; indexScopedSettings 9Lcom/groupbyinc/flux/common/settings/IndexScopedSettings; clusterSettings 5Lcom/groupbyinc/flux/common/settings/ClusterSettings; settingsFilter 4Lcom/groupbyinc/flux/common/settings/SettingsFilter;
actionPlugins Ljava/util/List; ; actions Ljava/util/Map; _Ljava/util/Map;>;
actionFilters WLjava/util/List;>; autoCreateIndex 4Lcom/groupbyinc/flux/action/support/AutoCreateIndex; destructiveOperations :Lcom/groupbyinc/flux/action/support/DestructiveOperations; restController )Lcom/groupbyinc/flux/rest/RestController; ?(ZLcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Lcom/groupbyinc/flux/common/settings/IndexScopedSettings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Lcom/groupbyinc/flux/common/settings/SettingsFilter;Lcom/groupbyinc/flux/threadpool/ThreadPool;Ljava/util/List;Lcom/groupbyinc/flux/client/node/NodeClient;Lcom/groupbyinc/flux/indices/breaker/CircuitBreakerService;Lcom/groupbyinc/flux/usage/UsageService;)V ()V / 1
2 4 6 8 : < > ! " @ setupActions !(Ljava/util/List;)Ljava/util/Map; B C
D $ % F setupActionFilters "(Ljava/util/List;)Ljava/util/List; H I
J ' " L ,com/groupbyinc/flux/common/settings/Settings N @com/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver P 7com/groupbyinc/flux/common/settings/IndexScopedSettings R 3com/groupbyinc/flux/common/settings/ClusterSettings T 2com/groupbyinc/flux/common/settings/SettingsFilter V )com/groupbyinc/flux/threadpool/ThreadPool X java/util/List Z *com/groupbyinc/flux/client/node/NodeClient \ 9com/groupbyinc/flux/indices/breaker/CircuitBreakerService ^ &com/groupbyinc/flux/usage/UsageService ` 2com/groupbyinc/flux/action/support/AutoCreateIndex b ?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;)V / d
c e ) * g 8com/groupbyinc/flux/action/support/DestructiveOperations i f(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;)V / k
j l + , n stream ()Ljava/util/stream/Stream; p q [ r "java/lang/invoke/LambdaMetafactory t 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; v w
u x y &(Ljava/lang/Object;)Ljava/lang/Object; { lambda$new$0 E(Lcom/groupbyinc/flux/plugins/ActionPlugin;)Ljava/util/stream/Stream; } ~
? ~ apply ()Ljava/util/function/Function; ? ? ? java/util/stream/Stream ? flatMap 8(Ljava/util/function/Function;)Ljava/util/stream/Stream; ? ? ? ? java/util/stream/Collectors ? toSet ()Ljava/util/stream/Collector; ? ?
? ? collect 0(Ljava/util/stream/Collector;)Ljava/lang/Object; ? ? ? ?
java/util/Set ? iterator ()Ljava/util/Iterator; ? ? [ ? java/util/function/UnaryOperator ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? getThreadContext <()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext; ? ?
Y ? getRestHandlerWrapper ^(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)Ljava/util/function/UnaryOperator; ? ? ? ? java/lang/StringBuilder ?
? 2 Using REST wrapper from plugin ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? java/lang/Object ? getClass ()Ljava/lang/Class; ? ?
? ? java/lang/Class ? getName ()Ljava/lang/String; ? ?
? ? toString ? ?
? ? org/apache/logging/log4j/Logger ? debug (Ljava/lang/String;)V ? ? ? ? "java/lang/IllegalArgumentException ?