Skip to content

Commit 9f40064

Browse files
committedMar 16, 2025
Add recipe for stogon/unleash-bundle
1 parent dc7553c commit 9f40064

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
unleash:
2+
# The full URL to your unleash-server instance (must end with a slash).
3+
# Example with the "feature_flags" feature from Gitlab.com : https://gitlab.com/api/v4/feature_flags/unleash/<project_id>/
4+
api_url: 'https://gitlab.com/api/v4/feature_flags/unleash/<project_id>/'
5+
6+
# Authorization key if needed
7+
# auth_token: '<auth>'
8+
9+
# Instance ID of your unleash application.
10+
# Example : VPQgqIdAxQyXY96d6oWj
11+
instance_id: '<some ID>'
12+
13+
# Unleash application name.
14+
# For Gitlab feature flags, it can be set to the environment name.
15+
# default: '%kernel.environment%'
16+
environment: '%kernel.environment%'
17+
18+
cache:
19+
# Enable caching of features fetched from Unleash server.
20+
# default: true
21+
enabled: true
22+
# Service ID to use for caching (must be a cache pool)
23+
# default: '%unleach.cache.service%' (which resolve to '@cache.unleash.strategies' service)
24+
service: '@cache.app'
25+
# The period of time from the present after which the item MUST be considered expired in the cache in seconds
26+
# default: 15
27+
ttl: 15
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bundles": {
3+
"Stogon\\UnleashBundle\\UnleashBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
}
8+
}

0 commit comments

Comments
 (0)
Failed to load comments.