Commit Graph

1336 Commits

Author SHA1 Message Date
lganzzzo
d74d6b2308 provider: Decouple Provider and Invalidator. 2021-10-19 03:34:16 +03:00
lganzzzo
cc6c54f3a9 Merge with master 2021-10-16 02:00:50 +03:00
Benedikt-Alexander Mokroß
62b9908971
Merge pull request #492 from bamkrs/keep_required_fields
Add option to include required fields in JSON even if `value == nullptr` and `includeNullFields == false`.
2021-10-15 12:57:57 +02:00
Benedikt-Alexander Mokroß
defcc35e09 Renamed honorRequired to alwaysIncludeRequired. 2021-10-15 10:50:17 +02:00
Leonid Stryzhevskyi
ac2862d984
Update README.md 2021-10-15 02:00:23 +03:00
Leonid Stryzhevskyi
398abeb825
Update 1.3.0.md 2021-10-15 01:50:18 +03:00
Leonid Stryzhevskyi
1521d335b3
Merge pull request #493 from oatpp/request_response_bundle_data
Request response bundle data
2021-10-15 01:26:39 +03:00
lganzzzo
736ffa2c07 Tests. Fix web::FullTest. 2021-10-15 00:55:37 +03:00
lganzzzo
d6a95c57e7 Tests. web::FullTest: reduce iterations number. 2021-10-15 00:20:41 +03:00
lganzzzo
10e33b5158 Bundle: add API docs. 2021-10-14 23:23:24 +03:00
lganzzzo
3d89dc4403 ApiController: introduce 'BUNDLE' parameters to access request bundle data. 2021-10-14 23:18:16 +03:00
Benedikt-Alexander Mokroß
cf9530ced5 Add option to include required fields in JSON even if value == nullptr and includeNullFields == false. 2021-10-14 11:05:35 +02:00
lganzzzo
c80047b6bd UnitTest.hpp fix includes 2021-10-14 02:30:55 +03:00
lganzzzo
e3747736fc data::Bundle: fix get() method. 2021-10-14 02:21:59 +03:00
lganzzzo
fa4cdf93fc Merge branch 'v1.3.0' into request_response_bundle_data 2021-10-14 02:18:45 +03:00
Leonid Stryzhevskyi
842f62a7c1
Merge pull request #491 from oatpp/refactor_object_wrapper
Refactor object wrapper
2021-10-14 02:17:49 +03:00
lganzzzo
29817260c7 data::mapping: Void is a friend of ObjectWrapper. 2021-10-14 01:38:10 +03:00
lganzzzo
bc1806fa5b Merge branch 'v1.3.0' into refactor_object_wrapper 2021-10-14 01:18:50 +03:00
lganzzzo
904be7ca61 oatpp::data: introduce class 'Bundle'. 2021-10-14 01:09:09 +03:00
lganzzzo
de4de060cc Merge branch 'master' into v1.3.0 2021-10-14 00:05:45 +03:00
Leonid Stryzhevskyi
e9fceb93d3
Merge pull request #489 from kmeinhar/master
[UnitTest]: Added before and after methods to Unit Test
2021-10-14 00:04:37 +03:00
Kai Meinhard
6e4e30bfa2 Update src/oatpp-test/UnitTest.hpp
Co-authored-by: Benedikt-Alexander Mokroß <github@bamkrs.de>
2021-10-13 15:16:28 +02:00
Kai Meinhard
f4a178f9f7 [UnitTest]: Added before and after methods to Unit Test
There might be some setup/teardown code that is no supposed
to run in every iteration of a test.
Additionally this code is not included in the time measurement.
2021-10-13 14:54:55 +02:00
Leonid Stryzhevskyi
00ee3eea78
Update 1.3.0.md 2021-10-13 03:03:42 +03:00
Leonid Stryzhevskyi
cc40fe69c8
Merge pull request #488 from oatpp/connection_monitor
Connection monitor
2021-10-13 02:48:27 +03:00
lganzzzo
46a2f98758 Api docs. ConnectionMonitor. 2021-10-13 02:47:46 +03:00
lganzzzo
42bbaf3224 Tests: uncomment all. 2021-10-07 02:43:51 +03:00
lganzzzo
7f5576f52e data::stream: make transferAsync() method consistent with simple API. 2021-10-07 02:30:54 +03:00
lganzzzo
08b02340c9 Tests: ConnectionMonitor. Fix Windows build. 2021-10-07 01:51:32 +03:00
lganzzzo
3e97c45b71 tests: ConnectionMonitorTest 2021-10-07 01:19:50 +03:00
lganzzzo
eb1296cbb5 ConnectionMonitor: introduce ConnectionInactivityChecker 2021-10-05 01:37:13 +03:00
Leonid Stryzhevskyi
d9e8e0cb34
Merge pull request #486 from Garzet/master
Add ErrorHandler virtual destructor
2021-09-27 17:01:48 +03:00
Rudolf Lovrenčić
284647320d Add ErrorHandler virtual destructor
Virtual destructor added to the ErrorHandler since derived class
destructor should be called when destroying an object via a pointer to
the base type (ErrorHandler in this case).
2021-09-27 14:25:33 +02:00
lganzzzo
d47ae5c20a ConnectionMonitor: move ConnectionMonitor to network::monitor namespace. 2021-09-25 01:05:51 +03:00
lganzzzo
2ffcf9cc20 ConnectionMonitor: working POC 2021-09-23 01:24:52 +03:00
lganzzzo
0ed9ce14dc tests: Add ConnectionMonitorTest 2021-09-23 00:21:49 +03:00
lganzzzo
964a68253e ConnectionMonitor: introduce MetricAnalyser. 2021-09-22 02:22:03 +03:00
lganzzzo
c1da819763 Merge branch 'master' into connection_monitor 2021-09-22 01:52:35 +03:00
Benedikt-Alexander Mokroß
0dee902a69
Merge pull request #484 from bamkrs/server_replace_connectionprovider
Add setter for `Server`s `ConnectionProvider`.
2021-09-15 17:06:39 +02:00
Benedikt-Alexander Mokroß
d14dd5be90 Lockguards around m_connectionProvider->get() 2021-09-15 10:40:36 +02:00
Benedikt-Alexander Mokroß
dbab5a7acc Synchronized setter functions.
Should we use two spinlocks (protecting two different variables)?
2021-09-15 09:28:18 +02:00
Benedikt-Alexander Mokroß
462b9c43bf Add setter for Servers ConnectionProvider.
We may need synchronization for that.
2021-09-15 09:13:56 +02:00
lganzzzo
ee03d7bc54 Merge branch 'v1.3.0' into connection_monitor 2021-09-15 00:27:10 +03:00
lganzzzo
8cd357aba3 merge with master 2021-09-15 00:26:26 +03:00
Leonid Stryzhevskyi
9400c3014e
Merge pull request #482 from bamkrs/replace_headers
Add API to replace headers in requests and responses (Closes #481).
2021-09-14 16:01:31 +03:00
Benedikt-Alexander Mokroß
06a690d73e Renamed replaceOrPut to putOrReplace. 2021-09-14 14:14:25 +02:00
Benedikt-Alexander Mokroß
8e9dafb9ad Actually fix #481 2021-09-14 07:13:47 +02:00
Benedikt-Alexander Mokroß
1ce3e3bd16 Add API to replace headers in requests and responses (Closes #481). 2021-09-10 08:12:14 +02:00
Leonid Stryzhevskyi
f1599f2144
Merge pull request #479 from Yadoms/fixCrossCompileWithGcc
Try to fix cross compilation for Raspberry/Synology
2021-09-08 01:53:09 +03:00
Sébastien Gallou
a39630d6d0 Try to fix cross compilation for Raspberry/Synology 2021-09-07 18:12:50 +02:00