-
Notifications
You must be signed in to change notification settings - Fork 32
Product Configuration #1865
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
Merged
Merged
Product Configuration #1865
Changes from 44 commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
39befc6
Introduce products.yml as the central resource to catalogue primary p…
cotti a2ebf39
Adjust legacy URL mapping to use Product metadata
cotti d663ede
Merge branch 'main' into feature/product_config
cotti 9521c8a
Refactor legacy-url-mappings.yml, update values on versions.yml and p…
cotti 752f80d
Merge branch 'main' into feature/product_config
cotti c9a7ec3
Fix merge
cotti d328e32
Refactor location of Product
cotti 6361eb1
Fix property definition
cotti 1ddfa3e
Refactor loading Product and LegacyUrlMapping data
cotti ed9aeb1
Add documentation
cotti 626c199
Fix legacy version lists with 9.0+ entries
cotti 806259e
Standardize with underscores
cotti 0434e00
Update docs/configure/site/products.md
cotti d4a2167
Update docs/configure/site/products.md
cotti ea83361
Merge branch 'main' into feature/product_config
cotti bad491a
Merge branch 'main' into feature/product_config
cotti b527459
Merge branch 'main' into feature/product_config
cotti b6e1e51
Merge remote-tracking branch 'origin/feature/product_config' into fea…
cotti 03f3ccf
Revert to kebab-case product definition and allow compatibility with …
cotti c0130e4
Fix lint
cotti 7ee832e
Standardize on underscores as it is more widely used by writers
cotti 9ba7cf7
Merge branch 'main' into feature/product_config
cotti 4559374
Merge branch 'main' into feature/product_config
cotti 1234a84
Update config/products.yml
cotti 84e9be7
Merge remote-tracking branch 'origin/feature/product_config' into fea…
cotti 8f7e77d
Remove obsolete EqualityComparer
cotti 0175253
Adjust product listing
cotti 4627aec
Minor clean-ups
cotti a69fa1e
Adding non-product entries back
cotti a0c2bc1
Remove duplicate version entries between versions.yml and the legacy …
cotti 43b9561
Merge branch 'main' into feature/product_config
cotti f064443
FIx tests and ecctl definition
cotti daa393c
Use a static deserializer through the same assembly
cotti 741c1ec
Adjust product id for ecctl and fix flexibility rules
cotti 2372b84
Support underscores and dashes in substitutions
cotti d395917
Merge branch 'main' into feature/product_config
cotti 20670d2
Merge branch 'main' into feature/product_config
cotti 96fcc48
Adjust configuration files
cotti f911b3e
Merge branch 'main' into feature/product_config
cotti 820b8c2
Fix cloud_terraform versioning
cotti 725e26f
Apply suggestions from code review
cotti e481c9a
Update product label
cotti 28fb0f2
Merge branch 'main' into feature/product_config
cotti 6eefee6
Fix remaining items on legacy mapping
cotti 23b7f4b
Update config/products.yml
cotti 46fd80c
Update config/products.yml
theletterf f9f5841
Update config/products.yml
theletterf 8eff8fe
Update config/products.yml
theletterf 6a35a78
Update config/products.yml
theletterf ab480bd
Update docs/configure/site/products.md
theletterf 8838b07
Update docs/syntax/substitutions.md
theletterf ed190d2
Update config/products.yml
cotti 0b8d1e4
Update config/products.yml
cotti b81639d
Update config/products.yml
cotti 80fb85f
Merge branch 'main' into feature/product_config
cotti 7c612a5
Merge branch 'main' into feature/product_config
cotti 9ecfc8a
Remove APM Agent Android and iOS, moved to EDOT
cotti 8f1e9f8
Drop versions from search-ui and apm-agent-dotnet
cotti 855106b
Remove skipping
cotti f1a905f
Merge branch 'main' into feature/product_config
cotti a94cc19
Fix merge mishaps and add suggested changes
cotti cb72b40
Fix tests
cotti c1b325e
Fix using ordering
cotti c284cda
FIx linting
cotti fb633e9
Merge branch 'main' into feature/product_config
cotti 36f9936
Merge branch 'main' into feature/product_config
cotti c6ab9be
Adapt ApplicableTo changes, fix tests
cotti 3ee34d2
Merge branch 'main' into feature/product_config
cotti 34daa13
Update config/versions.yml
cotti 102f9f1
Merge remote-tracking branch 'origin/feature/product_config' into fea…
cotti c64dd2c
Use hyphens for all configurations.
cotti 253599c
Add versioning system for ecs
cotti 06cb46e
Standardize on kebab-casing
cotti 6e7fe52
Versioning defaults to product id if omitted.
cotti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
@@ -1,82 +1,228 @@ | ||
############################################# | ||
# This file defines the legacy URL mappings for the documentation site. | ||
# It maps current documentation pages to older versions to ensure users can find the content they need. | ||
# TODO: Refactor the model, for now we just use the first element as current version | ||
# Upon creation of version selection dropdowns, this data is combined with the current version of its product. | ||
cotti marked this conversation as resolved.
Show resolved
Hide resolved
|
||
############################################# | ||
|
||
stack: &stack [ '9.0+', '8.19', '8.18', '8.17', '8.16', '8.15', '8.14', '8.13', '8.12', '8.11', '8.10', '8.9', '8.8', '8.7', '8.6', '8.5', '8.4', '8.3', '8.2', '8.1', '8.0', '7.17' ] | ||
stack: &stack [ '8.19', '8.18', '8.17', '8.16', '8.15', '8.14', '8.13', '8.12', '8.11', '8.10', '8.9', '8.8', '8.7', '8.6', '8.5', '8.4', '8.3', '8.2', '8.1', '8.0', '7.17' ] | ||
|
||
mappings: | ||
en/apm/agent/android/: [ '1.2.0' , '0.x' ] | ||
en/apm/agent/dotnet/: [ '1.34.0' ] | ||
en/apm/agent/go/: [ '2.7.1', '1.x', '0.5' ] | ||
en/apm/agent/java/: ['1.54.0', '0.7', '0.6'] | ||
en/apm/agent/nodejs/: [ '4.x', '3.x', '2.x', '1.x' ] | ||
en/apm/agent/php/: [ '1.15.1', '1.x' ] | ||
en/apm/agent/python/: [ '6.24.0', '5.x', '4.x', '3.x', '2.x', '1.x' ] | ||
en/apm/agent/ruby/: [ '4.8.0', '3.x', '2.x', '1.x' ] | ||
en/apm/agent/rum-js/: [ '5.17.0', '4.x', '3.x', '2.x', '1.x', '0.x' ] | ||
en/apm/agent/swift/: [ '1.2.1', '0.x' ] | ||
en/apm/attacher/: [ '1.1.3' ] | ||
en/apm/lambda/: [ '1.5.8' ] | ||
en/beats/auditbeat/: *stack | ||
en/beats/devguide/: *stack | ||
en/beats/filebeat/: *stack | ||
en/beats/functionbeat/: *stack | ||
en/beats/heartbeat/: *stack | ||
en/beats/journalbeat/: *stack | ||
en/beats/libbeat/: *stack | ||
en/beats/loggingplugin/: *stack | ||
en/beats/metricbeat/: *stack | ||
en/beats/packetbeat/: *stack | ||
en/beats/topbeat/: *stack | ||
en/beats/winlogbeat/: *stack | ||
en/cloud-heroku/: [] | ||
en/cloud-on-k8s/: [ '3.0+', '2.16', '2.15', '2.14', '2.13', '2.12', '2.11', '2.10', '2.9', '2.8', '2.7', '2.6', '2.5', '2.4', '2.3', '2.2', '2.1', '2.0', '1.9', '1.8', '1.7', '1.6', '1.5', '1.4', '1.3', '1.2', '1.1', '1.0' ] | ||
en/cloud/: [] | ||
en/cloud-enterprise/: [ '4.0', '3.8', '3.7', '3.6', '3.5', '3.4', '3.3', '3.2', '3.1', '3.0', '2.13', '2.12', '2.11', '2.10', '2.9', '2.8', '2.7', '2.6', '2.5', '2.4', '2.3', '2.2', '2.1', '2.0', '1.1', '1.0' ] | ||
en/ecctl/: [ '1.14+', '1.13', '1.12', '1.11', '1.10', '1.9', '1.8', '1.7', '1.6', '1.5', '1.4', '1.3', '1.2', '1.1', '1.0' ] | ||
en/ecs-logging/: [] | ||
en/ecs-logging/dotnet/: [ '8.18.1' ] | ||
en/ecs-logging/go-logrus/: [ '1.0.0' ] | ||
en/ecs-logging/go-zap/: [ '1.0.3' ] | ||
en/ecs-logging/go-zerolog/: [ '0.2.0' ] | ||
en/ecs-logging/java/: [ '1.7.0', '0.x' ] | ||
en/ecs-logging/nodejs/: [ '1.5.3' ] | ||
en/ecs-logging/overview/: [] | ||
en/ecs-logging/php/: [ '2.0.0' ] | ||
en/ecs-logging/python/: [ '2.2.0' ] | ||
en/ecs-logging/ruby/: ['1.0.0'] | ||
en/ecs/: [ '9.0+', '8.18', '8.17', '8.16', '8.15', '8.14', '8.13', '8.12', '8.11', '8.10', '8.9', '8.8', '8.7', '8.6', '8.5', '8.4', '8.3', '8.2', '8.1', '8.0', '1.12', '1.11', '1.10', '1.9', '1.8', '1.7', '1.6', '1.5', '1.4', '1.3', '1.2', '1.1', '1.0' ] | ||
en/elastic-stack-glossary/: [] | ||
en/elastic-stack/: *stack | ||
en/elasticsearch/client/curator/: [ '8.0.21', '7.0', '6.0', '5.8', '5.7', '5.6', '5.5', '5.4', '5.3', '5.2', '5.1', '5.0', '4.3', '4.2', '4.1', '4.0', '3.5', '3.4', '3.3' ] | ||
en/elasticsearch/client/eland/: [ '9.0.1' ] | ||
en/elasticsearch/client/go-api/: *stack | ||
en/elasticsearch/client/java-api-client/: *stack | ||
en/elasticsearch/client/javascript-api/: *stack | ||
en/elasticsearch/client/net-api/: *stack | ||
en/elasticsearch/client/php-api/: *stack | ||
en/elasticsearch/client/python-api/: *stack | ||
en/elasticsearch/client/ruby-api/: *stack | ||
en/elasticsearch/client/rust-api/: *stack | ||
en/elasticsearch/hadoop/: *stack | ||
en/elasticsearch/painless/: *stack | ||
en/elasticsearch/plugins/: *stack | ||
en/elasticsearch/reference/: *stack | ||
en/esf/: ['1.20.1'] | ||
en/fleet/: *stack | ||
en/ingest-overview/: [] | ||
en/ingest/: *stack | ||
en/integrations-developer/: [] | ||
en/integrations/: [] | ||
en/kibana/: *stack | ||
en/logstash-versioned-plugins/: [] | ||
en/logstash/: *stack | ||
en/machine-learning/: *stack | ||
en/observability/: *stack | ||
en/reference-architectures/: [] | ||
en/search-ui/: ['1.24.0'] | ||
en/security/: *stack | ||
en/serverless/: [] | ||
en/starting-with-the-elasticsearch-platform-and-its-solutions/: *stack | ||
en/apm/agent/android/: | ||
product: apm-agent-android | ||
legacy_versions: [ '0.x' ] | ||
en/apm/agent/dotnet/: | ||
product: apm-agent-dotnet | ||
legacy_versions: [ '1.33.0' ] | ||
cotti marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
en/apm/agent/go/: | ||
product: apm-agent-go | ||
legacy_versions: [ '1.x', '0.5' ] | ||
en/apm/agent/java/: | ||
product: apm-agent-java | ||
legacy_versions: [ '1.54.0', '0.7', '0.6'] | ||
cotti marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
en/apm/agent/nodejs/: | ||
product: apm-agent-node | ||
legacy_versions: [ '4.x', '3.x', '2.x', '1.x' ] | ||
cotti marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
en/apm/agent/php/: | ||
product: apm-agent-php | ||
legacy_versions: [ '1.x' ] | ||
cotti marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
en/apm/agent/python/: | ||
product: apm-agent-python | ||
legacy_versions: [ '5.x', '4.x', '3.x', '2.x', '1.x' ] | ||
en/apm/agent/ruby/: | ||
product: apm-agent-ruby | ||
legacy_versions: [ '3.x', '2.x', '1.x' ] | ||
en/apm/agent/rum-js/: | ||
product: apm-agent-rum-js | ||
legacy_versions: [ '4.x', '3.x', '2.x', '1.x', '0.x' ] | ||
en/apm/agent/swift/: | ||
product: apm-agent-ios | ||
legacy_versions: [ '1.2.1', '0.x' ] | ||
cotti marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
en/apm/attacher/: | ||
product: apm-k8s-attacher | ||
legacy_versions: [] | ||
en/apm/lambda/: | ||
product: apm-aws-lambda | ||
legacy_versions: [] | ||
en/beats/auditbeat/: | ||
product: auditbeat | ||
legacy_versions: *stack | ||
en/beats/devguide/: | ||
product: beats | ||
legacy_versions: *stack | ||
en/beats/filebeat/: | ||
product: filebeat | ||
legacy_versions: *stack | ||
en/beats/functionbeat/: | ||
product: beats | ||
legacy_versions: *stack | ||
en/beats/heartbeat/: | ||
product: heartbeat | ||
legacy_versions: *stack | ||
en/beats/journalbeat/: | ||
product: beats | ||
legacy_versions: *stack | ||
en/beats/libbeat/: | ||
product: beats | ||
legacy_versions: *stack | ||
en/beats/loggingplugin/: | ||
product: beats | ||
legacy_versions: *stack | ||
en/beats/metricbeat/: | ||
product: metricbeat | ||
legacy_versions: *stack | ||
en/beats/packetbeat/: | ||
product: packetbeat | ||
legacy_versions: *stack | ||
en/beats/topbeat/: | ||
product: beats | ||
legacy_versions: *stack | ||
en/beats/winlogbeat/: | ||
product: winlogbeat | ||
legacy_versions: *stack | ||
en/cloud-heroku/: | ||
product: cloud-hosted | ||
legacy_versions: [] | ||
en/cloud-on-k8s/: | ||
product: cloud-kubernetes | ||
legacy_versions: [ '2.16', '2.15', '2.14', '2.13', '2.12', '2.11', '2.10', '2.9', '2.8', '2.7', '2.6', '2.5', '2.4', '2.3', '2.2', '2.1', '2.0', '1.9', '1.8', '1.7', '1.6', '1.5', '1.4', '1.3', '1.2', '1.1', '1.0' ] | ||
en/cloud/: | ||
product: cloud-hosted | ||
legacy_versions: [] | ||
en/cloud-enterprise/: | ||
product: cloud-enterprise | ||
legacy_versions: [ '3.8', '3.7', '3.6', '3.5', '3.4', '3.3', '3.2', '3.1', '3.0', '2.13', '2.12', '2.11', '2.10', '2.9', '2.8', '2.7', '2.6', '2.5', '2.4', '2.3', '2.2', '2.1', '2.0', '1.1', '1.0' ] | ||
en/ecctl/: | ||
product: cloud-control-ecctl | ||
legacy_versions: [ '1.13', '1.12', '1.11', '1.10', '1.9', '1.8', '1.7', '1.6', '1.5', '1.4', '1.3', '1.2', '1.1', '1.0' ] | ||
en/ecs-logging/: | ||
product: ecs-logging | ||
legacy_versions: [] | ||
en/ecs-logging/dotnet/: | ||
product: ecs-dotnet | ||
legacy_versions: [] | ||
en/ecs-logging/go-logrus/: | ||
product: ecs-logging-go-logrus | ||
legacy_versions: [] | ||
en/ecs-logging/go-zap/: | ||
product: ecs-logging-go-zap | ||
legacy_versions: [] | ||
en/ecs-logging/go-zerolog/: | ||
product: ecs-logging-go-zerolog | ||
legacy_versions: [] | ||
en/ecs-logging/java/: | ||
product: ecs-logging-java | ||
legacy_versions: ['0.x'] | ||
en/ecs-logging/nodejs/: | ||
product: ecs-logging-nodejs | ||
legacy_versions: [] | ||
en/ecs-logging/overview/: | ||
product: ecs-logging | ||
legacy_versions: [] | ||
en/ecs-logging/php/: | ||
product: ecs-logging-php | ||
legacy_versions: [] | ||
en/ecs-logging/python/: | ||
product: ecs-logging-python | ||
legacy_versions: [ '2.2.0' ] | ||
cotti marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
en/ecs-logging/ruby/: | ||
product: ecs-logging-ruby | ||
legacy_versions: [] | ||
en/ecs/: | ||
product: ecs | ||
legacy_versions: [ '8.18', '8.17', '8.16', '8.15', '8.14', '8.13', '8.12', '8.11', '8.10', '8.9', '8.8', '8.7', '8.6', '8.5', '8.4', '8.3', '8.2', '8.1', '8.0', '1.12', '1.11', '1.10', '1.9', '1.8', '1.7', '1.6', '1.5', '1.4', '1.3', '1.2', '1.1', '1.0' ] | ||
en/elastic-stack-glossary/: | ||
product: elastic-stack | ||
legacy_versions: [] | ||
en/elastic-stack/: | ||
product: elastic-stack | ||
legacy_versions: *stack | ||
en/elasticsearch/client/curator/: | ||
product: curator | ||
legacy_versions: [ '7.0', '6.0', '5.8', '5.7', '5.6', '5.5', '5.4', '5.3', '5.2', '5.1', '5.0', '4.3', '4.2', '4.1', '4.0', '3.5', '3.4', '3.3' ] | ||
en/elasticsearch/client/eland/: | ||
product: eland | ||
legacy_versions: [] | ||
en/elasticsearch/client/go-api/: | ||
product: elasticsearch | ||
legacy_versions: *stack | ||
en/elasticsearch/client/java-api-client/: | ||
product: elasticsearch | ||
legacy_versions: *stack | ||
en/elasticsearch/client/javascript-api/: | ||
product: elasticsearch | ||
legacy_versions: *stack | ||
en/elasticsearch/client/net-api/: | ||
product: elasticsearch | ||
legacy_versions: *stack | ||
en/elasticsearch/client/php-api/: | ||
product: elasticsearch | ||
legacy_versions: *stack | ||
en/elasticsearch/client/python-api/: | ||
product: elasticsearch | ||
legacy_versions: *stack | ||
en/elasticsearch/client/ruby-api/: | ||
product: elasticsearch | ||
legacy_versions: *stack | ||
en/elasticsearch/client/rust-api/: | ||
product: elasticsearch | ||
legacy_versions: *stack | ||
en/elasticsearch/hadoop/: | ||
product: elasticsearch | ||
legacy_versions: *stack | ||
en/elasticsearch/painless/: | ||
product: elasticsearch | ||
legacy_versions: *stack | ||
en/elasticsearch/plugins/: | ||
product: elasticsearch | ||
legacy_versions: *stack | ||
en/elasticsearch/reference/: | ||
product: elasticsearch | ||
legacy_versions: *stack | ||
en/esf/: | ||
product: elastic-serverless-forwarder | ||
legacy_versions: [] | ||
en/fleet/: | ||
product: elastic-agent | ||
legacy_versions: *stack | ||
en/ingest-overview/: | ||
product: elastic-stack | ||
legacy_versions: [] | ||
en/ingest/: | ||
product: elastic-stack | ||
legacy_versions: *stack | ||
en/integrations-developer/: | ||
product: integrations | ||
legacy_versions: [] | ||
en/integrations/: | ||
product: integrations | ||
legacy_versions: [] | ||
en/kibana/: | ||
product: kibana | ||
legacy_versions: *stack | ||
en/logstash-versioned-plugins/: | ||
product: logstash | ||
legacy_versions: [] | ||
en/logstash/: | ||
product: logstash | ||
legacy_versions: *stack | ||
en/machine-learning/: | ||
product: elasticsearch | ||
cotti marked this conversation as resolved.
Show resolved
Hide resolved
|
||
legacy_versions: *stack | ||
en/observability/: | ||
product: observability | ||
legacy_versions: *stack | ||
en/reference-architectures/: | ||
product: elasticsearch | ||
legacy_versions: [] | ||
en/search-ui/: | ||
product: search-ui | ||
legacy_versions: ['1.24.1', '1.24.0'] | ||
cotti marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
en/security/: | ||
product: security | ||
legacy_versions: *stack | ||
en/serverless/: | ||
product: cloud-serverless | ||
legacy_versions: [] | ||
en/starting-with-the-elasticsearch-platform-and-its-solutions/: | ||
product: elastic-stack | ||
legacy_versions: *stack |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.