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

[Logs UI] Reimplement log source configuration routes in plain HTTP+JSON #64021

Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4b54c1b
Add initial draft of http+json log source route
weltenwort Mar 13, 2020
9dec483
Add api test for log source read route
weltenwort Apr 15, 2020
2eccbe4
Extract common log source api types
weltenwort Apr 15, 2020
0426212
Add support for PATCH method in framework adapter
weltenwort Apr 16, 2020
12945ae
Add route to update source config
weltenwort Apr 16, 2020
8633729
Add tests for source config PATCH route
weltenwort Apr 16, 2020
5cceac0
Merge branch 'master' into logs-ui-reimplement-source-routes-as-http
weltenwort Apr 17, 2020
e9d4f89
Add log source status route
weltenwort Apr 17, 2020
308eb59
Start moving Logs UI over to the new source API (WIP)
weltenwort Apr 17, 2020
bc6c2e2
Correctly concatenate index names in fields domain
weltenwort Apr 20, 2020
cbe5a55
Only query field caps when at least one index exists
weltenwort Apr 20, 2020
7441b24
Provide more values from source hook to stay compatible
weltenwort Apr 20, 2020
a4d554a
Switch more pages to the new log source container
weltenwort Apr 20, 2020
a8d8a0e
Load data source on log rate and categories pages
weltenwort Apr 20, 2020
1a7369e
Add update operation to log source hook
weltenwort Apr 20, 2020
19a79c2
Move source configuration ui code to logs page dir
weltenwort Apr 20, 2020
8b23fe3
Trigger log source loading on a higher page level
weltenwort Apr 20, 2020
3cb1126
Merge branch 'master' into logs-ui-reimplement-source-routes-as-http
weltenwort Apr 20, 2020
bac844b
Make redirect tests more stable
weltenwort Apr 21, 2020
90795b9
Merge branch 'master' into logs-ui-reimplement-source-routes-as-http
elasticmachine Apr 23, 2020
1e9fe00
Merge branch 'master' into logs-ui-reimplement-source-routes-as-http
elasticmachine Apr 23, 2020
2476c50
Improve generic argument names
weltenwort Apr 24, 2020
fee6041
Merge branch 'master' into logs-ui-reimplement-source-routes-as-http
weltenwort Apr 24, 2020
df3eadb
Use scopedHistory-compatible Prompt component
weltenwort Apr 24, 2020
241a9ed
Fix custom prompt usage
weltenwort Apr 24, 2020
18d303f
Merge branch 'master' into logs-ui-reimplement-source-routes-as-http
weltenwort Apr 27, 2020
fff15e1
Use the new source provider in the context provider
weltenwort Apr 27, 2020
e1f753c
Move "view in context" modal into the page content
weltenwort Apr 27, 2020
e7c0806
Merge branch 'master' into logs-ui-reimplement-source-routes-as-http
weltenwort Apr 27, 2020
8cc81b5
Adapt to new source config getter signature
weltenwort Apr 27, 2020
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
Prev Previous commit
Next Next commit
Use the new source provider in the context provider
weltenwort committed Apr 27, 2020
commit fff15e18b085c9b506d2b5e11e264167084d268c
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ const LogFilterStateProvider: React.FC = ({ children }) => {

const ViewLogInContextProvider: React.FC = ({ children }) => {
const { startTimestamp, endTimestamp } = useContext(LogPositionState.Context);
const { sourceId } = useContext(Source.Context);
const { sourceId } = useLogSourceContext();

if (!startTimestamp || !endTimestamp) {
return null;