Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added test for DELETE /_plugins/_observability/object. #718

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions tests/default/observability/object.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,60 @@ chapters:
method: DELETE
parameters:
object_id: test_object
- synopsis: Create another observability object.
path: /_plugins/_observability/object
method: POST
request:
payload:
objectId: test_object
operationalPanel:
name: test_panel
visualizations: []
timeRange:
from: now-1h
to: now
queryFilter:
query: ''
language: ppl
applicationId: test_app
savedVisualization:
name: viz1
description: desc1
query: ''
type: line
selected_date_range:
start: now-1d
end: now
text: Last 24 hours
selected_timestamp:
name: timestamp
type: time
selected_fields:
text: field1
tokens:
- name: field1
type: text
savedQuery:
name: query1
description: desc1
query: ''
selected_date_range:
start: now-1d
end: now
text: Last 24 hours
selected_timestamp:
name: timestamp
type: time
selected_fields:
text: field1
tokens:
- name: field1
type: text
- synopsis: Delete an observability object (query string).
path: /_plugins/_observability/object
method: DELETE
parameters:
objectId: test_object
epilogues:
- path: /_plugins/_observability/object/{object_id}
method: DELETE
Expand Down
Loading