summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/backend/app/config
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole3/backend/app/config')
-rw-r--r--admin/WebConsole3/backend/app/config/config.yml115
-rw-r--r--admin/WebConsole3/backend/app/config/config_dev.yml34
-rw-r--r--admin/WebConsole3/backend/app/config/config_prod.yml28
-rw-r--r--admin/WebConsole3/backend/app/config/config_test.yml16
-rw-r--r--admin/WebConsole3/backend/app/config/jms/config.yml16
-rw-r--r--admin/WebConsole3/backend/app/config/opengnsys/config.yml10
-rw-r--r--admin/WebConsole3/backend/app/config/parameters.yml.dist27
-rw-r--r--admin/WebConsole3/backend/app/config/routing.yml16
-rw-r--r--admin/WebConsole3/backend/app/config/routing_dev.yml22
-rw-r--r--admin/WebConsole3/backend/app/config/security.yml55
-rw-r--r--admin/WebConsole3/backend/app/config/services.yml9
11 files changed, 0 insertions, 348 deletions
diff --git a/admin/WebConsole3/backend/app/config/config.yml b/admin/WebConsole3/backend/app/config/config.yml
deleted file mode 100644
index c4d37f11..00000000
--- a/admin/WebConsole3/backend/app/config/config.yml
+++ /dev/null
@@ -1,115 +0,0 @@
-imports:
- - { resource: parameters.yml }
-
- # Opengnsys Feature Bundles
- - { resource: opengnsys/config.yml }
-
- # JMS Feature Bundles
- - { resource: jms/config.yml }
-
- - { resource: security.yml }
- - { resource: services.yml }
-
-# Put parameters here that don't need to change on each machine where the app is deployed
-# http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
-parameters:
- locale: en
-
-framework:
- #esi: ~
- translator: { fallbacks: ["%locale%"] }
- secret: "%secret%"
- router:
- resource: "%kernel.root_dir%/config/routing.yml"
- strict_requirements: ~
- form: ~
- csrf_protection: ~
- validation: { enable_annotations: true }
- #serializer: { enable_annotations: true }
- templating:
- engines: ['twig']
- default_locale: "%locale%"
- trusted_hosts: ~
- trusted_proxies: ~
- session:
- # handler_id set to null will use default session handler from php.ini
- handler_id: ~
- fragments: ~
- http_method_override: true
-
-# Twig Configuration
-twig:
- debug: "%kernel.debug%"
- strict_variables: "%kernel.debug%"
-
-# Doctrine Configuration
-doctrine:
- dbal:
- default_connection: default
- connections:
- default:
- driver: '%database_driver%'
- server_version: '5.5' # your database server version here
- host: "%database_host%"
- port: "%database_port%"
- dbname: "%database_name%"
- user: "%database_user%"
- password: "%database_password%"
- charset: UTF8
- mapping_types:
- enum: string
- set: string
- og_1:
- driver: '%og_1_database_driver%'
- server_version: '5.5' # your database server version here
- host: '%og_1_database_host%'
- port: '%og_1_database_port%'
- dbname: '%og_1_database_name%'
- user: '%og_1_database_user%'
- password: '%og_1_database_password%'
- charset: UTF8
- mapping_types:
- enum: string
- set: string
- orm:
- auto_generate_proxy_classes: "%kernel.debug%"
- #naming_strategy: doctrine.orm.naming_strategy.underscore
- #auto_mapping: true
- entity_managers:
- default:
- connection: default
- mappings:
- OpengnsysServerBundle: ~
- OpengnsysRepositoryBundle: ~
- OpengnsysCoreBundle: ~
- FOSUserBundle: ~
- FOSOAuthServerBundle: ~
- #OpengnsysMigrationBundle: ~
- og_1:
- connection: og_1
- mappings:
- OpengnsysMigrationBundle: ~
-
-# Swiftmailer Configuration
-swiftmailer:
- transport: "%mailer_transport%"
- host: "%mailer_host%"
- username: "%mailer_user%"
- password: "%mailer_password%"
- spool: { type: memory }
-
-monolog:
- channels: ['og_server', 'og_migration']
- handlers:
- og_server:
- type: rotating_file
- max_files: 31
- level: debug
- path: '%kernel.logs_dir%/og_server.log'
- channels: [og_server]
- og_migration:
- type: rotating_file
- max_files: 31
- level: debug
- path: '%kernel.logs_dir%/og_migration.log'
- channels: [og_migration] \ No newline at end of file
diff --git a/admin/WebConsole3/backend/app/config/config_dev.yml b/admin/WebConsole3/backend/app/config/config_dev.yml
deleted file mode 100644
index 7eb4739c..00000000
--- a/admin/WebConsole3/backend/app/config/config_dev.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-imports:
- - { resource: config.yml }
-
-framework:
- router:
- resource: "%kernel.root_dir%/config/routing_dev.yml"
- strict_requirements: true
- profiler: { only_exceptions: false }
-
-web_profiler:
- toolbar: true
- intercept_redirects: false
-
-monolog:
- handlers:
- main:
- type: stream
- path: "%kernel.logs_dir%/%kernel.environment%.log"
- level: debug
- channels: [!event]
- console:
- type: console
- channels: [!event, !doctrine]
- # 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
-
-#swiftmailer:
-# delivery_address: me@example.com
diff --git a/admin/WebConsole3/backend/app/config/config_prod.yml b/admin/WebConsole3/backend/app/config/config_prod.yml
deleted file mode 100644
index 66a8562d..00000000
--- a/admin/WebConsole3/backend/app/config/config_prod.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-imports:
- - { resource: config.yml }
-
-#framework:
-# validation:
-# cache: validator.mapping.cache.doctrine.apc
-# serializer:
-# cache: serializer.mapping.cache.apc
-
-#doctrine:
-# orm:
-# metadata_cache_driver: apc
-# result_cache_driver: apc
-# query_cache_driver: apc
-
-monolog:
- handlers:
- main:
- type: fingers_crossed
- action_level: error
- handler: nested
- nested:
- type: rotating_file
- max_files: 31
- path: "%kernel.logs_dir%/%kernel.environment%.log"
- level: debug
- console:
- type: console
diff --git a/admin/WebConsole3/backend/app/config/config_test.yml b/admin/WebConsole3/backend/app/config/config_test.yml
deleted file mode 100644
index 2f6d9250..00000000
--- a/admin/WebConsole3/backend/app/config/config_test.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-imports:
- - { resource: config_dev.yml }
-
-framework:
- test: ~
- session:
- storage_id: session.storage.mock_file
- profiler:
- collect: false
-
-web_profiler:
- toolbar: false
- intercept_redirects: false
-
-swiftmailer:
- disable_delivery: true
diff --git a/admin/WebConsole3/backend/app/config/jms/config.yml b/admin/WebConsole3/backend/app/config/jms/config.yml
deleted file mode 100644
index 4820ff61..00000000
--- a/admin/WebConsole3/backend/app/config/jms/config.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-jms_serializer:
- handlers:
- datetime:
- default_format: "Y-m-d H:i:s" #c # ISO8601
- default_timezone: "UTC" # defaults to whatever timezone set in php.ini or via date_default_timezone_set
- metadata:
- directories:
- OpengnsysCoreBundle:
- namespace_prefix: "Opengnsys\\CoreBundle"
- path: "%kernel.root_dir%/../src/Opengnsys/CoreBundle/Resources/config/serializer/OpengnsysCoreBundle"
- FOSUserBundle:
- namespace_prefix: "FOS\\UserBundle"
- path: "%kernel.root_dir%/../src/Opengnsys/CoreBundle/Resources/config/serializer/FOSUserBundle"
- OpengnsysServerBundle:
- namespace_prefix: "Opengnsys\\ServerBundle"
- path: "%kernel.root_dir%/../src/Opengnsys/ServerBundle/Resources/config/serializer/OpengnsysServerBundle"
diff --git a/admin/WebConsole3/backend/app/config/opengnsys/config.yml b/admin/WebConsole3/backend/app/config/opengnsys/config.yml
deleted file mode 100644
index ff6e6563..00000000
--- a/admin/WebConsole3/backend/app/config/opengnsys/config.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-parameters:
- path_client: "/opt/opengnsys/log/clients/"
- path_images: "/opt/opengnsys/images/"
- oglivecli: "/opt/opengnsys/bin/oglivecli"
- pxedir: "/opt/opengnsys/tftpboot/menu.lst"
-
-
-imports:
- # OpengnsysCore
- - { resource: "@OpengnsysCoreBundle/Resources/config/config.yml" } \ No newline at end of file
diff --git a/admin/WebConsole3/backend/app/config/parameters.yml.dist b/admin/WebConsole3/backend/app/config/parameters.yml.dist
deleted file mode 100644
index 4e9051b0..00000000
--- a/admin/WebConsole3/backend/app/config/parameters.yml.dist
+++ /dev/null
@@ -1,27 +0,0 @@
-# This file is a "template" of what your parameters.yml file should look like
-# Set parameters here that may be different on each deployment target of the app, e.g. development, staging, production.
-# http://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
-parameters:
- database_driver: pdo_mysql
- database_host: localhost
- database_port: ~
- database_name: ogAdmBD3
- database_user: u1consola1OG
- database_password: c1consola1OG
-
- og_1_database_driver: pdo_mysql
- og_1_database_host: localhost
- og_1_database_port: 3606
- og_1_database_name: "ogAdmBD"
- og_1_database_user: "u1consola1OG"
- og_1_database_password: "c1consola1OG"
-
- mailer_transport: smtp
- mailer_host: 127.0.0.1
- mailer_user: no-reply@opengnsys.com
- mailer_password: ~
- mailer_sender_name: Opengnsys
-
- # A secret key that's used to generate certain security-related tokens
- secret: ThisTokenIsNotSoSecretChangeIt
-
diff --git a/admin/WebConsole3/backend/app/config/routing.yml b/admin/WebConsole3/backend/app/config/routing.yml
deleted file mode 100644
index d1a02c93..00000000
--- a/admin/WebConsole3/backend/app/config/routing.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-opengnsys_core:
- resource: "@OpengnsysCoreBundle/Resources/config/routing.yml"
- prefix: /
-
-opengnsys_server:
- resource: "@OpengnsysServerBundle/Resources/config/routing.yml"
- prefix: /
-
-opengnsys_repository:
- resource: "@OpengnsysRepositoryBundle/Resources/config/routing.yml"
- prefix: /
-
-# Nelmio
-NelmioApiDocBundle:
- resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
- prefix: /api/doc
diff --git a/admin/WebConsole3/backend/app/config/routing_dev.yml b/admin/WebConsole3/backend/app/config/routing_dev.yml
deleted file mode 100644
index 81f199a6..00000000
--- a/admin/WebConsole3/backend/app/config/routing_dev.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-_wdt:
- resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml"
- prefix: /_wdt
-
-_profiler:
- resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
- prefix: /_profiler
-
-_errors:
- resource: "@TwigBundle/Resources/config/routing/errors.xml"
- prefix: /_error
-
-_main:
- resource: routing.yml
-
-#opengnsys_server:
-# resource: "@OpengnsysServerBundle/Resources/config/routing_dev.yml"
-# prefix: /
-
-#opengnsys_repository:
-# resource: "@OpengnsysRepositoryBundle/Resources/config/routing_dev.yml"
-# prefix: /
diff --git a/admin/WebConsole3/backend/app/config/security.yml b/admin/WebConsole3/backend/app/config/security.yml
deleted file mode 100644
index d8396109..00000000
--- a/admin/WebConsole3/backend/app/config/security.yml
+++ /dev/null
@@ -1,55 +0,0 @@
-security:
- encoders:
- Symfony\Component\Security\Core\User\User: plaintext
- FOS\UserBundle\Model\UserInterface: sha512 #{ algorithm: 'bcrypt', cost: 10 }
-
- role_hierarchy:
- ROLE_ADMIN: [ROLE_USER]
- ROLE_SUPER_ADMIN: [ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
-
- providers:
- opengnsys_userbundle:
- id: fos_user.user_provider.username
- firewalls:
- ## AUTH 2.0 ##
- oauth_token:
- pattern: ^/oauth/v2/token
- security: false
-
- ## API - WEB SERVICE - REST ##
- api_private:
- pattern: ^/api/private
- fos_oauth: true
- stateless: true
- anonymous: false
- api:
- pattern: ^/api
- stateless: true
- anonymous: true
- ## MAIN --> WEB ./ ##
- main:
- pattern: .*
- context: user
- form_login:
- provider: opengnsys_userbundle
- login_path: /login
- use_forward: false
- check_path: /login_check
- failure_path: null
- logout: true
- #path: fos_user_security_logout
- #target: /
- anonymous: true
- remember_me:
- secret: "%secret%"
- lifetime: 31536000 # 365 days in seconds
- path: /
- name: REMEMBERME_OG_MAIN
- access_control:
- # Auth login
- - { path: ^/oauth/v2/auth_login$, role: IS_AUTHENTICATED_ANONYMOUSLY }
- # Secured part of the site
- - { path: ^/.*, role: IS_AUTHENTICATED_ANONYMOUSLY } #ROLE_ADMIN
- # Securet part of Api
- - { path: ^/api/private, roles: [ IS_AUTHENTICATED_FULLY ] }
-
diff --git a/admin/WebConsole3/backend/app/config/services.yml b/admin/WebConsole3/backend/app/config/services.yml
deleted file mode 100644
index 5a805ca4..00000000
--- a/admin/WebConsole3/backend/app/config/services.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# Learn more about services, parameters and containers at
-# http://symfony.com/doc/current/service_container.html
-parameters:
-# parameter_name: value
-
-services:
-# service_name:
-# class: AppBundle\Directory\ClassName
-# arguments: ["@another_service_name", "plain_value", "%parameter_name%"]