-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Ingest Manager] Match package spec dataset
->data_stream
and config_templates
->policy_templates
renaming
#78699
Conversation
… property renaming
…property renaming
…paths in test package manifests
This reverts commit 3db32e2.
Pinging @elastic/ingest-management (Team:Ingest Management) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Security solution changes look good 👍
@@ -13,7 +13,7 @@ import { | |||
export default function (providerContext: FtrProviderContext) { | |||
const { loadTestFile, getService } = providerContext; | |||
|
|||
describe('endpoint', function () { | |||
describe.skip('endpoint', function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heads up @kevinlog we need to do this because of the breaking changes for dataset
-> data_stream
. We'll reenable as soon as the endpoint package with the same changes gets released: elastic/endpoint-package#89
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no problem, I have PR right now where I'm re-enabling our other tests due to the one faulty package. #78954
I'm happy to to wait on it since this PR seems more complicated. I could also re-enable everything after the package releases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After speaking with @jen-huang offline, it's OK to merge this PR #78954. Tests will be disabled again with this PR, but we'll re-enable again after the next package.
@@ -10,7 +10,7 @@ import { getRegistryUrl as getRegistryUrlFromIngest } from '../../../plugins/ing | |||
export default function endpointAPIIntegrationTests(providerContext: FtrProviderContext) { | |||
const { loadTestFile, getService } = providerContext; | |||
|
|||
describe('Endpoint plugin', function () { | |||
describe.skip('Endpoint plugin', function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -6,48 +6,48 @@ Overall documentation of Ingest Management is now maintained in the `elastic/sta | |||
Ingest Management enforces an indexing strategy to allow the system to automatically detect indices and run queries on it. In short the indexing strategy looks as following: | |||
|
|||
``` | |||
{dataset.type}-{dataset.name}-{dataset.namespace} | |||
{data_stream.type}-{data_stream.dataset}-{data_stream.namespace} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ruflin could you look over the changes to this doc to make sure it's still accurate?
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]async chunks size
page load bundle size
History
To update your PR or re-run it, just comment with: |
// if it's a dataset | ||
if (service === 'dataset') { | ||
// if it's a data stream | ||
if (service === 'data_stream') { | ||
// save the dataset name | ||
dataset = type; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't we be calling this dataStream now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should still actually be dataset as it refers to data_stream.dataset
i.e. auth
(as in system.auth
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the testing instructions! I tested this locally and everything works as described. 👍
(It would be great to get this merged soon, as I need to rebase #77986 on these changes.)
…fig_templates`->`policy_templates` renaming (elastic#78699) * Match elastic/package-spec#24 `datasets`->`data_streams` property renaming * Match elastic/package-spec#24 `datasets.name`->`data_streams.dataset` property renaming * Match elastic/package-spec#24 `/dataset`->`/data_stream` directory renaming * Match elastic/package-spec#50 `config_templates`->`policy_templates` property renaming * Update API integration test fixtures (test packages) * Temporarily skip API integration tests * Temporarily skip more API integration tests * Pin to custom docker image, unskip test suites, clean up broken icon paths in test package manifests * Skip the only (yay!) failing test suite * Revert "Skip the only (yay!) failing test suite" This reverts commit 3db32e2. * Re-skip tests and revert docker image Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…fig_templates`->`policy_templates` renaming (#78699) (#79183) * Match elastic/package-spec#24 `datasets`->`data_streams` property renaming * Match elastic/package-spec#24 `datasets.name`->`data_streams.dataset` property renaming * Match elastic/package-spec#24 `/dataset`->`/data_stream` directory renaming * Match elastic/package-spec#50 `config_templates`->`policy_templates` property renaming * Update API integration test fixtures (test packages) * Temporarily skip API integration tests * Temporarily skip more API integration tests * Pin to custom docker image, unskip test suites, clean up broken icon paths in test package manifests * Skip the only (yay!) failing test suite * Revert "Skip the only (yay!) failing test suite" This reverts commit 3db32e2. * Re-skip tests and revert docker image Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…aly-detection-partition-field * 'master' of github.com:elastic/kibana: (76 commits) Fix z-index of KQL Suggestions dropdown (elastic#79184) [babel] remove unused/unneeded babel plugins (elastic#79173) [Search] Fix timeout upgrade link (elastic#79045) Always Show Embeddable Panel Header in Edit Mode (elastic#79152) [Ingest]: add more test for transform index (elastic#79154) [ML] DF Analytics: Collapsable sections on results pages (elastic#76641) [Fleet] Fix agent policy change action migration (elastic#79046) [Ingest Manager] Match package spec `dataset`->`data_stream` and `config_templates`->`policy_templates` renaming (elastic#78699) Revert "[Metrics UI] Add ability to override datafeeds and job config for partition field (elastic#78875)" [ML] Update transform cloning to include description and new fields (elastic#78364) chore(NA): remove non existing plugin paths from case api integration tests (elastic#79127) [Ingest Manager] Ensure we trigger agent policy updated event when we bump revision. (elastic#78836) [Metrics UI] Display No Data context.values as [NO DATA] (elastic#78038) [Monitoring] Missing data alert (elastic#78208) [Lens] Fix embeddable title and description for reporting and dashboard tooltip (elastic#78767) [Lens] Consistent Drag and Drop styles (elastic#78674) [ML] Model management UI fixes and enhancements (elastic#79072) [Metrics UI] Add ability to override datafeeds and job config for partition field (elastic#78875) [Security Solution]Fix basepath used by endpoint telemetry tests (elastic#79027) update rum agent version which contains longtasks (elastic#79105) ...
Summary
Part of #74842. This PR supports the following renaming work done for packages:
datasets
->data_streams
propertydatasets.name
->data_streams.dataset
property/dataset
->/data_stream
directoryconfig_templates
->policy_templates
propertyMethod names, types, etc were also renamed as needed. API integration fixtures (test packages) were updated to match the package spec changes too.
Important: These test suites were skipped fc6a2ba and should be re-enabled ASAP in a follow up PR as soon as a public docker image with the new package changes becomes available.
There is a private docker image that I used to validate these tests locally with, but that image is not accessible to Kibana CI. All skipped tests passed with that image, with the only exception of 3db32e2, an expected failure as Endpoint package did not have the changes yet.
Testing
endpoint
from default packages - Endpoint package is not available using the above registry instructions