<commit_before>[DEFAULT]
# Show more verbose log output (sets INFO log level output)
verbose = <%= log_verbose %>

# Show debugging output in logs (sets DEBUG log level output)
debug = <%= log_debug %>

# Which backend store should Glance use by default is not specified
# in a request to add a new image to Glance? Default: 'file'
# Available choices are 'file', 'swift', and 's3'
default_store = <%= default_store %>

# Address to bind the API server
bind_host = <%= bind_host %>

# Port the bind the API server to
bind_port = <%= bind_port %>

# Address to find the registry server
registry_host = <%= registry_host %>

# Port the registry server is listening on
registry_port = <%= registry_port %>

# Log to this file. Make sure you do not set the same log
# file for both the API and registry servers!
log_file = <%= log_file %>

# ============ Filesystem Store Options ========================

# Directory that the Filesystem backend store
# writes image data to
filesystem_store_datadir = <%= filesystem_store_datadir %>

# ============ Swift Store Options =============================

# Address where the Swift authentication service lives
swift_store_auth_address = <%= swift_store_auth_address %>

# User to authenticate against the Swift authentication service
swift_store_user = <%= swift_store_user %>

# Auth key for the user authenticating against the
# Swift authentication service
swift_store_key = <%= swift_store_key %>

# Container within the account that the account should use
# for storing images in Swift
swift_store_container = <%= swift_store_container %>

# Do we create the container if it does not exist?
swift_store_create_container_on_put = <%= swift_store_create_container_on_put %>

[pipeline:glance-api]
pipeline = versionnegotiation apiv1app

[pipeline:versions]
pipeline = versionsapp

[app:versionsapp]
paste.app_factory = glance.api.versions:app_factory

[app:apiv1app]
paste.app_factory = glance.api.v1:app_factory

[filter:versionnegotiation]
paste.filter_factory = glance.api.middleware.version_negotiation:filter_factory<commit_msg>Updated glance-api.conf in accordance with https://bugs.launchpad.net/glance/+bug/814981<commit_after>[DEFAULT]
# Show more verbose log output (sets INFO log level output)
verbose = <%= log_verbose %>

# Show debugging output in logs (sets DEBUG log level output)
debug = <%= log_debug %>

# Which backend store should Glance use by default is not specified
# in a request to add a new image to Glance? Default: 'file'
# Available choices are 'file', 'swift', and 's3'
default_store = <%= default_store %>

# Address to bind the API server
bind_host = <%= bind_host %>

# Port the bind the API server to
bind_port = <%= bind_port %>

# Address to find the registry server
registry_host = <%= registry_host %>

# Port the registry server is listening on
registry_port = <%= registry_port %>

# Log to this file. Make sure you do not set the same log
# file for both the API and registry servers!
log_file = <%= log_file %>

# ============ Filesystem Store Options ========================

# Directory that the Filesystem backend store
# writes image data to
filesystem_store_datadir = <%= filesystem_store_datadir %>

# ============ Swift Store Options =============================

# Address where the Swift authentication service lives
swift_store_auth_address = <%= swift_store_auth_address %>

# User to authenticate against the Swift authentication service
swift_store_user = <%= swift_store_user %>

# Auth key for the user authenticating against the
# Swift authentication service
swift_store_key = <%= swift_store_key %>

# Container within the account that the account should use
# for storing images in Swift
swift_store_container = <%= swift_store_container %>

# Do we create the container if it does not exist?
swift_store_create_container_on_put = <%= swift_store_create_container_on_put %>

[pipeline:glance-api]
pipeline = versionnegotiation context apiv1app

[pipeline:versions]
pipeline = versionsapp

[app:versionsapp]
paste.app_factory = glance.api.versions:app_factory

[app:apiv1app]
paste.app_factory = glance.api.v1:app_factory

[filter:versionnegotiation]
paste.filter_factory = glance.api.middleware.version_negotiation:filter_factory

[filter:context]
paste.filter_factory = glance.common.context:filter_factory
{'fraction_non_alphanumeric': 0.11605281445448228, 'fraction_numerical': 0.0032429928190873293, 'mean_word_length': 5.66358024691358, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 1, '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': '6789563', 'n_tokens_mistral': 1317, 'n_tokens_neox': 1176, 'n_words': 424}