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 2424import org .elasticsearch .action .datastreams .lifecycle .GetDataStreamLifecycleAction ;
2525import org .elasticsearch .action .datastreams .lifecycle .PutDataStreamLifecycleAction ;
2626import org .elasticsearch .client .internal .OriginSettingClient ;
27- import org .elasticsearch .cluster .metadata .DataStream ;
2827import org .elasticsearch .cluster .metadata .IndexNameExpressionResolver ;
2928import org .elasticsearch .cluster .node .DiscoveryNodes ;
3029import org .elasticsearch .common .io .stream .NamedWriteableRegistry ;
@@ -283,10 +282,8 @@ public List<RestHandler> getRestHandlers(
283282 handlers .add (new RestGetDataStreamOptionsAction ());
284283 handlers .add (new RestPutDataStreamOptionsAction ());
285284 handlers .add (new RestDeleteDataStreamOptionsAction ());
286- if (DataStream .LOGS_STREAM_FEATURE_FLAG ) {
287- handlers .add (new RestGetDataStreamSettingsAction ());
288- handlers .add (new RestUpdateDataStreamSettingsAction ());
289- }
285+ handlers .add (new RestGetDataStreamSettingsAction ());
286+ handlers .add (new RestUpdateDataStreamSettingsAction ());
290287 return handlers ;
291288 }
292289
Original file line number Diff line number Diff line change 55 "description" :" Gets a data stream's settings"
66 },
77 "stability" :" stable" ,
8- "visibility" : " feature_flag" ,
9- "feature_flag" : " logs_stream" ,
8+ "visibility" : " public" ,
109 "headers" :{
1110 "accept" : [ " application/json" ]
1211 },
Original file line number Diff line number Diff line change 55 "description" :" Updates a data stream's settings"
66 },
77 "stability" :" stable" ,
8- "visibility" : " feature_flag" ,
9- "feature_flag" : " logs_stream" ,
8+ "visibility" : " public" ,
109 "headers" :{
1110 "accept" : [ " application/json" ]
1211 },
Original file line number Diff line number Diff line change @@ -418,11 +418,9 @@ public XContentBuilder toXContent(
418418 builder .endArray ();
419419 builder .endObject ();
420420 }
421- if (DataStream .LOGS_STREAM_FEATURE_FLAG ) {
422- builder .startObject (SETTINGS_FIELD .getPreferredName ());
423- dataStream .getSettings ().toXContent (builder , params );
424- builder .endObject ();
425- }
421+ builder .startObject (SETTINGS_FIELD .getPreferredName ());
422+ dataStream .getSettings ().toXContent (builder , params );
423+ builder .endObject ();
426424
427425 builder .startObject (DataStream .FAILURE_STORE_FIELD .getPreferredName ());
428426 builder .field (FAILURE_STORE_ENABLED .getPreferredName (), failureStoreEffectivelyEnabled );
You can’t perform that action at this time.
0 commit comments