1
0
Fork 0
Commit Graph

50 Commits

Author SHA1 Message Date
Alan Plum 72e685096a
Foxx console -> legacy 2016-05-18 14:44:47 +02:00
Alan Plum 1c87085f73
ES6 > lodash 2016-05-09 18:20:06 +02:00
Alan Plum e05c9440b9
Use manifest instead of service in service.toJSON 2016-05-09 18:18:37 +02:00
Alan Plum 3deb641d00
Make sure headers exists before adding headers 2016-05-09 18:12:34 +02:00
Alan Plum 6459b39159
Fix missing name/version in generated foxxes 2016-05-09 18:12:33 +02:00
Alan Plum 82a43bfca7
service.name -> service.manifest.name etc 2016-05-02 18:56:04 +02:00
Alan Plum 11c7db4375
Quality of life improvements in Foxx 2016-05-02 15:50:07 +02:00
Alan Plum e1d384813e
Make Foxx name/version optional 2016-05-02 15:50:06 +02:00
Alan Plum f81c946fd7
app -> service 2016-05-02 14:42:08 +02:00
jsteemann ea46d40bcd remove unused variable 2016-04-29 15:16:24 +02:00
Alan Plum 80dbea94a4
Make gharial behave better on errors again 2016-04-29 15:04:02 +02:00
Alan Plum 2b0c1f6f9a
_.extend -> Object.assign 2016-04-20 15:23:03 +02:00
Alan Plum 50ae4804f6
Spacing 2016-04-20 15:23:00 +02:00
Alan Plum 494d5d5855
Foxx.getExports -> legacy 2016-04-19 18:16:18 +02:00
Alan Plum ffcbd0a69e
Fix require tests 2016-04-19 09:29:24 +02:00
Alan Plum c39eca49e4
Add require.aliases 2016-04-18 18:01:06 +02:00
Alan Plum 2382e6a6a7
Foxx services should survive even if API docs are broken 2016-04-18 18:01:00 +02:00
Alan Plum 106f14cffb
Nicer route error logging logic 2016-04-18 18:00:54 +02:00
Alan Plum 3fdd0a90e2
Better handle wrapped errors in Foxx 2016-04-18 18:00:49 +02:00
Alan Plum 5a3e42e289
Service#thumbnail should use path instead of base64 2016-04-18 18:00:46 +02:00
Alan Plum 989f87f732
Allow adding extra fields to error response from exception 2016-04-18 18:00:41 +02:00
Alan Plum a31bf33892
Basic swagger tests 2016-04-18 18:00:33 +02:00
Alan Plum 4f2dc536ee
Tightening
Convert some lets to consts and eliminate the redundancy in Router.
2016-04-18 18:00:31 +02:00
Alan Plum 1f347b3145
Update license headers 2016-04-18 18:00:30 +02:00
Alan Plum d971780ba8
Make routing actually work 2016-04-18 18:00:30 +02:00
Alan Plum 8d2cc4041d
Implement request/response body handling 2016-04-18 18:00:29 +02:00
Alan Plum ff0bf1a182
Add basic swagger generator stub 2016-04-18 18:00:26 +02:00
Alan Plum 314d19d20d
Extract router tree 2016-04-18 18:00:24 +02:00
Alan Plum 572952864c
Expose service context in request obj 2016-04-18 18:00:24 +02:00
Alan Plum 34a1835532
Fix legacy mode applicationContext injection 2016-04-18 18:00:23 +02:00
Alan Plum aa4b41763e
Yakshaving
Naming things is hard.
2016-04-18 18:00:22 +02:00
Alan Plum 12e27cac00
Implement queryParam & body validation 2016-04-18 18:00:22 +02:00
Alan Plum 4b0fd593ce
Implement rudimentary route handling 2016-04-18 18:00:22 +02:00
Alan Plum 6ea15298bd
Partially implement routing for Foxx 2016-04-18 18:00:21 +02:00
Alan Plum 7bf1e5e502
Add router to Foxx services
Fixes #1189.
2016-04-18 18:00:20 +02:00
Alan Plum c934cbc9f2
Implement mounting legacy apps 2016-04-18 18:00:19 +02:00
Alan Plum bc0b5d40c4
Remove context._prefix 2016-04-18 18:00:19 +02:00
Alan Plum 443ebe42f8
Enable applicationContext for legacy apps 2016-04-18 18:00:18 +02:00
Alan Plum 6a217bc9f7
Remove module.context.foxxFilename 2016-04-18 18:00:18 +02:00
Alan Plum 5161c63670
Remove magical Foxx comments 2016-04-18 18:00:18 +02:00
Alan Plum 54f27f51a2
Expose module.context.service 2016-04-18 18:00:18 +02:00
Alan Plum 4140c26d30
Use symbols for internal module props 2016-04-18 18:00:17 +02:00
Alan Plum c7688a72f8
module.requireCache -> module.require.cache 2016-04-18 18:00:17 +02:00
Alan Plum eacf570a39
applicationContext -> module.context 2016-04-18 18:00:17 +02:00
Alan Plum 6593f3d358 Clean up stacktraces
Fixes #1564, #1565, #1744.
2016-02-15 22:56:29 +01:00
Alan Plum 480194ae14 Add missing header to foxx/service 2016-01-06 18:47:13 +01:00
Alan Plum 9ecc710491 Avoid _.clone
Lodash's clone is subtlely different from underscore's and breaks with ShapedJson.
2015-12-23 23:30:56 +01:00
Alan Plum de9ae5128a underscore -> lodash 2015-12-23 23:30:55 +01:00
Alan Plum b61d08efce applicationContext.foxxFilename -> applicationContext.fileName 2015-12-16 01:57:30 +01:00
Alan Plum 8853ede355 org/arangodb -> @arangodb 2015-12-15 15:51:44 +01:00