Download the PHP package dpc-sdp/bay_platform_dependencies without Composer
On this page you can find all versions of the php package dpc-sdp/bay_platform_dependencies. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dpc-sdp/bay_platform_dependencies
More information about dpc-sdp/bay_platform_dependencies
Files in dpc-sdp/bay_platform_dependencies
Package bay_platform_dependencies
Short Description Drupal integrations and dependency management for the Bay hosting platform.
License GPL-2.0-or-later
Informations about the package bay_platform_dependencies
Bay Platform Dependencies
Drupal configuration for Bay hosting platform integrations.
Development
Develop and validate this module on the host. It requires PHP 8.3, Composer,
and the PHP extensions declared in composer.json: gd, igbinary, redis,
pdo_mysql, zip, and zlib.
Getting started
Install the module dependencies and the pinned development tools:
Validating a build
Run the same Composer validation and dependency installation performed by CI:
Run coding-standard checks with:
Features
- Ensures dependencies required for the Bay hosting platform are installed.
- Allows configuring the default
Reply-Toemail address viaSMTP_REPLYTOenvironment variable. - Adds validation to webform email handler form, restricting configuration emails configured in SMTP_FROM_WHITELIST envvar.
- Provides the optional
marina_cf_cachetagsmodule. It sends cacheable responses' Drupal cache tags in thex-amz-meta-cache-tagheader and invalidates those tags through the local CloudFront SigV4 sidecar.
CloudFront cache tags
Enable the submodule with:
On install it registers Purge's HTTP bundled purger (instance
marina_cf_cachetags), enables the coretags queuer and the lateruntime
processor, and empties the purge queue so nothing queued for a previous purger
lingers (bay_platform_dependencies_update_10007()).
Response header. Cacheable responses carry x-amz-meta-cache-tag, a
comma-separated list of the response's Drupal cache tags hashed with xxHash3
and truncated to 6 hex characters (node:203 → # + first 6 chars of
hash('xxh3', 'node:203')). Tags matching the purge_queuer_coretags
blacklist are dropped, entity tags are listed first, and the list is capped at
the 50 tags CloudFront stores per object. Hashing keeps the header far below
CloudFront's 1,783-character limit.
Invalidation. The purger sends a POST to
http://localhost:8083/prod/cache-invalidation/{project}/{environment} (the
platform's SigV4 sidecar) with a JSON body of the same hashes, each prefixed
with tag::
The cache invalidation API rewrites tag:<hash> to #<hash>, which is
CloudFront's tag-invalidation syntax. Both sides must use the same hash, so
they share the marina_cf_cachetags.cache_tags_hash service. Override
marina_cf_cachetags.cache_tag_filter or
marina_cf_cachetags.cache_tag_prioritizer in a site's services.yml to
change which tags are kept and in what order.
Site configuration. Override the purger's path with the deployment's
project and environment names (the placeholders are not substituted
anywhere else), e.g. in settings.php:
Platform requirements. The CloudFront distribution must declare
CacheTagConfig with HeaderName: x-amz-meta-cache-tag; distributions
without it ignore the header and every tag invalidation is a no-op. Objects
cached before CacheTagConfig is enabled carry no tags — issue one /*
invalidation after enabling it.
To invalidate a tag by hand, hash it first:
Patches
Redis
This module handles patching of the Redis module with a few key features
- Adds support for RedisCluster client.
- Uses the current RedisCluster upstream patch.
- Preserves the configured TLS context during RedisCluster node discovery.
All versions of bay_platform_dependencies with dependencies
drush/drush Version ^13
drupal/purge Version ^3.4
drupal/section_purge Version 4.x
drupal/redis Version 1.11.0
drupal/smtp Version ^1.2
dpc-sdp/tide_logs Version ^2.0
dpc-sdp/bay_monitoring Version ^2.0
cweagans/composer-patches Version ^1.7