Skip to content

Commit fc70a31

Browse files
authored
2.0 version bump (opensearch-project#230)
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
1 parent ae2f0f0 commit fc70a31

File tree

54 files changed

+1789
-2451
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1789
-2451
lines changed

.github/workflows/remote-integ-tests-workflow.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ on:
1010
branches:
1111
- main
1212
env:
13-
OPENSEARCH_DASHBOARDS_VERSION: '1.x'
14-
OPENSEARCH_VERSION: '1.3.0-SNAPSHOT'
13+
OPENSEARCH_DASHBOARDS_VERSION: 'main'
14+
OPENSEARCH_VERSION: '2.0.0-alpha1-SNAPSHOT'
1515
jobs:
1616
test-without-security:
1717
name: Run integ tests without security
1818
strategy:
1919
matrix:
2020
os: [ubuntu-latest]
21-
java: [14]
21+
java: [11]
2222
runs-on: ${{ matrix.os }}
2323
steps:
2424
- name: Checkout Anomaly-Detection

.github/workflows/unit-tests-workflow.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches:
88
- main
99
env:
10-
OPENSEARCH_DASHBOARDS_VERSION: '1.x'
10+
OPENSEARCH_DASHBOARDS_VERSION: 'main'
1111
jobs:
1212
tests:
1313
name: Run unit tests

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ coverage
1515
offline-module-cache/v2/*
1616
offline-module-cache/v1/*
1717
target
18+
._.DS_Store

opensearch_dashboards.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "anomalyDetectionDashboards",
3-
"version": "1.3.0.0",
4-
"opensearchDashboardsVersion": "1.3.0",
3+
"version": "2.0.0.0",
4+
"opensearchDashboardsVersion": "2.0.0",
55
"configPath": ["anomaly_detection_dashboards"],
66
"requiredPlugins": ["navigation"],
77
"optionalPlugins": [],

package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "anomaly-detection-dashboards",
3-
"version": "1.3.0.0",
3+
"version": "2.0.0.0",
44
"description": "OpenSearch Anomaly Detection Dashboards Plugin",
55
"main": "index.js",
66
"config": {
7-
"plugin_version": "1.3.0.0",
7+
"plugin_version": "2.0.0.0",
88
"plugin_name": "anomalyDetectionDashboards",
99
"plugin_zip_name": "anomaly-detection-dashboards"
1010
},
@@ -24,8 +24,6 @@
2424
},
2525
"devDependencies": {
2626
"@elastic/eslint-import-resolver-kibana": "link:../../packages/osd-eslint-import-resolver-opensearch-dashboards",
27-
"@testing-library/jest-dom": "^5.11.4",
28-
"@testing-library/react": "^11.0.4",
2927
"@testing-library/user-event": "^12.1.6",
3028
"@types/react-plotly.js": "^2.2.4",
3129
"@types/redux-mock-store": "^1.0.1",

public/components/ContentPanel/ContentPanel.tsx

+3-5
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ type ContentPanelProps = {
4141
hideBody?: boolean;
4242
titleDataTestSubj?: string;
4343
};
44-
4544
const ContentPanel = (props: ContentPanelProps) => {
4645
const titleDataTestSubj = get(
4746
props,
@@ -50,12 +49,11 @@ const ContentPanel = (props: ContentPanelProps) => {
5049
);
5150
return (
5251
<EuiPanel
53-
style={{ padding: '20px', ...props.panelStyles }}
52+
style={{ padding: '20px'}}
5453
className={props.contentPanelClassName}
55-
betaBadgeLabel={props.badgeLabel}
5654
>
5755
<EuiFlexGroup
58-
style={{ padding: '0px', ...props.titleContainerStyles }}
56+
style={{ padding: '0px' }}
5957
justifyContent="spaceBetween"
6058
alignItems="center"
6159
>
@@ -135,7 +133,7 @@ const ContentPanel = (props: ContentPanelProps) => {
135133
margin="s"
136134
className={props.horizontalRuleClassName}
137135
/>
138-
<div style={{ padding: '10px 0px', ...props.bodyStyles }}>
136+
<div style={{ padding: '10px 0px' }}>
139137
{props.children}
140138
</div>
141139
</div>

public/components/ContentPanel/__snapshots__/ContentPanel.test.tsx.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
exports[`<ContentPanel /> spec renders the component 1`] = `
44
<div
5-
class="euiPanel euiPanel--paddingMedium"
5+
class="euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow"
66
style="padding: 20px;"
77
>
88
<div

0 commit comments

Comments
 (0)