-
Notifications
You must be signed in to change notification settings - Fork 89
Cli change for file based request source #563
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
dubious90
merged 187 commits into
envoyproxy:master
from
wjuan-AFK:CLIChangeForFileBasedRequestSource
Nov 5, 2020
Merged
Changes from all commits
Commits
Show all changes
187 commits
Select commit
Hold shift + click to select a range
99f45d1
Adding a multiple path test to confirm that expected paths are hit
wjuan-AFK 075a4cf
fixing asan problems
wjuan-AFK ecbf407
Fix Format
wjuan-AFK 8fb11b6
Removeing unused comments
wjuan-AFK 032dbba
Removing unnecessary invoke calls for cleanliness
wjuan-AFK 953e953
Merge branch 'master' into RequestSourceUnitTestBenchmarkMultiplePath
wjuan-AFK 6185edb
Refactoring test to take in request generator parameter instead of using
wjuan-AFK cded6ad
Changing to pass by reference.
wjuan-AFK fbfe523
Merge branch 'master' into RequestSourceUnitTestBenchmarkMultiplePath
wjuan-AFK 0d70179
Merge branch 'master' into RequestSourceUnitTestBenchmarkMultiplePath
wjuan-AFK cdb7efe
Refactoring per comments in PR. Moving helpers, renaming functions.
wjuan-AFK f15bb47
Adding comments and renaming testbasicfunctionality for clarity
wjuan-AFK 59359a2
Consistent unit test naming convention using should. Clarifying comments
wjuan-AFK f63df91
Fix format
wjuan-AFK 406bd6b
Adding a clarifying comment for helper function.
wjuan-AFK f0b697b
Fixing typo and other nits
wjuan-AFK 8425e48
Renaming testBenchmarkClient for clarity
wjuan-AFK fb4f372
Replacing Flat hash map with flat hash set for simplicity.
wjuan-AFK c6eae6c
Comment clarification.
wjuan-AFK 96ae38b
Small refactor for factory method for more dependency injection.
wjuan-AFK b17240f
Fix format.
wjuan-AFK 5c5a146
Refactor to inject the requestsourceconstructor.
wjuan-AFK 29591ff
Moving helper functions.
wjuan-AFK 7d928a9
Merge branch 'RequestSourceUnitTestBenchmarkMultiplePath' into Adding…
wjuan-AFK ff82d95
Fix format.
wjuan-AFK 98381a4
Adding test using the new mock requestsourceconstructor to get remote
wjuan-AFK 83ac556
Fix format.
wjuan-AFK 38c5084
Adding missing request source constructor files.
wjuan-AFK fa4e285
Changing helper functions to anonymous namespace.
wjuan-AFK 8551c76
Changing to use a nullable pointer instead of reference for clarity.
wjuan-AFK 437de5e
Formatting fixes per PR.
wjuan-AFK 6cef87e
Fix format.
wjuan-AFK c84ba4d
Merge branch 'master' into RequestSourceUnitTestBenchmarkMultiplePath
wjuan-AFK 77d33f9
Fix format after merge.
wjuan-AFK 73aa686
Testing a theory.
wjuan-AFK ef77d65
Fix format.
wjuan-AFK b9182a0
Merge branch 'RequestSourceUnitTestBenchmarkMultiplePath' into Adding…
wjuan-AFK e38dd80
Merge branch 'master' into RequestSourceUnitTestBenchmarkMultiplePath
wjuan-AFK 21734e4
Merge branch 'RequestSourceUnitTestBenchmarkMultiplePath' into Adding…
wjuan-AFK 7cda9d2
Merge branch 'master' into AddingTestForRequestSourceFactory
wjuan-AFK f827aca
Adding initial protos and stubs.
wjuan-AFK d194736
Adding impl for Dummy request source plugin.
wjuan-AFK 7820cf9
Adding test for request source factory creation.
wjuan-AFK bee7805
Adding some more protos.
wjuan-AFK 3db68ce
Merge branch 'master' into AddingTestForRequestSourceFactory
wjuan-AFK c0ec4dd
Merge branch 'AddingTestForRequestSourceFactory' into AddingConfigFac…
wjuan-AFK a1dd3f2
Fixing mockrequestsourcefactory impacted by the refactor.
wjuan-AFK 0b25261
Adding more factories to the impl.h
wjuan-AFK c3fa23c
Fixing clang tidy.
wjuan-AFK 547977e
Updating the impl.cc with a stub for the new factories.
wjuan-AFK c300203
Adding test for file based request source plugin
wjuan-AFK 8f4d4d9
Adding test yaml file.
wjuan-AFK 5ae2d51
Merge branch 'AddingTestForRequestSourceFactory' into AddingConfigFac…
wjuan-AFK fe74b6d
First try getting requests working.
wjuan-AFK 6d87aea
Switching to using multiple requestOptions instead of one.
wjuan-AFK ca7a0c2
Removing unused comments.
wjuan-AFK 967e3f8
Adding api dependency injection.
wjuan-AFK 14b7d79
Getting the multiple paths parsing into the test.
wjuan-AFK c4985bb
Comment clean up and using loadfromfile instead of reading the file and
wjuan-AFK 922639a
Switching to using iterators in a vector instead of a smart pointer.
wjuan-AFK 81dfece
Removing unused comments.
wjuan-AFK bf08661
Small cleanup.
wjuan-AFK 34900c5
Merge branch 'master' into AddingTestForRequestSourceFactory
wjuan-AFK 768fa81
Merge branch 'AddingTestForRequestSourceFactory' into AddingConfigFac…
wjuan-AFK e93bb58
Reverting changes to RequestSourceConstructor.
wjuan-AFK f47cbd4
Removing RPCRequestSourcePlugin
wjuan-AFK 7c5c6b2
Fix format.
wjuan-AFK 1b02cec
Fix format.
wjuan-AFK 4d75602
Fixing clang problems.
wjuan-AFK c74f535
Fixing clang.
wjuan-AFK 9949fb8
Fix format.
wjuan-AFK fcf10d3
Fixing clang tidy.
wjuan-AFK fd9744d
Fix Format
wjuan-AFK 68c1037
Rename requestOptionses to requestOptionsList.
wjuan-AFK 883ee30
Renaming proto.
wjuan-AFK 8c34b25
Updating to take a number of requests.
wjuan-AFK 6ce7e74
Clean up tests.
wjuan-AFK 92927e5
Changing visibility of RequestSourcePlugin's inheritance.
wjuan-AFK a62f2d5
Switching to using lock_guard.
wjuan-AFK 16f89c6
Clean up.
wjuan-AFK f4257e3
Fix Format.
wjuan-AFK d075588
Addressing comments on PR. Cleaning up formatting.
wjuan-AFK eb10a3b
Getting rid of RequestSourcePluginPtr, and adding comments.
wjuan-AFK cdbd6bf
Removing unnecessary RequestSourcePlugin interface for improved testa…
wjuan-AFK 17acc5f
Fix format
wjuan-AFK 55a0e62
Cleanup unintentional whitespace.
wjuan-AFK fa23aad
Swapping to exception instead of Release_assert.
wjuan-AFK b8e2447
Renaming the request_source_plugin to request_source_plugin_config_fa…
wjuan-AFK 248f439
Using a context struct for extensability.
wjuan-AFK 91703b5
Spacing and comments.
wjuan-AFK bbc0c2a
Fix format.
wjuan-AFK 517c83d
Adding test for multiple request sources thread lock.
wjuan-AFK c1d0428
Additional comment
wjuan-AFK bc86c09
Getting rid of context object because the Register Factory mechanism …
wjuan-AFK 33e3564
Adding option to circumvent file reading.
wjuan-AFK 338a874
Merge branch 'master' into AddingConfigFactory
wjuan-AFK 402ada2
Fix format.
wjuan-AFK 017481f
Getting rid of default constructors.
wjuan-AFK 3ed43fc
Renames for clarity.
wjuan-AFK 247b71b
Fix format.
wjuan-AFK 718e4cd
Adding initial CLI code for requestSourceplugin.
wjuan-AFK 50c0c07
Fixing build.
wjuan-AFK 171fb2e
Splitting factory off into a separate pr.
wjuan-AFK 5df83ed
Proto cleanup/rename
wjuan-AFK 0af3ffd
Comment cleanup.
wjuan-AFK ff90e59
Proto comments and dummy -> stub clean up.
wjuan-AFK e57c05f
Cleaning up comments
wjuan-AFK 55244b0
Updating class comments.
wjuan-AFK 3d0b1a2
Merge pull request #3 from wjuan-AFK/AddingConfigFactory
wjuan-AFK c710d37
Refactor to move RequestSourcePlugins to a top level RequestSource fo…
wjuan-AFK fbb2fdc
Refactor plugins into separate files.
wjuan-AFK ae0f4a8
Fix format.
wjuan-AFK e092de0
Merge branch 'master' into AddingConfigFactory
wjuan-AFK 1b87b71
Merge branch 'AddingConfigFactory' into CLIChangeForFileBasedRequestS…
wjuan-AFK 6a72987
Merge branch 'CLIChangeForFileBasedRequestSource' of github.com:wjuan…
wjuan-AFK a080eec
Clean up after refactor moving plugins.
wjuan-AFK 19b7aa0
Adding gmock and gtest to check_format so it stops complaining at me.
wjuan-AFK dae3098
Updating to prefix increment, and removing auto.
wjuan-AFK a4b6fb1
Removing gmock and gtest from script to avoid conflict. Add Request_s…
wjuan-AFK 55f685e
Fixing clang-tidy
wjuan-AFK 59c5b94
Using the test value in the stub for better testing.
wjuan-AFK 2ea0c5e
Getting rid of auto. And updating stubplugintest.
wjuan-AFK d40a073
Further renaming.
wjuan-AFK 7146079
Refactor to move plugins into their own libraries and separate files.
wjuan-AFK 7ab1132
Moving request_source_plugin_config_factory into its own folder.
wjuan-AFK 72c23d0
Refactor to make it testonly.
wjuan-AFK 2b1170c
Using references instead of making a copy of the option list.
wjuan-AFK 9dc3c4b
Passing in a reference to api instead of apiptr.
wjuan-AFK b555a71
Renaming request_max to total_requests
wjuan-AFK 3924eee
Updating comments and removing explicit.
wjuan-AFK 75eca07
Fix format.
wjuan-AFK 9c93ff9
Merge branch 'master' into AddingConfigFactory
wjuan-AFK 0040b33
Merge branch 'AddingConfigFactory' into CLIChangeForFileBasedRequestS…
wjuan-AFK e2af886
Clean up.
wjuan-AFK edae9be
Rename FilebasedConfigFactory to OptionListFromFileFactory
wjuan-AFK 949d731
Improving Comments.
wjuan-AFK 59d490f
Fix format.
wjuan-AFK 078329a
More comment cleanup.
wjuan-AFK 63e5d2b
Merge branch 'AddingConfigFactory' into CLIChangeForFileBasedRequestS…
wjuan-AFK 530cc9c
Adding proto request source factory.
wjuan-AFK 22cc3f8
Merge branch 'master' into AddingProtoOnlyFactory
wjuan-AFK 32489d0
Fix format.
wjuan-AFK 324bb23
Fixing Clang tidy.
wjuan-AFK 5d6bb26
Clarifying proto comments.
wjuan-AFK 32ae13d
Rename, using optional, and moving functions in test.
wjuan-AFK 12708ac
Need to stop forggetting to add blank lines or update the fix format …
wjuan-AFK eff2f4e
Replacing request with request1
wjuan-AFK b890df4
Renaming tests for clarity
wjuan-AFK a907913
Adding assertions for safety.
wjuan-AFK 49a47a4
Clarifying comments on parameters
wjuan-AFK b711028
Fix format.
wjuan-AFK 8a2d792
Renames based on feedback, and swapping to using uint32 instead of ui…
wjuan-AFK 22b93aa
Fix format.
wjuan-AFK 7b9c175
Cleaning up comments per feedback.
wjuan-AFK bab49fc
Clarifying comments.
wjuan-AFK 7184695
Adding test for CLI changes.
wjuan-AFK fc7eda6
Removing implementation detail from comment.
wjuan-AFK 49e6eec
Fix Format.
wjuan-AFK 43de3d8
Merge branch 'master' into AddingProtoOnlyFactory
wjuan-AFK fef08dd
Merge branch 'AddingProtoOnlyFactory' into CLIChangeForFileBasedReque…
wjuan-AFK 264355c
Fixing merge.
wjuan-AFK fa4d4c9
Adding inlineoptionslist test.
wjuan-AFK 546449a
Formatting.
wjuan-AFK 1a28a30
Cleaning up.
wjuan-AFK fa2adc5
Fix format.
wjuan-AFK 01959ea
Additional cleanup.
wjuan-AFK 6696b5e
Merge branch 'master' into CLIChangeForFileBasedRequestSource
wjuan-AFK 6168223
Fixing build.
wjuan-AFK 3043405
Fix format.
wjuan-AFK 309f75b
Updating ReadMe via updateReadme command.
wjuan-AFK 4a63c18
Lowering threshold for CI integration test coverage so the PR can be …
wjuan-AFK 55a7460
Comment cleanup. Signed-off-by: William Juan <66322422+wjuan-AFK@user…
wjuan-AFK fdb84d2
Enforcing mutual exclusivity.
wjuan-AFK 592345a
Adding decimal point to clarify the precision.
wjuan-AFK e98211f
Adding coverage for initOnThread.
wjuan-AFK 436f952
Adding maxFileSize test, fixing bug.
wjuan-AFK fee4328
fix format.
wjuan-AFK c37cde2
Adding bad json test.
wjuan-AFK 8e56850
Adding TODO.
wjuan-AFK ac18ebb
Clarifying comments.
wjuan-AFK 66cd5ed
Replacing string comparison with empty check per style.
wjuan-AFK fc254f0
Switching to parametrized test.
wjuan-AFK 9a409dd
Small cleanup for stylistic reasons.
wjuan-AFK 314f924
Comment clean up.
wjuan-AFK 587cf3c
Adding back additional comparison to avoid edge cases missed.
wjuan-AFK 8401dd5
Fix format
wjuan-AFK 8ee66df
Formatting and commenting changes for cl feedback. Using raw string.
wjuan-AFK 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
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.