Rename changes and validation fixes #89
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR renames the
datasetdirectories under the package todata_streamandconfig_templatestopolicy_templatesin themanifest.ymlfile.This PR needs to be coordinated with elastic/kibana#78699
The easiest way to review this PR is commit by commit. Here's what each commit does:
Making validation changes and new elastic-packagedatasettodata_streamdirectory changeconfig_templateschangeelastic-packagetoolrenaming fields and using new elastic-package linterindex_template.mappingsto the expanded format because the package spec validator doesn't support both formats right now, it's only the expanded object styledata_streamdatasetreferences in the scriptsPulling in the new elastic-package for linting and validationelastic-packagetool with thehistogramfield fix so the endpoint package doesn't fail validationAdding in lint to make commandelastic-package lintcommand during themakeprocess to ensure that the package is still validReferences:
https://github.com/elastic/integrations-dev/issues/162
datasets->data_streamspropertydatasets.name->data_streams.datasetproperty/dataset->/data_streamdirectoryconfig_templates->policy_templatesproperty