mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-14 08:36:34 +03:00
53 lines
2.5 KiB
JSON
53 lines
2.5 KiB
JSON
{
|
|
"manifests": {
|
|
"stogon/unleash-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Stogon\\UnleashBundle\\UnleashBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/unleash.yaml": {
|
|
"contents": [
|
|
"unleash:",
|
|
" # The full URL to your unleash-server instance (must end with a slash).",
|
|
" # Example with the \"feature_flags\" feature from Gitlab.com : https://gitlab.com/api/v4/feature_flags/unleash/<project_id>/",
|
|
" api_url: 'https://gitlab.com/api/v4/feature_flags/unleash/<project_id>/'",
|
|
"",
|
|
" # Authorization key if needed",
|
|
" # auth_token: '<auth>'",
|
|
"",
|
|
" # Instance ID of your unleash application.",
|
|
" # Example : VPQgqIdAxQyXY96d6oWj",
|
|
" instance_id: '<some ID>'",
|
|
"",
|
|
" # Unleash application name.",
|
|
" # For Gitlab feature flags, it can be set to the environment name.",
|
|
" # default: '%kernel.environment%'",
|
|
" environment: '%kernel.environment%'",
|
|
"",
|
|
" cache:",
|
|
" # Enable caching of features fetched from Unleash server.",
|
|
" # default: true",
|
|
" enabled: true",
|
|
" # Service ID to use for caching (must be a cache pool)",
|
|
" # default: '%unleach.cache.service%' (which resolve to '@cache.unleash.strategies' service)",
|
|
" service: '@cache.app'",
|
|
" # The period of time from the present after which the item MUST be considered expired in the cache in seconds",
|
|
" # default: 15",
|
|
" ttl: 15",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "55e1de3cd884d963e604fb2328a404ca25c24599"
|
|
}
|
|
}
|
|
}
|