File tree Expand file tree Collapse file tree 4 files changed +7
-14
lines changed
modules/data-streams/src/main/java/org/elasticsearch/datastreams
rest-api-spec/src/main/resources/rest-api-spec/api
server/src/main/java/org/elasticsearch/action/datastreams Expand file tree Collapse file tree 4 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 26
26
import org .elasticsearch .action .datastreams .lifecycle .GetDataStreamLifecycleAction ;
27
27
import org .elasticsearch .action .datastreams .lifecycle .PutDataStreamLifecycleAction ;
28
28
import org .elasticsearch .client .internal .OriginSettingClient ;
29
- import org .elasticsearch .cluster .metadata .DataStream ;
30
29
import org .elasticsearch .cluster .metadata .IndexNameExpressionResolver ;
31
30
import org .elasticsearch .cluster .node .DiscoveryNodes ;
32
31
import org .elasticsearch .common .io .stream .NamedWriteableRegistry ;
@@ -285,10 +284,8 @@ public List<RestHandler> getRestHandlers(
285
284
handlers .add (new RestGetDataStreamOptionsAction ());
286
285
handlers .add (new RestPutDataStreamOptionsAction ());
287
286
handlers .add (new RestDeleteDataStreamOptionsAction ());
288
- if (DataStream .LOGS_STREAM_FEATURE_FLAG ) {
289
- handlers .add (new RestGetDataStreamSettingsAction ());
290
- handlers .add (new RestUpdateDataStreamSettingsAction ());
291
- }
287
+ handlers .add (new RestGetDataStreamSettingsAction ());
288
+ handlers .add (new RestUpdateDataStreamSettingsAction ());
292
289
return handlers ;
293
290
}
294
291
Original file line number Diff line number Diff line change 5
5
"description" :" Gets a data stream's settings"
6
6
},
7
7
"stability" :" stable" ,
8
- "visibility" : " feature_flag" ,
9
- "feature_flag" : " logs_stream" ,
8
+ "visibility" : " public" ,
10
9
"headers" :{
11
10
"accept" : [ " application/json" ]
12
11
},
Original file line number Diff line number Diff line change 5
5
"description" :" Updates a data stream's settings"
6
6
},
7
7
"stability" :" stable" ,
8
- "visibility" : " feature_flag" ,
9
- "feature_flag" : " logs_stream" ,
8
+ "visibility" : " public" ,
10
9
"headers" :{
11
10
"accept" : [ " application/json" ]
12
11
},
Original file line number Diff line number Diff line change @@ -435,11 +435,9 @@ public XContentBuilder toXContent(
435
435
builder .endArray ();
436
436
builder .endObject ();
437
437
}
438
- if (DataStream .LOGS_STREAM_FEATURE_FLAG ) {
439
- builder .startObject (SETTINGS_FIELD .getPreferredName ());
440
- dataStream .getSettings ().toXContent (builder , params );
441
- builder .endObject ();
442
- }
438
+ builder .startObject (SETTINGS_FIELD .getPreferredName ());
439
+ dataStream .getSettings ().toXContent (builder , params );
440
+ builder .endObject ();
443
441
444
442
builder .startObject (DataStream .FAILURE_STORE_FIELD .getPreferredName ());
445
443
builder .field (FAILURE_STORE_ENABLED .getPreferredName (), failureStoreEffectivelyEnabled );
You can’t perform that action at this time.
0 commit comments