Logo
Explore Help
Sign In
honeymoose/OpenSearch
1
0
Fork 0
You've already forked OpenSearch
mirror of https://github.com/honeymoose/OpenSearch.git synced 2025-05-24 09:52:18 +00:00
Code Issues Packages Projects Releases Wiki Activity
OpenSearch/plugins/jvm-example/rest-api-spec/test/jvm_example/20_configured_example.yaml

23 lines
303 B
YAML
Raw Normal View History

QA: Create a test plugin with configuration In order to test the way plugins with configuration are installed and removed we need a plugin with configuration in the repository. The simplest way to get one is to make an "example" plugin. In the process of making this example it became aparent that cat actions were difficult to create outside of the org.elasticsearch.rest.action.cat package because key methods in AbstractCatAction were package private. This makes them protected and uses them to create the example configured plugin. Relates to #12717 but is only one step of many to close it.
2015-08-10 14:49:36 -07:00
---
"Help":
- do:
cat.configured_example:
help: true
- match:
$body: |
/^ test .+ \n
$/
---
"Data":
- do:
cat.configured_example:
v: false
- match:
$body: |
/^
foo \s+
$/
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 68ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API