com.groupbyinc.flux.rest.action.admin.indices.RestUpgradeAction$2.class Maven / Gradle / Ivy
???? 4 ? Acom/groupbyinc/flux/rest/action/admin/indices/RestUpgradeAction$2 ~Lcom/groupbyinc/flux/rest/action/RestBuilderListener; 3com/groupbyinc/flux/rest/action/RestBuilderListener RestUpgradeAction.java ?com/groupbyinc/flux/rest/action/admin/indices/RestUpgradeAction lambda$handlePost$1 ?(Lcom/groupbyinc/flux/client/node/NodeClient;Lcom/groupbyinc/flux/action/admin/indices/upgrade/post/UpgradeRequest;Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/rest/RestChannel;)V
java/util/Map$Entry
java/util/Map Entry 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params val$request &Lcom/groupbyinc/flux/rest/RestRequest; this$0 ALcom/groupbyinc/flux/rest/action/admin/indices/RestUpgradeAction; ?(Lcom/groupbyinc/flux/rest/action/admin/indices/RestUpgradeAction;Lcom/groupbyinc/flux/rest/RestChannel;Lcom/groupbyinc/flux/rest/RestRequest;)V )(Lcom/groupbyinc/flux/rest/RestChannel;)V
! this CLcom/groupbyinc/flux/rest/action/admin/indices/RestUpgradeAction$2; channel &Lcom/groupbyinc/flux/rest/RestChannel;
buildResponse ?(Lcom/groupbyinc/flux/action/admin/indices/upgrade/post/UpgradeResponse;Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)Lcom/groupbyinc/flux/rest/RestResponse; java/lang/Exception ) 3com/groupbyinc/flux/common/xcontent/XContentBuilder + startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; - .
, / +com/groupbyinc/flux/rest/action/RestActions 1 buildBroadcastShardsHeader ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;Lcom/groupbyinc/flux/action/support/broadcast/BroadcastResponse;)V 3 4
2 5 upgraded_indices 7 I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; - 9
, : Ecom/groupbyinc/flux/action/admin/indices/upgrade/post/UpgradeResponse < versions ()Ljava/util/Map; > ?
= @ entrySet ()Ljava/util/Set; B C D
java/util/Set F iterator ()Ljava/util/Iterator; H I G J java/util/Iterator L hasNext ()Z N O M P next ()Ljava/lang/Object; R S M T getKey V S
W java/lang/String Y upgrade_version [ getValue ] S
^ (com/groupbyinc/flux/common/collect/Tuple ` v1 b S
a c field [(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; e f
, g oldest_lucene_segment_version i v2 k S
a l [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; e n
, o endObject q .
, r *com/groupbyinc/flux/rest/BytesRestResponse t #com/groupbyinc/flux/rest/RestStatus v OK %Lcom/groupbyinc/flux/rest/RestStatus; x y w z ](Lcom/groupbyinc/flux/rest/RestStatus;Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V |
u } entry Ljava/util/Map$Entry; response GLcom/groupbyinc/flux/action/admin/indices/upgrade/post/UpgradeResponse; builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; p(Ljava/lang/Object;Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)Lcom/groupbyinc/flux/rest/RestResponse; ' (
? Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions Signature
SourceFile EnclosingMethod InnerClasses ? N *+? *-? *,? "? ? # $ % &