This commit is contained in:
2019-07-16 12:10:32 +02:00
parent daa2907b8d
commit c5729f13c0
23 changed files with 1406 additions and 71 deletions

View File

@ -28,14 +28,18 @@ class AppKernel extends Kernel
new LightSaml\SymfonyBridgeBundle\LightSamlSymfonyBridgeBundle(),
new LightSaml\SpBundle\LightSamlSpBundle(),
new Debril\RssAtomBundle\DebrilRssAtomBundle(),
new Gos\Bundle\WebSocketBundle\GosWebSocketBundle(),
new Gos\Bundle\PubSubRouterBundle\GosPubSubRouterBundle(),
new AppBundle\AppBundle(),
new Cadoles\SAMLBundle\CadolesSAMLBundle(),
new Cadoles\CASBundle\CadolesCASBundle(),
new Cadoles\CoreBundle\CadolesCoreBundle(),
new Cadoles\CronBundle\CadolesCronBundle(),
new Cadoles\PortalBundle\CadolesPortalBundle()
new Cadoles\PortalBundle\CadolesPortalBundle(),
new Cadoles\PortalBundle\CadolesWebsocketBundle(),
];
if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {

View File

@ -5,6 +5,7 @@ imports:
- { resource: services.yml }
- { resource: "@CadolesCoreBundle/Resources/config/services.yml" }
- { resource: "@CadolesPortalBundle/Resources/config/services.yml" }
- { resource: "@CadolesWebsocketBundle/Resources/config/services.yml" }
- { resource: twig.yml }
# Put parameters here that don't need to change on each machine where the app is deployed
@ -125,6 +126,19 @@ light_saml_symfony_bridge:
idp:
files: '%saml_idps_list%'
# websocket configuration
gos_web_socket:
client:
session_handler: session.handler.native_file
firewall: main
shared_config: true
server:
port: %websocket_port% #The port the socket server will listen on
host: %weburl% #The host ip to bind to
router:
resources:
- "@CadolesWebsocketBundle/Resources/config/topic.yml"
# ckeditor configuration
ivory_ck_editor:
base_path: "ckeditor"

View File

@ -10,6 +10,10 @@ portal:
resource: "@CadolesPortalBundle/Resources/config/routing.yml"
prefix: /
websocket:
resource: "@CadolesWebsocketBundle/Resources/config/routing.yml"
prefix: /
lightsaml_sp:
resource: "@LightSamlSpBundle/Resources/config/routing.yml"
prefix: saml

View File

@ -13,7 +13,6 @@ twig:
activate_widsonde: %activate_widsonde%
widsonde_url: %widsonde_url%
eportail_sync: %eportail_sync%
moderegistration: %moderegistration%
labelniveau01: %labelniveau01%
labelsniveau01: %labelsniveau01%