mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5a301927d |
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"manifests": {
|
|
||||||
"atlas/symfony": {
|
|
||||||
"manifest": {
|
|
||||||
"bundles": {
|
|
||||||
"Atlas\\Symfony\\AtlasBundle": [
|
|
||||||
"all"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"copy-from-package": {
|
|
||||||
"Resources/config/atlas.yaml": "%CONFIG_DIR%/packages/atlas.yaml"
|
|
||||||
},
|
|
||||||
"env": {
|
|
||||||
"ATLAS_PDO_DSN": "",
|
|
||||||
"ATLAS_PDO_USERNAME": "",
|
|
||||||
"ATLAS_PDO_PASSWORD": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"files": [],
|
|
||||||
"ref": "59ce1c811d6db5e8c23fd8ecc0fdfa92f00a9dbf"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
{
|
|
||||||
"manifests": {
|
|
||||||
"axium/identity": {
|
|
||||||
"manifest": {
|
|
||||||
"bundles": {
|
|
||||||
"Axium\\Identity\\AxiumIdentityBundle": [
|
|
||||||
"all"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"copy-from-recipe": {
|
|
||||||
"config/": "%CONFIG_DIR%/"
|
|
||||||
},
|
|
||||||
"env": {
|
|
||||||
"AXIUM_IDENTITY_URL": "https://identity.example.com",
|
|
||||||
"AXIUM_CLIENT_ID": "your-client-id",
|
|
||||||
"AXIUM_CLIENT_SECRET": "your-client-secret"
|
|
||||||
},
|
|
||||||
"post-install-output": [
|
|
||||||
"<bg=blue;fg=white> AXIUM Identity Bundle </>",
|
|
||||||
"",
|
|
||||||
"Le bundle a \u00e9t\u00e9 install\u00e9 avec succ\u00e8s.",
|
|
||||||
"",
|
|
||||||
"Ajoutez les variables d'environnement suivantes \u00e0 votre fichier .env :",
|
|
||||||
"",
|
|
||||||
"AXIUM_IDENTITY_URL=https://identity.example.com",
|
|
||||||
"AXIUM_CLIENT_ID=your-client-id",
|
|
||||||
"AXIUM_CLIENT_SECRET=your-client-secret",
|
|
||||||
"",
|
|
||||||
"Documentation:",
|
|
||||||
"https://github.com/BenjaminYAO/axium-identity"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"files": {
|
|
||||||
"config/packages/axium_identity.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"axium_identity:",
|
|
||||||
" url: '%env(AXIUM_IDENTITY_URL)%'",
|
|
||||||
" client_id: '%env(AXIUM_CLIENT_ID)%'",
|
|
||||||
" client_secret: '%env(AXIUM_CLIENT_SECRET)%'",
|
|
||||||
" verify_ssl: false",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/routes/axium_identity.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"axium_identity_login:",
|
|
||||||
" path: /login",
|
|
||||||
" controller: Axium\\Identity\\Controller\\SecurityController::login",
|
|
||||||
" methods: [GET, POST]",
|
|
||||||
"",
|
|
||||||
"axium_identity_logout:",
|
|
||||||
" path: /logout",
|
|
||||||
" controller: Axium\\Identity\\Controller\\SecurityController::logout",
|
|
||||||
"",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ref": "37d5f5a6b1cb522f38f888ecbeb736b3fae1a886"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+4
-7
@@ -1,11 +1,8 @@
|
|||||||
{
|
{
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
"recipes": {
|
"recipes": {
|
||||||
"atlas/symfony": [
|
"traceway/opentelemetry-symfony": [
|
||||||
"1.0"
|
"2.1"
|
||||||
],
|
|
||||||
"axium/identity": [
|
|
||||||
"1.0"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"recipe-conflicts": [],
|
"recipe-conflicts": [],
|
||||||
@@ -15,9 +12,9 @@
|
|||||||
"_links": {
|
"_links": {
|
||||||
"repository": "github.com/symfony/recipes-contrib",
|
"repository": "github.com/symfony/recipes-contrib",
|
||||||
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
||||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2011/{package_dotted}.{version}.json",
|
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1991/{package_dotted}.{version}.json",
|
||||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2011/archived/{package_dotted}/{ref}.json",
|
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1991/archived/{package_dotted}/{ref}.json",
|
||||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,66 @@
|
|||||||
|
{
|
||||||
|
"manifests": {
|
||||||
|
"traceway/opentelemetry-symfony": {
|
||||||
|
"manifest": {
|
||||||
|
"bundles": {
|
||||||
|
"Traceway\\OpenTelemetryBundle\\OpenTelemetryBundle": [
|
||||||
|
"all"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/"
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"#1": "OpenTelemetry SDK auto-initialization",
|
||||||
|
"OTEL_PHP_AUTOLOAD_ENABLED": "true",
|
||||||
|
"#2": "Service identity (shown in your backend)",
|
||||||
|
"OTEL_SERVICE_NAME": "%project_name%",
|
||||||
|
"#3": "Traces exporter: otlp | zipkin | console | none",
|
||||||
|
"OTEL_TRACES_EXPORTER": "otlp",
|
||||||
|
"#4": "Collector or backend endpoint",
|
||||||
|
"OTEL_EXPORTER_OTLP_ENDPOINT": "http://localhost:4318",
|
||||||
|
"#5": "Protocol: http/json | http/protobuf | grpc \u2014 use http/json unless ext-protobuf is installed",
|
||||||
|
"OTEL_EXPORTER_OTLP_PROTOCOL": "http/json"
|
||||||
|
},
|
||||||
|
"post-install-output": [
|
||||||
|
"",
|
||||||
|
" * <fg=blue>OpenTelemetry Symfony Bundle</> is wired and ready to trace your app.",
|
||||||
|
"",
|
||||||
|
" * Verify your wiring:",
|
||||||
|
"",
|
||||||
|
" <comment>$ bin/console traceway:doctor</comment>",
|
||||||
|
"",
|
||||||
|
" * Override <comment>OTEL_*</> environment variables in <comment>.env.local</> to point at your backend.",
|
||||||
|
"",
|
||||||
|
" * Documentation:",
|
||||||
|
"",
|
||||||
|
" <comment>https://github.com/tracewayapp/opentelemetry-symfony-bundle</>"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"files": {
|
||||||
|
"config/packages/open_telemetry.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"open_telemetry:",
|
||||||
|
" traces:",
|
||||||
|
" excluded_paths: ['/_profiler', '/_wdt', '/health']",
|
||||||
|
"",
|
||||||
|
"when@test:",
|
||||||
|
" open_telemetry:",
|
||||||
|
" traces:",
|
||||||
|
" enabled: false",
|
||||||
|
" metrics:",
|
||||||
|
" enabled: false",
|
||||||
|
" logs:",
|
||||||
|
" correlation:",
|
||||||
|
" enabled: false",
|
||||||
|
" export:",
|
||||||
|
" enabled: false",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ref": "6f6a343b626a4b2dbfcbc0c8e9ae9e467e3058c7"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user