Skip to content

Commit

Permalink
applied alphabetical ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasLudvik committed Mar 27, 2024
1 parent 2f52818 commit f703a90
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 53 deletions.
2 changes: 1 addition & 1 deletion src/Resources/config/frontend_api.yaml.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
parameters:
shopsys.frontend_api.keys_filepath: '%kernel.project_dir%/config/frontend-api'
shopsys.frontend_api.domains:
- 1
- 2
shopsys.frontend_api.keys_filepath: '%kernel.project_dir%/config/frontend-api'
18 changes: 9 additions & 9 deletions src/Resources/config/routing.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
overblog_graphql_endpoint:
path: /{query}
requirements:
query: "^(?!batch|graphiql).*"
defaults:
_controller: Shopsys\FrontendApiBundle\Controller\FrontendApiController::endpointAction
_format: 'json'
query: ''

overblog_graphql_batch_endpoint:
path: /batch/
defaults:
_controller: Shopsys\FrontendApiBundle\Controller\FrontendApiController::batchEndpointAction
_format: 'json'
path: /batch/
overblog_graphql_endpoint:
defaults:
_controller: Shopsys\FrontendApiBundle\Controller\FrontendApiController::endpointAction
_format: 'json'
query: ''
path: /{query}
requirements:
query: "^(?!batch|graphiql).*"
4 changes: 2 additions & 2 deletions src/Resources/config/routing_dev.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
overblog_graphiql_endpoint:
path: /graphiql/
defaults:
_controller: Overblog\GraphiQLBundle\Controller\GraphiQLController::indexAction
path: /graphiql/

overblog_graphiql_endpoint_multiple:
path: /graphiql/{schemaName}
defaults:
_controller: Overblog\GraphiQLBundle\Controller\GraphiQLController::indexAction
path: /graphiql/{schemaName}
80 changes: 40 additions & 40 deletions src/Resources/config/services.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
services:
_defaults:
autowire: true
autoconfigure: true
public: false
autowire: true
bind:
Overblog\DataLoader\DataLoaderInterface $imagesBatchLoader: '@images_batch_loader'
Overblog\DataLoader\DataLoaderInterface $firstImageBatchLoader: '@first_image_batch_loader'
public: false

Shopsys\FrontendApiBundle\:
resource: '../../**/*{Facade,Factory,Mapper,Mutation,Query,Repository,Subscriber,Validator,Provider,Loader}.php'
Expand All @@ -16,75 +16,75 @@ services:
tags:
- { name: overblog_graphql.resolver_map, schema: default }

Shopsys\FrontendApiBundle\Controller\FrontendApiController:
tags: ['controller.service_arguments']
Lcobucci\JWT\Configuration:
factory: ['@Shopsys\FrontendApiBundle\Model\Token\JwtConfigurationFactory', create]

Shopsys\FrontendApiBundle\Component\Domain\EnabledOnDomainChecker:
arguments:
$enabledDomainIds: '%shopsys.frontend_api.domains%'

Shopsys\FrontendApiBundle\Model\Error\ErrorHandlerListener:
tags:
- { name: kernel.event_listener, event: kernel.exception, method: onKernelException, priority: 20}

Shopsys\FrontendApiBundle\Model\Mutation\Login\LoginMutation:
arguments:
$loginRateLimiter: '@security.login_throttling.frontend_api.limiter'

Shopsys\FrontendApiBundle\Model\Token\TokenAuthenticator: ~
Shopsys\FrontendApiBundle\Component\ExpressionLanguage\DynamicPaginationComplexityExpressionFunction:
tags: [ 'overblog_graphql.expression_function' ]

Shopsys\FrontendApiBundle\Model\User\FrontendApiUserProvider: ~
Shopsys\FrontendApiBundle\Component\GqlContext\GqlContextInitializer: ~

Shopsys\FrontendApiBundle\Model\User\FrontendApiUserFactory: ~
Shopsys\FrontendApiBundle\Controller\FrontendApiController:
tags: ['controller.service_arguments']

Shopsys\FrontendApiBundle\Model\User\FrontendApiUserFactoryInterface:
alias: Shopsys\FrontendApiBundle\Model\User\FrontendApiUserFactory
Shopsys\FrontendApiBundle\Model\Error\ErrorHandlerListener:
tags:
- { name: kernel.event_listener, event: kernel.exception, method: onKernelException, priority: 20}

Shopsys\FrontendApiBundle\Model\GraphqlConfigurator: ~

Shopsys\FrontendApiBundle\Model\Product\Filter\ProductFilterNormalizer: ~

Lcobucci\JWT\Configuration:
factory: ['@Shopsys\FrontendApiBundle\Model\Token\JwtConfigurationFactory', create]

Shopsys\FrontendApiBundle\Model\Logger\FrontendApiLogger:
arguments:
$logger: '@monolog.logger'
$isValidationLoggedAsError: '%shopsys.frontend_api.validation_logged_as_error%'

Shopsys\FrontendApiBundle\Component\ExpressionLanguage\DynamicPaginationComplexityExpressionFunction:
tags: [ 'overblog_graphql.expression_function' ]
Shopsys\FrontendApiBundle\Model\Mutation\Login\LoginMutation:
arguments:
$loginRateLimiter: '@security.login_throttling.frontend_api.limiter'

Shopsys\FrontendApiBundle\Model\Resolver\Products\Search\ProductSearchResultsProviderResolver:
Shopsys\FrontendApiBundle\Model\Product\Filter\ProductFilterNormalizer: ~

Shopsys\FrontendApiBundle\Model\Resolver\Article\Search\ArticlesSearchResultsProvider:
tags:
- { name: 'shopsys.frontend_api.articles_search_results_provider', priority: 1 }

Shopsys\FrontendApiBundle\Model\Resolver\Article\Search\ArticlesSearchResultsProviderResolver:
arguments:
$productSearchResultsProviders: !tagged 'shopsys.frontend_api.products_search_results_provider'
$articlesSearchResultsProviders: !tagged 'shopsys.frontend_api.articles_search_results_provider'

Shopsys\FrontendApiBundle\Model\Resolver\Products\Search\ProductSearchResultsProvider:
Shopsys\FrontendApiBundle\Model\Resolver\Brand\Search\BrandSearchResultsProvider:
tags:
- { name: 'shopsys.frontend_api.products_search_results_provider', priority: 1 }
- { name: 'shopsys.frontend_api.brands_search_results_provider', priority: 1 }

Shopsys\FrontendApiBundle\Model\Resolver\Category\Search\CategoriesSearchResultsProviderResolver:
Shopsys\FrontendApiBundle\Model\Resolver\Brand\Search\BrandSearchResultsProviderResolver:
arguments:
$categoriesSearchResultsProviders: !tagged 'shopsys.frontend_api.categories_search_results_provider'
$brandSearchResultsProviders: !tagged 'shopsys.frontend_api.brands_search_results_provider'

Shopsys\FrontendApiBundle\Model\Resolver\Category\Search\CategoriesSearchResultsProvider:
tags:
- { name: 'shopsys.frontend_api.categories_search_results_provider', priority: 1 }

Shopsys\FrontendApiBundle\Model\Resolver\Article\Search\ArticlesSearchResultsProviderResolver:
Shopsys\FrontendApiBundle\Model\Resolver\Category\Search\CategoriesSearchResultsProviderResolver:
arguments:
$articlesSearchResultsProviders: !tagged 'shopsys.frontend_api.articles_search_results_provider'
$categoriesSearchResultsProviders: !tagged 'shopsys.frontend_api.categories_search_results_provider'

Shopsys\FrontendApiBundle\Model\Resolver\Article\Search\ArticlesSearchResultsProvider:
Shopsys\FrontendApiBundle\Model\Resolver\Products\Search\ProductSearchResultsProvider:
tags:
- { name: 'shopsys.frontend_api.articles_search_results_provider', priority: 1 }
- { name: 'shopsys.frontend_api.products_search_results_provider', priority: 1 }

Shopsys\FrontendApiBundle\Model\Resolver\Brand\Search\BrandSearchResultsProviderResolver:
Shopsys\FrontendApiBundle\Model\Resolver\Products\Search\ProductSearchResultsProviderResolver:
arguments:
$brandSearchResultsProviders: !tagged 'shopsys.frontend_api.brands_search_results_provider'
$productSearchResultsProviders: !tagged 'shopsys.frontend_api.products_search_results_provider'

Shopsys\FrontendApiBundle\Model\Resolver\Brand\Search\BrandSearchResultsProvider:
tags:
- { name: 'shopsys.frontend_api.brands_search_results_provider', priority: 1 }
Shopsys\FrontendApiBundle\Model\Token\TokenAuthenticator: ~

Shopsys\FrontendApiBundle\Component\GqlContext\GqlContextInitializer: ~
Shopsys\FrontendApiBundle\Model\User\FrontendApiUserFactory: ~

Shopsys\FrontendApiBundle\Model\User\FrontendApiUserFactoryInterface:
alias: Shopsys\FrontendApiBundle\Model\User\FrontendApiUserFactory

Shopsys\FrontendApiBundle\Model\User\FrontendApiUserProvider: ~
2 changes: 1 addition & 1 deletion src/Resources/config/services_test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
_defaults:
autowire: true
autoconfigure: true
autowire: true
public: true

Shopsys\FrontendApiBundle\Component\Domain\EnabledOnDomainChecker:
Expand Down

0 comments on commit f703a90

Please sign in to comment.