File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ pub mod about;
3232pub mod alerts;
3333pub mod cluster;
3434pub mod correlation;
35- pub mod datasets;
3635pub mod demo_data;
3736pub mod health_check;
3837pub mod ingest;
Original file line number Diff line number Diff line change @@ -200,33 +200,14 @@ impl Server {
200200 }
201201
202202 pub fn get_prism_datasets ( ) -> Scope {
203- web:: scope ( "/datasets" )
204- . route (
205- "" ,
206- web:: post ( )
207- . to ( http:: prism_logstream:: post_datasets)
208- . authorize_for_resource ( Action :: GetStreamInfo )
209- . authorize_for_resource ( Action :: GetStats )
210- . authorize_for_resource ( Action :: GetRetention ) ,
211- )
212- . route (
213- "/correlated/{name}" ,
214- web:: get ( )
215- . to ( http:: datasets:: get_correlated_datasets)
216- . authorize ( Action :: GetStreamInfo ) ,
217- )
218- . route (
219- "/tags/{tag}" ,
220- web:: get ( )
221- . to ( http:: datasets:: get_datasets_by_tag)
222- . authorize ( Action :: GetStreamInfo ) ,
223- )
224- . route (
225- "/{name}" ,
226- web:: put ( )
227- . to ( http:: datasets:: put_dataset_metadata)
228- . authorize_for_resource ( Action :: CreateStream ) ,
229- )
203+ web:: scope ( "/datasets" ) . route (
204+ "" ,
205+ web:: post ( )
206+ . to ( http:: prism_logstream:: post_datasets)
207+ . authorize_for_resource ( Action :: GetStreamInfo )
208+ . authorize_for_resource ( Action :: GetStats )
209+ . authorize_for_resource ( Action :: GetRetention ) ,
210+ )
230211 }
231212
232213 pub fn get_demo_data_webscope ( ) -> Scope {
You can’t perform that action at this time.
0 commit comments