Skip to content

Commit

Permalink
updated links, adaptors, tests
Browse files Browse the repository at this point in the history
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
  • Loading branch information
ps48 committed Dec 16, 2021
1 parent 235d450 commit 2c2ed34
Show file tree
Hide file tree
Showing 12 changed files with 125 additions and 46 deletions.
2 changes: 1 addition & 1 deletion dashboards-observability/opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "observabilityDashboards",
"version": "1.2.0.0",
"opensearchDashboardsVersion": "1.0.0",
"opensearchDashboardsVersion": "1.2.0",
"server": true,
"ui": true,
"requiredPlugins": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ exports[`<Paragraphs /> spec renders the component 1`] = `
Specify the input language on the first line using %[language type]. Supported languages include markdown,
<a
class="euiLink euiLink--primary"
href="https://opensearch.org/docs/latest/observability/ppl/commands/"
href="https://opensearch.org/docs/latest/search-plugins/sql/index/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,19 @@ exports[`Search bar components renders search bar 1`] = `
</EuiFlexItem>
<EuiFlexItem
grow={false}
style={
Object {
"maxWidth": "40vw",
}
}
>
<div
className="euiFlexItem euiFlexItem--flexGrowZero"
style={
Object {
"maxWidth": "40vw",
}
}
>
<EuiSuperDatePicker
commonlyUsedRanges={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ exports[`Service map scale component renders service map scale plot 1`] = `
<EuiText
style={
Object {
"color": "#444444",
"color": "#808080",
"fontSize": "14px",
"transform": "rotate(-90deg)",
}
Expand All @@ -308,7 +308,7 @@ exports[`Service map scale component renders service map scale plot 1`] = `
className="euiText euiText--medium"
style={
Object {
"color": "#444444",
"color": "#808080",
"fontSize": "14px",
"transform": "rotate(-90deg)",
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ exports[`Dashboard component renders dashboard 1`] = `
<Dashboard
chrome={
Object {
"getIsNavDrawerLocked$": [MockFunction],
"setBreadcrumbs": [MockFunction] {
"calls": Array [
Array [
Expand Down Expand Up @@ -202,9 +203,19 @@ exports[`Dashboard component renders dashboard 1`] = `
</EuiFlexItem>
<EuiFlexItem
grow={false}
style={
Object {
"maxWidth": "40vw",
}
}
>
<div
className="euiFlexItem euiFlexItem--flexGrowZero"
style={
Object {
"maxWidth": "40vw",
}
}
>
<EuiSuperDatePicker
commonlyUsedRanges={
Expand Down Expand Up @@ -251,7 +262,7 @@ exports[`Dashboard component renders dashboard 1`] = `
},
]
}
dateFormat="MMM D, YYYY @ HH:mm:ss.SSS"
dateFormat=""
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
Expand Down Expand Up @@ -325,7 +336,7 @@ exports[`Dashboard component renders dashboard 1`] = `
},
]
}
dateFormat="MMM D, YYYY @ HH:mm:ss.SSS"
dateFormat=""
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
Expand Down Expand Up @@ -386,7 +397,7 @@ exports[`Dashboard component renders dashboard 1`] = `
},
]
}
dateFormat="MMM D, YYYY @ HH:mm:ss.SSS"
dateFormat=""
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
Expand Down Expand Up @@ -1977,6 +1988,7 @@ exports[`Dashboard component renders empty dashboard 1`] = `
<Dashboard
chrome={
Object {
"getIsNavDrawerLocked$": [MockFunction],
"setBreadcrumbs": [MockFunction] {
"calls": Array [
Array [
Expand Down Expand Up @@ -2171,9 +2183,19 @@ exports[`Dashboard component renders empty dashboard 1`] = `
</EuiFlexItem>
<EuiFlexItem
grow={false}
style={
Object {
"maxWidth": "40vw",
}
}
>
<div
className="euiFlexItem euiFlexItem--flexGrowZero"
style={
Object {
"maxWidth": "40vw",
}
}
>
<EuiSuperDatePicker
commonlyUsedRanges={
Expand Down Expand Up @@ -2220,7 +2242,7 @@ exports[`Dashboard component renders empty dashboard 1`] = `
},
]
}
dateFormat="MMM D, YYYY @ HH:mm:ss.SSS"
dateFormat=""
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
Expand Down Expand Up @@ -2294,7 +2316,7 @@ exports[`Dashboard component renders empty dashboard 1`] = `
},
]
}
dateFormat="MMM D, YYYY @ HH:mm:ss.SSS"
dateFormat=""
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
Expand Down Expand Up @@ -2355,7 +2377,7 @@ exports[`Dashboard component renders empty dashboard 1`] = `
},
]
}
dateFormat="MMM D, YYYY @ HH:mm:ss.SSS"
dateFormat=""
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ exports[`Service view component renders service view 1`] = `
},
]
}
dateFormat="MMM D, YYYY @ HH:mm:ss.SSS"
dateFormat=""
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ exports[`Services component renders empty services page 1`] = `
<Services
chrome={
Object {
"getIsNavDrawerLocked$": [MockFunction],
"setBreadcrumbs": [MockFunction] {
"calls": Array [
Array [
Expand Down Expand Up @@ -198,9 +199,19 @@ exports[`Services component renders empty services page 1`] = `
</EuiFlexItem>
<EuiFlexItem
grow={false}
style={
Object {
"maxWidth": "40vw",
}
}
>
<div
className="euiFlexItem euiFlexItem--flexGrowZero"
style={
Object {
"maxWidth": "40vw",
}
}
>
<EuiSuperDatePicker
commonlyUsedRanges={
Expand Down Expand Up @@ -247,7 +258,7 @@ exports[`Services component renders empty services page 1`] = `
},
]
}
dateFormat="MMM D, YYYY @ HH:mm:ss.SSS"
dateFormat=""
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
Expand Down Expand Up @@ -321,7 +332,7 @@ exports[`Services component renders empty services page 1`] = `
},
]
}
dateFormat="MMM D, YYYY @ HH:mm:ss.SSS"
dateFormat=""
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
Expand Down Expand Up @@ -382,7 +393,7 @@ exports[`Services component renders empty services page 1`] = `
},
]
}
dateFormat="MMM D, YYYY @ HH:mm:ss.SSS"
dateFormat=""
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
Expand Down Expand Up @@ -1112,6 +1123,7 @@ exports[`Services component renders services page 1`] = `
<Services
chrome={
Object {
"getIsNavDrawerLocked$": [MockFunction],
"setBreadcrumbs": [MockFunction] {
"calls": Array [
Array [
Expand Down Expand Up @@ -1310,9 +1322,19 @@ exports[`Services component renders services page 1`] = `
</EuiFlexItem>
<EuiFlexItem
grow={false}
style={
Object {
"maxWidth": "40vw",
}
}
>
<div
className="euiFlexItem euiFlexItem--flexGrowZero"
style={
Object {
"maxWidth": "40vw",
}
}
>
<EuiSuperDatePicker
commonlyUsedRanges={
Expand Down Expand Up @@ -1359,7 +1381,7 @@ exports[`Services component renders services page 1`] = `
},
]
}
dateFormat="MMM D, YYYY @ HH:mm:ss.SSS"
dateFormat=""
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
Expand Down Expand Up @@ -1433,7 +1455,7 @@ exports[`Services component renders services page 1`] = `
},
]
}
dateFormat="MMM D, YYYY @ HH:mm:ss.SSS"
dateFormat=""
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
Expand Down Expand Up @@ -1494,7 +1516,7 @@ exports[`Services component renders services page 1`] = `
},
]
}
dateFormat="MMM D, YYYY @ HH:mm:ss.SSS"
dateFormat=""
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ exports[`Service breakdown panel component renders service breakdown panel 1`] =
"showlegend": false,
"width": 200,
"xaxis": Object {
"automargin": true,
"rangemode": "normal",
"showgrid": true,
"zeroline": false,
Expand Down
Loading

0 comments on commit 2c2ed34

Please sign in to comment.