Advertisement
Guest User

Untitled

a guest
Jul 4th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.96 KB | None | 0 0
  1. fos_rest:
  2. param_fetcher_listener: true
  3. routing_loader:
  4. default_format: json
  5. include_format: json
  6. view:
  7. view_response_listener: 'force'
  8. formats:
  9. xml: false
  10. json: true
  11. templating_formats:
  12. html: false
  13. format_listener:
  14. rules: ~
  15. exception:
  16. codes:
  17. 'SymfonyComponentRoutingExceptionResourceNotFoundException': 404
  18. 'DoctrineORMOptimisticLockException': HTTP_CONFLICT
  19. messages:
  20. 'SymfonyComponentRoutingExceptionResourceNotFoundException': true
  21. allowed_methods_listener: true
  22. access_denied_listener:
  23. json: true
  24. body_listener: true
  25. service:
  26. inflector: app.util.inflector
  27.  
  28. doctrine:
  29. dbal:
  30. driver: pdo_sqlsrv #pdo_mysql
  31. host: "%database_host%"
  32. port: "%database_port%"
  33. dbname: "%database_name%"
  34. user: "%database_user%"
  35. password: "%database_password%"
  36. charset: UTF8
  37. orm:
  38. auto_generate_proxy_classes: "%kernel.debug%"
  39. naming_strategy: doctrine.orm.naming_strategy.underscore
  40. auto_mapping: true
  41. metadata_cache_driver: apc
  42. query_cache_driver: apc
  43.  
  44. "lista": [{
  45. "id": 1,
  46. "username": "admin",
  47. "email": "admin@admin.com",
  48. "enabled": true,
  49. "last_login": "2016-07-04T16:31:07-0500",
  50. "nombre": "admin",
  51. "primer_apellido": "admin",
  52. "segundo_apellido": "admin",
  53. "id_programa_docente": {
  54. "id": 1,
  55. "abreviatura": "LRI",
  56. "nomenclatura": "LRI",
  57. "descripcion": "Licenciatura en Relaciones Internacionales",
  58. "consecutivo": "1",
  59. "clave_dgp": "3453454355",
  60. "mes_anio_primer_periodo": "2016-06-09T10:30:00-0500",
  61. "campus": "HARVARD",
  62. "modalidad": "Escolarizado",
  63. "numero_registro_sege": "863676476",
  64. "fecha_registro_pnpc": "2016-06-09T10:30:00-0500",
  65. "numero_referencia_pnpc": "0976555",
  66. "requiere_pago": true,
  67. "color_rgb": "253545454",
  68. "ultima_actualizacion": "2016-06-17T12:51:28-0500",
  69. "id_nivel_estudios": {
  70. "id": 1,
  71. "clave": "LIC",
  72. "descripcion": "Licenciatura",
  73. "ultima_actualizacion": "2016-06-11T10:58:44-0500",
  74. "id_estatus": {
  75. "id": 1008,
  76. "valor": "Inactivo",
  77. "activo": true,
  78. "id_catalogo": {
  79. "id": 1004,
  80. "valor": "CatalogosEstatus",
  81. "activo": true
  82. }
  83. }
  84. },
  85. "id_archivo_credencial_frontal": {
  86. "id": 193,
  87. "nombre": "FRENTE-LRI.jpg",
  88. "extencion": "jpeg",
  89. "mime_type": "image/jpeg",
  90. "md5": "e5643b567aa6e134ae1abcc23fdb545e",
  91. "is_perfil": false
  92. },
  93. "id_archivo_credencial_reversa": {
  94. "id": 194,
  95. "nombre": "REVES-LRI.jpg",
  96. "extencion": "jpeg",
  97. "mime_type": "image/jpeg",
  98. "md5": "d490d35f448d3fcb849cc708f7291bc5",
  99. "is_perfil": false
  100. },
  101. "id_estatus": {
  102. "id": 1007,
  103. "valor": "Activo",
  104. "activo": true,
  105. "id_catalogo": {
  106. "id": 1004,
  107. "valor": "CatalogosEstatus",
  108. "activo": true
  109. }
  110. }
  111. },
  112. "ldap": true,
  113. "rolesdb": [{
  114. "id": 8,
  115. "id_rol": {
  116. "id": 9,
  117. "nombre": "ADMINISTRADOR",
  118. "descripcion": "Rol Administrador",
  119. "activo": true
  120. }
  121. }, {
  122. "id": 9,
  123. "id_rol": {
  124. "id": 10,
  125. "nombre": "SHOWCASE",
  126. "descripcion": "Rol showcase",
  127. "activo": true
  128. }
  129. }, {
  130. "id": 10,
  131. "id_rol": {
  132. "id": 11,
  133. "nombre": "DESARROLLADOR",
  134. "descripcion": "Rol desarrollador",
  135. "activo": true
  136. }
  137. }]
  138. }]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement