@@ -4,159 +4,159 @@ Scenario: Sends a handled exception which includes custom metadata added in a no
44 When I run "MetadataScenario" with the defaults
55 And I wait to receive an error
66 And the error is valid for the error reporting API version "4" for the "Bugsnag Java" notifier
7- And the event "metaData .Custom.foo" equals "Hello World!"
7+ And the event "metadata .Custom.foo" equals "Hello World!"
88
99Scenario : Sends a handled exception which includes custom metadata added in a notify callback for Spring Boot app
1010 When I run spring boot "MetadataScenario" with the defaults
1111 And I wait to receive an error
1212 And the error is valid for the error reporting API version "4" for the "Bugsnag Spring" notifier
13- And the event "metaData .Custom.foo" equals "Hello World!"
13+ And the event "metadata .Custom.foo" equals "Hello World!"
1414
1515Scenario : Sends a handled exception which includes custom metadata added in a notify callback for plain Spring app
1616 When I run plain Spring "MetadataScenario" with the defaults
1717 And I wait to receive an error
1818 And the error is valid for the error reporting API version "4" for the "Bugsnag Spring" notifier
19- And the event "metaData .Custom.foo" equals "Hello World!"
19+ And the event "metadata .Custom.foo" equals "Hello World!"
2020
2121Scenario : Test logback appender with metadata in the config file
2222 When I run "LogbackScenario" with logback config "meta_data_config.xml"
2323 And I wait to receive an error
2424 And the error is valid for the error reporting API version "4" for the "Bugsnag Java" notifier
2525 And the error payload field "events" is an array with 1 elements
2626 And the exception "errorClass" equals "java.lang.RuntimeException"
27- And the event "metaData .configTab.foo" equals "tabValue1"
28- And the event "metaData .configTab.bar" equals "tabValue2"
27+ And the event "metadata .configTab.foo" equals "tabValue1"
28+ And the event "metadata .configTab.bar" equals "tabValue2"
2929
3030Scenario : Test logback appender with thread metadata
3131 When I run "LogbackThreadMetadataScenario" with logback config "basic_config.xml"
3232 And I wait to receive an error
3333 And the error is valid for the error reporting API version "4" for the "Bugsnag Java" notifier
3434 And the error payload field "events" is an array with 1 elements
3535 And the exception "errorClass" equals "java.lang.RuntimeException"
36- And the event "metaData .thread.foo" equals "threadvalue1"
37- And the event "metaData .thread.bar" equals "threadvalue2"
36+ And the event "metadata .thread.foo" equals "threadvalue1"
37+ And the event "metadata .thread.bar" equals "threadvalue2"
3838
3939Scenario : Test logback appender with metadata in a callback
4040 When I run "LogbackMetadataScenario" with logback config "basic_config.xml"
4141 And I wait to receive an error
4242 And the error is valid for the error reporting API version "4" for the "Bugsnag Java" notifier
4343 And the error payload field "events" is an array with 1 elements
4444 And the exception "errorClass" equals "java.lang.RuntimeException"
45- And the event "metaData .user.foo" equals "hunter2"
46- And the event "metaData .custom.foo" equals "hunter2"
47- And the event "metaData .custom.bar" equals "hunter2"
45+ And the event "metadata .user.foo" equals "hunter2"
46+ And the event "metadata .custom.foo" equals "hunter2"
47+ And the event "metadata .custom.bar" equals "hunter2"
4848
4949Scenario : Test logback appender with metadata from the MDC
5050 When I run "LogbackMDCScenario" with logback config "basic_config.xml"
5151 And I wait to receive an error
5252 And the error is valid for the error reporting API version "4" for the "Bugsnag Java" notifier
5353 And the error payload field "events" is an array with 1 elements
5454 And the exception "errorClass" equals "java.lang.RuntimeException"
55- And the event "metaData .Context.foo" equals "hunter2"
56- And the event "metaData .Context.bar" equals "hunter2"
55+ And the event "metadata .Context.foo" equals "hunter2"
56+ And the event "metadata .Context.bar" equals "hunter2"
5757
5858Scenario : Test thread metadata
5959 When I run "ThreadMetadataScenario" with the defaults
6060 And I wait to receive an error
6161 And the error is valid for the error reporting API version "4" for the "Bugsnag Java" notifier
6262 And the error payload field "events" is an array with 1 elements
6363 And the exception "errorClass" equals "java.lang.RuntimeException"
64- And the event "metaData .Custom.test" equals "Global value"
65- And the event "metaData .Custom.foo" equals "Thread value"
66- And the event "metaData .Custom.bar" equals "Hello World!"
67- And the event "metaData .Custom.something" is null
64+ And the event "metadata .Custom.test" equals "Global value"
65+ And the event "metadata .Custom.foo" equals "Thread value"
66+ And the event "metadata .Custom.bar" equals "Hello World!"
67+ And the event "metadata .Custom.something" is null
6868
6969Scenario : Test thread metadata for Spring Boot app
7070 When I run spring boot "ThreadMetadataScenario" with the defaults
7171 And I wait to receive an error
7272 And the error is valid for the error reporting API version "4" for the "Bugsnag Spring" notifier
7373 And the error payload field "events" is an array with 1 elements
7474 And the exception "errorClass" equals "java.lang.RuntimeException"
75- And the event "metaData .Custom.test" equals "Global value"
76- And the event "metaData .Custom.foo" equals "Thread value"
77- And the event "metaData .Custom.bar" equals "Hello World!"
78- And the event "metaData .Custom.something" is null
75+ And the event "metadata .Custom.test" equals "Global value"
76+ And the event "metadata .Custom.foo" equals "Thread value"
77+ And the event "metadata .Custom.bar" equals "Hello World!"
78+ And the event "metadata .Custom.something" is null
7979
8080Scenario : Test thread metadata for plain Spring app
8181 When I run plain Spring "ThreadMetadataScenario" with the defaults
8282 And I wait to receive an error
8383 And the error is valid for the error reporting API version "4" for the "Bugsnag Spring" notifier
8484 And the error payload field "events" is an array with 1 elements
8585 And the exception "errorClass" equals "java.lang.RuntimeException"
86- And the event "metaData .Custom.test" equals "Global value"
87- And the event "metaData .Custom.foo" equals "Thread value"
88- And the event "metaData .Custom.bar" equals "Hello World!"
89- And the event "metaData .Custom.something" is null
86+ And the event "metadata .Custom.test" equals "Global value"
87+ And the event "metadata .Custom.foo" equals "Thread value"
88+ And the event "metadata .Custom.bar" equals "Hello World!"
89+ And the event "metadata .Custom.something" is null
9090
9191Scenario : Test unhandled thread metadata
9292 When I run "UnhandledThreadMetadataScenario" with the defaults
9393 And I wait to receive an error
9494 And the error is valid for the error reporting API version "4" for the "Bugsnag Java" notifier
9595 And the error payload field "events" is an array with 1 elements
9696 And the exception "errorClass" equals "java.lang.RuntimeException"
97- And the event "metaData .Custom.test" equals "Global value"
98- And the event "metaData .Custom.foo" equals "Thread value 1"
99- And the event "metaData .Custom.bar" equals "Thread value 2"
100- And the event "metaData .Custom.something" is null
97+ And the event "metadata .Custom.test" equals "Global value"
98+ And the event "metadata .Custom.foo" equals "Thread value 1"
99+ And the event "metadata .Custom.bar" equals "Thread value 2"
100+ And the event "metadata .Custom.something" is null
101101
102102Scenario : Test unhandled thread metadata for Spring Boot app
103103 When I run spring boot "UnhandledThreadMetadataScenario" with the defaults
104104 And I wait to receive an error
105105 And the error is valid for the error reporting API version "4" for the "Bugsnag Spring" notifier
106106 And the error payload field "events" is an array with 1 elements
107107 And the exception "errorClass" equals "java.lang.RuntimeException"
108- And the event "metaData .Custom.test" equals "Global value"
109- And the event "metaData .Custom.foo" equals "Thread value 1"
110- And the event "metaData .Custom.bar" equals "Thread value 2"
111- And the event "metaData .Custom.something" is null
108+ And the event "metadata .Custom.test" equals "Global value"
109+ And the event "metadata .Custom.foo" equals "Thread value 1"
110+ And the event "metadata .Custom.bar" equals "Thread value 2"
111+ And the event "metadata .Custom.something" is null
112112
113113Scenario : Test unhandled thread metadata for plain Spring app
114114 When I run plain Spring "UnhandledThreadMetadataScenario" with the defaults
115115 And I wait to receive an error
116116 And the error is valid for the error reporting API version "4" for the "Bugsnag Spring" notifier
117117 And the error payload field "events" is an array with 1 elements
118118 And the exception "errorClass" equals "java.lang.RuntimeException"
119- And the event "metaData .Custom.test" equals "Global value"
120- And the event "metaData .Custom.foo" equals "Thread value 1"
121- And the event "metaData .Custom.bar" equals "Thread value 2"
122- And the event "metaData .Custom.something" is null
119+ And the event "metadata .Custom.test" equals "Global value"
120+ And the event "metadata .Custom.foo" equals "Thread value 1"
121+ And the event "metadata .Custom.bar" equals "Thread value 2"
122+ And the event "metadata .Custom.something" is null
123123
124124Scenario : Test logback appender with thread metadata
125125 When I run "LogbackThreadMetadataScenario" with logback config "basic_config.xml"
126126 And I wait to receive an error
127127 And the error is valid for the error reporting API version "4" for the "Bugsnag Java" notifier
128128 And the error payload field "events" is an array with 1 elements
129129 And the exception "errorClass" equals "java.lang.RuntimeException"
130- And the event "metaData .thread.foo" equals "threadvalue1"
131- And the event "metaData .thread.bar" equals "threadvalue2"
132- And the event "metaData .Custom.something" is null
130+ And the event "metadata .thread.foo" equals "threadvalue1"
131+ And the event "metadata .thread.bar" equals "threadvalue2"
132+ And the event "metadata .Custom.something" is null
133133
134134Scenario : Test thread meta data in plain spring async method
135135 Given I run the plain spring app
136136 When I navigate to the route "/run-async-task" on port "8080"
137137 And I wait to receive an error
138138 And the error is valid for the error reporting API version "4" for the "Bugsnag Spring" notifier
139- And the event "metaData .thread.key1" is null
140- And the event "metaData .thread.key2" equals "should be included in meta data"
139+ And the event "metadata .thread.key1" is null
140+ And the event "metadata .thread.key2" equals "should be included in meta data"
141141
142142Scenario : Test thread meta data in spring boot async method
143143 When I run spring boot "AsyncMethodScenario" with the defaults
144144 And I wait to receive an error
145145 And the error is valid for the error reporting API version "4" for the "Bugsnag Spring" notifier
146- And the event "metaData .thread.key1" is null
147- And the event "metaData .thread.key2" equals "should be included in meta data"
146+ And the event "metadata .thread.key1" is null
147+ And the event "metadata .thread.key2" equals "should be included in meta data"
148148
149149Scenario : Test thread meta data in plain spring scheduled task
150150 Given I set environment variable "RUN_SCHEDULED_TASK" to "true"
151151 And I run the plain spring app
152152 And I wait to receive an error
153153 And the error is valid for the error reporting API version "4" for the "Bugsnag Spring" notifier
154- And the event "metaData .thread.key1" is null
155- And the event "metaData .thread.key2" equals "should be included in meta data"
154+ And the event "metadata .thread.key1" is null
155+ And the event "metadata .thread.key2" equals "should be included in meta data"
156156
157157Scenario : Test thread meta data in spring boot scheduled task
158158 When I run spring boot "ScheduledTaskScenario" with the defaults
159159 And I wait to receive an error
160160 And the error is valid for the error reporting API version "4" for the "Bugsnag Spring" notifier
161- And the event "metaData .thread.key1" is null
162- And the event "metaData .thread.key2" equals "should be included in meta data"
161+ And the event "metadata .thread.key1" is null
162+ And the event "metadata .thread.key2" equals "should be included in meta data"
0 commit comments