From d0e8c12b040722cd7e281b21be95896b74c720ee Mon Sep 17 00:00:00 2001 From: James Wedam Anewenah <41763329+Wedrix@users.noreply.github.com> Date: Mon, 10 Jul 2023 17:24:47 +0000 Subject: [PATCH] Added recipe for watchtower-bundle (#1528) * Added recipe for watchtower-bundle * Fixed CI issues * Added default directories for plugins and scalar_type_definitions * Updated default location of schema file --- .../packages/wedrix_watchtower_bundle.yaml | 18 ++++++++++++++++++ .../wedrix_watchtower_bundle_routes.yaml | 2 ++ .../watchtower/plugins/authorizors/.gitignore | 0 .../watchtower/plugins/filters/.gitignore | 0 .../watchtower/plugins/mutations/.gitignore | 0 .../watchtower/plugins/orderings/.gitignore | 0 .../watchtower/plugins/resolvers/.gitignore | 0 .../watchtower/plugins/selectors/.gitignore | 0 .../scalar_type_definitions/.gitignore | 0 wedrix/watchtower-bundle/1.0/manifest.json | 8 ++++++++ 10 files changed, 28 insertions(+) create mode 100644 wedrix/watchtower-bundle/1.0/config/packages/wedrix_watchtower_bundle.yaml create mode 100644 wedrix/watchtower-bundle/1.0/config/routes/wedrix_watchtower_bundle_routes.yaml create mode 100644 wedrix/watchtower-bundle/1.0/config/watchtower/plugins/authorizors/.gitignore create mode 100644 wedrix/watchtower-bundle/1.0/config/watchtower/plugins/filters/.gitignore create mode 100644 wedrix/watchtower-bundle/1.0/config/watchtower/plugins/mutations/.gitignore create mode 100644 wedrix/watchtower-bundle/1.0/config/watchtower/plugins/orderings/.gitignore create mode 100644 wedrix/watchtower-bundle/1.0/config/watchtower/plugins/resolvers/.gitignore create mode 100644 wedrix/watchtower-bundle/1.0/config/watchtower/plugins/selectors/.gitignore create mode 100644 wedrix/watchtower-bundle/1.0/config/watchtower/scalar_type_definitions/.gitignore create mode 100644 wedrix/watchtower-bundle/1.0/manifest.json diff --git a/wedrix/watchtower-bundle/1.0/config/packages/wedrix_watchtower_bundle.yaml b/wedrix/watchtower-bundle/1.0/config/packages/wedrix_watchtower_bundle.yaml new file mode 100644 index 00000000..e2312b70 --- /dev/null +++ b/wedrix/watchtower-bundle/1.0/config/packages/wedrix_watchtower_bundle.yaml @@ -0,0 +1,18 @@ +wedrix_watchtower: + endpoint: '/graphql.json' + schema_file: '%kernel.project_dir%/config/watchtower/schema.graphql' + plugins_directory: '%kernel.project_dir%/config/watchtower/plugins' + scalar_type_definitions_directory: '%kernel.project_dir%/config/watchtower/scalar_type_definitions' + schema_cache_directory: '%kernel.project_dir%/var/cache/watchtower/schema' + cache_schema: false + debug: true + context: + # Register services here to access them in the context param. + # The service key can be any name of your choosing but the value should be the service id. + # For example: entity_manager: 'doctrine.orm.entity_manager' + entity_manager: 'doctrine.orm.entity_manager' + +when@prod: + wedrix_watchtower: + cache_schema: true + debug: false diff --git a/wedrix/watchtower-bundle/1.0/config/routes/wedrix_watchtower_bundle_routes.yaml b/wedrix/watchtower-bundle/1.0/config/routes/wedrix_watchtower_bundle_routes.yaml new file mode 100644 index 00000000..0f2da803 --- /dev/null +++ b/wedrix/watchtower-bundle/1.0/config/routes/wedrix_watchtower_bundle_routes.yaml @@ -0,0 +1,2 @@ +wedrix_watchtower_bundle_routes: + resource: '@WedrixWatchtowerBundle/config/routes.yaml' diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/authorizors/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/authorizors/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/filters/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/filters/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/mutations/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/mutations/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/orderings/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/orderings/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/resolvers/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/resolvers/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/selectors/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/selectors/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/scalar_type_definitions/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/scalar_type_definitions/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/wedrix/watchtower-bundle/1.0/manifest.json b/wedrix/watchtower-bundle/1.0/manifest.json new file mode 100644 index 00000000..d4785803 --- /dev/null +++ b/wedrix/watchtower-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Wedrix\\WatchtowerBundle\\WedrixWatchtowerBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}