From 3dce9c7045c40dbf7c24c11b30e6cd706fd26290 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Wed, 22 Dec 2021 07:03:22 +0000 Subject: [PATCH] Update Flex endpoint --- ...f1affe028f8153a459d15f220ada3826b5aa2.json | 135 ++++++++++++++++++ doctrine.doctrine-bundle.2.4.json | 3 +- 2 files changed, 136 insertions(+), 2 deletions(-) create mode 100644 archived/doctrine.doctrine-bundle/f98f1affe028f8153a459d15f220ada3826b5aa2.json diff --git a/archived/doctrine.doctrine-bundle/f98f1affe028f8153a459d15f220ada3826b5aa2.json b/archived/doctrine.doctrine-bundle/f98f1affe028f8153a459d15f220ada3826b5aa2.json new file mode 100644 index 00000000..1a3aded6 --- /dev/null +++ b/archived/doctrine.doctrine-bundle/f98f1affe028f8153a459d15f220ada3826b5aa2.json @@ -0,0 +1,135 @@ +{ + "manifests": { + "doctrine/doctrine-bundle": { + "manifest": { + "bundles": { + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#3": "", + "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "DATABASE_URL=\"mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"", + "DATABASE_URL": "postgresql://symfony:ChangeMe@127.0.0.1:5432/app?serverVersion=13&charset=utf8" + }, + "dockerfile": [ + "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\", + "\tdocker-php-ext-install -j$(nproc) pdo_pgsql; \\", + "\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5; \\", + "\tapk del .pgsql-deps" + ], + "docker-compose": { + "docker-compose.yml": { + "services": [ + "database:", + " image: postgres:${POSTGRES_VERSION:-13}-alpine", + " environment:", + " POSTGRES_DB: ${POSTGRES_DB:-app}", + " # You should definitely change the password in production", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}", + " POSTGRES_USER: ${POSTGRES_USER:-symfony}", + " volumes:", + " - db-data:/var/lib/postgresql/data:rw", + " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", + " # - ./docker/db/data:/var/lib/postgresql/data:rw" + ], + "volumes": [ + "db-data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "database:", + " ports:", + " - \"5432\"" + ] + } + }, + "post-install-output": [ + " * Modify your DATABASE_URL config in .env", + "", + " * Configure the driver (postgresql) and", + " server_version (13) in config/packages/doctrine.yaml" + ] + }, + "files": { + "config/packages/doctrine.yaml": { + "contents": [ + "doctrine:", + " dbal:", + " url: '%env(resolve:DATABASE_URL)%'", + "", + " # IMPORTANT: You MUST configure your server version,", + " # either here or in the DATABASE_URL env var (see .env file)", + " #server_version: '13'", + " orm:", + " auto_generate_proxy_classes: true", + " naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware", + " auto_mapping: true", + " mappings:", + " App:", + " is_bundle: false", + " dir: '%kernel.project_dir%/src/Entity'", + " prefix: 'App\\Entity'", + " alias: App", + "" + ], + "executable": false + }, + "config/packages/prod/doctrine.yaml": { + "contents": [ + "doctrine:", + " orm:", + " auto_generate_proxy_classes: false", + " query_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " result_cache_driver:", + " type: pool", + " pool: doctrine.result_cache_pool", + "", + "framework:", + " cache:", + " pools:", + " doctrine.result_cache_pool:", + " adapter: cache.app", + " doctrine.system_cache_pool:", + " adapter: cache.system", + "" + ], + "executable": false + }, + "config/packages/test/doctrine.yaml": { + "contents": [ + "doctrine:", + " dbal:", + " # \"TEST_TOKEN\" is typically set by ParaTest", + " dbname_suffix: '_test%env(default::TEST_TOKEN)%'", + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "f98f1affe028f8153a459d15f220ada3826b5aa2" + } + } +} diff --git a/doctrine.doctrine-bundle.2.4.json b/doctrine.doctrine-bundle.2.4.json index 03550f5c..1a3aded6 100644 --- a/doctrine.doctrine-bundle.2.4.json +++ b/doctrine.doctrine-bundle.2.4.json @@ -76,7 +76,6 @@ " mappings:", " App:", " is_bundle: false", - " type: annotation", " dir: '%kernel.project_dir%/src/Entity'", " prefix: 'App\\Entity'", " alias: App", @@ -130,7 +129,7 @@ "executable": false } }, - "ref": "032f52ed50a27762b78ca6a2aaf432958c473553" + "ref": "f98f1affe028f8153a459d15f220ada3826b5aa2" } } }