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

[7.x] [Ingest Manager] Rename data sources to package configs (#70259) #70537

Merged
merged 1 commit into from
Jul 2, 2020

Commits on Jul 2, 2020

  1. [Ingest Manager] Rename data sources to package configs (elastic#70259)

    * Rename `datasource` saved object to `package_config` (SO type `ingest-datasource` to `ingest-package-config`) and adjust mappings:
    
    - Remove unused `processors` field on input & stream levels
    - Remove unnecessary `enabled` field on package config & input levels
    - Rename `agent_stream` field to `compiled_stream`
    - Reorder other fields so that important fields are closer to top & similar fields are grouped together
    
    Also,
    - Remove 7.9.0 migrations as we are not supporting an upgrade path from experimental to beta release
    
    * Pluralize `ingest-package-configs` for consistency
    
    * Rename `Datasource`-related types to `PackageConfig`, update all references (does not include actual type definition changes yet)
    
    * Rename `Datasource` schemas and rest spec typings to `PackageConfig` (does not include actual schema changes yet)
    
    * Change `datasources` on agent config typings and schemas to `package_configs` and update all references
    
    * Add back `enabled` field on package config and input levels. They are needed for current & future UI features. Also:
    
    - Match types and schemas with saved object mappings (`agent_stream` to `compiled_stream`, removal of `processors`)
    - Set `namespace` to be a required property on agent config and package config types, add validation support for it on UI
    
    * Rename server-side datasource references in file names, variable names, and routes
    
    * Update spec file and schema file
    
    * Update doc wording
    
    * Rename all instances of datasource in file paths and variable names on client sides, and for Endpoint too
    
    * Minor copy adjustments, fix i18n check
    
    * Replace datasource references in tests and fixtures; remove unused `ingest/policies` es archiver data
    
    * Fix tests
    
    * Fix test field name
    
    * Fix test fixtures fields again
    
    * Fix i18n
    # Conflicts:
    #	x-pack/plugins/translations/translations/ja-JP.json
    #	x-pack/plugins/translations/translations/zh-CN.json
    jen-huang committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    5e10cb9 View commit details
    Browse the repository at this point in the history