Update Flex endpoint

This commit is contained in:
github-action[bot]
2022-02-13 08:06:12 +00:00
parent d520b6f8a1
commit 284aaa79f9
14 changed files with 588 additions and 81 deletions
@@ -0,0 +1,130 @@
{
"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\""
]
}
},
"conflict": {
"symfony/framework-bundle": "<5.3"
},
"post-install-output": [
" * Modify your DATABASE_URL config in <fg=green>.env</>",
"",
" * Configure the <fg=green>driver</> (postgresql) and",
" <fg=green>server_version</> (13) in <fg=green>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",
"",
"when@test:",
" doctrine:",
" dbal:",
" # \"TEST_TOKEN\" is typically set by ParaTest",
" dbname_suffix: '_test%env(default::TEST_TOKEN)%'",
"",
"when@prod:",
" 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
},
"src/Entity/.gitignore": {
"contents": [
""
],
"executable": false
},
"src/Repository/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "c2f0222df1e65fd8bf4c627caee03ac5c0a0d047"
}
}
}
@@ -0,0 +1,89 @@
{
"manifests": {
"symfony/monolog-bundle": {
"manifest": {
"bundles": {
"Symfony\\Bundle\\MonologBundle\\MonologBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
},
"files": {
"config/packages/monolog.yaml": {
"contents": [
"monolog:",
" channels:",
" - deprecation # Deprecations are logged in the dedicated \"deprecation\" channel when it exists",
"",
"when@dev:",
" monolog:",
" handlers:",
" main:",
" type: stream",
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
" level: debug",
" channels: [\"!event\"]",
" # uncomment to get logging in your browser",
" # you may have to allow bigger header sizes in your Web server configuration",
" #firephp:",
" # type: firephp",
" # level: info",
" #chromephp:",
" # type: chromephp",
" # level: info",
" console:",
" type: console",
" process_psr_3_messages: false",
" channels: [\"!event\", \"!doctrine\", \"!console\"]",
"",
"when@test:",
" monolog:",
" handlers:",
" main:",
" type: fingers_crossed",
" action_level: error",
" handler: nested",
" excluded_http_codes: [404, 405]",
" channels: [\"!event\"]",
" nested:",
" type: stream",
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
" level: debug",
"",
"when@prod:",
" monolog:",
" handlers:",
" main:",
" type: fingers_crossed",
" action_level: error",
" handler: nested",
" excluded_http_codes: [404, 405]",
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
" nested:",
" type: stream",
" path: php://stderr",
" level: debug",
" formatter: monolog.formatter.json",
" console:",
" type: console",
" process_psr_3_messages: false",
" channels: [\"!event\", \"!doctrine\"]",
" deprecation:",
" type: stream",
" channels: [deprecation]",
" path: php://stderr",
""
],
"executable": false
}
},
"ref": "213676c4ec929f046dfde5ea8e97625b81bc0578"
}
}
}
@@ -0,0 +1,44 @@
{
"manifests": {
"symfony/routing": {
"manifest": {
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
},
"files": {
"config/packages/routing.yaml": {
"contents": [
"framework:",
" router:",
" utf8: true",
"",
" # Configure how to generate URLs in non-HTTP contexts, such as CLI commands.",
" # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands",
" #default_uri: http://localhost",
"",
"when@prod:",
" framework:",
" router:",
" strict_requirements: null",
""
],
"executable": false
},
"config/routes.yaml": {
"contents": [
"#index:",
"# path: /",
"# controller: App\\Controller\\DefaultController::index",
""
],
"executable": false
}
},
"ref": "85de1d8ae45b284c3c84b668171d2615049e698f"
}
}
}
@@ -0,0 +1,48 @@
{
"manifests": {
"symfony/routing": {
"manifest": {
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
},
"files": {
"config/packages/routing.yaml": {
"contents": [
"framework:",
" router:",
" utf8: true",
"",
" # Configure how to generate URLs in non-HTTP contexts, such as CLI commands.",
" # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands",
" #default_uri: http://localhost",
"",
"when@prod:",
" framework:",
" router:",
" strict_requirements: null",
""
],
"executable": false
},
"config/routes.yaml": {
"contents": [
"controllers:",
" resource: ../src/Controller/",
" type: annotation",
"",
"kernel:",
" resource: ../src/Kernel.php",
" type: annotation",
""
],
"executable": false
}
},
"ref": "eb3b377a4dc07006c4bdb2c773652cc9434f5246"
}
}
}
@@ -0,0 +1,68 @@
{
"manifests": {
"symfony/security-bundle": {
"manifest": {
"bundles": {
"Symfony\\Bundle\\SecurityBundle\\SecurityBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
},
"files": {
"config/packages/security.yaml": {
"contents": [
"security:",
" enable_authenticator_manager: true",
" # https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords",
" password_hashers:",
" Symfony\\Component\\Security\\Core\\User\\PasswordAuthenticatedUserInterface: 'auto'",
" # https://symfony.com/doc/current/security.html#loading-the-user-the-user-provider",
" providers:",
" users_in_memory: { memory: null }",
" firewalls:",
" dev:",
" pattern: ^/(_(profiler|wdt)|css|images|js)/",
" security: false",
" main:",
" lazy: true",
" provider: users_in_memory",
"",
" # activate different ways to authenticate",
" # https://symfony.com/doc/current/security.html#the-firewall",
"",
" # https://symfony.com/doc/current/security/impersonating_user.html",
" # switch_user: true",
"",
" # Easy way to control access for large sections of your site",
" # Note: Only the *first* access control that matches will be used",
" access_control:",
" # - { path: ^/admin, roles: ROLE_ADMIN }",
" # - { path: ^/profile, roles: ROLE_USER }",
"",
"when@test:",
" security:",
" password_hashers:",
" # By default, password hashers are resource intensive and take time. This is",
" # important to generate secure password hashes. In tests however, secure hashes",
" # are not important, waste resources and increase test times. The following",
" # reduces the work factor to the lowest possible values.",
" Symfony\\Component\\Security\\Core\\User\\PasswordAuthenticatedUserInterface:",
" algorithm: auto",
" cost: 4 # Lowest possible value for bcrypt",
" time_cost: 3 # Lowest possible value for argon",
" memory_cost: 10 # Lowest possible value for argon",
""
],
"executable": false
}
},
"ref": "98f1f2b0d635908c2b40f3675da2d23b1a069d30"
}
}
}
@@ -0,0 +1,60 @@
{
"manifests": {
"symfony/twig-bundle": {
"manifest": {
"bundles": {
"Symfony\\Bundle\\TwigBundle\\TwigBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"templates/": "templates/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
},
"files": {
"config/packages/twig.yaml": {
"contents": [
"twig:",
" default_path: '%kernel.project_dir%/templates'",
"",
"when@test:",
" twig:",
" strict_variables: true",
""
],
"executable": false
},
"templates/base.html.twig": {
"contents": [
"<!DOCTYPE html>",
"<html>",
" <head>",
" <meta charset=\"UTF-8\">",
" <title>{% block title %}Welcome!{% endblock %}</title>",
" <link rel=\"icon\" href=\"data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>\u26ab\ufe0f</text></svg>\">",
" {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}",
" {% block stylesheets %}",
" {{ encore_entry_link_tags('app') }}",
" {% endblock %}",
"",
" {% block javascripts %}",
" {{ encore_entry_script_tags('app') }}",
" {% endblock %}",
" </head>",
" <body>",
" {% block body %}{% endblock %}",
" </body>",
"</html>",
""
],
"executable": false
}
},
"ref": "bb2178c57eee79e6be0b297aa96fc0c0def81387"
}
}
}
@@ -0,0 +1,60 @@
{
"manifests": {
"symfony/twig-bundle": {
"manifest": {
"bundles": {
"Symfony\\Bundle\\TwigBundle\\TwigBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"templates/": "templates/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
},
"files": {
"config/packages/twig.yaml": {
"contents": [
"twig:",
" default_path: '%kernel.project_dir%/templates'",
"",
"when@test:",
" twig:",
" strict_variables: true",
""
],
"executable": false
},
"templates/base.html.twig": {
"contents": [
"<!DOCTYPE html>",
"<html>",
" <head>",
" <meta charset=\"UTF-8\">",
" <title>{% block title %}Welcome!{% endblock %}</title>",
" {# Run `composer require symfony/webpack-encore-bundle`",
" and uncomment the following Encore helpers to start using Symfony UX #}",
" {% block stylesheets %}",
" {#{{ encore_entry_link_tags('app') }}#}",
" {% endblock %}",
"",
" {% block javascripts %}",
" {#{{ encore_entry_script_tags('app') }}#}",
" {% endblock %}",
" </head>",
" <body>",
" {% block body %}{% endblock %}",
" </body>",
"</html>",
""
],
"executable": false
}
},
"ref": "ce42aa769cc2edfd9246e5647a3a967afe6387ca"
}
}
}
+4 -1
View File
@@ -52,6 +52,9 @@
]
}
},
"conflict": {
"symfony/framework-bundle": "<5.3"
},
"post-install-output": [
" * Modify your DATABASE_URL config in <fg=green>.env</>",
"",
@@ -121,7 +124,7 @@
"executable": false
}
},
"ref": "06a5dfe6c1b12da89276b72ed281be757d24c8a0"
"ref": "c2f0222df1e65fd8bf4c627caee03ac5c0a0d047"
}
}
}
+65 -75
View File
@@ -9,91 +9,81 @@
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
},
"files": {
"config/packages/dev/monolog.yaml": {
"config/packages/monolog.yaml": {
"contents": [
"monolog:",
" handlers:",
" main:",
" type: stream",
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
" level: debug",
" channels: [\"!event\"]",
" # uncomment to get logging in your browser",
" # you may have to allow bigger header sizes in your Web server configuration",
" #firephp:",
" # type: firephp",
" # level: info",
" #chromephp:",
" # type: chromephp",
" # level: info",
" console:",
" type: console",
" process_psr_3_messages: false",
" channels: [\"!event\", \"!doctrine\", \"!console\"]",
""
],
"executable": false
},
"config/packages/prod/deprecations.yaml": {
"contents": [
"# As of Symfony 5.1, deprecations are logged in the dedicated \"deprecation\" channel when it exists",
"#monolog:",
"# channels: [deprecation]",
"# handlers:",
"# deprecation:",
"# type: stream",
"# channels: [deprecation]",
"# path: php://stderr",
""
],
"executable": false
},
"config/packages/prod/monolog.yaml": {
"contents": [
"monolog:",
" handlers:",
" main:",
" type: fingers_crossed",
" action_level: error",
" handler: nested",
" excluded_http_codes: [404, 405]",
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
" nested:",
" type: stream",
" path: php://stderr",
" level: debug",
" formatter: monolog.formatter.json",
" console:",
" type: console",
" process_psr_3_messages: false",
" channels: [\"!event\", \"!doctrine\"]",
""
],
"executable": false
},
"config/packages/test/monolog.yaml": {
"contents": [
"monolog:",
" handlers:",
" main:",
" type: fingers_crossed",
" action_level: error",
" handler: nested",
" excluded_http_codes: [404, 405]",
" channels: [\"!event\"]",
" nested:",
" type: stream",
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
" level: debug",
" channels:",
" - deprecation # Deprecations are logged in the dedicated \"deprecation\" channel when it exists",
"",
"when@dev:",
" monolog:",
" handlers:",
" main:",
" type: stream",
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
" level: debug",
" channels: [\"!event\"]",
" # uncomment to get logging in your browser",
" # you may have to allow bigger header sizes in your Web server configuration",
" #firephp:",
" # type: firephp",
" # level: info",
" #chromephp:",
" # type: chromephp",
" # level: info",
" console:",
" type: console",
" process_psr_3_messages: false",
" channels: [\"!event\", \"!doctrine\", \"!console\"]",
"",
"when@test:",
" monolog:",
" handlers:",
" main:",
" type: fingers_crossed",
" action_level: error",
" handler: nested",
" excluded_http_codes: [404, 405]",
" channels: [\"!event\"]",
" nested:",
" type: stream",
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
" level: debug",
"",
"when@prod:",
" monolog:",
" handlers:",
" main:",
" type: fingers_crossed",
" action_level: error",
" handler: nested",
" excluded_http_codes: [404, 405]",
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
" nested:",
" type: stream",
" path: php://stderr",
" level: debug",
" formatter: monolog.formatter.json",
" console:",
" type: console",
" process_psr_3_messages: false",
" channels: [\"!event\", \"!doctrine\"]",
" deprecation:",
" type: stream",
" channels: [deprecation]",
" path: php://stderr",
""
],
"executable": false
}
},
"ref": "a7bace7dbc5a7ed5608dbe2165e0774c87175fe6"
"ref": "213676c4ec929f046dfde5ea8e97625b81bc0578"
}
}
}
+4 -1
View File
@@ -4,6 +4,9 @@
"manifest": {
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
},
"files": {
@@ -35,7 +38,7 @@
"executable": false
}
},
"ref": "44633353926a0382d7dfb0530922c5c0b30fae11"
"ref": "85de1d8ae45b284c3c84b668171d2615049e698f"
}
}
}
+4 -1
View File
@@ -4,6 +4,9 @@
"manifest": {
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
},
"files": {
@@ -39,7 +42,7 @@
"executable": false
}
},
"ref": "ab9ad892b7bba7ac584f6dc2ccdb659d358c63c5"
"ref": "eb3b377a4dc07006c4bdb2c773652cc9434f5246"
}
}
}
+4 -1
View File
@@ -9,6 +9,9 @@
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
},
"files": {
@@ -59,7 +62,7 @@
"executable": false
}
},
"ref": "09b5e809bd7a992061febd05b797c64a2d93b5cd"
"ref": "98f1f2b0d635908c2b40f3675da2d23b1a069d30"
}
}
}
+4 -1
View File
@@ -10,6 +10,9 @@
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"templates/": "templates/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
},
"files": {
@@ -51,7 +54,7 @@
"executable": false
}
},
"ref": "3dd530739a4284e3272274c128dbb7a8140a66f1"
"ref": "ce42aa769cc2edfd9246e5647a3a967afe6387ca"
}
}
}
+4 -1
View File
@@ -10,6 +10,9 @@
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"templates/": "templates/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
},
"files": {
@@ -51,7 +54,7 @@
"executable": false
}
},
"ref": "bffbb8f1a849736e64006735afae730cb428b6ff"
"ref": "bb2178c57eee79e6be0b297aa96fc0c0def81387"
}
}
}