Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make release field available as part of /search endpoint #591

Merged
merged 5 commits into from
Jul 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ components:
type: string
version:
type: string
release:
type: string
description:
type: string
type:
Expand Down Expand Up @@ -316,8 +318,6 @@ components:
type: array
items:
type: string
release:
type: string
requirement:
$ref: '#/components/schemas/Requirement'
screenshots:
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "example",
"title": "Example Integration",
"version": "1.0.0",
"release": "ga",
"description": "This is the example integration",
"type": "integration",
"download": "/epr/example/example-1.0.0.tar.gz",
Expand All @@ -13,7 +14,6 @@
"crm",
"azure"
],
"release": "ga",
"conditions": {
"kibana.version": "~7.x.x"
},
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/datasources/1.0.0/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "datasources",
"title": "Default datasource Integration",
"version": "1.0.0",
"release": "beta",
"description": "Package with data sources",
"type": "integration",
"download": "/epr/datasources/datasources-1.0.0.tar.gz",
Expand All @@ -12,7 +13,6 @@
"categories": [
"custom"
],
"release": "beta",
"assets": [
"/package/datasources/1.0.0/manifest.yml",
"/package/datasources/1.0.0/docs/README.md",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "default_pipeline",
"title": "Default pipeline Integration",
"version": "0.0.2",
"release": "beta",
"description": "Tests if no pipeline is set, it defaults to the default one",
"type": "integration",
"download": "/epr/default_pipeline/default_pipeline-0.0.2.tar.gz",
Expand All @@ -13,7 +14,6 @@
"containers",
"message_queue"
],
"release": "beta",
"assets": [
"/package/default_pipeline/0.0.2/manifest.yml",
"/package/default_pipeline/0.0.2/docs/README.md",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "ecs_style_dataset",
"title": "Default pipeline Integration",
"version": "0.0.1",
"release": "beta",
"description": "Tests the registry validations works for dataset fields using the ecs style format",
"type": "integration",
"download": "/epr/ecs_style_dataset/ecs_style_dataset-0.0.1.tar.gz",
Expand All @@ -12,7 +13,6 @@
"categories": [
"monitoring"
],
"release": "beta",
"assets": [
"/package/ecs_style_dataset/0.0.1/manifest.yml",
"/package/ecs_style_dataset/0.0.1/docs/README.md",
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/example/0.0.2/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "example",
"title": "Example",
"version": "0.0.2",
"release": "beta",
"description": "This is the example integration.",
"type": "integration",
"download": "/epr/example/example-0.0.2.tar.gz",
Expand All @@ -12,7 +13,6 @@
"categories": [
"web"
],
"release": "beta",
"conditions": {
"kibana.version": "\u003e=6.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/example/1.0.0/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "example",
"title": "Example Integration",
"version": "1.0.0",
"release": "ga",
"description": "This is the example integration",
"type": "integration",
"download": "/epr/example/example-1.0.0.tar.gz",
Expand All @@ -13,7 +14,6 @@
"crm",
"azure"
],
"release": "ga",
"conditions": {
"kibana.version": "~7.x.x"
},
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/experimental/0.0.1/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "experimental",
"title": "Experimental",
"version": "0.0.1",
"release": "experimental",
"description": "Experimental package, should be set by default",
"type": "solution",
"download": "/epr/experimental/experimental-0.0.1.tar.gz",
Expand All @@ -12,7 +13,6 @@
"categories": [
"aws"
],
"release": "experimental",
"assets": [
"/package/experimental/0.0.1/manifest.yml",
"/package/experimental/0.0.1/docs/README.md"
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/foo/1.0.0/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "foo",
"title": "Foo",
"version": "1.0.0",
"release": "beta",
"description": "This is the foo integration",
"type": "solution",
"download": "/epr/foo/foo-1.0.0.tar.gz",
Expand All @@ -12,7 +13,6 @@
"categories": [
"custom"
],
"release": "beta",
"conditions": {
"kibana.version": "\u003e=7.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/internal/1.2.0/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "internal",
"title": "Internal",
"version": "1.2.0",
"release": "beta",
"description": "Internal package",
"type": "integration",
"download": "/epr/internal/internal-1.2.0.tar.gz",
Expand All @@ -11,7 +12,6 @@
"readme": "/package/internal/1.2.0/docs/README.md",
"license": "basic",
"categories": [],
"release": "beta",
"assets": [
"/package/internal/1.2.0/manifest.yml",
"/package/internal/1.2.0/docs/README.md"
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/longdocs/1.0.4/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "longdocs",
"title": "Long Docs",
"version": "1.0.4",
"release": "ga",
"description": "This integration contains pretty long documentation.\nIt is used to show the different visualisations inside a documentation to test how we handle it.\nThe integration does not contain any assets except the documentation page.\n",
"type": "integration",
"download": "/epr/longdocs/longdocs-1.0.4.tar.gz",
Expand All @@ -19,7 +20,6 @@
"custom",
"web"
],
"release": "ga",
"conditions": {
"kibana.version": "\u003e6.7.0"
},
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/metricsonly/2.0.1/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "metricsonly",
"title": "Metrics Only",
"version": "2.0.1",
"release": "ga",
"description": "This is an integration with only the metrics category.\n",
"type": "integration",
"download": "/epr/metricsonly/metricsonly-2.0.1.tar.gz",
Expand All @@ -18,7 +19,6 @@
"categories": [
"custom"
],
"release": "ga",
"assets": [
"/package/metricsonly/2.0.1/manifest.yml",
"/package/metricsonly/2.0.1/docs/README.md",
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/multiple_false/0.0.1/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "multiple_false",
"title": "Multiple false",
"version": "0.0.1",
"release": "beta",
"description": "Tests that multiple can be set to false",
"type": "integration",
"download": "/epr/multiple_false/multiple_false-0.0.1.tar.gz",
Expand All @@ -12,7 +13,6 @@
"categories": [
"custom"
],
"release": "beta",
"assets": [
"/package/multiple_false/0.0.1/manifest.yml",
"/package/multiple_false/0.0.1/docs/README.md",
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/multiversion/1.0.3/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "multiversion",
"title": "Multi Version",
"version": "1.0.3",
"release": "ga",
"description": "Multiple versions of this integration exist.\n",
"type": "integration",
"download": "/epr/multiversion/multiversion-1.0.3.tar.gz",
Expand All @@ -19,7 +20,6 @@
"custom",
"web"
],
"release": "ga",
"conditions": {
"kibana.version": "\u003e6.7.0"
},
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/multiversion/1.0.4/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "multiversion",
"title": "Multi Version",
"version": "1.0.4",
"release": "ga",
"description": "Multiple versions of this integration exist.\n",
"type": "integration",
"download": "/epr/multiversion/multiversion-1.0.4.tar.gz",
Expand All @@ -19,7 +20,6 @@
"custom",
"web"
],
"release": "ga",
"conditions": {
"kibana.version": "\u003e6.7.0"
},
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/multiversion/1.1.0/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "multiversion",
"title": "Multi Version Second with the same version! This one should win, because it is first.",
"version": "1.1.0",
"release": "ga",
"description": "Multiple versions of this integration exist.\n",
"type": "integration",
"download": "/epr/multiversion/multiversion-1.1.0.tar.gz",
Expand All @@ -19,7 +20,6 @@
"custom",
"web"
],
"release": "ga",
"conditions": {
"kibana.version": "\u003e6.7.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "no_stream_configs",
"title": "No Stream configs",
"version": "1.0.0",
"release": "beta",
"description": "This package does contain a dataset but not stream configs.\n",
"type": "integration",
"download": "/epr/no_stream_configs/no_stream_configs-1.0.0.tar.gz",
Expand All @@ -12,7 +13,6 @@
"categories": [
"custom"
],
"release": "beta",
"assets": [
"/package/no_stream_configs/1.0.0/manifest.yml",
"/package/no_stream_configs/1.0.0/docs/README.md",
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/reference/1.0.0/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "reference",
"title": "Reference package",
"version": "1.0.0",
"release": "ga",
"description": "This package is used for defining all the properties of a package, the possible assets etc. It serves as a reference on all the config options which are possible.\n",
"type": "integration",
"download": "/epr/reference/reference-1.0.0.tar.gz",
Expand All @@ -20,7 +21,6 @@
"custom",
"web"
],
"release": "ga",
"conditions": {
"kibana.version": "\u003e6.7.0 \u003c7.6.0"
},
Expand Down
2 changes: 1 addition & 1 deletion testdata/generated/package/yamlpipeline/1.0.0/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "yamlpipeline",
"title": "Yaml Pipeline package",
"version": "1.0.0",
"release": "beta",
"description": "This package contains a yaml pipeline.\n",
"type": "integration",
"download": "/epr/yamlpipeline/yamlpipeline-1.0.0.tar.gz",
Expand All @@ -12,7 +13,6 @@
"categories": [
"custom"
],
"release": "beta",
"assets": [
"/package/yamlpipeline/1.0.0/manifest.yml",
"/package/yamlpipeline/1.0.0/docs/README.md",
Expand Down
Loading