Revert inmemoryprov, skip local storage validation

This commit is contained in:
Sam Chow 2018-06-25 15:23:30 -04:00
parent f32bbf1fdc
commit 7619ab44e5
9 changed files with 35 additions and 115 deletions

View file

@ -135,15 +135,15 @@ class ValidatorContext(object):
url_scheme_and_hostname = URLSchemeAndHostname.from_app_config(app.config)
return cls(config,
user_password,
client or app.config['HTTPCLIENT'],
app.app_context,
url_scheme_and_hostname,
app.config.get('JWT_AUTH_MAX_FRESH_S', 300),
app.config['REGISTRY_TITLE'],
ip_resolver,
instance_keys,
app.config.get('FEATURE_SECURITY_SCANNER', False),
app.config.get('TESTING', False),
get_blob_download_uri_getter(app.test_request_context('/'), url_scheme_and_hostname),
config_provider)
user_password=user_password,
http_client=client or app.config['HTTPCLIENT'],
context=app.app_context,
url_scheme_and_hostname=url_scheme_and_hostname,
jwt_auth_max=app.config.get('JWT_AUTH_MAX_FRESH_S', 300),
registry_title=app.config['REGISTRY_TITLE'],
ip_resolver=ip_resolver,
feature_sec_scanner=app.config.get('FEATURE_SECURITY_SCANNER', False),
is_testing=app.config.get('TESTING', False),
uri_creator=get_blob_download_uri_getter(app.test_request_context('/'), url_scheme_and_hostname),
config_provider=config_provider,
instance_keys=instance_keys)