Skip to content

Commit

Permalink
Remove 'requirement' from types, tests, and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
John Schulz committed Jul 1, 2020
1 parent a51538f commit af106c0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 43 deletions.
40 changes: 0 additions & 40 deletions x-pack/plugins/ingest_manager/common/openapi/spec_oas3.json
Original file line number Diff line number Diff line change
Expand Up @@ -1446,11 +1446,6 @@
"description": "CoreDNS logs and metrics integration.\nThe CoreDNS integrations allows to gather logs and metrics from the CoreDNS DNS server to get better insights.\n",
"type": "integration",
"categories": ["logs", "metrics"],
"requirement": {
"kibana": {
"versions": ">6.7.0"
}
},
"icons": [
{
"src": "/package/coredns-1.0.1/img/icon.png",
Expand Down Expand Up @@ -1728,11 +1723,6 @@
"security"
],
"release": "beta",
"requirement": {
"kibana": {
"versions": ">7.4.0"
}
},
"icons": [
{
"src": "/package/endpoint/0.3.0/img/logo-endpoint-64-color.svg",
Expand Down Expand Up @@ -3905,35 +3895,6 @@
"type": "string"
}
},
"requirement": {
"oneOf": [
{
"properties": {
"kibana": {
"type": "object",
"properties": {
"versions": {
"type": "string"
}
}
}
}
},
{
"properties": {
"elasticsearch": {
"type": "object",
"properties": {
"versions": {
"type": "string"
}
}
}
}
}
],
"type": "object"
},
"screenshots": {
"type": "array",
"items": {
Expand Down Expand Up @@ -4026,7 +3987,6 @@
"description",
"type",
"categories",
"requirement",
"assets",
"format_version",
"download",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ describe('Ingest Manager - packageToConfig', () => {
description: 'description',
type: 'mock',
categories: [],
requirement: { kibana: { versions: '' }, elasticsearch: { versions: '' } },
format_version: '',
download: '',
path: '',
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/ingest_manager/common/types/models/epm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export interface RegistryPackage {
description: string;
type: string;
categories: string[];
requirement: RequirementsByServiceName;
screenshots?: RegistryImage[];
icons?: RegistryImage[];
assets?: string[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ describe('Ingest Manager - validateDatasource()', () => {
description: 'description',
type: 'mock',
categories: [],
requirement: { kibana: { versions: '' }, elasticsearch: { versions: '' } },
format_version: '',
download: '',
path: '',
Expand Down

0 comments on commit af106c0

Please sign in to comment.