Fixes #37081 - Add a setting to configure PAGE_SIZE #1349
Annotations
2 errors
Run tests:
spec/acceptance/settings_spec.rb#L83
PAGE_SIZE setting Custom PAGE_SIZE File "/etc/pulp/settings.py" content is expected to match /^REST_FRAMEWORK__PAGE_SIZE = 200$/
Failure/Error: its(:content) { is_expected.to match(/^REST_FRAMEWORK__PAGE_SIZE = 200$/) }
expected "################################################################################\n# File managed by ...nsole'],\n 'level': 'WARNING',\n 'propagate': False,\n },\n },\n}\n" to match /^REST_FRAMEWORK__PAGE_SIZE = 200$/
Diff:
@@ -1,76 +1,151 @@
-/^REST_FRAMEWORK__PAGE_SIZE = 200$/
+################################################################################
+# File managed by Puppet module: pulpcore
+################################################################################
+# Not only will edits be overwritten later, there is also a strong
+# possibility of breaking the system if changes are made here without making
+# required corresponding changes elsewhere. Refer to the documentation used to
+# install Pulpcore to determine the safe and persistent way to modify the
+# configuration.
+################################################################################
+
+# Send anonymous usage data to https://analytics.pulpproject.org/ unless this is
+# explicitly defined with value False. This data is used by the Pulp project
+# to make informed, data-driven decisions about future feature development.
+# TELEMETRY = False
+
+CONTENT_ORIGIN = "https://centos9-64-puppet7.example.com"
+SECRET_KEY = "A97NsGWibLLQRgjRqgocWrbJH3cWZV8N5au3bLhMdwxpaMjHKJ"
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.db.backends.postgresql',
+ 'NAME': 'pulpcore',
+ 'USER': 'pulp',
+ 'PASSWORD': 'JoCinVELPs3MfnuAbqvQbeBUNWQjegzC',
+ 'HOST': 'localhost',
+ 'PORT': '5432',
+ },
+}
+REDIS_URL = "redis://localhost:6379/8"
+
+
+MEDIA_ROOT = "/var/lib/pulp/media"
+STATIC_ROOT = "/var/lib/pulp/assets"
+STATIC_URL = "/assets/"
+FILE_UPLOAD_TEMP_DIR = "/var/lib/pulp/tmp"
+WORKING_DIRECTORY = "/var/lib/pulp/tmp"
+
+REMOTE_USER_ENVIRON_NAME = 'HTTP_REMOTE_USER'
+AUTHENTICATION_BACKENDS = ['pulpcore.app.authentication.PulpNoCreateRemoteUserBackend']
+
+REST_FRAMEWORK__PAGE_SIZE = '200'
+REST_FRAMEWORK__DEFAULT_AUTHENTICATION_CLASSES = (
+ 'rest_framework.authentication.SessionAuthentication',
+ 'pulpcore.app.authentication.PulpRemoteUserAuthentication'
+)
+
+ALLOWED_IMPORT_PATHS = ["/var/lib/pulp/sync_imports"]
+ALLOWED_EXPORT_PATHS = []
+ALLOWED_CONTENT_CHECKSUMS = ["sha224", "sha256", "sha384", "sha512"]
+
+# Derive HTTP/HTTPS via the X-Forwarded-Proto header set by Apache
+SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
+
+CACHE_ENABLED = False
+
+# HIDE_GUARDED_DISTRIBUTIONS = False
+
+# IMPORT_WORKERS_PERCENT = 100
+LOGGING = {
+ "dynaconf_merge": True,
+ "loggers": {
+ '': {
+ 'handlers': ['console'],
+ 'level': 'INFO',
+ },
+ 'pulpcore.deprecation': {
+ 'handlers': ['console'],
+ 'level': 'ERROR',
+ 'propagate': False,
+ },
+ 'django_guid': {
+ 'handlers': ['console'],
+ 'level': 'WARNING',
+ 'propagate': False,
+ },
+ },
+}
|
Run tests
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading