Skip to content

Commit e2ca28d

Browse files
authored
Merge branch 'main' into docs/add-office-hours
Signed-off-by: Josh Romero <rmerqg@amazon.com>
2 parents 524a9a6 + 66aa122 commit e2ca28d

File tree

148 files changed

+7758
-731
lines changed

Some content is hidden

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

148 files changed

+7758
-731
lines changed

.github/workflows/build_and_test_workflow.yml

-11
Original file line numberDiff line numberDiff line change
@@ -343,17 +343,6 @@ jobs:
343343
npm i -g yarn@1.22.10
344344
yarn config set network-timeout 1000000 -g
345345
346-
- name: Configure Yarn Cache
347-
run: echo "YARN_CACHE_LOCATION=$(yarn cache dir)" >> $GITHUB_ENV
348-
349-
- name: Initialize Yarn Cache
350-
uses: actions/cache@v3
351-
with:
352-
path: ${{ env.YARN_CACHE_LOCATION }}
353-
key: yarn-${{ hashFiles('**/yarn.lock') }}
354-
restore-keys: |
355-
yarn-
356-
357346
- name: Get package version
358347
run: |
359348
echo "VERSION=$(yarn --silent pkg-version)" >> $GITHUB_ENV

.github/workflows/cypress_workflow.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
START_CMD: 'node ../scripts/opensearch_dashboards --dev --no-base-path --no-watch'
1313
OPENSEARCH_SNAPSHOT_CMD: 'node ../scripts/opensearch snapshot'
1414
SPEC: 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js,'
15-
CYPRESS_ENV: 'env CYPRESS_VISBUILDER_ENABLED=true '
15+
CYPRESS_ENV: 'env CYPRESS_VISBUILDER_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=false'
1616

1717
jobs:
1818
cypress-tests:

.lycheeexclude

+3
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ https://opensearch.org/redirect
8888
http://www.opensearch.org/painlessDocs
8989
https://www.hostedgraphite.com/
9090
https://connectionurl.com
91+
http://169.254.169.254/latest/meta-data/
9192

9293
# External urls
9394
https://www.zeek.org/
@@ -117,3 +118,5 @@ http://www.creedthoughts.gov
117118
https://media-for-the-masses.theacademyofperformingartsandscience.org/
118119
https://yarnpkg.com/latest.msi
119120
https://forum.opensearch.org/
121+
https://facebook.github.io/jest/
122+
https://facebook.github.io/jest/docs/cli.html

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
2121
- [CVE-2023-25166] Bump formula to 3.0.1 ([#3416](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3416))
2222
- [CVE-2023-25653] Bump node-jose to 2.2.0 ([#3445](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3445))
2323
- [CVE-2023-26486][cve-2023-26487] Bump vega from 5.22.1 to 5.23.0 ([#3533](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3533))
24+
- [CVE-2023-0842] Bump xml2js from 0.4.23 to 0.5.0 ([#3842](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3842))
25+
- [Multi DataSource] Add private IP blocking validation on server side([#3912](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3912))
2426

2527
### 📈 Features/Enhancements
2628

@@ -70,10 +72,17 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
7072
- [Vis Builder] Add metric to metric, bucket to bucket aggregation persistence ([#3495](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3495))
7173
- Use mirrors to download Node.js binaries to escape sporadic 404 errors ([#3619](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3619))
7274
- [Multiple DataSource] Refactor dev tool console to use opensearch-js client to send requests ([#3544](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3544))
75+
- Add `osd-xsrf` header to all requests that incorrectly used `node-version` to satisfy XSRF protection ([#3643](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3643))
7376
- [Data] Add geo shape filter field ([#3605](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3605))
77+
- [Notifications] Adds id to toast api for deduplication ([#3752](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3752))
78+
- [VisBuilder] Add UI actions handler ([#3732](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3732))
79+
- [Dashboard] Indicate that IE is no longer supported ([#3641](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3641))
7480
- [UI] Add support for comma delimiters in the global filter bar ([#3686](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3686))
7581
- [Multiple DataSource] Allow create and distinguish index pattern with same name but from different datasources ([#3571](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3571))
7682
- [Multiple DataSource] Integrate multiple datasource with dev tool console ([#3754](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3754))
83+
- Add satisfaction survey link to help menu ([#3676] (https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3676))
84+
- [Vis Builder] Add persistence to visualizations inner state ([#3751](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3751))
85+
- [Table Visualization] Move format table, consolidate types and add unit tests ([#3397](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3397))
7786

7887
### 🐛 Bug Fixes
7988

@@ -113,9 +122,16 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
113122
- [Region Maps] Add ui setting to configure custom vector map's size parameter([#3399](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3399))
114123
- [Search Telemetry] Fixes search telemetry's observable object that won't be GC-ed([#3390](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3390))
115124
- Clean up and rebuild `@osd/pm` ([#3570](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3570))
125+
- Omit adding the `osd-version` header when the Fetch request is to an external origin ([#3643](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3643))
116126
- [Vega] Add Filter custom label for opensearchDashboardsAddFilter ([#3640](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3640))
117127
- [Timeline] Fix y-axis label color in dark mode ([#3698](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3698))
128+
- [VisBuilder] Fix multiple warnings thrown on page load ([#3732](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3732))
129+
- [VisBuilder] Fix Firefox legend selection issue ([#3732](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3732))
130+
- [VisBuilder] Fix type errors ([#3732](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3732))
131+
- [VisBuilder] Fix indexpattern selection in filter bar ([#3751](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3751))
132+
- [Table Visualization] Fix table rendering empty unused space ([#3797](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3797))
118133
- [Table Visualization] Fix data table not adjusting height on the initial load ([#3816](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3816))
134+
- Cleanup unused url ([#3847](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3847))
119135

120136
### 🚞 Infrastructure
121137

@@ -150,6 +166,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
150166
- [Doc] [Console] Fix/update documentation links in Dev Tools console ([#3724](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3724))
151167
- [Doc] Update DEVELOPER_GUIDE.md with added manual bootstrap timeout solution and max virtual memory error solution with docker ([#3764](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3764))
152168
- [Doc] Add COMMUNICATIONS.md with info about Slack, forum, office hours ([#3837](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3837))
169+
- [Doc] Add docker files and instructions for debugging Selenium functional tests ([#3747](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3747))
153170

154171
### 🛠 Maintenance
155172

@@ -166,6 +183,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
166183
- Remove the unused `renovate.json5` file ([3489](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3489))
167184
- Allow selecting the Node.js binary using `NODE_HOME` and `OSD_NODE_HOME` ([3508](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3508))
168185
- Bump `styled-components` from 5.3.5 to 5.3.9 ([#3678](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3678))
186+
- Bump `oui` from `1.0.0` to `1.1.1` ([#3884](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3884))
169187

170188
### 🪛 Refactoring
171189

@@ -188,6 +206,8 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
188206
- [Vis Builder] Adds field unit tests ([#3211](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3211))
189207
- [BWC Tests] Add BWC tests for 2.6.0 ([#3356](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3356))
190208
- Prevent primitive linting limitations from being applied to unit tests found under `src/setup_node_env` ([#3403](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3403))
209+
- [Tests] Fix unit tests for `get_keystore` ([#3854](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3854))
210+
- [Tests] Use `scripts/use_node` instead of `node` in functional test plugins ([#3783](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3783))
191211

192212
## [2.x]
193213

@@ -229,6 +249,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
229249
- [TSVB] Fixes undefined serial diff aggregation documentation link ([#3503](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3503))
230250
- [Console] Fix dev tool console autocomplete not loading issue ([#3775](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3775))
231251
- [Console] Fix dev tool console run command with query parameter error ([#3813](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3813))
252+
- Add clarifying tooltips to header navigation ([#3573](https://github.com/opensearch-project/OpenSearch-Dashboards/issues/3573))
232253

233254
### 🚞 Infrastructure
234255

@@ -256,6 +277,8 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
256277

257278
### 🪛 Refactoring
258279

280+
- [Tech Debt] Clean up docs_link_service organization so that strings are in the right categories. ([#3685](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3685))
281+
259282
### 🔩 Tests
260283

261284
- Update caniuse to fix failed integration tests ([#2322](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2322))

TESTING.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ OpenSearch Dashboards uses [Jest](https://jestjs.io/) for unit and integration t
1818

1919
In general, we recommend four tiers of tests:
2020
* Unit tests: Unit tests: small and modular tests that utilize mocks for external dependencies.
21-
* Integration tests: higher-level tests that verify interactions between systems (eg. HTTP APIs, OpenSearch API calls, calling other plugin).
21+
* Integration tests: higher-level tests that verify interactions between systems (eg. HTTP APIs, OpenSearch API calls, calling other plugin).
2222
* End-to-end tests (e2e): functional tests that verify behavior in a web browser.
2323
* Backwards Compatibility tests: cypress tests that verify any changes are backwards compatible with previous versions.
2424

@@ -57,6 +57,8 @@ Say that you would want to debug a test in CI group 1, you can run the following
5757

5858
This will print off an address, to which you could open your chrome browser on your instance and navigate to `chrome://inspect/#devices` and inspect the functional test runner `scripts/functional_tests.js`.
5959

60+
If you prefer to run functional tests using Docker, you can find instructions on how to set up and debug functional tests in a Docker environment in the [Debug Functional Tests](docs/docker-dev/docker-dev-setup-manual.md#debug-functional-tests) section of the `docker-dev-setup-manual.md` file.
61+
6062
### Backwards Compatibility tests
6163
To run all the backwards compatibility tests on OpenSearch Dashboards without security:
6264

@@ -80,13 +82,13 @@ This will create an archive of the data based on the OpenSearch Dashboards versi
8082
Make sure you run lint checker before submitting a pull request. To run lint checker:
8183
`node scripts/precommit_hook.js --fix`
8284

83-
Please ensure that you don't introduce any broken links accidently. For any intentional broken link (e.g. dummy url in unit test), you can add it to [lycheeexclude](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/.lycheeexclude) allow list specifically.
85+
Please ensure that you don't introduce any broken links accidently. For any intentional broken link (e.g. dummy url in unit test), you can add it to [lycheeexclude](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/.lycheeexclude) allow-list specifically.
8486

8587
# Writing Tests
8688
Conventions and best practices for writing tests can be found in [/src/core/TESTING.md](/src/core/TESTING.md)
8789

8890
# Continuous Integration
89-
Automated testing is provided with Jenkins for Continuous Integration. Jenkins enables developers to build, deploy, and automate projects and provides us to run groups of tests quickly. CI groups are ran from the [Jenkinsfile](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/Jenkinsfile).
91+
Automated testing is provided by Jenkins for Continuous Integration. Jenkins enables developers to build, deploy, and automate projects, and permits us to run groups of tests quickly. CI groups are run from [Jenkinsfile](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/Jenkinsfile).
9092

9193
# Environment misc
9294
Selenium tests are run in headless mode on CI. Locally the same tests will be executed in a real browser. You can activate headless mode by setting the environment variable:
@@ -114,4 +116,4 @@ sudo apt-get install -y --allow-downgrades /tmp/chrome.deb
114116
Although Jest is the standard for this project, there are a few Mocha tests that still exist. You can run these tests by running:
115117
`yarn test:mocha`
116118

117-
However, these tests will eventually be migrated. Please avoid writing new Mocha tests. For further questions or to check the status please see this [issue](https://github.com/opensearch-project/OpenSearch-Dashboards/issues/215).
119+
However, these tests will eventually be migrated; please avoid writing new Mocha tests. For further questions or to check the status, please see this [issue](https://github.com/opensearch-project/OpenSearch-Dashboards/issues/215).

config/opensearch_dashboards.yml

+28
Original file line numberDiff line numberDiff line change
@@ -237,3 +237,31 @@
237237
#data_source.encryption.wrappingKeyName: 'changeme'
238238
#data_source.encryption.wrappingKeyNamespace: 'changeme'
239239
#data_source.encryption.wrappingKey: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
240+
241+
#data_source.endpointDeniedIPs: [
242+
# '127.0.0.0/8',
243+
# '::1/128',
244+
# '169.254.0.0/16',
245+
# 'fe80::/10',
246+
# '10.0.0.0/8',
247+
# '172.16.0.0/12',
248+
# '192.168.0.0/16',
249+
# 'fc00::/7',
250+
# '0.0.0.0/8',
251+
# '100.64.0.0/10',
252+
# '192.0.0.0/24',
253+
# '192.0.2.0/24',
254+
# '198.18.0.0/15',
255+
# '192.88.99.0/24',
256+
# '198.51.100.0/24',
257+
# '203.0.113.0/24',
258+
# '224.0.0.0/4',
259+
# '240.0.0.0/4',
260+
# '255.255.255.255/32',
261+
# '::/128',
262+
# '2001:db8::/32',
263+
# 'ff00::/8',
264+
# ]
265+
266+
# Set the value of this setting to false to hide the help menu link to the OpenSearch Dashboards user survey
267+
# opensearchDashboards.survey.url: "https://survey.opensearch.org"

dev-tools/install-docker-dev.sh

+15-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,22 @@ osd_do_copy_dev_docker_files(){
2121
mkdir -p "$INSTALL_DIR"
2222
osd_download -s "$ENTRYPOINT_SRC" -o "./$INSTALL_DIR/entrypoint.sh"
2323
osd_download -s "$DOCKER_COMPOSE_SRC" -o "./$INSTALL_DIR/docker-compose.yml"
24+
25+
if [ "$1" = "--ftr" ]; then
26+
printf "run ftr"
27+
local START_VNC_SRC
28+
START_VNC_SRC="https://raw.githubusercontent.com/opensearch-project/OpenSearch-Dashboards/main/docs/docker-dev/start-vnc.sh"
29+
local DOCKERFILE_SELENIUM_SRC
30+
DOCKERFILE_SELENIUM_SRC="https://raw.githubusercontent.com/opensearch-project/OpenSearch-Dashboards/main/docs/docker-dev/Dockerfile.selenium"
31+
local DOCKER_COMPOSE_SELENIUM_SRC
32+
DOCKER_COMPOSE_SELENIUM_SRC="https://raw.githubusercontent.com/opensearch-project/OpenSearch-Dashboards/main/docs/docker-dev/docker-compose.selenium.yml"
33+
34+
osd_download -s "$START_VNC_SRC" -o "./$INSTALL_DIR/start-vnc.sh"
35+
osd_download -s "$DOCKERFILE_SELENIUM_SRC" -o "./$INSTALL_DIR/Dockerfile.selenium"
36+
osd_download -s "$DOCKER_COMPOSE_SELENIUM_SRC" -o "./$INSTALL_DIR/docker-compose.selenium.yml"
37+
fi
2438
}
2539

26-
osd_do_copy_dev_docker_files
40+
osd_do_copy_dev_docker_files $1
2741

2842
} # this ensures the entire script is downloaded #

docs/docker-dev/Dockerfile.selenium

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
FROM abbyhu/opensearch-dashboards-dev:latest
2+
3+
# Switch to root user
4+
USER root
5+
6+
# Install the locales package
7+
# Uncomment the en_US.UTF-8 UTF-8 line in the sytstem /etc/locale.gen file
8+
# Then generate the locales and update the system locale to en_US.UTF-8
9+
# Install all other requested packages
10+
RUN apt-get update && \
11+
apt-get install -y locales && \
12+
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
13+
dpkg-reconfigure --frontend=noninteractive locales && \
14+
update-locale LANG=en_US.UTF-8 && \
15+
apt-get install -y xvfb x11vnc openbox lxde-core lxterminal wget apt-transport-https sudo
16+
17+
ENV LANG en_US.UTF-8
18+
ENV LC_ALL en_US.UTF-8
19+
20+
# Create the LXTerminal configuration directory and set the encoding
21+
RUN mkdir -p /etc/xdg/lxterminal && \
22+
echo '[General]' >> /etc/xdg/lxterminal/lxterminal.conf && \
23+
echo 'encoding=UTF-8' >> /etc/xdg/lxterminal/lxterminal.conf
24+
25+
# Specify the version of Chrome that matches the version of chromedriver in the package.json.
26+
#ARG CHROME_VERSION=107.0.5304.121-1
27+
28+
## Install Google Chrome version 107
29+
#RUN curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && \
30+
# echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/google-chrome.list && \
31+
# apt-get update && \
32+
# wget -O /tmp/chrome.deb https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb && \
33+
# apt-get install -y /tmp/chrome.deb --no-install-recommends && \
34+
# rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
35+
36+
# Install Google Chrome
37+
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
38+
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/google-chrome.list && \
39+
apt-get update && \
40+
apt-get install -y google-chrome-stable && \
41+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
42+
43+
# Create the directory and set the ownership for osd-dev user
44+
RUN mkdir -p /docker-workspace/OpenSearch-Dashboards/.opensearch && \
45+
chown -R osd-dev /docker-workspace/OpenSearch-Dashboards/.opensearch
46+
47+
COPY entrypoint.sh /entrypoint.sh
48+
COPY start-vnc.sh /start-vnc.sh
49+
50+
RUN chmod +x /entrypoint.sh /start-vnc.sh
51+
52+
ENTRYPOINT ["/entrypoint.sh"]
53+
54+
# Create a Google Chrome desktop file with the specified launch options.
55+
# Currently Google Chrome is not available in the menu of your VNC Viewer session.
56+
# To enable that, you need to open the terminal and run:
57+
# google-chrome --no-sandbox --disable-gpu --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222
58+
# This part is added to automate this process by creating a desktop file for Google Chrome.
59+
RUN echo '[Desktop Entry]\n\
60+
Version=1.0\n\
61+
Name=Google Chrome\n\
62+
GenericName=Web Browser\n\
63+
Comment=Access the Internet\n\
64+
Exec=google-chrome --no-sandbox --disable-gpu --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222 %U\n\
65+
Terminal=false\n\
66+
Icon=google-chrome\n\
67+
Type=Application\n\
68+
Categories=Network;WebBrowser;\n\
69+
MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;'\
70+
> /usr/share/applications/google-chrome.desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
version: '3'
2+
services:
3+
selenium-test:
4+
build:
5+
context: .
6+
dockerfile: Dockerfile.selenium
7+
container_name: selenium-test
8+
depends_on:
9+
- dev-env
10+
environment:
11+
- DISPLAY=:99
12+
volumes:
13+
- /dev/shm:/dev/shm
14+
- .:/workspace
15+
networks:
16+
- opensearch-net
17+
ports:
18+
- 5900:5900
19+
entrypoint: ["/start-vnc.sh"]
20+
volumes:
21+
opensearch-data:
22+
osd-dev:
23+
networks:
24+
opensearch-net:

0 commit comments

Comments
 (0)