├── .boto ├── .circleci ├── _config_yml_ └── config.yml ├── .dockerignore ├── .gitignore ├── .pyup.yml ├── .travis.yml ├── CHANGES.txt ├── Dockerfile ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── constraints.txt ├── development.ini ├── howToShavarList.md ├── mozsvc ├── __init__.py ├── config.py ├── exceptions.py ├── http_helpers.py ├── metrics.py ├── middlewares.py ├── plugin.py ├── secrets.py ├── storage │ ├── __init__.py │ └── mcclient.py ├── tests │ ├── __init__.py │ ├── support.py │ ├── test_config.py │ ├── test_http_helpers.py │ ├── test_logging.py │ ├── test_metrics.py │ ├── test_plugin.py │ ├── test_secrets.py │ ├── test_tweens.py │ ├── test_user.py │ ├── test_util.py │ ├── test_views.py │ └── tests.ini ├── tweens.py ├── user │ ├── __init__.py │ ├── noncecache.py │ └── permissivenoncecache.py ├── util.py └── views.py ├── production.ini ├── requirements-test.txt ├── requirements.txt ├── scripts └── generate_chunk_sources.py ├── setup.cfg ├── setup.py ├── shavar.ini ├── shavar.testing.ini ├── shavar ├── __init__.py ├── exceptions.py ├── lists.py ├── parse.py ├── sources.py ├── stats.py ├── templates │ └── swagger.mako ├── tests │ ├── __init__.py │ ├── base.py │ ├── chunk_source │ ├── delta_chunk_source │ ├── delta_dir_source │ │ ├── 1 │ │ ├── 2 │ │ ├── 3 │ │ ├── 4 │ │ ├── 5 │ │ ├── 6 │ │ └── index.json │ ├── index.json │ ├── lists_served │ │ ├── moz-abp-shavar.ini │ │ ├── mozpub-track-digest256.ini │ │ ├── test-track-digest256.ini │ │ └── testpub-bananas-digest256.ini │ ├── lists_served_delta │ │ ├── moz-abp-shavar.ini │ │ ├── mozpub-track-digest256.ini │ │ └── test-redir-digest256.ini │ ├── lists_served_no_delta │ │ ├── moz-abp-shavar.ini │ │ └── mozpub-track-digest256.ini │ ├── lists_served_s3 │ │ ├── mozpub-track-digest256.ini │ │ ├── test-track-digest256.ini │ │ └── testpub-bananas-digest256.ini │ ├── lists_served_swagger │ │ ├── moz-abp-shavar.ini │ │ └── mozpub-track-digest256.ini │ ├── no_delta_chunk_source │ ├── test.ini │ ├── test_lists.py │ ├── test_parse.py │ ├── test_sources.py │ ├── test_views.py │ ├── tests.ini │ ├── tests_delta.ini │ ├── tests_no_delta.ini │ └── tests_s3.ini ├── types.py └── views │ ├── __init__.py │ ├── swagger.py │ └── version.py └── startup.sh /.boto: -------------------------------------------------------------------------------- 1 | [Boto] 2 | metadata_service_num_attempts = 5 3 | -------------------------------------------------------------------------------- /.circleci/_config_yml_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/.circleci/_config_yml_ -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | .cache 3 | newrelic.ini 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/.gitignore -------------------------------------------------------------------------------- /.pyup.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/.pyup.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/CHANGES.txt -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/README.md -------------------------------------------------------------------------------- /constraints.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/constraints.txt -------------------------------------------------------------------------------- /development.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/development.ini -------------------------------------------------------------------------------- /howToShavarList.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/howToShavarList.md -------------------------------------------------------------------------------- /mozsvc/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/__init__.py -------------------------------------------------------------------------------- /mozsvc/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/config.py -------------------------------------------------------------------------------- /mozsvc/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/exceptions.py -------------------------------------------------------------------------------- /mozsvc/http_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/http_helpers.py -------------------------------------------------------------------------------- /mozsvc/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/metrics.py -------------------------------------------------------------------------------- /mozsvc/middlewares.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/middlewares.py -------------------------------------------------------------------------------- /mozsvc/plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/plugin.py -------------------------------------------------------------------------------- /mozsvc/secrets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/secrets.py -------------------------------------------------------------------------------- /mozsvc/storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/storage/__init__.py -------------------------------------------------------------------------------- /mozsvc/storage/mcclient.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/storage/mcclient.py -------------------------------------------------------------------------------- /mozsvc/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mozsvc/tests/support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/tests/support.py -------------------------------------------------------------------------------- /mozsvc/tests/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/tests/test_config.py -------------------------------------------------------------------------------- /mozsvc/tests/test_http_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/tests/test_http_helpers.py -------------------------------------------------------------------------------- /mozsvc/tests/test_logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/tests/test_logging.py -------------------------------------------------------------------------------- /mozsvc/tests/test_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/tests/test_metrics.py -------------------------------------------------------------------------------- /mozsvc/tests/test_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/tests/test_plugin.py -------------------------------------------------------------------------------- /mozsvc/tests/test_secrets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/tests/test_secrets.py -------------------------------------------------------------------------------- /mozsvc/tests/test_tweens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/tests/test_tweens.py -------------------------------------------------------------------------------- /mozsvc/tests/test_user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/tests/test_user.py -------------------------------------------------------------------------------- /mozsvc/tests/test_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/tests/test_util.py -------------------------------------------------------------------------------- /mozsvc/tests/test_views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/tests/test_views.py -------------------------------------------------------------------------------- /mozsvc/tests/tests.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/tests/tests.ini -------------------------------------------------------------------------------- /mozsvc/tweens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/tweens.py -------------------------------------------------------------------------------- /mozsvc/user/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/user/__init__.py -------------------------------------------------------------------------------- /mozsvc/user/noncecache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/user/noncecache.py -------------------------------------------------------------------------------- /mozsvc/user/permissivenoncecache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/user/permissivenoncecache.py -------------------------------------------------------------------------------- /mozsvc/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/util.py -------------------------------------------------------------------------------- /mozsvc/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/mozsvc/views.py -------------------------------------------------------------------------------- /production.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/production.ini -------------------------------------------------------------------------------- /requirements-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/requirements-test.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/generate_chunk_sources.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/scripts/generate_chunk_sources.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [flake8] 2 | ignore = W503,E241 3 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/setup.py -------------------------------------------------------------------------------- /shavar.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar.ini -------------------------------------------------------------------------------- /shavar.testing.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar.testing.ini -------------------------------------------------------------------------------- /shavar/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/__init__.py -------------------------------------------------------------------------------- /shavar/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/exceptions.py -------------------------------------------------------------------------------- /shavar/lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/lists.py -------------------------------------------------------------------------------- /shavar/parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/parse.py -------------------------------------------------------------------------------- /shavar/sources.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/sources.py -------------------------------------------------------------------------------- /shavar/stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/stats.py -------------------------------------------------------------------------------- /shavar/templates/swagger.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/templates/swagger.mako -------------------------------------------------------------------------------- /shavar/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shavar/tests/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/base.py -------------------------------------------------------------------------------- /shavar/tests/chunk_source: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/chunk_source -------------------------------------------------------------------------------- /shavar/tests/delta_chunk_source: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/delta_chunk_source -------------------------------------------------------------------------------- /shavar/tests/delta_dir_source/1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/delta_dir_source/1 -------------------------------------------------------------------------------- /shavar/tests/delta_dir_source/2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/delta_dir_source/2 -------------------------------------------------------------------------------- /shavar/tests/delta_dir_source/3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/delta_dir_source/3 -------------------------------------------------------------------------------- /shavar/tests/delta_dir_source/4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/delta_dir_source/4 -------------------------------------------------------------------------------- /shavar/tests/delta_dir_source/5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/delta_dir_source/5 -------------------------------------------------------------------------------- /shavar/tests/delta_dir_source/6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/delta_dir_source/6 -------------------------------------------------------------------------------- /shavar/tests/delta_dir_source/index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/delta_dir_source/index.json -------------------------------------------------------------------------------- /shavar/tests/index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/index.json -------------------------------------------------------------------------------- /shavar/tests/lists_served/moz-abp-shavar.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served/moz-abp-shavar.ini -------------------------------------------------------------------------------- /shavar/tests/lists_served/mozpub-track-digest256.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served/mozpub-track-digest256.ini -------------------------------------------------------------------------------- /shavar/tests/lists_served/test-track-digest256.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served/test-track-digest256.ini -------------------------------------------------------------------------------- /shavar/tests/lists_served/testpub-bananas-digest256.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served/testpub-bananas-digest256.ini -------------------------------------------------------------------------------- /shavar/tests/lists_served_delta/moz-abp-shavar.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served_delta/moz-abp-shavar.ini -------------------------------------------------------------------------------- /shavar/tests/lists_served_delta/mozpub-track-digest256.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served_delta/mozpub-track-digest256.ini -------------------------------------------------------------------------------- /shavar/tests/lists_served_delta/test-redir-digest256.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served_delta/test-redir-digest256.ini -------------------------------------------------------------------------------- /shavar/tests/lists_served_no_delta/moz-abp-shavar.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served_no_delta/moz-abp-shavar.ini -------------------------------------------------------------------------------- /shavar/tests/lists_served_no_delta/mozpub-track-digest256.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served_no_delta/mozpub-track-digest256.ini -------------------------------------------------------------------------------- /shavar/tests/lists_served_s3/mozpub-track-digest256.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served_s3/mozpub-track-digest256.ini -------------------------------------------------------------------------------- /shavar/tests/lists_served_s3/test-track-digest256.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served_s3/test-track-digest256.ini -------------------------------------------------------------------------------- /shavar/tests/lists_served_s3/testpub-bananas-digest256.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served_s3/testpub-bananas-digest256.ini -------------------------------------------------------------------------------- /shavar/tests/lists_served_swagger/moz-abp-shavar.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served_swagger/moz-abp-shavar.ini -------------------------------------------------------------------------------- /shavar/tests/lists_served_swagger/mozpub-track-digest256.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/lists_served_swagger/mozpub-track-digest256.ini -------------------------------------------------------------------------------- /shavar/tests/no_delta_chunk_source: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/no_delta_chunk_source -------------------------------------------------------------------------------- /shavar/tests/test.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/test.ini -------------------------------------------------------------------------------- /shavar/tests/test_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/test_lists.py -------------------------------------------------------------------------------- /shavar/tests/test_parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/test_parse.py -------------------------------------------------------------------------------- /shavar/tests/test_sources.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/test_sources.py -------------------------------------------------------------------------------- /shavar/tests/test_views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/test_views.py -------------------------------------------------------------------------------- /shavar/tests/tests.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/tests.ini -------------------------------------------------------------------------------- /shavar/tests/tests_delta.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/tests_delta.ini -------------------------------------------------------------------------------- /shavar/tests/tests_no_delta.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/tests_no_delta.ini -------------------------------------------------------------------------------- /shavar/tests/tests_s3.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/tests/tests_s3.ini -------------------------------------------------------------------------------- /shavar/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/types.py -------------------------------------------------------------------------------- /shavar/views/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/views/__init__.py -------------------------------------------------------------------------------- /shavar/views/swagger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/views/swagger.py -------------------------------------------------------------------------------- /shavar/views/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/shavar/views/version.py -------------------------------------------------------------------------------- /startup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-services/shavar/HEAD/startup.sh --------------------------------------------------------------------------------