Skip to content

Commit

Permalink
ESPP-173 Elasticsuite fictive bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
rbayet committed Jan 26, 2022
1 parent f699126 commit 9235717
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 6 deletions.
2 changes: 2 additions & 0 deletions api/config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@
Acme\GreetingsBundle\AcmeGreetingsBundle::class => ['dev' => true, 'test' => true],
# all => true is required because there is a mapping in the global config/packages/doctrine.yml.
Acme\DeclarativeGreetingsBundle\AcmeDeclarativeGreetingsBundle::class => ['all' => true],
Elasticsuite\Catalog\ElasticsuiteCatalogBundle::class => ['all' => true],
Elasticsuite\Index\ElasticsuiteIndexBundle::class => ['all' => true],
];
2 changes: 1 addition & 1 deletion api/config/packages/api_platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ api_platform:
title: Hello API Platform
version: 1.0.0
mapping:
paths: ['%kernel.project_dir%/src/App','%kernel.project_dir%/src/Elasticsuite']
paths: ['%kernel.project_dir%/src/App']
patch_formats:
json: ['application/merge-patch+json']
swagger:
Expand Down
5 changes: 0 additions & 5 deletions api/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ doctrine:
dir: '%kernel.project_dir%/src/App/Entity'
prefix: 'App\Entity'
alias: App
Elasticsuite:
is_bundle: false
dir: '%kernel.project_dir%/src/Elasticsuite/'
prefix: 'Elasticsuite'
alias: Elasticsuite
#Acme:
# is_bundle: false
# dir: '%kernel.project_dir%/src/Acme/'
Expand Down
23 changes: 23 additions & 0 deletions api/src/Elasticsuite/Catalog/ElasticsuiteCatalogBundle.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
* versions in the future.
*
* @category Elasticsuite
* @package Elasticsuite\Catalog
* @author Richard Bayet <richard.bayet@smile.fr>
* @copyright 2022 Smile
* @license Licensed to Smile-SA. All rights reserved. No warranty, explicit or implicit, provided.
* Unauthorized copying of this file, via any medium, is strictly prohibited.
*/

namespace Elasticsuite\Catalog;

use Symfony\Component\HttpKernel\Bundle\Bundle;

class ElasticsuiteCatalogBundle extends Bundle
{

}
23 changes: 23 additions & 0 deletions api/src/Elasticsuite/Index/ElasticsuiteIndexBundle.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
* versions in the future.
*
* @category Elasticsuite
* @package Elasticsuite\Index
* @author Richard Bayet <richard.bayet@smile.fr>
* @copyright 2022 Smile
* @license Licensed to Smile-SA. All rights reserved. No warranty, explicit or implicit, provided.
* Unauthorized copying of this file, via any medium, is strictly prohibited.
*/

namespace Elasticsuite\Index;

use Symfony\Component\HttpKernel\Bundle\Bundle;

class ElasticsuiteIndexBundle extends Bundle
{

}

0 comments on commit 9235717

Please sign in to comment.