-
Notifications
You must be signed in to change notification settings - Fork 139
Composable packages: input name qualifiers and stream input refs
#3480
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
teresaromero
merged 37 commits into
elastic:main
from
teresaromero:composable/input-name
May 7, 2026
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
1916c55
Set input name qualifier and stream input ref for composable duplicat…
teresaromero 43e6f1b
Refactor input handling for composable packages to support name quali…
teresaromero 6ddb76f
Update go.mod and go.sum to replace package-spec dependency with pre-…
teresaromero c27b5aa
Merge branch 'main' of github.com:elastic/elastic-package into compos…
teresaromero 734716a
Merge branch 'main' of github.com:elastic/elastic-package into compos…
teresaromero 82e93d0
chore: update go.mod and go.sum to use stable version of package-spec…
teresaromero 4d5029d
chore: add stack version files and update Kibana version in manifests…
teresaromero b6b5e7d
chore: enhance composable package testing script with environment var…
teresaromero 8a9af94
chore: refactor composable package testing script to handle multiple …
teresaromero 1a62bba
Add composable test package for nginx
jsoriano 2a34f0c
Enhance Nginx composable data stream configuration by adding variable…
teresaromero 3a1c690
chore: update Makefile and test-composable-packages.sh for composable…
teresaromero 492bdcb
refactor: remove FindInputByType method from PolicyTemplate
teresaromero 2c95d6d
chore: remove deprecated stack version files and update test-composab…
teresaromero b5abcfd
docs: clarify inputType comments in PackagePolicyInput and BuildInteg…
teresaromero 2b86b9e
chore: add stack version file and update nginx composable data stream…
teresaromero 648e22d
Merge branch 'main' of github.com:elastic/elastic-package into compos…
teresaromero b8f6ccb
Merge branch 'main' of github.com:elastic/elastic-package into compos…
teresaromero e1b1926
fix: always build package policy from built tree to resolve composabl…
teresaromero 86fa6b5
chore: update nginx composable stack version to 9.4.0-SNAPSHOT
teresaromero 22faa60
refactor: introduce ReadBuiltPackageManifest to streamline package ma…
teresaromero 7b6c425
feat: add sample event JSON files for nginx composable access and stu…
teresaromero fe65c91
Merge branch 'main' of github.com:elastic/elastic-package into compos…
teresaromero 40a6d84
chore: update nginx composable manifest and add validation file
teresaromero b1caf22
Merge branch 'main' of github.com:elastic/elastic-package into compos…
teresaromero a226b44
Refactor addPackagePolicy to improve input resolution logic for polic…
teresaromero 5c807ec
Merge branch 'main' of github.com:elastic/elastic-package into compos…
teresaromero 64d7f53
Update test-composable-packages.sh to use Elastic stack version 9.4.0…
teresaromero ccc9dee
Merge branch 'main' of github.com:elastic/elastic-package into compos…
teresaromero f3d6525
Add nginx_composable.stack_version file with version 9.4.0-SNAPSHOT
teresaromero 4a0e8cc
Refactor input handling in package policy to use effective names
teresaromero 1f83a73
Refactor inputPkgInfo structure to remove pkgName field
teresaromero 974de32
Update inputPkgInfo to use effectiveName instead of identifier
teresaromero 65b9c12
Refactor input package metadata handling to use input field
teresaromero b2eff03
Enhance buildStreamInputRefs documentation for clarity and detail
teresaromero ee8d081
Improve error handling for missing stream input references in applyIn…
teresaromero cbe6b1c
Refactor CreatePackagePolicy and buildIntegrationPackagePolicyFromBui…
teresaromero 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
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
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
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
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
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
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.
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.
Q: Should this loop duplicated to first look for input.Name and if it does not find any , then look for input.Type ?
Is it ok to search at the same time for both ?
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.
as defiened on spec https://github.com/elastic/package-spec/blob/61cee23beb811b6c93ddb71caf822914ee30afba/code/go/internal/validator/semantic/validate_integration_input_qualifier.go#L68 the propoerty name is required when inputs share the same type. so i think is safe to make this comparison, so when name is found, its due to the fact that type is the same. when name is not found (empty) then we can trust type