Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UHF-10012: Map vault accounts individually, UHF-10015: Stage file proxy default URL #239

Merged
merged 3 commits into from
Jul 5, 2024

Conversation

tuutti
Copy link
Member

@tuutti tuutti commented Apr 24, 2024

No description provided.

@tuutti tuutti changed the title UHF-10012: Map vault accounts individually UHF-10012: Map vault accounts individually, UHF-10015: Stage file proxy default URL Apr 25, 2024
Copy link

sonarcloud bot commented Apr 25, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

// @see https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/blob/main/documentation/api-accounts.md.
if ($vault_accounts = getenv('DRUPAL_VAULT_ACCOUNTS')) {
$config['helfi_api_base.api_accounts']['vault'] = json_decode(base64_decode($vault_accounts), TRUE);
if ($drupal_navigation_vault = getenv('DRUPAL_NAVIGATION_VAULT')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think DRUPAL_PUBSUB_VAULT and DRUPAL_NAVIGATION_VAULT should be added to preflight checks at least on core instances (and DRUPAL_API_ACCOUNTS and DRUPAL_VAULT_ACCOUNTS should be removed).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, but we have to add them manually to all.settings.php, since we can't really differentiate instances in settings.php. Unless I am missing something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants