<commit_before>[pipeline:sahara]
pipeline = request_id cors acl auth_validator sahara_api

[composite:sahara_api]
use = egg:Paste#urlmap
/: sahara_apiv11

[app:sahara_apiv11]
paste.app_factory = sahara.api.middleware.sahara_middleware:Router.factory

[filter:cors]
paste.filter_factory = oslo_middleware.cors:filter_factory
allow_headers=X-Auth-Token,X-Server-Management-Url
allow_methods=GET,PUT,POST,DELETE,PATCH
allowed_origin=
expose_headers=X-Auth-Token,X-Server-Management-Url

[filter:request_id]
paste.filter_factory = oslo_middleware.request_id:RequestId.factory

[filter:acl]
paste.filter_factory = keystonemiddleware.auth_token:filter_factory

[filter:auth_validator]
paste.filter_factory = sahara.api.middleware.auth_valid:AuthValidator.factory

[filter:debug]
paste.filter_factory = oslo_middleware.debug:Debug.factory<commit_msg>Switched CORS configuration to use oslo_config<commit_after>[pipeline:sahara]
pipeline = cors request_id acl auth_validator sahara_api

[composite:sahara_api]
use = egg:Paste#urlmap
/: sahara_apiv11

[app:sahara_apiv11]
paste.app_factory = sahara.api.middleware.sahara_middleware:Router.factory

[filter:cors]
paste.filter_factory = oslo_middleware.cors:filter_factory
oslo_config_project = sahara

[filter:request_id]
paste.filter_factory = oslo_middleware.request_id:RequestId.factory

[filter:acl]
paste.filter_factory = keystonemiddleware.auth_token:filter_factory

[filter:auth_validator]
paste.filter_factory = sahara.api.middleware.auth_valid:AuthValidator.factory

[filter:debug]
paste.filter_factory = oslo_middleware.debug:Debug.factory
{'fraction_non_alphanumeric': 0.09502831969792322, 'fraction_numerical': 0.005034612964128383, 'mean_word_length': 9.392156862745098, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6310137', 'n_tokens_mistral': 585, 'n_tokens_neox': 576, 'n_words': 68}