Se añade version 1.0 de parser html

correciones menores a codigo anterior realizado.
Se añade html de prueba
Se añaden librerias de restapi
parent e4248ad3
...@@ -16,10 +16,10 @@ class AppKernel extends Kernel ...@@ -16,10 +16,10 @@ class AppKernel extends Kernel
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new Propel\PropelBundle\PropelBundle(), new Propel\PropelBundle\PropelBundle(),
//new FOS\RestBundle\FOSRestBundle(), new FOS\RestBundle\FOSRestBundle(),
//new JMS\SerializerBundle\JMSSerializerBundle(), new JMS\SerializerBundle\JMSSerializerBundle(),
//new Nelmio\ApiDocBundle\NelmioApiDocBundle(), new Nelmio\ApiDocBundle\NelmioApiDocBundle(),
//new Nelmio\CorsBundle\NelmioCorsBundle(), new Nelmio\CorsBundle\NelmioCorsBundle(),
new AppBundle\AppBundle(), new AppBundle\AppBundle(),
new BackendBundle\BackendBundle(), new BackendBundle\BackendBundle(),
new CampaniaBundle\CampaniaBundle(), new CampaniaBundle\CampaniaBundle(),
......
...@@ -138,31 +138,31 @@ propel: ...@@ -138,31 +138,31 @@ propel:
dsn: %database_driver%:host=%database_host%;dbname=%database_name%;charset=UTF8 dsn: %database_driver%:host=%database_host%;dbname=%database_name%;charset=UTF8
options: {} options: {}
attributes: {} attributes: {}
#fos_rest: fos_rest:
# param_fetcher_listener: true param_fetcher_listener: true
# view: view:
# view_response_listener: force view_response_listener: force
# disable_csrf_role: ROLE_API disable_csrf_role: ROLE_API
#nelmio_api_doc: nelmio_api_doc:
# name: 'Documentacion WebServices Mcafee' name: 'Documentacion WebServices Mcafee'
#nelmio_cors: nelmio_cors:
# defaults: defaults:
# allow_credentials: false allow_credentials: false
# allow_origin: [] allow_origin: []
# allow_headers: [] allow_headers: []
# allow_methods: [] allow_methods: []
# expose_headers: [] expose_headers: []
# max_age: 0 max_age: 0
# hosts: [] hosts: []
# origin_regex: false origin_regex: false
# forced_allow_origin_value: ~ forced_allow_origin_value: ~
# paths: paths:
# '^/api/': '^/api/':
# origin_regex: true origin_regex: true
# allow_credentials: true allow_credentials: true
# allow_origin: %cors_allow_origin% allow_origin: %cors_allow_origin%
# allow_headers: ['Authorization', 'X-Requested-With', 'Content-Type', 'Accept', 'Origin', 'X-Custom-Auth'] allow_headers: ['Authorization', 'X-Requested-With', 'Content-Type', 'Accept', 'Origin', 'X-Custom-Auth']
# allow_methods: ['POST', 'GET'] allow_methods: ['POST', 'GET']
# max_age: 3600 max_age: 3600
\ No newline at end of file \ No newline at end of file
...@@ -4,10 +4,10 @@ security: ...@@ -4,10 +4,10 @@ security:
# http://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded # http://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded
providers: providers:
#in_memory: in_memory:
#memory: memory:
# users: users:
# userApi: { password: "%pass_ws_userapi%", roles: [ 'ROLE_USER', 'ROLE_API' ] } userApi: { password: "%pass_ws_userapi%", roles: [ 'ROLE_USER', 'ROLE_API' ] }
backend_backendusuario_provider: backend_backendusuario_provider:
id: backend_provider id: backend_provider
...@@ -21,11 +21,11 @@ security: ...@@ -21,11 +21,11 @@ security:
firewalls: firewalls:
# disables authentication for assets and the profiler, adapt it according to your needs # disables authentication for assets and the profiler, adapt it according to your needs
#api_ws: api_ws:
# pattern: ^/api/ pattern: ^/api/
# stateless: true stateless: true
# http_basic: http_basic:
# provider: in_memory provider: in_memory
login_backend_firewall: login_backend_firewall:
pattern: ^/backend/login$ pattern: ^/backend/login$
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment