Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
73becc4
Manage datasources (#967)
derek-ho Sep 7, 2023
6e42a2b
Add acceleration management UI (#989)
ps48 Sep 11, 2023
24cdd19
Rename data sources to data connections (#1004)
derek-ho Sep 15, 2023
dfd5bd8
Add fallback to show if user does not have datasource API permissions…
derek-ho Sep 15, 2023
28201e9
Add access control tab content (#992)
derek-ho Sep 18, 2023
89eafa2
Delete datasource and Connection Configuration Tab (#1024)
derek-ho Sep 20, 2023
1efd191
Get most of the workflow working for configure datasource
derek-ho Sep 22, 2023
ad153ed
remove acceleration components
ps48 Sep 22, 2023
93ad0dd
Update data connection to datasources in a few more places and update…
derek-ho Sep 22, 2023
d98cd8d
Merge branch 'feature/flint-UI' of github.com:opensearch-project/dash…
derek-ho Sep 22, 2023
2bd8c27
Rename and re-organize in folders
derek-ho Sep 22, 2023
cc7b1a2
Fix import path in testing file
derek-ho Sep 22, 2023
ed8cfc1
Get Initial S3 configuration working
derek-ho Sep 25, 2023
0b84fab
Configure S3 Data Source Working
derek-ho Sep 25, 2023
6d8a98f
Fix query permissions display
derek-ho Sep 25, 2023
e8b831f
Merge branch 'main' of github.com:opensearch-project/dashboards-obser…
derek-ho Sep 25, 2023
7a3f085
Fix merge conflict
derek-ho Sep 25, 2023
1ffdfb0
Clean up PR
derek-ho Sep 25, 2023
7a333bf
Add s3 logo in manage table
derek-ho Sep 25, 2023
c5f1eae
Fix up PR according to UX feedback
derek-ho Sep 25, 2023
23699bc
Remove successfully
derek-ho Sep 25, 2023
51bb5d4
Update test
derek-ho Sep 25, 2023
6726750
Initial commit adding prometheus logo and icon
derek-ho Sep 27, 2023
b47c1e9
Merge branch 'main' of github.com:opensearch-project/dashboards-obser…
derek-ho Sep 27, 2023
a9a9dda
Get the major flow working
derek-ho Sep 27, 2023
bc5cadc
Fix app navigation
derek-ho Sep 27, 2023
cf9c45b
Fix up PR
derek-ho Sep 28, 2023
8fb8220
Remove management redirection for now and fix test and add cards
derek-ho Sep 28, 2023
655fa07
Remove type filter and update test according to UX feedback
derek-ho Sep 28, 2023
cca73f8
Add link and update test
derek-ho Sep 28, 2023
6d3894b
Address PR comments
derek-ho Sep 28, 2023
09b3db4
Include useful info in the error toast
derek-ho Sep 28, 2023
2a329e2
Update actions in manage table according to UX feedback
derek-ho Sep 29, 2023
8cbe04d
Add update button and update tests
derek-ho Sep 29, 2023
3ddb81d
Remove unused code until further implementation
derek-ho Sep 29, 2023
d8283b1
Fix router files
derek-ho Sep 29, 2023
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
2 changes: 1 addition & 1 deletion common/types/data_connections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ export interface PermissionsConfigurationProps {

export type Role = EuiComboBoxOptionOption;

export type DatasourceType = 'SPARK' | 'S3GLUE' | 'OPENSEARCH';
export type DatasourceType = 'SPARK' | 'S3GLUE' | 'OPENSEARCH' | 'PROMETHEUS';
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,96 @@ exports[`Data Connection Page test Renders data connection page with data 1`] =
</div>
</div>
</div>
<div
class="euiFlexItem"
>
<div
class="euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--isClickable euiCard euiCard--centerAligned euiCard--isClickable euiCard--hasIcon"
>
<div
class="euiCard__top"
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--xxLarge euiIcon-isLoading euiCard__icon"
focusable="false"
height="16"
role="img"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
/>
</div>
<div
class="euiCard__content"
>
<span
class="euiTitle euiTitle--small euiCard__title"
id="random_html_idTitle"
>
<button
aria-describedby=" random_html_idDescription"
class="euiCard__titleButton"
>
Tables
</button>
</span>
<div
class="euiText euiText--small euiCard__description"
id="random_html_idDescription"
>
<p>
Manually Define Tables
</p>
</div>
</div>
</div>
</div>
<div
class="euiFlexItem"
>
<div
class="euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow euiPanel--isClickable euiCard euiCard--centerAligned euiCard--isClickable euiCard--hasIcon"
>
<div
class="euiCard__top"
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--xxLarge euiIcon-isLoading euiCard__icon"
focusable="false"
height="16"
role="img"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
/>
</div>
<div
class="euiCard__content"
>
<span
class="euiTitle euiTitle--small euiCard__title"
id="random_html_idTitle"
>
<button
aria-describedby=" random_html_idDescription"
class="euiCard__titleButton"
>
Integrations data
</button>
</span>
<div
class="euiText euiText--small euiCard__description"
id="random_html_idDescription"
>
<p>
Explore data faster through integrations
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,147 @@
exports[`Manage Data Connections Description test Renders manage data connections description 1`] = `
<Component>
<div>
<EuiTitle
size="s"
>
<h2
className="euiTitle euiTitle--small"
>
Manage existing data sources
</h2>
</EuiTitle>
<EuiSpacer
size="s"
>
<div
className="euiSpacer euiSpacer--s"
/>
</EuiSpacer>
<EuiText
color="subdued"
size="s"
<EuiFlexGroup
justifyContent="spaceBetween"
>
<div
className="euiText euiText--small"
className="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--justifyContentSpaceBetween euiFlexGroup--directionRow euiFlexGroup--responsive"
>
<EuiTextColor
color="subdued"
component="div"
<EuiFlexItem
grow={false}
>
<div
className="euiFlexItem euiFlexItem--flexGrowZero"
>
<EuiTitle
size="s"
>
<h2
className="euiTitle euiTitle--small"
>
Manage existing data sources
</h2>
</EuiTitle>
<EuiSpacer
size="s"
>
<div
className="euiSpacer euiSpacer--s"
/>
</EuiSpacer>
<EuiText
color="subdued"
size="s"
>
<div
className="euiText euiText--small"
>
<EuiTextColor
color="subdued"
component="div"
>
<div
className="euiTextColor euiTextColor--subdued"
>
Manage already created data sources or

<EuiLink
href="#/new"
>
<a
className="euiLink euiLink--primary"
href="#/new"
rel="noreferrer"
>
create a new data source
</a>
</EuiLink>
</div>
</EuiTextColor>
</div>
</EuiText>
</div>
</EuiFlexItem>
<EuiFlexItem
grow={false}
>
<div
className="euiTextColor euiTextColor--subdued"
className="euiFlexItem euiFlexItem--flexGrowZero"
>
Manage already created data sources.
<EuiButton
iconType="refresh"
>
<EuiButtonDisplay
baseClassName="euiButton"
disabled={false}
element="button"
iconType="refresh"
isDisabled={false}
type="button"
>
<button
className="euiButton euiButton--primary"
disabled={false}
style={
Object {
"minWidth": undefined,
}
}
type="button"
>
<EuiButtonContent
className="euiButton__content"
iconSide="left"
iconType="refresh"
textProps={
Object {
"className": "euiButton__text",
}
}
>
<span
className="euiButtonContent euiButton__content"
>
<EuiIcon
className="euiButtonContent__icon"
color="inherit"
size="m"
type="refresh"
>
<EuiIconEmpty
aria-hidden={true}
className="euiIcon euiIcon--medium euiIcon--inherit euiIcon-isLoading euiButtonContent__icon"
focusable="false"
role="img"
style={null}
>
<svg
aria-hidden={true}
className="euiIcon euiIcon--medium euiIcon--inherit euiIcon-isLoading euiButtonContent__icon"
focusable="false"
height={16}
role="img"
style={null}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
/>
</EuiIconEmpty>
</EuiIcon>
<span
className="euiButton__text"
>
Refresh
</span>
</span>
</EuiButtonContent>
</button>
</EuiButtonDisplay>
</EuiButton>
</div>
</EuiTextColor>
</EuiFlexItem>
</div>
</EuiText>
</EuiFlexGroup>
<EuiHorizontalRule
size="full"
>
Expand Down
Loading