generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 651
CAT API automation (Part II) #9060
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
Changes from 13 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
f95be66
Add CAT API automation
Naarcha-AWS ba94920
Add CAT API reference
Naarcha-AWS 7a45d1d
Update cat-pit-segments.md
Naarcha-AWS 2e56e27
Fix mustache template
Naarcha-AWS 5314b42
Fix table spacing
Naarcha-AWS e6d2233
Updated expected output
Naarcha-AWS d0b2fa0
Revert back to type
Naarcha-AWS cbdd6c1
Fix pretty test expected result
Naarcha-AWS f91bbe7
Merge branch 'main' into cat-api-automation
Naarcha-AWS a4358fb
Merge branch 'main' into cat-api-automation
Naarcha-AWS 1aea840
Add updated tables.
Naarcha-AWS e27ec68
Add CAT API automation with updated spec-insert
Naarcha-AWS 9f7b951
Merge branch 'main' into cat-api-automation
Naarcha-AWS bb750d3
Merge branch 'main' into cat-api-automation
Naarcha-AWS e4884bc
Merge branch 'main' into cat-api-automation
Naarcha-AWS 62ef5e4
Add updated CAT API tables
Naarcha-AWS 03a800d
See if an extra space will fix the table.
Naarcha-AWS e0f4666
Update mustache template to add spaces
Naarcha-AWS 658063c
Mustache template update
Naarcha-AWS db7760d
Update expected output.
Naarcha-AWS 4035f06
Add lines to renderer.
Naarcha-AWS d27cd84
Add new lines
Naarcha-AWS ac5421a
Try another way
Naarcha-AWS 8dcf38a
Fix mustache spec
Naarcha-AWS daec3e4
Add line breaks correctly.
Naarcha-AWS e1fc7db
Update endpoint expected output.
Naarcha-AWS 7fc3b0e
Fix renderer spacing. Fix tests.
Naarcha-AWS 8da5e7a
Fix expected output.
Naarcha-AWS 2ff38f1
Fix table
Naarcha-AWS 5159c33
Update expected results
Naarcha-AWS 6eabb6a
Fix output, again.
Naarcha-AWS 92bd3d6
Add another test
Naarcha-AWS d6de5f9
Theoretically the correct spacing.
Naarcha-AWS cb3c4da
Merge branch 'main' into cat-api-automation
Naarcha-AWS 6437c1d
Add Theo's suggestions
Naarcha-AWS 9a848c0
Fix BR tags
Naarcha-AWS bc95b50
Fix expected output.
Naarcha-AWS 80dcf37
Merge branch 'main' into cat-api-automation
Naarcha-AWS 1495f2a
Make wildcard defintion consistent.
Naarcha-AWS 4d96caa
Merge branch 'main' into cat-api-automation
Naarcha-AWS 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
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
The "Default" column is not populated for some rows so the table is not displayed correctly (in all these files).
Also, since the table is automatically generated, could we have consistency in pipe symbols: either no pipe symbols on either end of the row, or pipe symbols on both ends of the row (the latter is more extensible).
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.
It makes sense to add
|'s at the end and the beginning to me. @nhtruong, would that be difficult to change in the workflow?The
prettysetting will add pipes but also add additional spacing. One solution is we could enable that by default, since the tables aren't going to be touched directly anyways.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.
I would just add pipe symbols regardless of
pretty. Also, there should be no empty cells in the table. Where there is no default, we should addN/A. However, it's strange that there was no default automatically provided forexpand_wildcards. Is it missing from the spec?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.
It's not difficult. Are you saying with
pretty: false(the default), the pipes are never present and withpretty: truethey are there? OR are you saying that withpretty: falsethe pipes are there sometimes (this inconsistency would be a bug)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.
Regarding Default values not showing: Are they on the spec but not in the generated tables?
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.
I would go with adding pipes at the ends in any case (for
prettyeithertrueorfalse). This way, all tables are consistent (have pipes at either end at all times).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.
Right now, according to the expected output,
pretty: truedoes include pipes at the end and the beginning.