From 7f1fe256fe2ba70fbe8d46c7a1512adc196f5ff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Kulh=C3=A1nek?= Date: Sat, 31 Oct 2020 19:35:43 +0100 Subject: [PATCH] Append Supervisor REST bundle --- .../1.0/config/packages/helppc_supervisor_rest.yaml | 8 ++++++++ .../1.0/config/routes/helppc_supervisor_rest.yaml | 3 +++ helppc/supervisor-rest-bundle/1.0/manifest.json | 8 ++++++++ 3 files changed, 19 insertions(+) create mode 100644 helppc/supervisor-rest-bundle/1.0/config/packages/helppc_supervisor_rest.yaml create mode 100644 helppc/supervisor-rest-bundle/1.0/config/routes/helppc_supervisor_rest.yaml create mode 100644 helppc/supervisor-rest-bundle/1.0/manifest.json diff --git a/helppc/supervisor-rest-bundle/1.0/config/packages/helppc_supervisor_rest.yaml b/helppc/supervisor-rest-bundle/1.0/config/packages/helppc_supervisor_rest.yaml new file mode 100644 index 00000000..7510c863 --- /dev/null +++ b/helppc/supervisor-rest-bundle/1.0/config/packages/helppc_supervisor_rest.yaml @@ -0,0 +1,8 @@ +supervisor_rest: + default_environment: all + servers: + all: + application: + scheme: http + host: localhost + port: 9006 diff --git a/helppc/supervisor-rest-bundle/1.0/config/routes/helppc_supervisor_rest.yaml b/helppc/supervisor-rest-bundle/1.0/config/routes/helppc_supervisor_rest.yaml new file mode 100644 index 00000000..de25c464 --- /dev/null +++ b/helppc/supervisor-rest-bundle/1.0/config/routes/helppc_supervisor_rest.yaml @@ -0,0 +1,3 @@ +supervisor: + resource: "@SupervisorRestBundle/Resources/config/routing.xml" + prefix: /api/supervisor diff --git a/helppc/supervisor-rest-bundle/1.0/manifest.json b/helppc/supervisor-rest-bundle/1.0/manifest.json new file mode 100644 index 00000000..3fbafe93 --- /dev/null +++ b/helppc/supervisor-rest-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "HelpPC\\Bundle\\SupervisorRestBundle\\SupervisorRestBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}