-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
validation: Add config validation mode. (#499) #863
Commits on Apr 28, 2017
-
async client: send headers and data in initialize(), not ctor
Reuven Lazarus committedApr 28, 2017 Configuration menu - View commit details
-
Copy full SHA for 51eba6e - Browse repository at this point
Copy the full SHA 51eba6eView commit details -
upstream: Move the ClusterManagerFactory into the Server::Instance, a…
…nd add a factory method to it for the ClusterManager. This is preparatory to adding a ValidationClusterManagerFactory, which creates ValidationClusterManagers.
Reuven Lazarus committedApr 28, 2017 Configuration menu - View commit details
-
Copy full SHA for 2b80353 - Browse repository at this point
Copy the full SHA 2b80353View commit details -
validation: Add config validation mode. (envoyproxy#499)
This adds a --mode command-line flag. "--mode=serve" is the default and can be omitted; in that mode Envoy runs as it always has. With "--mode=validate" Envoy checks that the configuration file in --config-file is valid, then exits. "Valid" means that it performs the JSON schema check as usual, but also initializes as much of its internal state as possible, exiting with any errors as it would under "--mode=serve". When initialization is complete, instead of listening for traffic, Envoy prints an "OK" message to stderr and exits, returning success. In validation mode, to the extent possible, Envoy avoids interfering with its environment. For example, the hot-restart process is skipped, so validation can safely be run on the same machine as a serving Envoy. Validation mode also doesn't send any upstream traffic or open any listeners. It *does* attempt to read any files referenced in the config, like certs and private keys, so validation will fail if those files aren't located at the expected paths. A future "lite validation" mode, that mocks out the filesystem as well as the network, is not yet implemented as of this patch.
Reuven Lazarus committedApr 28, 2017 Configuration menu - View commit details
-
Copy full SHA for 10bf44f - Browse repository at this point
Copy the full SHA 10bf44fView commit details -
Reuven Lazarus committed
Apr 28, 2017 Configuration menu - View commit details
-
Copy full SHA for 3e5a64c - Browse repository at this point
Copy the full SHA 3e5a64cView commit details
Commits on May 1, 2017
-
Reuven Lazarus committed
May 1, 2017 Configuration menu - View commit details
-
Copy full SHA for 235be89 - Browse repository at this point
Copy the full SHA 235be89View commit details -
tools/check_format.py fix (sigh)
Reuven Lazarus committedMay 1, 2017 Configuration menu - View commit details
-
Copy full SHA for 44e5b53 - Browse repository at this point
Copy the full SHA 44e5b53View commit details
Commits on May 8, 2017
-
Reuven Lazarus committed
May 8, 2017 Configuration menu - View commit details
-
Copy full SHA for 6ecdca9 - Browse repository at this point
Copy the full SHA 6ecdca9View commit details -
Reuven Lazarus committed
May 8, 2017 Configuration menu - View commit details
-
Copy full SHA for 9fda0da - Browse repository at this point
Copy the full SHA 9fda0daView commit details -
use NOT_IMPLEMENTED instead of EnvoyException()
Reuven Lazarus committedMay 8, 2017 Configuration menu - View commit details
-
Copy full SHA for b45e4ae - Browse repository at this point
Copy the full SHA b45e4aeView commit details
Commits on May 16, 2017
-
Merge remote-tracking branch 'upstream/master' into validate
Reuven Lazarus committedMay 16, 2017 Configuration menu - View commit details
-
Copy full SHA for d351abc - Browse repository at this point
Copy the full SHA d351abcView commit details -
Envoy namespaces to match upstream
Reuven Lazarus committedMay 16, 2017 Configuration menu - View commit details
-
Copy full SHA for 8555de0 - Browse repository at this point
Copy the full SHA 8555de0View commit details -
Remove the list<WorkerPtr> from ValidationInstance.
Reuven Lazarus committedMay 16, 2017 Configuration menu - View commit details
-
Copy full SHA for 41e3e62 - Browse repository at this point
Copy the full SHA 41e3e62View commit details -
Replace one more EnvoyException that I missed earlier
Reuven Lazarus committedMay 16, 2017 Configuration menu - View commit details
-
Copy full SHA for 7732881 - Browse repository at this point
Copy the full SHA 7732881View commit details -
Include some BUILD updates that got missed in the merge
Reuven Lazarus committedMay 16, 2017 Configuration menu - View commit details
-
Copy full SHA for a3af91c - Browse repository at this point
Copy the full SHA a3af91cView commit details -
Replace the ValidationInstance's StoreRoot with an IsolatedStoreImpl.
Reuven Lazarus committedMay 16, 2017 Configuration menu - View commit details
-
Copy full SHA for d4770dc - Browse repository at this point
Copy the full SHA d4770dcView commit details
Commits on May 19, 2017
-
Reuven Lazarus committed
May 19, 2017 Configuration menu - View commit details
-
Copy full SHA for 9948580 - Browse repository at this point
Copy the full SHA 9948580View commit details -
Merge remote-tracking branch 'upstream/master' into validate
Reuven Lazarus committedMay 19, 2017 Configuration menu - View commit details
-
Copy full SHA for 20a021b - Browse repository at this point
Copy the full SHA 20a021bView commit details
Commits on May 22, 2017
-
Reuven Lazarus committed
May 22, 2017 Configuration menu - View commit details
-
Copy full SHA for 10a4556 - Browse repository at this point
Copy the full SHA 10a4556View commit details -
Add tests for ValidationAsyncClient and ValidationClusterManager.
These don't do anything except test that the mocked out methods are mocked out. They're purely to keep coverage from dropping.
Reuven Lazarus committedMay 22, 2017 Configuration menu - View commit details
-
Copy full SHA for 47670a2 - Browse repository at this point
Copy the full SHA 47670a2View commit details -
Move validateConfig() out of main.cc for testability.
Reuven Lazarus committedMay 22, 2017 Configuration menu - View commit details
-
Copy full SHA for f82eea8 - Browse repository at this point
Copy the full SHA f82eea8View commit details -
Test ValidationConnectionHandler too
Reuven Lazarus committedMay 22, 2017 Configuration menu - View commit details
-
Copy full SHA for 93d6069 - Browse repository at this point
Copy the full SHA 93d6069View commit details -
Reuven Lazarus committed
May 22, 2017 Configuration menu - View commit details
-
Copy full SHA for 569265b - Browse repository at this point
Copy the full SHA 569265bView commit details
Commits on May 24, 2017
-
Reuven Lazarus committed
May 24, 2017 Configuration menu - View commit details
-
Copy full SHA for aecac42 - Browse repository at this point
Copy the full SHA aecac42View commit details -
Refactor ConfigurationImplTest to dedupe the setup noise.
Reuven Lazarus committedMay 24, 2017 Configuration menu - View commit details
-
Copy full SHA for 1a7d6c7 - Browse repository at this point
Copy the full SHA 1a7d6c7View commit details -
Reuven Lazarus committed
May 24, 2017 Configuration menu - View commit details
-
Copy full SHA for 9aa303b - Browse repository at this point
Copy the full SHA 9aa303bView commit details -
Reuven Lazarus committed
May 24, 2017 Configuration menu - View commit details
-
Copy full SHA for 8499fb1 - Browse repository at this point
Copy the full SHA 8499fb1View commit details -
Merge remote-tracking branch 'upstream/master' into validate
Reuven Lazarus committedMay 24, 2017 Configuration menu - View commit details
-
Copy full SHA for 1e4ed13 - Browse repository at this point
Copy the full SHA 1e4ed13View commit details
Commits on May 25, 2017
-
Add death tests for NOT_IMPLEMENTED methods.
Reuven Lazarus committedMay 25, 2017 1Configuration menu - View commit details
-
Copy full SHA for 18fb3c2 - Browse repository at this point
Copy the full SHA 18fb3c2View commit details
Commits on May 26, 2017
-
exclude config_validation/ from coverage metrics, since it has so man…
…y NOT_IMPLEMENTED lines that coverage doesn't count
Reuven Lazarus committedMay 26, 2017 Configuration menu - View commit details
-
Copy full SHA for f7ab514 - Browse repository at this point
Copy the full SHA f7ab514View commit details -
Revert "Add death tests for NOT_IMPLEMENTED methods."
This reverts commit 18fb3c2. The tests were only added for the coverage metric, and they don't increase the coverage metric.
Reuven Lazarus committedMay 26, 2017 Configuration menu - View commit details
-
Copy full SHA for 1fdbb46 - Browse repository at this point
Copy the full SHA 1fdbb46View commit details -
Merge branch 'master' of https://github.com/lyft/envoy into validate
Reuven Lazarus committedMay 26, 2017 Configuration menu - View commit details
-
Copy full SHA for f0918d2 - Browse repository at this point
Copy the full SHA f0918d2View commit details -
catch up with upstream api change
Reuven Lazarus committedMay 26, 2017 Configuration menu - View commit details
-
Copy full SHA for 1a99564 - Browse repository at this point
Copy the full SHA 1a99564View commit details -
Reuven Lazarus committed
May 26, 2017 Configuration menu - View commit details
-
Copy full SHA for c95e78c - Browse repository at this point
Copy the full SHA c95e78cView commit details