jirafe 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.autotest +5 -0
- data/.gitignore +23 -0
- data/.rbenv-version +1 -0
- data/.rspec +2 -0
- data/.travis.yml +11 -0
- data/Gemfile +8 -0
- data/LICENSE +13 -0
- data/README.md +104 -0
- data/Rakefile +27 -0
- data/fixtures/responses/application_get_with_cloud_token.yml +40 -0
- data/fixtures/responses/application_get_with_invalid_token.yml +41 -0
- data/fixtures/responses/application_get_with_master_token.yml +784 -0
- data/fixtures/responses/application_get_with_reporting_token.yml +38 -0
- data/fixtures/responses/application_post_with_app_token.yml +38 -0
- data/fixtures/responses/application_post_with_cloud_token.yml +76 -0
- data/fixtures/responses/application_post_with_invalid_token.yml +79 -0
- data/fixtures/responses/application_post_with_master_token.yml +784 -0
- data/fixtures/responses/application_post_with_master_token_blank_name.yml +79 -0
- data/fixtures/responses/application_post_with_master_token_dupe_name.yml +76 -0
- data/fixtures/responses/application_post_with_master_token_no_name.yml +79 -0
- data/fixtures/responses/application_post_with_reporting_token.yml +76 -0
- data/fixtures/responses/application_put_with_cloud_token.yml +68 -0
- data/fixtures/responses/application_put_with_invalid_token.yml +145 -0
- data/fixtures/responses/application_put_with_master_token.yml +68 -0
- data/fixtures/responses/application_put_with_reporting_token.yml +68 -0
- data/fixtures/responses/application_sites_get_with_master_token.yml +38 -0
- data/fixtures/responses/callback_event_post_event.yml +2000 -0
- data/fixtures/responses/callback_event_post_event_fetch_token.yml +1473 -0
- data/fixtures/responses/jirafe_resource_get_status_url.yml +38 -0
- data/fixtures/responses/jirafe_resource_get_status_url_with_query_param.yml +38 -0
- data/fixtures/responses/site_abandon_rate_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_abandoned_average_ordervalue_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_abandoned_carts_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_abandoned_revenue_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_average_order_value_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_bounces_rate_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_cart_segmentation_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_conversion_rate_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_conversions_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_customers_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_dashboard_get_with_master_token.yml +60 -0
- data/fixtures/responses/site_get_with_master_token.yml +73 -0
- data/fixtures/responses/site_keywords_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_orders_status_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_origins_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_period_data_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_post_with_app_token.yml +727 -0
- data/fixtures/responses/site_post_with_master_token.yml +1569 -0
- data/fixtures/responses/site_products_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_referers_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_revenues_average_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_revenues_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_segments_carts_get_with_admin_token.yml +108 -0
- data/fixtures/responses/site_segments_sales_get_with_admin_token.yml +143 -0
- data/fixtures/responses/site_total_carts_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_translations__get_with_master_token.yml +155 -0
- data/fixtures/responses/site_translations_de_get_with_master_token.yml +156 -0
- data/fixtures/responses/site_translations_es_get_with_master_token.yml +155 -0
- data/fixtures/responses/site_translations_fr_get_with_master_token.yml +178 -0
- data/fixtures/responses/site_translations_german_get_with_master_token.yml +156 -0
- data/fixtures/responses/site_translations_get_with_master_token.yml +865 -0
- data/fixtures/responses/site_translations_xx_get_with_master_token.yml +155 -0
- data/fixtures/responses/site_visits_get_with_master_token.yml +49 -0
- data/fixtures/responses/status_get.yml +38 -0
- data/fixtures/responses/status_get_500.yml +31 -0
- data/fixtures/responses/test.yml +7364 -0
- data/fixtures/responses/version_get.yml +38 -0
- data/jirafe.gemspec +29 -0
- data/lib/jirafe.rb +64 -0
- data/lib/jirafe/callback/event.rb +57 -0
- data/lib/jirafe/callback/events/order.rb +48 -0
- data/lib/jirafe/callback/events/refund.rb +32 -0
- data/lib/jirafe/callback/jirafe_callback.rb +50 -0
- data/lib/jirafe/configuration.rb +47 -0
- data/lib/jirafe/error.rb +57 -0
- data/lib/jirafe/resource/application.rb +18 -0
- data/lib/jirafe/resource/jirafe_resource.rb +188 -0
- data/lib/jirafe/resource/site.rb +21 -0
- data/lib/jirafe/resource/sites/abandon_rate.rb +16 -0
- data/lib/jirafe/resource/sites/abandoned_average_order_value.rb +17 -0
- data/lib/jirafe/resource/sites/abandoned_carts.rb +16 -0
- data/lib/jirafe/resource/sites/abandoned_revenue.rb +16 -0
- data/lib/jirafe/resource/sites/average_order_value.rb +16 -0
- data/lib/jirafe/resource/sites/bounces_rate.rb +16 -0
- data/lib/jirafe/resource/sites/cart_segmentation.rb +11 -0
- data/lib/jirafe/resource/sites/conversion_rate.rb +16 -0
- data/lib/jirafe/resource/sites/conversions.rb +17 -0
- data/lib/jirafe/resource/sites/customers.rb +16 -0
- data/lib/jirafe/resource/sites/dashboard.rb +27 -0
- data/lib/jirafe/resource/sites/keywords.rb +11 -0
- data/lib/jirafe/resource/sites/orders_status.rb +15 -0
- data/lib/jirafe/resource/sites/origins.rb +11 -0
- data/lib/jirafe/resource/sites/period_data.rb +16 -0
- data/lib/jirafe/resource/sites/products.rb +12 -0
- data/lib/jirafe/resource/sites/referers.rb +12 -0
- data/lib/jirafe/resource/sites/revenues.rb +16 -0
- data/lib/jirafe/resource/sites/revenues_average.rb +16 -0
- data/lib/jirafe/resource/sites/segments_carts.rb +14 -0
- data/lib/jirafe/resource/sites/segments_sales.rb +14 -0
- data/lib/jirafe/resource/sites/total_carts.rb +16 -0
- data/lib/jirafe/resource/sites/translations.rb +18 -0
- data/lib/jirafe/resource/sites/visitors_interest.rb +14 -0
- data/lib/jirafe/resource/sites/visits.rb +16 -0
- data/lib/jirafe/resource/status.rb +19 -0
- data/lib/jirafe/resource/sync_service.rb +1 -0
- data/lib/jirafe/resource/time_series.rb +29 -0
- data/lib/jirafe/resource/user.rb +32 -0
- data/lib/jirafe/resource/version.rb +9 -0
- data/spec/jirafe/callback/event_spec.rb +85 -0
- data/spec/jirafe/configuration_spec.rb +150 -0
- data/spec/jirafe/jirafe_spec.rb +23 -0
- data/spec/jirafe/resource/application_spec.rb +220 -0
- data/spec/jirafe/resource/jirafe_resource_spec.rb +188 -0
- data/spec/jirafe/resource/site_spec.rb +61 -0
- data/spec/jirafe/resource/sites/abandon_rate_spec.rb +11 -0
- data/spec/jirafe/resource/sites/abandoned_average_order_value_spec.rb +11 -0
- data/spec/jirafe/resource/sites/abandoned_carts_spec.rb +11 -0
- data/spec/jirafe/resource/sites/abandoned_revenue_spec.rb +11 -0
- data/spec/jirafe/resource/sites/average_order_value_spec.rb +11 -0
- data/spec/jirafe/resource/sites/bounces_rate_spec.rb +11 -0
- data/spec/jirafe/resource/sites/cart_segmentation_spec.rb +11 -0
- data/spec/jirafe/resource/sites/conversion_rate_spec.rb +11 -0
- data/spec/jirafe/resource/sites/conversions_spec.rb +11 -0
- data/spec/jirafe/resource/sites/customers_spec.rb +11 -0
- data/spec/jirafe/resource/sites/dashboard_spec.rb +29 -0
- data/spec/jirafe/resource/sites/keywords_spec.rb +11 -0
- data/spec/jirafe/resource/sites/orders_status_spec.rb +34 -0
- data/spec/jirafe/resource/sites/origins_spec.rb +11 -0
- data/spec/jirafe/resource/sites/period_data_spec.rb +22 -0
- data/spec/jirafe/resource/sites/products_spec.rb +11 -0
- data/spec/jirafe/resource/sites/referers_spec.rb +11 -0
- data/spec/jirafe/resource/sites/revenues_average_spec.rb +11 -0
- data/spec/jirafe/resource/sites/revenues_spec.rb +11 -0
- data/spec/jirafe/resource/sites/segments_carts_spec.rb +29 -0
- data/spec/jirafe/resource/sites/segments_sales_spec.rb +29 -0
- data/spec/jirafe/resource/sites/total_carts_spec.rb +11 -0
- data/spec/jirafe/resource/sites/translations_spec.rb +76 -0
- data/spec/jirafe/resource/sites/visitors_interest_spec.rb +8 -0
- data/spec/jirafe/resource/sites/visits_spec.rb +11 -0
- data/spec/jirafe/resource/status_spec.rb +31 -0
- data/spec/jirafe/resource/version_spec.rb +15 -0
- data/spec/spec_helper.rb +58 -0
- data/spec/support/callback_server.rb +11 -0
- data/spec/support/response_helper.rb +31 -0
- data/spec/support/shared_examples/empty_resource.rb +17 -0
- data/spec/support/shared_examples/time_series.rb +31 -0
- data/spec/test_configuration.rb +15 -0
- metadata +360 -0
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.jirafe.dev/v1/applications/1?token=user_reporting_app_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- application/json
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Wed, 05 Sep 2012 19:49:42 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 5047acd6f2956
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '{"app_id":1,"name":"my application"}'
|
36
|
+
http_version:
|
37
|
+
recorded_at: Wed, 05 Sep 2012 19:49:43 GMT
|
38
|
+
recorded_with: VCR 2.2.4
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://api.jirafe.dev/v1/applications?token=secret_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: name=my%20new%20app&url=
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- application/json
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Wed, 05 Sep 2012 19:06:50 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 5047a2ca46cc2
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '{"app_id":"171","name":"my new app","token":"add0b32af191b6c15e2e01d280113411"}'
|
36
|
+
http_version:
|
37
|
+
recorded_at: Wed, 05 Sep 2012 19:06:50 GMT
|
38
|
+
recorded_with: VCR 2.2.4
|
@@ -0,0 +1,76 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://api.jirafe.dev/v1/applications?body%5Bname%5D=my%20new%20app&body%5Burl%5D=&token=user_reporting_app_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 400
|
13
|
+
message: Bad Request
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- text/html; charset=UTF-8
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Tue, 04 Sep 2012 18:41:30 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 50464b5a9ebac
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '{"error":{"code":400,"message":"Invalid Application resource provided.","data":["[name]()
|
36
|
+
- Application name cannot be blank"]}}
|
37
|
+
|
38
|
+
'
|
39
|
+
http_version:
|
40
|
+
recorded_at: Tue, 04 Sep 2012 18:41:30 GMT
|
41
|
+
- request:
|
42
|
+
method: post
|
43
|
+
uri: http://api.jirafe.dev/v1/applications?token=user_reporting_app_token
|
44
|
+
body:
|
45
|
+
encoding: US-ASCII
|
46
|
+
string: name=my%20new%20app&url=
|
47
|
+
headers: {}
|
48
|
+
response:
|
49
|
+
status:
|
50
|
+
code: 200
|
51
|
+
message: OK
|
52
|
+
headers:
|
53
|
+
Server:
|
54
|
+
- nginx/1.2.2
|
55
|
+
Content-Type:
|
56
|
+
- application/json
|
57
|
+
Transfer-Encoding:
|
58
|
+
- chunked
|
59
|
+
Connection:
|
60
|
+
- keep-alive
|
61
|
+
Keep-Alive:
|
62
|
+
- timeout=10
|
63
|
+
X-Powered-By:
|
64
|
+
- PHP/5.3.15
|
65
|
+
Cache-Control:
|
66
|
+
- no-cache
|
67
|
+
Date:
|
68
|
+
- Wed, 05 Sep 2012 19:49:44 GMT
|
69
|
+
X-Debug-Token:
|
70
|
+
- 5047acd82117c
|
71
|
+
body:
|
72
|
+
encoding: US-ASCII
|
73
|
+
string: ! '{"app_id":"228","name":"my new app","token":"f187fa89e0f594b99b15f949a1705d11"}'
|
74
|
+
http_version:
|
75
|
+
recorded_at: Wed, 05 Sep 2012 19:49:44 GMT
|
76
|
+
recorded_with: VCR 2.2.4
|
@@ -0,0 +1,79 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://api.jirafe.dev/v1/applications?body%5Bname%5D=my%20new%20app&body%5Burl%5D=&token=__invalid_token__
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 401
|
13
|
+
message: Unauthorized
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- text/html; charset=UTF-8
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Tue, 04 Sep 2012 18:41:30 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 50464b5ab3293
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '{"error":{"code":401,"message":"Jirafe API authentication failed
|
36
|
+
using token '__invalid_token__'."}}
|
37
|
+
|
38
|
+
'
|
39
|
+
http_version:
|
40
|
+
recorded_at: Tue, 04 Sep 2012 18:41:30 GMT
|
41
|
+
- request:
|
42
|
+
method: post
|
43
|
+
uri: http://api.jirafe.dev/v1/applications?token=__invalid_token__
|
44
|
+
body:
|
45
|
+
encoding: US-ASCII
|
46
|
+
string: name=my%20new%20app&url=
|
47
|
+
headers: {}
|
48
|
+
response:
|
49
|
+
status:
|
50
|
+
code: 401
|
51
|
+
message: Unauthorized
|
52
|
+
headers:
|
53
|
+
Server:
|
54
|
+
- nginx/1.2.2
|
55
|
+
Content-Type:
|
56
|
+
- text/html; charset=UTF-8
|
57
|
+
Transfer-Encoding:
|
58
|
+
- chunked
|
59
|
+
Connection:
|
60
|
+
- keep-alive
|
61
|
+
Keep-Alive:
|
62
|
+
- timeout=10
|
63
|
+
X-Powered-By:
|
64
|
+
- PHP/5.3.15
|
65
|
+
Cache-Control:
|
66
|
+
- no-cache
|
67
|
+
Date:
|
68
|
+
- Wed, 05 Sep 2012 19:49:44 GMT
|
69
|
+
X-Debug-Token:
|
70
|
+
- 5047acd8312a5
|
71
|
+
body:
|
72
|
+
encoding: US-ASCII
|
73
|
+
string: ! '{"error":{"code":401,"message":"Jirafe API authentication failed
|
74
|
+
using token '__invalid_token__'."}}
|
75
|
+
|
76
|
+
'
|
77
|
+
http_version:
|
78
|
+
recorded_at: Wed, 05 Sep 2012 19:49:44 GMT
|
79
|
+
recorded_with: VCR 2.2.4
|
@@ -0,0 +1,784 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://api.jirafe.dev/v1/applications?body%5Bname%5D=my%20new%20app&body%5Burl%5D=&token=user_master_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 400
|
13
|
+
message: Bad Request
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- text/html; charset=UTF-8
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Tue, 04 Sep 2012 18:41:29 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 50464b5a01841
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '{"error":{"code":400,"message":"Invalid Application resource provided.","data":["[name]()
|
36
|
+
- Application name cannot be blank"]}}
|
37
|
+
|
38
|
+
'
|
39
|
+
http_version:
|
40
|
+
recorded_at: Tue, 04 Sep 2012 18:41:30 GMT
|
41
|
+
- request:
|
42
|
+
method: post
|
43
|
+
uri: http://api.jirafe.dev/v1/applications/?token=user_master_token
|
44
|
+
body:
|
45
|
+
encoding: US-ASCII
|
46
|
+
string: name=my%20new%20app&url=
|
47
|
+
headers: {}
|
48
|
+
response:
|
49
|
+
status:
|
50
|
+
code: 404
|
51
|
+
message: Not Found
|
52
|
+
headers:
|
53
|
+
Server:
|
54
|
+
- nginx/1.2.2
|
55
|
+
Date:
|
56
|
+
- Wed, 05 Sep 2012 18:55:39 GMT
|
57
|
+
Content-Type:
|
58
|
+
- text/html; charset=UTF-8
|
59
|
+
Transfer-Encoding:
|
60
|
+
- chunked
|
61
|
+
Connection:
|
62
|
+
- keep-alive
|
63
|
+
Keep-Alive:
|
64
|
+
- timeout=10
|
65
|
+
X-Powered-By:
|
66
|
+
- PHP/5.3.15
|
67
|
+
Cache-Control:
|
68
|
+
- no-cache
|
69
|
+
X-Debug-Token:
|
70
|
+
- 5047a02b41e2a
|
71
|
+
body:
|
72
|
+
encoding: US-ASCII
|
73
|
+
string: ! "<!DOCTYPE html>\n<html>\n <head>\n <meta http-equiv=\"Content-Type\"
|
74
|
+
content=\"text/html; charset=UTF-8\"/>\n <meta name=\"robots\" content=\"noindex,nofollow\"
|
75
|
+
/>\n <title> No route found for "POST /v1/applications/"
|
76
|
+
(404 Not Found)\n</title>\n <link href=\"/bundles/framework/css/exception_layout.css\"
|
77
|
+
rel=\"stylesheet\" type=\"text/css\" media=\"all\" />\n <link href=\"/bundles/framework/css/exception.css\"
|
78
|
+
rel=\"stylesheet\" type=\"text/css\" media=\"all\" />\n </head>\n <body>\n
|
79
|
+
\ <div id=\"content\">\n <div class=\"header clear_fix\">\n
|
80
|
+
\ <div class=\"header_logo\">\n <img src=\"/bundles/framework/images/logo_symfony.gif\"
|
81
|
+
alt=\"Symfony\" />\n </div>\n\n <div class=\"search\">\n
|
82
|
+
\ <form method=\"get\" action=\"http://symfony.com/search\">\n
|
83
|
+
\ <div class=\"form_row\">\n\n <label
|
84
|
+
for=\"search_id\">\n <img src=\"/bundles/framework/images/grey_magnifier.png\"
|
85
|
+
alt=\"Search on Symfony website\" />\n </label>\n\n <input
|
86
|
+
name=\"q\" id=\"search_id\" type=\"search\" placeholder=\"Search on Symfony
|
87
|
+
website\" />\n\n <button type=\"submit\">\n <span
|
88
|
+
class=\"border_l\">\n <span class=\"border_r\">\n
|
89
|
+
\ <span class=\"btn_bg\">OK</span>\n </span>\n
|
90
|
+
\ </span>\n </button>\n </div>\n
|
91
|
+
\ </form>\n </div>\n </div>\n\n
|
92
|
+
\ <div class=\"sf-exceptionreset\">\n\n <div class=\"block_exception\">\n
|
93
|
+
\ <div class=\"block_exception_detected clear_fix\">\n <div
|
94
|
+
class=\"illustration_exception\">\n <img alt=\"Exception detected!\"
|
95
|
+
src=\"/bundles/framework/images/exception_detected.gif\"/>\n </div>\n
|
96
|
+
\ <div class=\"text_exception\">\n\n <div class=\"open_quote\">\n
|
97
|
+
\ <img alt=\"\" src=\"/bundles/framework/images/open_quote.gif\"/>\n
|
98
|
+
\ </div>\n\n <h1>\n No route
|
99
|
+
found for "POST /v1/applications/"\n </h1>\n\n <div>\n
|
100
|
+
\ <strong>404</strong> Not Found - <abbr title=\"Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException\">NotFoundHttpException</abbr>\n
|
101
|
+
\ </div>\n\n <div
|
102
|
+
class=\"linked\"><span><strong>1</strong> linked Exception:</span>\n <ul>\n
|
103
|
+
\ <li>\n <abbr
|
104
|
+
title=\"Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException\">ResourceNotFoundException</abbr>
|
105
|
+
<a href=\"#traces_link_1\" onclick=\"toggle('traces_1', 'traces'); switchIcons('icon_traces_1_open',
|
106
|
+
'icon_traces_1_close');\">»</a>\n </li>\n
|
107
|
+
\ </ul>\n </div>\n
|
108
|
+
\ \n <div class=\"close_quote\">\n <img
|
109
|
+
alt=\"\" src=\"/bundles/framework/images/close_quote.gif\"/>\n </div>\n\n
|
110
|
+
\ </div>\n </div>\n </div>\n\n <div class=\"block\">\n
|
111
|
+
\ <h2>\n <span><small>[2/2]</small></span>\n <abbr
|
112
|
+
title=\"Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException\">NotFoundHttpException</abbr>:
|
113
|
+
No route found for "POST /v1/applications/" \n <a
|
114
|
+
href=\"#\" onclick=\"toggle('traces_0', 'traces'); switchIcons('icon_traces_0_open',
|
115
|
+
'icon_traces_0_close'); return false;\"><img class=\"toggle\" id=\"icon_traces_0_close\"
|
116
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
117
|
+
hidden\" /><img class=\"toggle\" id=\"icon_traces_0_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
118
|
+
style=\"visibility: display; margin-left: -18px\" /></a> </h2>\n \n
|
119
|
+
\ <a id=\"traces_link_0\"></a>\n <ol class=\"traces list_exception\"
|
120
|
+
id=\"traces_0\" style=\"display: none\">\n <li>\n \n
|
121
|
+
\ \n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/EventListener/RouterListener.php
|
122
|
+
at line 83 \n <a href=\"#\" onclick=\"toggle('trace_0_0'); switchIcons('icon_0_0_open',
|
123
|
+
'icon_0_0_close'); return false;\"><img class=\"toggle\" id=\"icon_0_0_close\"
|
124
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
125
|
+
display\" /><img class=\"toggle\" id=\"icon_0_0_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
126
|
+
style=\"visibility: hidden; margin-left: -18px\" /></a> <div id=\"trace_0_0\"
|
127
|
+
style=\"display: block\" class=\"trace\">\n <ol start=\"80\"><li><code> } catch (<span
|
128
|
+
style=\"color: #0000BB\">ResourceNotFoundException $e</span><span style=\"color:
|
129
|
+
#007700\">) {</span></code></li>\n<li><code> <span
|
130
|
+
style=\"color: #0000BB\">$message </span><span style=\"color: #007700\">= </span><span
|
131
|
+
style=\"color: #0000BB\">sprintf</span><span style=\"color: #007700\">(</span><span
|
132
|
+
style=\"color: #DD0000\">'No route found for \"%s %s\"'</span><span
|
133
|
+
style=\"color: #007700\">, </span><span style=\"color: #0000BB\">$request</span><span
|
134
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">getMethod</span><span
|
135
|
+
style=\"color: #007700\">(), </span><span style=\"color: #0000BB\">$request</span><span
|
136
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">getPathInfo</span><span
|
137
|
+
style=\"color: #007700\">());</span></code></li>\n<li><code></code></li>\n<li
|
138
|
+
class=\"selected\"><code> throw new <span
|
139
|
+
style=\"color: #0000BB\">NotFoundHttpException</span><span style=\"color:
|
140
|
+
#007700\">(</span><span style=\"color: #0000BB\">$message</span><span style=\"color:
|
141
|
+
#007700\">, </span><span style=\"color: #0000BB\">$e</span><span style=\"color:
|
142
|
+
#007700\">);</span></code></li>\n<li><code> } catch (<span
|
143
|
+
style=\"color: #0000BB\">MethodNotAllowedException $e</span><span style=\"color:
|
144
|
+
#007700\">) {</span></code></li>\n<li><code> <span
|
145
|
+
style=\"color: #0000BB\">$message </span><span style=\"color: #007700\">= </span><span
|
146
|
+
style=\"color: #0000BB\">sprintf</span><span style=\"color: #007700\">(</span><span
|
147
|
+
style=\"color: #DD0000\">'No route found for \"%s %s\": Method Not Allowed (Allow: %s)'</span><span
|
148
|
+
style=\"color: #007700\">, </span><span style=\"color: #0000BB\">$request</span><span
|
149
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">getMethod</span><span
|
150
|
+
style=\"color: #007700\">(), </span><span style=\"color: #0000BB\">$request</span><span
|
151
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">getPathInfo</span><span
|
152
|
+
style=\"color: #007700\">(), </span><span style=\"color: #0000BB\">strtoupper</span><span
|
153
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">implode</span><span
|
154
|
+
style=\"color: #007700\">(</span><span style=\"color: #DD0000\">', '</span><span
|
155
|
+
style=\"color: #007700\">, </span><span style=\"color: #0000BB\">$e</span><span
|
156
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">getAllowedMethods</span><span
|
157
|
+
style=\"color: #007700\">())));</span></code></li>\n<li><code></code></li></ol>\n
|
158
|
+
\ </div>\n </li>\n <li>\n at\n
|
159
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>\n
|
160
|
+
\ ->onKernelRequest\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
161
|
+
\ </li>\n <li>\n at\n <strong>\n
|
162
|
+
\ <abbr title=\"\"></abbr>\n call_user_func\n </strong>\n
|
163
|
+
\ (<em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
164
|
+
'onKernelRequest'), <em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
165
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php
|
166
|
+
at line 82 \n <a href=\"#\" onclick=\"toggle('trace_0_2'); switchIcons('icon_0_2_open',
|
167
|
+
'icon_0_2_close'); return false;\"><img class=\"toggle\" id=\"icon_0_2_close\"
|
168
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
169
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_2_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
170
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_2\"
|
171
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"79\"><li><code></code></li>\n<li><code> <span
|
172
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
173
|
+
style=\"color: #0000BB\">called</span><span style=\"color: #007700\">[</span><span
|
174
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">.</span><span
|
175
|
+
style=\"color: #DD0000\">'.'</span><span style=\"color: #007700\">.</span><span
|
176
|
+
style=\"color: #0000BB\">$info</span><span style=\"color: #007700\">[</span><span
|
177
|
+
style=\"color: #DD0000\">'pretty'</span><span style=\"color: #007700\">]] = </span><span
|
178
|
+
style=\"color: #0000BB\">$info</span><span style=\"color: #007700\">;</span></code></li>\n<li><code></code></li>\n<li
|
179
|
+
class=\"selected\"><code> <span
|
180
|
+
style=\"color: #0000BB\">call_user_func</span><span style=\"color: #007700\">(</span><span
|
181
|
+
style=\"color: #0000BB\">$listener</span><span style=\"color: #007700\">, </span><span
|
182
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
183
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
184
|
+
style=\"color: #0000BB\">isPropagationStopped</span><span style=\"color: #007700\">()) {</span></code></li>\n<li><code> if (<span
|
185
|
+
style=\"color: #0000BB\">null </span><span style=\"color: #007700\">!== </span><span
|
186
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
187
|
+
style=\"color: #0000BB\">logger</span><span style=\"color: #007700\">) {</span></code></li></ol>\n
|
188
|
+
\ </div>\n </li>\n <li>\n at\n
|
189
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\Debug\\TraceableEventDispatcher\">TraceableEventDispatcher</abbr>\n
|
190
|
+
\ ->doDispatch\n </strong>\n (<em>array</em>(<em>array</em>(<em>object</em>(<abbr
|
191
|
+
title=\"Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener\">ProfilerListener</abbr>),
|
192
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
193
|
+
'onEarlyKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\ApiBundle\\Listener\\SessionListener\">SessionListener</abbr>),
|
194
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Component\\Security\\Http\\Firewall\">Firewall</abbr>),
|
195
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
196
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"FOS\\RestBundle\\EventListener\\BodyListener\">BodyListener</abbr>),
|
197
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\ApiBundle\\Listener\\RequestLogListener\">RequestLogListener</abbr>),
|
198
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Templating\\Helper\\MenuHelper\">MenuHelper</abbr>),
|
199
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Listener\\ChangeLocaleKernelRequestListener\">ChangeLocaleKernelRequestListener</abbr>),
|
200
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Listener\\SaveAppIdInCookieKernelRequestListener\">SaveAppIdInCookieKernelRequestListener</abbr>),
|
201
|
+
'onKernelRequest')), 'kernel.request', <em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
202
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php
|
203
|
+
at line 49 \n <a href=\"#\" onclick=\"toggle('trace_0_3'); switchIcons('icon_0_3_open',
|
204
|
+
'icon_0_3_close'); return false;\"><img class=\"toggle\" id=\"icon_0_3_close\"
|
205
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
206
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_3_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
207
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_3\"
|
208
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"46\"><li><code> <span
|
209
|
+
style=\"color: #0000BB\">$event </span><span style=\"color: #007700\">= new </span><span
|
210
|
+
style=\"color: #0000BB\">Event</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
211
|
+
class=\"selected\"><code> <span
|
212
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
213
|
+
style=\"color: #0000BB\">doDispatch</span><span style=\"color: #007700\">(</span><span
|
214
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
215
|
+
style=\"color: #0000BB\">getListeners</span><span style=\"color: #007700\">(</span><span
|
216
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">), </span><span
|
217
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">, </span><span
|
218
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
219
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
220
|
+
\ <li>\n at\n <strong>\n <abbr
|
221
|
+
title=\"Symfony\\Component\\EventDispatcher\\EventDispatcher\">EventDispatcher</abbr>\n
|
222
|
+
\ ->dispatch\n </strong>\n ('kernel.request', <em>object</em>(<abbr
|
223
|
+
title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
224
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/ContainerAwareEventDispatcher.php
|
225
|
+
at line 145 \n <a href=\"#\" onclick=\"toggle('trace_0_4'); switchIcons('icon_0_4_open',
|
226
|
+
'icon_0_4_close'); return false;\"><img class=\"toggle\" id=\"icon_0_4_close\"
|
227
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
228
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_4_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
229
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_4\"
|
230
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"142\"><li><code> {</code></li>\n<li><code> <span
|
231
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
232
|
+
style=\"color: #0000BB\">lazyLoad</span><span style=\"color: #007700\">(</span><span
|
233
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li
|
234
|
+
class=\"selected\"><code> <span
|
235
|
+
style=\"color: #0000BB\">parent</span><span style=\"color: #007700\">::</span><span
|
236
|
+
style=\"color: #0000BB\">dispatch</span><span style=\"color: #007700\">(</span><span
|
237
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">, </span><span
|
238
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
239
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
240
|
+
\ <li>\n at\n <strong>\n <abbr
|
241
|
+
title=\"Symfony\\Bundle\\FrameworkBundle\\ContainerAwareEventDispatcher\">ContainerAwareEventDispatcher</abbr>\n
|
242
|
+
\ ->dispatch\n </strong>\n ('kernel.request', <em>object</em>(<abbr
|
243
|
+
title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
244
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
|
245
|
+
at line 98 \n <a href=\"#\" onclick=\"toggle('trace_0_5'); switchIcons('icon_0_5_open',
|
246
|
+
'icon_0_5_close'); return false;\"><img class=\"toggle\" id=\"icon_0_5_close\"
|
247
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
248
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_5_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
249
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_5\"
|
250
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"95\"><li><code> {</code></li>\n<li><code> <span
|
251
|
+
style=\"color: #FF8000\">// request</span></code></li>\n<li><code> <span
|
252
|
+
style=\"color: #0000BB\">$event </span><span style=\"color: #007700\">= new </span><span
|
253
|
+
style=\"color: #0000BB\">GetResponseEvent</span><span style=\"color: #007700\">(</span><span
|
254
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">, </span><span
|
255
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
256
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li>\n<li
|
257
|
+
class=\"selected\"><code> <span
|
258
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
259
|
+
style=\"color: #0000BB\">dispatcher</span><span style=\"color: #007700\">-></span><span
|
260
|
+
style=\"color: #0000BB\">dispatch</span><span style=\"color: #007700\">(</span><span
|
261
|
+
style=\"color: #0000BB\">KernelEvents</span><span style=\"color: #007700\">::</span><span
|
262
|
+
style=\"color: #0000BB\">REQUEST</span><span style=\"color: #007700\">, </span><span
|
263
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
264
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
265
|
+
style=\"color: #0000BB\">hasResponse</span><span style=\"color: #007700\">()) {</span></code></li>\n<li><code> return <span
|
266
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
267
|
+
style=\"color: #0000BB\">filterResponse</span><span style=\"color: #007700\">(</span><span
|
268
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
269
|
+
style=\"color: #0000BB\">getResponse</span><span style=\"color: #007700\">(), </span><span
|
270
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
271
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li></ol>\n
|
272
|
+
\ </div>\n </li>\n <li>\n at\n
|
273
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\HttpKernel\">HttpKernel</abbr>\n
|
274
|
+
\ ->handleRaw\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
275
|
+
'1')\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
|
276
|
+
at line 71 \n <a href=\"#\" onclick=\"toggle('trace_0_6'); switchIcons('icon_0_6_open',
|
277
|
+
'icon_0_6_close'); return false;\"><img class=\"toggle\" id=\"icon_0_6_close\"
|
278
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
279
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_6_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
280
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_6\"
|
281
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"68\"><li><code> <span
|
282
|
+
style=\"color: #007700\">public function </span><span style=\"color:
|
283
|
+
#0000BB\">handle</span><span style=\"color: #007700\">(</span><span style=\"color:
|
284
|
+
#0000BB\">Request $request</span><span style=\"color: #007700\">, </span><span
|
285
|
+
style=\"color: #0000BB\">$type </span><span style=\"color: #007700\">= </span><span
|
286
|
+
style=\"color: #0000BB\">HttpKernelInterface</span><span style=\"color: #007700\">::</span><span
|
287
|
+
style=\"color: #0000BB\">MASTER_REQUEST</span><span style=\"color: #007700\">, </span><span
|
288
|
+
style=\"color: #0000BB\">$catch </span><span style=\"color: #007700\">= </span><span
|
289
|
+
style=\"color: #0000BB\">true</span><span style=\"color: #007700\">)</span></code></li>\n<li><code> {</code></li>\n<li><code> try {</code></li>\n<li
|
290
|
+
class=\"selected\"><code> return <span
|
291
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
292
|
+
style=\"color: #0000BB\">handleRaw</span><span style=\"color: #007700\">(</span><span
|
293
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
294
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> } catch (\\<span
|
295
|
+
style=\"color: #0000BB\">Exception $e</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> if (<span
|
296
|
+
style=\"color: #0000BB\">false </span><span style=\"color: #007700\">=== </span><span
|
297
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> throw <span
|
298
|
+
style=\"color: #0000BB\">$e</span><span style=\"color: #007700\">;</span></code></li></ol>\n
|
299
|
+
\ </div>\n </li>\n <li>\n at\n
|
300
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\HttpKernel\">HttpKernel</abbr>\n
|
301
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
302
|
+
'1', <em>true</em>)\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
|
303
|
+
at line 47 \n <a href=\"#\" onclick=\"toggle('trace_0_7'); switchIcons('icon_0_7_open',
|
304
|
+
'icon_0_7_close'); return false;\"><img class=\"toggle\" id=\"icon_0_7_close\"
|
305
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
306
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_7_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
307
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_7\"
|
308
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"44\"><li><code> <span
|
309
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
310
|
+
style=\"color: #0000BB\">container</span><span style=\"color: #007700\">-></span><span
|
311
|
+
style=\"color: #0000BB\">set</span><span style=\"color: #007700\">(</span><span
|
312
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">, </span><span
|
313
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
314
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> try {</code></li>\n<li
|
315
|
+
class=\"selected\"><code> <span
|
316
|
+
style=\"color: #0000BB\">$response </span><span style=\"color: #007700\">= </span><span
|
317
|
+
style=\"color: #0000BB\">parent</span><span style=\"color: #007700\">::</span><span
|
318
|
+
style=\"color: #0000BB\">handle</span><span style=\"color: #007700\">(</span><span
|
319
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
320
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">, </span><span
|
321
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> } catch (\\<span
|
322
|
+
style=\"color: #0000BB\">Exception $e</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> <span
|
323
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
324
|
+
style=\"color: #0000BB\">container</span><span style=\"color: #007700\">-></span><span
|
325
|
+
style=\"color: #0000BB\">leaveScope</span><span style=\"color: #007700\">(</span><span
|
326
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li></ol>\n
|
327
|
+
\ </div>\n </li>\n <li>\n at\n
|
328
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\HttpKernel\">HttpKernel</abbr>\n
|
329
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
330
|
+
'1', <em>true</em>)\n\n <br />\n in <abbr title=\"/Users/schubert/workspace/jirafe/api/app/\">kernel.root_dir</abbr>/bootstrap.php.cache
|
331
|
+
at line 547 \n <a href=\"#\" onclick=\"toggle('trace_0_8'); switchIcons('icon_0_8_open',
|
332
|
+
'icon_0_8_close'); return false;\"><img class=\"toggle\" id=\"icon_0_8_close\"
|
333
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
334
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_8_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
335
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_8\"
|
336
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"544\"><li><code> <span
|
337
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
338
|
+
style=\"color: #0000BB\">boot</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
339
|
+
class=\"selected\"><code> return <span
|
340
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
341
|
+
style=\"color: #0000BB\">getHttpKernel</span><span style=\"color: #007700\">()-></span><span
|
342
|
+
style=\"color: #0000BB\">handle</span><span style=\"color: #007700\">(</span><span
|
343
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
344
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">, </span><span
|
345
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> </code></li></ol>\n
|
346
|
+
\ </div>\n </li>\n <li>\n at\n
|
347
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\Kernel\">Kernel</abbr>\n
|
348
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>))\n\n
|
349
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/web/app_dev.php at
|
350
|
+
line 17 \n <a href=\"#\" onclick=\"toggle('trace_0_9'); switchIcons('icon_0_9_open',
|
351
|
+
'icon_0_9_close'); return false;\"><img class=\"toggle\" id=\"icon_0_9_close\"
|
352
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
353
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_9_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
354
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_9\"
|
355
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"14\"><li><code>use <span
|
356
|
+
style=\"color: #0000BB\">Symfony</span><span style=\"color: #007700\">\\</span><span
|
357
|
+
style=\"color: #0000BB\">Component</span><span style=\"color: #007700\">\\</span><span
|
358
|
+
style=\"color: #0000BB\">HttpFoundation</span><span style=\"color: #007700\">\\</span><span
|
359
|
+
style=\"color: #0000BB\">Request</span><span style=\"color: #007700\">;</span></code></li>\n<li><code></code></li>\n<li><code><span
|
360
|
+
style=\"color: #0000BB\">$kernel </span><span style=\"color: #007700\">= new </span><span
|
361
|
+
style=\"color: #0000BB\">AppKernel</span><span style=\"color: #007700\">(</span><span
|
362
|
+
style=\"color: #DD0000\">'dev'</span><span style=\"color: #007700\">, </span><span
|
363
|
+
style=\"color: #0000BB\">true</span><span style=\"color: #007700\">);</span></code></li>\n<li
|
364
|
+
class=\"selected\"><code><span style=\"color: #0000BB\">$kernel</span><span
|
365
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">handle</span><span
|
366
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">Request</span><span
|
367
|
+
style=\"color: #007700\">::</span><span style=\"color: #0000BB\">createFromGlobals</span><span
|
368
|
+
style=\"color: #007700\">())-></span><span style=\"color: #0000BB\">send</span><span
|
369
|
+
style=\"color: #007700\">();</span></code></li>\n<li><code>\n</code></li></ol>\n
|
370
|
+
\ </div>\n </li>\n </ol>\n</div>\n <div
|
371
|
+
class=\"block\">\n <h2>\n <span><small>[1/2]</small></span>\n
|
372
|
+
\ <abbr title=\"Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException\">ResourceNotFoundException</abbr>:
|
373
|
+
\n <a href=\"#\" onclick=\"toggle('traces_1', 'traces');
|
374
|
+
switchIcons('icon_traces_1_open', 'icon_traces_1_close'); return false;\"><img
|
375
|
+
class=\"toggle\" id=\"icon_traces_1_close\" alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\"
|
376
|
+
style=\"visibility: hidden\" /><img class=\"toggle\" id=\"icon_traces_1_open\"
|
377
|
+
alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\" style=\"visibility:
|
378
|
+
display; margin-left: -18px\" /></a> </h2>\n \n <a id=\"traces_link_1\"></a>\n
|
379
|
+
\ <ol class=\"traces list_exception\" id=\"traces_1\" style=\"display: none\">\n
|
380
|
+
\ <li>\n \n \n in <abbr title=\"/Users/schubert/workspace/jirafe/api/app/\">kernel.root_dir</abbr>/cache/dev/appdevUrlMatcher.php
|
381
|
+
at line 752 \n <a href=\"#\" onclick=\"toggle('trace_1_0'); switchIcons('icon_1_0_open',
|
382
|
+
'icon_1_0_close'); return false;\"><img class=\"toggle\" id=\"icon_1_0_close\"
|
383
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
384
|
+
display\" /><img class=\"toggle\" id=\"icon_1_0_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
385
|
+
style=\"visibility: hidden; margin-left: -18px\" /></a> <div id=\"trace_1_0\"
|
386
|
+
style=\"display: block\" class=\"trace\">\n <ol start=\"749\"><li><code></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
387
|
+
class=\"selected\"><code> throw <span
|
388
|
+
style=\"color: #0000BB\">0 </span><span style=\"color: #007700\">< </span><span
|
389
|
+
style=\"color: #0000BB\">count</span><span style=\"color: #007700\">(</span><span
|
390
|
+
style=\"color: #0000BB\">$allow</span><span style=\"color: #007700\">) ? new </span><span
|
391
|
+
style=\"color: #0000BB\">MethodNotAllowedException</span><span style=\"color:
|
392
|
+
#007700\">(</span><span style=\"color: #0000BB\">array_unique</span><span
|
393
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">$allow</span><span
|
394
|
+
style=\"color: #007700\">)) : new </span><span style=\"color:
|
395
|
+
#0000BB\">ResourceNotFoundException</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code>}</code></li>\n<li><code>\n</code></li></ol>\n
|
396
|
+
\ </div>\n </li>\n <li>\n at\n
|
397
|
+
\ <strong>\n <abbr title=\"appdevUrlMatcher\">appdevUrlMatcher</abbr>\n
|
398
|
+
\ ->match\n </strong>\n ('/v1/applications/')\n\n <br />\n
|
399
|
+
\ in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/Routing/Router.php
|
400
|
+
at line 195 \n <a href=\"#\" onclick=\"toggle('trace_1_1'); switchIcons('icon_1_1_open',
|
401
|
+
'icon_1_1_close'); return false;\"><img class=\"toggle\" id=\"icon_1_1_close\"
|
402
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
403
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_1_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
404
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_1\"
|
405
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"192\"><li><code> */</code></li>\n<li><code> <span
|
406
|
+
style=\"color: #007700\">public function </span><span style=\"color:
|
407
|
+
#0000BB\">match</span><span style=\"color: #007700\">(</span><span style=\"color:
|
408
|
+
#0000BB\">$url</span><span style=\"color: #007700\">)</span></code></li>\n<li><code> {</code></li>\n<li
|
409
|
+
class=\"selected\"><code> return <span
|
410
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
411
|
+
style=\"color: #0000BB\">getMatcher</span><span style=\"color: #007700\">()-></span><span
|
412
|
+
style=\"color: #0000BB\">match</span><span style=\"color: #007700\">(</span><span
|
413
|
+
style=\"color: #0000BB\">$url</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
414
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
415
|
+
\ <li>\n at\n <strong>\n <abbr
|
416
|
+
title=\"Symfony\\Component\\Routing\\Router\">Router</abbr>\n ->match\n
|
417
|
+
\ </strong>\n ('/v1/applications/')\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/EventListener/RouterListener.php
|
418
|
+
at line 73 \n <a href=\"#\" onclick=\"toggle('trace_1_2'); switchIcons('icon_1_2_open',
|
419
|
+
'icon_1_2_close'); return false;\"><img class=\"toggle\" id=\"icon_1_2_close\"
|
420
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
421
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_2_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
422
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_2\"
|
423
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"70\"><li><code></code></li>\n<li><code> <span
|
424
|
+
style=\"color: #FF8000\">// add attributes based on the path info (routing)</span></code></li>\n<li><code> <span
|
425
|
+
style=\"color: #007700\">try {</span></code></li>\n<li class=\"selected\"><code> <span
|
426
|
+
style=\"color: #0000BB\">$parameters </span><span style=\"color: #007700\">= </span><span
|
427
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
428
|
+
style=\"color: #0000BB\">router</span><span style=\"color: #007700\">-></span><span
|
429
|
+
style=\"color: #0000BB\">match</span><span style=\"color: #007700\">(</span><span
|
430
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">-></span><span
|
431
|
+
style=\"color: #0000BB\">getPathInfo</span><span style=\"color: #007700\">());</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
432
|
+
style=\"color: #0000BB\">null </span><span style=\"color: #007700\">!== </span><span
|
433
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
434
|
+
style=\"color: #0000BB\">logger</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> <span
|
435
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
436
|
+
style=\"color: #0000BB\">logger</span><span style=\"color: #007700\">-></span><span
|
437
|
+
style=\"color: #0000BB\">info</span><span style=\"color: #007700\">(</span><span
|
438
|
+
style=\"color: #0000BB\">sprintf</span><span style=\"color: #007700\">(</span><span
|
439
|
+
style=\"color: #DD0000\">'Matched route \"%s\" (parameters: %s)'</span><span
|
440
|
+
style=\"color: #007700\">, </span><span style=\"color: #0000BB\">$parameters</span><span
|
441
|
+
style=\"color: #007700\">[</span><span style=\"color: #DD0000\">'_route'</span><span
|
442
|
+
style=\"color: #007700\">], </span><span style=\"color: #0000BB\">$this</span><span
|
443
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">parametersToString</span><span
|
444
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">$parameters</span><span
|
445
|
+
style=\"color: #007700\">)));</span></code></li></ol>\n </div>\n </li>\n
|
446
|
+
\ <li>\n at\n <strong>\n <abbr
|
447
|
+
title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>\n
|
448
|
+
\ ->onKernelRequest\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
449
|
+
\ </li>\n <li>\n at\n <strong>\n
|
450
|
+
\ <abbr title=\"\"></abbr>\n call_user_func\n </strong>\n
|
451
|
+
\ (<em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
452
|
+
'onKernelRequest'), <em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
453
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php
|
454
|
+
at line 82 \n <a href=\"#\" onclick=\"toggle('trace_1_4'); switchIcons('icon_1_4_open',
|
455
|
+
'icon_1_4_close'); return false;\"><img class=\"toggle\" id=\"icon_1_4_close\"
|
456
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
457
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_4_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
458
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_4\"
|
459
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"79\"><li><code></code></li>\n<li><code> <span
|
460
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
461
|
+
style=\"color: #0000BB\">called</span><span style=\"color: #007700\">[</span><span
|
462
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">.</span><span
|
463
|
+
style=\"color: #DD0000\">'.'</span><span style=\"color: #007700\">.</span><span
|
464
|
+
style=\"color: #0000BB\">$info</span><span style=\"color: #007700\">[</span><span
|
465
|
+
style=\"color: #DD0000\">'pretty'</span><span style=\"color: #007700\">]] = </span><span
|
466
|
+
style=\"color: #0000BB\">$info</span><span style=\"color: #007700\">;</span></code></li>\n<li><code></code></li>\n<li
|
467
|
+
class=\"selected\"><code> <span
|
468
|
+
style=\"color: #0000BB\">call_user_func</span><span style=\"color: #007700\">(</span><span
|
469
|
+
style=\"color: #0000BB\">$listener</span><span style=\"color: #007700\">, </span><span
|
470
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
471
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
472
|
+
style=\"color: #0000BB\">isPropagationStopped</span><span style=\"color: #007700\">()) {</span></code></li>\n<li><code> if (<span
|
473
|
+
style=\"color: #0000BB\">null </span><span style=\"color: #007700\">!== </span><span
|
474
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
475
|
+
style=\"color: #0000BB\">logger</span><span style=\"color: #007700\">) {</span></code></li></ol>\n
|
476
|
+
\ </div>\n </li>\n <li>\n at\n
|
477
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\Debug\\TraceableEventDispatcher\">TraceableEventDispatcher</abbr>\n
|
478
|
+
\ ->doDispatch\n </strong>\n (<em>array</em>(<em>array</em>(<em>object</em>(<abbr
|
479
|
+
title=\"Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener\">ProfilerListener</abbr>),
|
480
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
481
|
+
'onEarlyKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\ApiBundle\\Listener\\SessionListener\">SessionListener</abbr>),
|
482
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Component\\Security\\Http\\Firewall\">Firewall</abbr>),
|
483
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
484
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"FOS\\RestBundle\\EventListener\\BodyListener\">BodyListener</abbr>),
|
485
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\ApiBundle\\Listener\\RequestLogListener\">RequestLogListener</abbr>),
|
486
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Templating\\Helper\\MenuHelper\">MenuHelper</abbr>),
|
487
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Listener\\ChangeLocaleKernelRequestListener\">ChangeLocaleKernelRequestListener</abbr>),
|
488
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Listener\\SaveAppIdInCookieKernelRequestListener\">SaveAppIdInCookieKernelRequestListener</abbr>),
|
489
|
+
'onKernelRequest')), 'kernel.request', <em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
490
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php
|
491
|
+
at line 49 \n <a href=\"#\" onclick=\"toggle('trace_1_5'); switchIcons('icon_1_5_open',
|
492
|
+
'icon_1_5_close'); return false;\"><img class=\"toggle\" id=\"icon_1_5_close\"
|
493
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
494
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_5_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
495
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_5\"
|
496
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"46\"><li><code> <span
|
497
|
+
style=\"color: #0000BB\">$event </span><span style=\"color: #007700\">= new </span><span
|
498
|
+
style=\"color: #0000BB\">Event</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
499
|
+
class=\"selected\"><code> <span
|
500
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
501
|
+
style=\"color: #0000BB\">doDispatch</span><span style=\"color: #007700\">(</span><span
|
502
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
503
|
+
style=\"color: #0000BB\">getListeners</span><span style=\"color: #007700\">(</span><span
|
504
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">), </span><span
|
505
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">, </span><span
|
506
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
507
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
508
|
+
\ <li>\n at\n <strong>\n <abbr
|
509
|
+
title=\"Symfony\\Component\\EventDispatcher\\EventDispatcher\">EventDispatcher</abbr>\n
|
510
|
+
\ ->dispatch\n </strong>\n ('kernel.request', <em>object</em>(<abbr
|
511
|
+
title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
512
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/ContainerAwareEventDispatcher.php
|
513
|
+
at line 145 \n <a href=\"#\" onclick=\"toggle('trace_1_6'); switchIcons('icon_1_6_open',
|
514
|
+
'icon_1_6_close'); return false;\"><img class=\"toggle\" id=\"icon_1_6_close\"
|
515
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
516
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_6_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
517
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_6\"
|
518
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"142\"><li><code> {</code></li>\n<li><code> <span
|
519
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
520
|
+
style=\"color: #0000BB\">lazyLoad</span><span style=\"color: #007700\">(</span><span
|
521
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li
|
522
|
+
class=\"selected\"><code> <span
|
523
|
+
style=\"color: #0000BB\">parent</span><span style=\"color: #007700\">::</span><span
|
524
|
+
style=\"color: #0000BB\">dispatch</span><span style=\"color: #007700\">(</span><span
|
525
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">, </span><span
|
526
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
527
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
528
|
+
\ <li>\n at\n <strong>\n <abbr
|
529
|
+
title=\"Symfony\\Bundle\\FrameworkBundle\\ContainerAwareEventDispatcher\">ContainerAwareEventDispatcher</abbr>\n
|
530
|
+
\ ->dispatch\n </strong>\n ('kernel.request', <em>object</em>(<abbr
|
531
|
+
title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
532
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
|
533
|
+
at line 98 \n <a href=\"#\" onclick=\"toggle('trace_1_7'); switchIcons('icon_1_7_open',
|
534
|
+
'icon_1_7_close'); return false;\"><img class=\"toggle\" id=\"icon_1_7_close\"
|
535
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
536
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_7_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
537
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_7\"
|
538
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"95\"><li><code> {</code></li>\n<li><code> <span
|
539
|
+
style=\"color: #FF8000\">// request</span></code></li>\n<li><code> <span
|
540
|
+
style=\"color: #0000BB\">$event </span><span style=\"color: #007700\">= new </span><span
|
541
|
+
style=\"color: #0000BB\">GetResponseEvent</span><span style=\"color: #007700\">(</span><span
|
542
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">, </span><span
|
543
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
544
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li>\n<li
|
545
|
+
class=\"selected\"><code> <span
|
546
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
547
|
+
style=\"color: #0000BB\">dispatcher</span><span style=\"color: #007700\">-></span><span
|
548
|
+
style=\"color: #0000BB\">dispatch</span><span style=\"color: #007700\">(</span><span
|
549
|
+
style=\"color: #0000BB\">KernelEvents</span><span style=\"color: #007700\">::</span><span
|
550
|
+
style=\"color: #0000BB\">REQUEST</span><span style=\"color: #007700\">, </span><span
|
551
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
552
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
553
|
+
style=\"color: #0000BB\">hasResponse</span><span style=\"color: #007700\">()) {</span></code></li>\n<li><code> return <span
|
554
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
555
|
+
style=\"color: #0000BB\">filterResponse</span><span style=\"color: #007700\">(</span><span
|
556
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
557
|
+
style=\"color: #0000BB\">getResponse</span><span style=\"color: #007700\">(), </span><span
|
558
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
559
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li></ol>\n
|
560
|
+
\ </div>\n </li>\n <li>\n at\n
|
561
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\HttpKernel\">HttpKernel</abbr>\n
|
562
|
+
\ ->handleRaw\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
563
|
+
'1')\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
|
564
|
+
at line 71 \n <a href=\"#\" onclick=\"toggle('trace_1_8'); switchIcons('icon_1_8_open',
|
565
|
+
'icon_1_8_close'); return false;\"><img class=\"toggle\" id=\"icon_1_8_close\"
|
566
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
567
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_8_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
568
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_8\"
|
569
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"68\"><li><code> <span
|
570
|
+
style=\"color: #007700\">public function </span><span style=\"color:
|
571
|
+
#0000BB\">handle</span><span style=\"color: #007700\">(</span><span style=\"color:
|
572
|
+
#0000BB\">Request $request</span><span style=\"color: #007700\">, </span><span
|
573
|
+
style=\"color: #0000BB\">$type </span><span style=\"color: #007700\">= </span><span
|
574
|
+
style=\"color: #0000BB\">HttpKernelInterface</span><span style=\"color: #007700\">::</span><span
|
575
|
+
style=\"color: #0000BB\">MASTER_REQUEST</span><span style=\"color: #007700\">, </span><span
|
576
|
+
style=\"color: #0000BB\">$catch </span><span style=\"color: #007700\">= </span><span
|
577
|
+
style=\"color: #0000BB\">true</span><span style=\"color: #007700\">)</span></code></li>\n<li><code> {</code></li>\n<li><code> try {</code></li>\n<li
|
578
|
+
class=\"selected\"><code> return <span
|
579
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
580
|
+
style=\"color: #0000BB\">handleRaw</span><span style=\"color: #007700\">(</span><span
|
581
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
582
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> } catch (\\<span
|
583
|
+
style=\"color: #0000BB\">Exception $e</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> if (<span
|
584
|
+
style=\"color: #0000BB\">false </span><span style=\"color: #007700\">=== </span><span
|
585
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> throw <span
|
586
|
+
style=\"color: #0000BB\">$e</span><span style=\"color: #007700\">;</span></code></li></ol>\n
|
587
|
+
\ </div>\n </li>\n <li>\n at\n
|
588
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\HttpKernel\">HttpKernel</abbr>\n
|
589
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
590
|
+
'1', <em>true</em>)\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
|
591
|
+
at line 47 \n <a href=\"#\" onclick=\"toggle('trace_1_9'); switchIcons('icon_1_9_open',
|
592
|
+
'icon_1_9_close'); return false;\"><img class=\"toggle\" id=\"icon_1_9_close\"
|
593
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
594
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_9_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
595
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_9\"
|
596
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"44\"><li><code> <span
|
597
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
598
|
+
style=\"color: #0000BB\">container</span><span style=\"color: #007700\">-></span><span
|
599
|
+
style=\"color: #0000BB\">set</span><span style=\"color: #007700\">(</span><span
|
600
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">, </span><span
|
601
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
602
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> try {</code></li>\n<li
|
603
|
+
class=\"selected\"><code> <span
|
604
|
+
style=\"color: #0000BB\">$response </span><span style=\"color: #007700\">= </span><span
|
605
|
+
style=\"color: #0000BB\">parent</span><span style=\"color: #007700\">::</span><span
|
606
|
+
style=\"color: #0000BB\">handle</span><span style=\"color: #007700\">(</span><span
|
607
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
608
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">, </span><span
|
609
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> } catch (\\<span
|
610
|
+
style=\"color: #0000BB\">Exception $e</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> <span
|
611
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
612
|
+
style=\"color: #0000BB\">container</span><span style=\"color: #007700\">-></span><span
|
613
|
+
style=\"color: #0000BB\">leaveScope</span><span style=\"color: #007700\">(</span><span
|
614
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li></ol>\n
|
615
|
+
\ </div>\n </li>\n <li>\n at\n
|
616
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\HttpKernel\">HttpKernel</abbr>\n
|
617
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
618
|
+
'1', <em>true</em>)\n\n <br />\n in <abbr title=\"/Users/schubert/workspace/jirafe/api/app/\">kernel.root_dir</abbr>/bootstrap.php.cache
|
619
|
+
at line 547 \n <a href=\"#\" onclick=\"toggle('trace_1_10'); switchIcons('icon_1_10_open',
|
620
|
+
'icon_1_10_close'); return false;\"><img class=\"toggle\" id=\"icon_1_10_close\"
|
621
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
622
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_10_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
623
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_10\"
|
624
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"544\"><li><code> <span
|
625
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
626
|
+
style=\"color: #0000BB\">boot</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
627
|
+
class=\"selected\"><code> return <span
|
628
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
629
|
+
style=\"color: #0000BB\">getHttpKernel</span><span style=\"color: #007700\">()-></span><span
|
630
|
+
style=\"color: #0000BB\">handle</span><span style=\"color: #007700\">(</span><span
|
631
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
632
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">, </span><span
|
633
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> </code></li></ol>\n
|
634
|
+
\ </div>\n </li>\n <li>\n at\n
|
635
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\Kernel\">Kernel</abbr>\n
|
636
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>))\n\n
|
637
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/web/app_dev.php at
|
638
|
+
line 17 \n <a href=\"#\" onclick=\"toggle('trace_1_11'); switchIcons('icon_1_11_open',
|
639
|
+
'icon_1_11_close'); return false;\"><img class=\"toggle\" id=\"icon_1_11_close\"
|
640
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
641
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_11_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
642
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_11\"
|
643
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"14\"><li><code>use <span
|
644
|
+
style=\"color: #0000BB\">Symfony</span><span style=\"color: #007700\">\\</span><span
|
645
|
+
style=\"color: #0000BB\">Component</span><span style=\"color: #007700\">\\</span><span
|
646
|
+
style=\"color: #0000BB\">HttpFoundation</span><span style=\"color: #007700\">\\</span><span
|
647
|
+
style=\"color: #0000BB\">Request</span><span style=\"color: #007700\">;</span></code></li>\n<li><code></code></li>\n<li><code><span
|
648
|
+
style=\"color: #0000BB\">$kernel </span><span style=\"color: #007700\">= new </span><span
|
649
|
+
style=\"color: #0000BB\">AppKernel</span><span style=\"color: #007700\">(</span><span
|
650
|
+
style=\"color: #DD0000\">'dev'</span><span style=\"color: #007700\">, </span><span
|
651
|
+
style=\"color: #0000BB\">true</span><span style=\"color: #007700\">);</span></code></li>\n<li
|
652
|
+
class=\"selected\"><code><span style=\"color: #0000BB\">$kernel</span><span
|
653
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">handle</span><span
|
654
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">Request</span><span
|
655
|
+
style=\"color: #007700\">::</span><span style=\"color: #0000BB\">createFromGlobals</span><span
|
656
|
+
style=\"color: #007700\">())-></span><span style=\"color: #0000BB\">send</span><span
|
657
|
+
style=\"color: #007700\">();</span></code></li>\n<li><code>\n</code></li></ol>\n
|
658
|
+
\ </div>\n </li>\n </ol>\n</div>\n \n <div
|
659
|
+
class=\"block\">\n <div class=\"logs clear_fix\">\n <h2>\n
|
660
|
+
\ Logs \n <a href=\"#\" onclick=\"toggle('logs');
|
661
|
+
switchIcons('icon_logs_open', 'icon_logs_close'); return false;\"><img class=\"toggle\"
|
662
|
+
id=\"icon_logs_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
663
|
+
style=\"visibility: hidden\" /><img class=\"toggle\" id=\"icon_logs_close\"
|
664
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
665
|
+
visible; margin-left: -18px\" /></a></h2>\n <div
|
666
|
+
class=\"error_count\">\n <span>\n 1
|
667
|
+
error\n </span>\n </div>\n \n
|
668
|
+
\ </div>\n\n <div id=\"logs\">\n <ol class=\"traces
|
669
|
+
logs\">\n <li>\n Notified event "kernel.request"
|
670
|
+
to listener "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelRequest".\n
|
671
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
672
|
+
to listener "Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener::onEarlyKernelRequest".\n
|
673
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
674
|
+
to listener "Jirafe\\Bundle\\ApiBundle\\Listener\\SessionListener::onKernelRequest".\n
|
675
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
676
|
+
to listener "Symfony\\Component\\Security\\Http\\Firewall::onKernelRequest".\n
|
677
|
+
\ </li>\n <li>\n SELECT\n t.token,\n
|
678
|
+
\ a.application_id, a.name AS app_name, a.platform_type, a.platform_version,\n
|
679
|
+
\ a.platform_admin_username, a.plugin_version,\n u.user_id,
|
680
|
+
u.name AS user_name, u.surname, u.email, u.password, u.salt,\n u.is_confirmed,
|
681
|
+
u.is_hosted_user, u.confirmation_token\n FROM tokens AS t\n LEFT
|
682
|
+
JOIN applications AS a ON a.application_id = t.application_id\n LEFT
|
683
|
+
JOIN users AS u ON u.user_id = t.user_id\n WHERE t.token = :token\n
|
684
|
+
\ LIMIT 1 ({"token":"user_master_token"})\n </li>\n
|
685
|
+
\ <li>\n SELECT\n t.token,\n a.application_id,
|
686
|
+
a.name, a.platform_type, a.platform_version,\n a.platform_admin_username,
|
687
|
+
a.plugin_version,\n u.user_id\n FROM tokens AS t\n INNER
|
688
|
+
JOIN applications AS a ON a.application_id = t.application_id\n INNER
|
689
|
+
JOIN users AS u ON u.user_id = t.user_id\n WHERE t.user_id = :user_id
|
690
|
+
({"user_id":1})\n </li>\n <li>\n Notified
|
691
|
+
event "kernel.request" to listener "Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener::onKernelRequest".\n
|
692
|
+
\ </li>\n <li>\n Notified event "kernel.exception"
|
693
|
+
to listener "Jirafe\\Bundle\\ApiBundle\\Listener\\ExceptionListener::onKernelException".\n
|
694
|
+
\ </li>\n <li>\n Notified event "kernel.exception"
|
695
|
+
to listener "Symfony\\Component\\Security\\Http\\Firewall\\ExceptionListener::onKernelException".\n
|
696
|
+
\ </li>\n <li>\n Notified event "kernel.exception"
|
697
|
+
to listener "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelException".\n
|
698
|
+
\ </li>\n <li>\n Notified event "kernel.exception"
|
699
|
+
to listener "Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener::onKernelException".\n
|
700
|
+
\ </li>\n <li class=\"error\">\n Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException:
|
701
|
+
No route found for "POST /v1/applications/" (uncaught exception)
|
702
|
+
at /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/EventListener/RouterListener.php
|
703
|
+
line 83\n </li>\n <li>\n Notified event "kernel.request"
|
704
|
+
to listener "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelRequest".\n
|
705
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
706
|
+
to listener "Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener::onEarlyKernelRequest".\n
|
707
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
708
|
+
to listener "Jirafe\\Bundle\\ApiBundle\\Listener\\SessionListener::onKernelRequest".\n
|
709
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
710
|
+
to listener "Symfony\\Component\\Security\\Http\\Firewall::onKernelRequest".\n
|
711
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
712
|
+
to listener "Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener::onKernelRequest".\n
|
713
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
714
|
+
to listener "FOS\\RestBundle\\EventListener\\BodyListener::onKernelRequest".\n
|
715
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
716
|
+
to listener "Jirafe\\Bundle\\ApiBundle\\Listener\\RequestLogListener::onKernelRequest".\n
|
717
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
718
|
+
to listener "Jirafe\\Bundle\\DashboardBundle\\Templating\\Helper\\MenuHelper::onKernelRequest".\n
|
719
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
720
|
+
to listener "Jirafe\\Bundle\\DashboardBundle\\Listener\\ChangeLocaleKernelRequestListener::onKernelRequest".\n
|
721
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
722
|
+
to listener "Jirafe\\Bundle\\DashboardBundle\\Listener\\SaveAppIdInCookieKernelRequestListener::onKernelRequest".\n
|
723
|
+
\ </li>\n <li>\n Notified event "kernel.controller"
|
724
|
+
to listener "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RequestDataCollector::onKernelController".\n
|
725
|
+
\ </li>\n </ol>\n </div>\n\n </div>\n \n \n</div>\n\n<script
|
726
|
+
type=\"text/javascript\">//<![CDATA[\n function toggle(id, clazz) {\n var
|
727
|
+
el = document.getElementById(id),\n current = el.style.display,\n
|
728
|
+
\ i;\n\n if (clazz) {\n var tags = document.getElementsByTagName('*');\n
|
729
|
+
\ for (i = tags.length - 1; i >= 0 ; i--) {\n if
|
730
|
+
(tags[i].className === clazz) {\n tags[i].style.display
|
731
|
+
= 'none';\n }\n }\n }\n\n el.style.display
|
732
|
+
= current === 'none' ? 'block' : 'none';\n }\n\n function switchIcons(id1,
|
733
|
+
id2) {\n var icon1, icon2, visibility1, visibility2;\n\n icon1
|
734
|
+
= document.getElementById(id1);\n icon2 = document.getElementById(id2);\n\n
|
735
|
+
\ visibility1 = icon1.style.visibility;\n visibility2 = icon2.style.visibility;\n\n
|
736
|
+
\ icon1.style.visibility = visibility2;\n icon2.style.visibility
|
737
|
+
= visibility1;\n }\n//]]></script>\n </div>\n \n<div id=\"sfwdt5047a02b41e2a\"
|
738
|
+
style=\"display: none\"></div><script type=\"text/javascript\">/*<![CDATA[*/
|
739
|
+
\ (function () { var wdt, xhr; wdt = document.getElementById('sfwdt5047a02b41e2a');
|
740
|
+
\ if (window.XMLHttpRequest) { xhr = new XMLHttpRequest();
|
741
|
+
\ } else { xhr = new ActiveXObject('Microsoft.XMLHTTP');
|
742
|
+
\ } xhr.open('GET', '/_wdt/5047a02b41e2a', true); xhr.setRequestHeader('X-Requested-With',
|
743
|
+
'XMLHttpRequest'); xhr.onreadystatechange = function(state) { if
|
744
|
+
(4 === xhr.readyState && 200 === xhr.status && -1 !== xhr.responseText.indexOf('sf-toolbarreset'))
|
745
|
+
{ wdt.innerHTML = xhr.responseText; wdt.style.display
|
746
|
+
= 'block'; } }; xhr.send(''); })();/*]]>*/</script>\n</body>\n</html>\n"
|
747
|
+
http_version:
|
748
|
+
recorded_at: Wed, 05 Sep 2012 18:55:39 GMT
|
749
|
+
- request:
|
750
|
+
method: post
|
751
|
+
uri: http://api.jirafe.dev/v1/applications?token=user_master_token
|
752
|
+
body:
|
753
|
+
encoding: US-ASCII
|
754
|
+
string: name=my%20new%20app&url=
|
755
|
+
headers: {}
|
756
|
+
response:
|
757
|
+
status:
|
758
|
+
code: 200
|
759
|
+
message: OK
|
760
|
+
headers:
|
761
|
+
Server:
|
762
|
+
- nginx/1.2.2
|
763
|
+
Content-Type:
|
764
|
+
- application/json
|
765
|
+
Transfer-Encoding:
|
766
|
+
- chunked
|
767
|
+
Connection:
|
768
|
+
- keep-alive
|
769
|
+
Keep-Alive:
|
770
|
+
- timeout=10
|
771
|
+
X-Powered-By:
|
772
|
+
- PHP/5.3.15
|
773
|
+
Cache-Control:
|
774
|
+
- no-cache
|
775
|
+
Date:
|
776
|
+
- Wed, 05 Sep 2012 19:49:46 GMT
|
777
|
+
X-Debug-Token:
|
778
|
+
- 5047acda4829e
|
779
|
+
body:
|
780
|
+
encoding: US-ASCII
|
781
|
+
string: ! '{"app_id":"232","name":"my new app","token":"aa20770d750913ef5caa01e1eab478c1"}'
|
782
|
+
http_version:
|
783
|
+
recorded_at: Wed, 05 Sep 2012 19:49:46 GMT
|
784
|
+
recorded_with: VCR 2.2.4
|