Skip to content
Snippets Groups Projects
Commit f76e085f authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Rename everything to match the new naming schema

parent a2ef42f8
No related branches found
No related tags found
No related merge requests found
Pipeline #52972 passed
Showing
with 35 additions and 35 deletions
{
"name": "dbp/api-core-bundle",
"name": "dbp/relay-core-bundle",
"type": "symfony-bundle",
"license": "AGPL-3.0-or-later",
"require": {
......@@ -32,12 +32,12 @@
},
"autoload": {
"psr-4": {
"DBP\\API\\CoreBundle\\": "src/"
"Dbp\\Relay\\CoreBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DBP\\API\\CoreBundle\\Tests\\": "tests/"
"Dbp\\Relay\\CoreBundle\\Tests\\": "tests/"
}
},
"config": {
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "2ba33713571d830bc28c39ee61b0f097",
"content-hash": "6e7790d6ef4fe5c61c3a38bd435654cf",
"packages": [
{
"name": "api-platform/core",
......
......@@ -14,7 +14,7 @@
<server name="SHELL_VERBOSITY" value="-1"/>
<server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
<server name="SYMFONY_PHPUNIT_VERSION" value="9"/>
<server name="KERNEL_CLASS" value="DBP\API\CoreBundle\Tests\Kernel"/>
<server name="KERNEL_CLASS" value="Dbp\Relay\CoreBundle\Tests\Kernel"/>
</php>
<testsuites>
<testsuite name="Project Test Suite">
......
......@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace DBP\API\CoreBundle\API;
namespace Dbp\Relay\CoreBundle\API;
interface UserSessionInterface
{
......
......@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace DBP\API\CoreBundle\Command;
namespace Dbp\Relay\CoreBundle\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\ArrayInput;
......
......@@ -2,12 +2,12 @@
declare(strict_types=1);
namespace DBP\API\CoreBundle;
namespace Dbp\Relay\CoreBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class DbpCoreBundle extends Bundle
class DbpRelayCoreBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
......
......@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace DBP\API\CoreBundle\DependencyInjection;
namespace Dbp\Relay\CoreBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
......
......@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace DBP\API\CoreBundle\DependencyInjection;
namespace Dbp\Relay\CoreBundle\DependencyInjection;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
......@@ -11,7 +11,7 @@ use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symfony\Component\HttpKernel\DependencyInjection\ConfigurableExtension;
use Symfony\Component\Security\Http\Authenticator\AuthenticatorInterface;
class DbpCoreExtension extends ConfigurableExtension implements PrependExtensionInterface
class DbpRelayCoreExtension extends ConfigurableExtension implements PrependExtensionInterface
{
public function loadInternal(array $mergedConfig, ContainerBuilder $container)
{
......@@ -22,7 +22,7 @@ class DbpCoreExtension extends ConfigurableExtension implements PrependExtension
$loader->load('services.yaml');
// Pass the collected paths that need to be hidden to the OpenApiDecorator
$definition = $container->getDefinition('DBP\API\CoreBundle\Swagger\OpenApiDecorator');
$definition = $container->getDefinition('Dbp\Relay\CoreBundle\Swagger\OpenApiDecorator');
if ($container->hasParameter('dbp_api.paths_to_hide')) {
$definition->addMethodCall('setPathsToHide', [$container->getParameter('dbp_api.paths_to_hide')]);
}
......
......@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace DBP\API\CoreBundle\Exception;
namespace Dbp\Relay\CoreBundle\Exception;
use Symfony\Component\HttpKernel\Exception\HttpException;
......
......@@ -6,7 +6,7 @@ declare(strict_types=1);
* that contains the full result set.
*/
namespace DBP\API\CoreBundle\Helpers;
namespace Dbp\Relay\CoreBundle\Helpers;
class ArrayFullPaginator extends ArrayPaginator
{
......
......@@ -6,7 +6,7 @@ declare(strict_types=1);
* that contains the full result set.
*/
namespace DBP\API\CoreBundle\Helpers;
namespace Dbp\Relay\CoreBundle\Helpers;
use ApiPlatform\Core\DataProvider\PaginatorInterface;
use Iterator;
......
......@@ -6,7 +6,7 @@ declare(strict_types=1);
* that only contains a part of the result set.
*/
namespace DBP\API\CoreBundle\Helpers;
namespace Dbp\Relay\CoreBundle\Helpers;
class ArrayPartPaginator extends ArrayPaginator
{
......
......@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace DBP\API\CoreBundle\Helpers;
namespace Dbp\Relay\CoreBundle\Helpers;
use GuzzleHttp\MessageFormatter;
use GuzzleHttp\Middleware;
......
......@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace DBP\API\CoreBundle\Helpers;
namespace Dbp\Relay\CoreBundle\Helpers;
class Tools
{
......
services:
DBP\API\CoreBundle\Serializer\ApiErrorNormalizer:
Dbp\Relay\CoreBundle\Serializer\ApiErrorNormalizer:
autowire: true
autoconfigure: false
tags: [{'name' : 'serializer.normalizer', priority: '-700'}]
DBP\API\CoreBundle\Service\LoggingProcessor:
Dbp\Relay\CoreBundle\Service\LoggingProcessor:
autowire: true
autoconfigure: true
tags:
- { name: monolog.processor }
DBP\API\CoreBundle\Command\CronCommand:
Dbp\Relay\CoreBundle\Command\CronCommand:
autowire: true
autoconfigure: true
DBP\API\CoreBundle\Swagger\OpenApiDecorator:
Dbp\Relay\CoreBundle\Swagger\OpenApiDecorator:
decorates: 'api_platform.openapi.factory'
autowire: true
autoconfigure: false
services:
DBP\API\CoreBundle\TestUtils\TestUserSession:
Dbp\Relay\CoreBundle\TestUtils\TestUserSession:
autowire: true
autoconfigure: true
public: true
DBP\API\CoreBundle\TestUtils\TestAuthenticator:
Dbp\Relay\CoreBundle\TestUtils\TestAuthenticator:
autowire: true
autoconfigure: true
public: true
Symfony\Component\Security\Http\Authenticator\AuthenticatorInterface:
'@DBP\API\CoreBundle\TestUtils\TestAuthenticator'
'@Dbp\Relay\CoreBundle\TestUtils\TestAuthenticator'
DBP\API\CoreBundle\API\UserSessionInterface:
'@DBP\API\CoreBundle\TestUtils\TestUserSession'
Dbp\Relay\CoreBundle\API\UserSessionInterface:
'@Dbp\Relay\CoreBundle\TestUtils\TestUserSession'
......@@ -2,9 +2,9 @@
declare(strict_types=1);
namespace DBP\API\CoreBundle\Serializer;
namespace Dbp\Relay\CoreBundle\Serializer;
use DBP\API\CoreBundle\Exception\ApiError;
use Dbp\Relay\CoreBundle\Exception\ApiError;
use Symfony\Component\ErrorHandler\Exception\FlattenException;
use Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface;
use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface;
......
......@@ -2,10 +2,10 @@
declare(strict_types=1);
namespace DBP\API\CoreBundle\Service;
namespace Dbp\Relay\CoreBundle\Service;
use DBP\API\CoreBundle\API\UserSessionInterface;
use DBP\API\CoreBundle\Helpers\Tools;
use Dbp\Relay\CoreBundle\API\UserSessionInterface;
use Dbp\Relay\CoreBundle\Helpers\Tools;
class LoggingProcessor
{
......
......@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace DBP\API\CoreBundle\Swagger;
namespace Dbp\Relay\CoreBundle\Swagger;
use ApiPlatform\Core\OpenApi\Factory\OpenApiFactoryInterface;
use ApiPlatform\Core\OpenApi\Model\Paths;
......
......@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace DBP\API\CoreBundle\TestUtils;
namespace Dbp\Relay\CoreBundle\TestUtils;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment