From e2ff7613122e7ff02532fb1333d960ab89b5abdd Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Mon, 18 Nov 2024 12:19:20 +0000 Subject: [PATCH] Update Flex endpoint --- ...ebe13850442f53dae9a5e33aeada55a22e606.json | 51 +++++++++++++++++++ survos.command-bundle.1.5.json | 25 ++++----- 2 files changed, 62 insertions(+), 14 deletions(-) create mode 100644 archived/survos.command-bundle/5cdebe13850442f53dae9a5e33aeada55a22e606.json diff --git a/archived/survos.command-bundle/5cdebe13850442f53dae9a5e33aeada55a22e606.json b/archived/survos.command-bundle/5cdebe13850442f53dae9a5e33aeada55a22e606.json new file mode 100644 index 00000000..aae27cb8 --- /dev/null +++ b/archived/survos.command-bundle/5cdebe13850442f53dae9a5e33aeada55a22e606.json @@ -0,0 +1,51 @@ +{ + "manifests": { + "survos/command-bundle": { + "manifest": { + "bundles": { + "Survos\\CommandBundle\\SurvosCommandBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "post-install-output": [ + " ", + " success ", + " ", + "", + " * Next steps:", + " 1. Configure /config/packages/survos_command.yaml to expose the namespaces (command prefixes)", + " 2. secure the /admin route, customize the route in config/routes/survos_command.yaml;", + " 3. Visit /admin/commands." + ] + }, + "files": { + "config/packages/survos_command.yaml": { + "contents": [ + "survos_command:", + " # expose app:my-command, etc.", + " namespaces: [app]", + "", + "" + ], + "executable": false + }, + "config/routes/survos_command.yaml": { + "contents": [ + "survos_command:", + " prefix: /admin/commands", + " type: attribute", + " resource:", + " path: '@SurvosCommandBundle/src/Controller/'", + " namespace: Survos\\CommandBundle\\Controller", + "" + ], + "executable": false + } + }, + "ref": "5cdebe13850442f53dae9a5e33aeada55a22e606" + } + } +} diff --git a/survos.command-bundle.1.5.json b/survos.command-bundle.1.5.json index 3544a777..aae27cb8 100644 --- a/survos.command-bundle.1.5.json +++ b/survos.command-bundle.1.5.json @@ -16,9 +16,9 @@ " ", "", " * Next steps:", - " 1. Configure /config/packages/survos_command.php to expose the namespaces (command prefixes)", - " 2. secure the /admin route, configure the route in config/routes/survos_command.php;", - " 3. Visit /admin/commmands." + " 1. Configure /config/packages/survos_command.yaml to expose the namespaces (command prefixes)", + " 2. secure the /admin route, customize the route in config/routes/survos_command.yaml;", + " 3. Visit /admin/commands." ] }, "files": { @@ -32,23 +32,20 @@ ], "executable": false }, - "config/routes/survos_command.php": { + "config/routes/survos_command.yaml": { "contents": [ - "import('@SurvosCommandBundle/config/routes.php')", - " ->prefix('/admin') // consider adding this path to the access_control key in security", - " ;", - "};", - "", + "survos_command:", + " prefix: /admin/commands", + " type: attribute", + " resource:", + " path: '@SurvosCommandBundle/src/Controller/'", + " namespace: Survos\\CommandBundle\\Controller", "" ], "executable": false } }, - "ref": "31483097a99800fa6b049af3c61ad0ebf5727751" + "ref": "5cdebe13850442f53dae9a5e33aeada55a22e606" } } }