File tree 3 files changed +6
-6
lines changed
rest-api-spec/src/main/resources/rest-api-spec/test/ingest
server/src/main/java/org/elasticsearch/action/ingest
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 156
156
---
157
157
" Test Get Summarized Pipelines " :
158
158
- skip :
159
- version : " - 7.99 .99"
160
- reason : " change to appropriate 7.x release after backport "
159
+ version : " - 7.12 .99"
160
+ reason : " summary option added in 7.13 "
161
161
162
162
- do :
163
163
ingest.put_pipeline :
Original file line number Diff line number Diff line change @@ -41,14 +41,14 @@ public GetPipelineRequest(String... ids) {
41
41
public GetPipelineRequest (StreamInput in ) throws IOException {
42
42
super (in );
43
43
ids = in .readStringArray ();
44
- summary = in .getVersion ().onOrAfter (Version .V_8_0_0 ) ? in .readBoolean () : false ;
44
+ summary = in .getVersion ().onOrAfter (Version .V_7_13_0 ) ? in .readBoolean () : false ;
45
45
}
46
46
47
47
@ Override
48
48
public void writeTo (StreamOutput out ) throws IOException {
49
49
super .writeTo (out );
50
50
out .writeStringArray (ids );
51
- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) {
51
+ if (out .getVersion ().onOrAfter (Version .V_7_13_0 )) {
52
52
out .writeBoolean (summary );
53
53
}
54
54
}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public GetPipelineResponse(StreamInput in) throws IOException {
42
42
for (int i = 0 ; i < size ; i ++) {
43
43
pipelines .add (PipelineConfiguration .readFrom (in ));
44
44
}
45
- summary = in .getVersion ().onOrAfter (Version .V_8_0_0 ) ? in .readBoolean () : false ;
45
+ summary = in .getVersion ().onOrAfter (Version .V_7_13_0 ) ? in .readBoolean () : false ;
46
46
}
47
47
48
48
public GetPipelineResponse (List <PipelineConfiguration > pipelines , boolean summary ) {
@@ -69,7 +69,7 @@ public void writeTo(StreamOutput out) throws IOException {
69
69
for (PipelineConfiguration pipeline : pipelines ) {
70
70
pipeline .writeTo (out );
71
71
}
72
- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) {
72
+ if (out .getVersion ().onOrAfter (Version .V_7_13_0 )) {
73
73
out .writeBoolean (summary );
74
74
}
75
75
}
You can’t perform that action at this time.
0 commit comments