-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The jira_enable_test_mode feature flag should be configured as a yaml parameter as this can not be read during compile time from the .env file. That would defeat the purpose of the .env files being overridable during runtime. That's why services.yml files where added for all environments. Allowing to override the setting for any environment to enable/disable the jira test mode.
- Loading branch information
Showing
12 changed files
with
50 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,8 +91,13 @@ [email protected] | |
[email protected] | ||
[email protected] | ||
|
||
# When 'jira_enable_test_mode' is enabled (in services.yaml), 'jira_test_mode_storage_path' | ||
# must be configured with a filename in a directory that is writable for the user run ning the application. | ||
# When 'jira_enable_test_mode' is enabled, 'jira_test_mode_storage_path' must be configured with a filename in a | ||
# directory that is writable for the user run ning the application. | ||
# See the: | ||
# - Compiler pass (IssueRepositoryCompilerPass), | ||
# - environment specific services.yml file | ||
# - docs/jira.md readme | ||
# for details on how to enable the test stand in. | ||
jira_test_mode_storage_path='../var/issues.json' | ||
|
||
# Jira settings | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
imports: | ||
# Load the dev services.yml overload file | ||
- { resource: services.yml } | ||
|
||
framework: | ||
# router: | ||
# resource: '%kernel.root_dir%/config/routes_dev.yaml' | ||
# strict_requirements: true | ||
profiler: { only_exceptions: false } | ||
session: | ||
save_path: '/tmp/sp-dashboard-sessions' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
imports: | ||
# Load the dev services.yml overload file | ||
- { resource: services.yml } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
parameters: | ||
jira_enable_test_mode: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
imports: | ||
# Load the test services.yml overload file | ||
- { resource: services.yml } | ||
|
||
framework: | ||
test: true | ||
session: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters