Skip to content

Commit c7ae5e8

Browse files
committed
opensearch-project#844 Adding tests for ubi.
Signed-off-by: jzonthemtn <[email protected]>
1 parent 5843523 commit c7ae5e8

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: '3'
2+
3+
services:
4+
opensearch-cluster:
5+
image: ${OPENSEARCH_DOCKER_HUB_PROJECT:-opensearchproject}/opensearch:${OPENSEARCH_VERSION:-latest}${OPENSEARCH_DOCKER_REF}
6+
ports:
7+
- 9200:9200
8+
- 9600:9600
9+
environment:
10+
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_PASSWORD:-myStrongPassword123!}
11+
- OPENSEARCH_JAVA_OPTS=${OPENSEARCH_JAVA_OPTS}
12+
- discovery.type=single-node
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
$schema: ../../../../json_schemas/test_story.schema.yaml
2+
3+
description: Initialize UBI indexes.
4+
5+
prologues: []
6+
7+
chapters:
8+
- synopsis: Initialize the UBI indexes.
9+
path: /_plugins/ubi/initialize
10+
method: POST
11+
status: [200]
12+
response:
13+
status: 200
14+
15+
epilogues:
16+
- path: /ubi_events
17+
method: DELETE
18+
status: [200, 404]
19+
- path: /ubi_queries
20+
method: DELETE
21+
status: [200, 404]

0 commit comments

Comments
 (0)