-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add discovery fields and tests for content packages (#1220)
Added tests related to content packages as well as the new discovery fields into the BasePackage manifest definition.
- Loading branch information
Showing
18 changed files
with
615 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"name": "good_content", | ||
"title": "Good content package", | ||
"version": "0.1.0", | ||
"release": "beta", | ||
"source": { | ||
"license": "Apache-2.0" | ||
}, | ||
"description": "This package is a dummy example for packages with the content type. These packages contain resources that are useful with data ingested by other integrations. They are not used to configure data sources.\n", | ||
"type": "content", | ||
"download": "/epr/good_content/good_content-0.1.0.zip", | ||
"path": "/package/good_content/0.1.0", | ||
"icons": [ | ||
{ | ||
"src": "/img/system.svg", | ||
"path": "/package/good_content/0.1.0/img/system.svg", | ||
"title": "system", | ||
"size": "1000x1000", | ||
"type": "image/svg+xml" | ||
} | ||
], | ||
"conditions": { | ||
"kibana": { | ||
"version": "^8.16.0" | ||
}, | ||
"elastic": { | ||
"subscription": "basic" | ||
} | ||
}, | ||
"owner": { | ||
"type": "elastic", | ||
"github": "elastic/ecosystem" | ||
}, | ||
"discovery": { | ||
"fields": [ | ||
{ | ||
"name": "process.pid" | ||
} | ||
] | ||
}, | ||
"format_version": "3.4.0", | ||
"readme": "/package/good_content/0.1.0/docs/README.md", | ||
"license": "basic", | ||
"screenshots": [ | ||
{ | ||
"src": "/img/kibana-system.png", | ||
"path": "/package/good_content/0.1.0/img/kibana-system.png", | ||
"title": "kibana system", | ||
"size": "1220x852", | ||
"type": "image/png" | ||
} | ||
], | ||
"assets": [ | ||
"/package/good_content/0.1.0/LICENSE.txt", | ||
"/package/good_content/0.1.0/changelog.yml", | ||
"/package/good_content/0.1.0/manifest.yml", | ||
"/package/good_content/0.1.0/validation.yml", | ||
"/package/good_content/0.1.0/docs/README.md", | ||
"/package/good_content/0.1.0/img/kibana-system.png", | ||
"/package/good_content/0.1.0/img/system.svg" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[ | ||
{ | ||
"name": "good_content", | ||
"title": "Good content package", | ||
"version": "0.1.0", | ||
"release": "beta", | ||
"source": { | ||
"license": "Apache-2.0" | ||
}, | ||
"description": "This package is a dummy example for packages with the content type. These packages contain resources that are useful with data ingested by other integrations. They are not used to configure data sources.\n", | ||
"type": "content", | ||
"download": "/epr/good_content/good_content-0.1.0.zip", | ||
"path": "/package/good_content/0.1.0", | ||
"icons": [ | ||
{ | ||
"src": "/img/system.svg", | ||
"path": "/package/good_content/0.1.0/img/system.svg", | ||
"title": "system", | ||
"size": "1000x1000", | ||
"type": "image/svg+xml" | ||
} | ||
], | ||
"conditions": { | ||
"kibana": { | ||
"version": "^8.16.0" | ||
}, | ||
"elastic": { | ||
"subscription": "basic" | ||
} | ||
}, | ||
"owner": { | ||
"type": "elastic", | ||
"github": "elastic/ecosystem" | ||
}, | ||
"discovery": { | ||
"fields": [ | ||
{ | ||
"name": "process.pid" | ||
} | ||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.