-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Automatic Import] Use datastream description in readme (#203236)…
… (#203516) # Backport This will backport the following commits from `main` to `8.x`: - [[Automatic Import] Use datastream description in readme (#203236)](#203236) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Bharat Pasupula","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-10T06:32:22Z","message":"[Automatic Import] Use datastream description in readme (#203236)\n\n## Release note\r\n\r\nUse provided data stream description in generated README\r\n\r\n## Summary\r\n\r\nCloses [#201294](https://github.com/elastic/kibana/issues/201294)\r\n\r\nThis PR fixes use of `datastream description` that the user entered in\r\nthe input field.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/b093c978-2102-4bdc-824e-d60aa3fd908b)","sha":"d3161abc38f47284e5aaa41590ef89f8b78f28f3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","backport:prev-minor","Team:Security-Scalability","backport:version","Feature:AutomaticImport"],"title":"[Automatic Import] Use datastream description in readme","number":203236,"url":"https://github.com/elastic/kibana/pull/203236","mergeCommit":{"message":"[Automatic Import] Use datastream description in readme (#203236)\n\n## Release note\r\n\r\nUse provided data stream description in generated README\r\n\r\n## Summary\r\n\r\nCloses [#201294](https://github.com/elastic/kibana/issues/201294)\r\n\r\nThis PR fixes use of `datastream description` that the user entered in\r\nthe input field.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/b093c978-2102-4bdc-824e-d60aa3fd908b)","sha":"d3161abc38f47284e5aaa41590ef89f8b78f28f3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203236","number":203236,"mergeCommit":{"message":"[Automatic Import] Use datastream description in readme (#203236)\n\n## Release note\r\n\r\nUse provided data stream description in generated README\r\n\r\n## Summary\r\n\r\nCloses [#201294](https://github.com/elastic/kibana/issues/201294)\r\n\r\nThis PR fixes use of `datastream description` that the user entered in\r\nthe input field.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/b093c978-2102-4bdc-824e-d60aa3fd908b)","sha":"d3161abc38f47284e5aaa41590ef89f8b78f28f3"}}]}] BACKPORT--> Co-authored-by: Bharat Pasupula <[email protected]>
- Loading branch information
1 parent
11b1392
commit 93cda05
Showing
7 changed files
with
65 additions
and
39 deletions.
There are no files selected for viewing
This file contains 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 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 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 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
8 changes: 4 additions & 4 deletions
8
x-pack/plugins/integration_assistant/server/templates/build_readme.md.njk
This file contains 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,8 +1,8 @@ | ||
{% include "./description_readme.njk" %} | ||
{% for data_stream in fields %} | ||
### {{ data_stream.datastream }} | ||
|
||
Insert a description of the datastream here. | ||
{% for datastream in datastreams %} | ||
### {{ datastream.title }} | ||
|
||
{{ datastream.description }}{% endfor %} | ||
{% for data_stream in fields %} | ||
{% raw %}{{fields {% endraw %}"{{ data_stream.datastream }}"{% raw %}}}{% endraw %} | ||
{% endfor %} |
This file contains 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
8 changes: 4 additions & 4 deletions
8
x-pack/plugins/integration_assistant/server/templates/package_readme.md.njk
This file contains 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