Commit a87a28c
Migrate from rapidjson to boost::json (#1688)
* CI: Add build with OLP_SDK_NO_EXCEPTION=ON (#1661)
To catch issues in this kind of build earlier
Relates-To: OCMAM-442
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
* Integrate Boost.Json patching 1.82 for no exception (#1662)
Patch boost::json 1.82 with BOOST_NO_EXCEPTIONS
Is is solved in boost::json 1.83 but we preferred to stay at 1.82
Relates-To: OCMAM-442
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
* Refactor PartitionsSaxHandler to use boost::json (#1670)
Previously it was based on rapidjson
The tests are adjusted accordingly.
Relates-To: OCMAM-448
Signed-off-by: Alexander Sopov <ext-alexander.sopov@here.com>
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
* CI: build with hidden symbols using Clang (#1675)
Good to be able to do this. No tests as not exposed classes are
accessed in tests.
Examples: export functions from libs to utilize in the common binary
Make boost::json header only in the read lib
Otherwise there are unresolved external symbols when built with
visibility=hidden
Relates-To: MINOR
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
* Use Boost::json in olp-cpp-sdk-authentication (#1674)
Migrating from RapidJSON
Relates-To: OCMAM-443
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
* Build with OLP_SDK_NO_EXCEPTION=ON using clang (#1676)
It appeared that Clang and GCC complains on different lines
at least in case of Boost codebase
Relates-To: MINOR
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
* Boost includes to private section of auth lib (#1678)
Migrating from RapidJSON
Relates-To: OCMAM-443
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
* Use Boost::json in olp-cpp-sdk-dataservice-write (#1681)
Migrating from RapidJSON
Copy json implementation wrappers to write lib
This allows to keep other libs untouched until fully migrated to the
boost::json and remove write lib dependency from public json wrappers.
Alternative solutions tried are:
- add boost json wrappers to the same files in the core but to
additional namespace - changes in core, json still exposed
- move boost json wrappers from core to internal for the repository
include location and add it to all DataSDK projects - huge change
Relates-To: OCMAM-445
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
* Use Boost::json in olp-cpp-sdk-dataservice-read (#1684)
Migrating from RapidJSON
Copy json implementation wrappers to read lib
This allows to keep other libs untouched until fully migrated to the
boost::json and remove read lib dependency from public json wrappers.
Alternative solutions tried are:
- add boost json wrappers to the same files in the core but to
additional namespace - changes in core, json still exposed
- move boost json wrappers from core to internal for the repository
include location and add it to all DataSDK projects - huge change
Relates-To: OCMAM-444
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
* Use Boost::json in olp-cpp-sdk-core (#1685)
Migrating from RapidJSON
Json wrappers has been moved and not exposed anymore
Use Boost::json in mock-server-client
Use boost::json in HarCaptureAdapter
Relates-To: OCMAM-446
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
* Exclude RapidJSON from build
Migrating to boost::json
Relates-To: OCMAM-447
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
* Skip clang no exception build
Boost date_time has no 'no_exception' setup and clang is compiling
that code even if it's not used. GCC is OK
Relates-To: OCMAM-447
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
---------
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
Signed-off-by: Alexander Sopov <ext-alexander.sopov@here.com>
Co-authored-by: asopov-here <ext-alexander.sopov@here.com>
Signed-off-by: Yaroslav Stefinko <ext-yaroslav.stefinko@here.com>1 parent b400ee0 commit a87a28c
File tree
175 files changed
+3180
-2306
lines changed- .github/workflows
- docs
- examples
- external
- boost
- rapidjson
- olp-cpp-sdk-authentication
- src
- utils
- tests
- olp-cpp-sdk-core
- include/olp/core/generated
- parser
- serializer
- src
- client
- api
- parser
- generated
- parser
- serializer
- http/adapters
- utils
- tests
- utils
- olp-cpp-sdk-dataservice-read
- include/olp/dataservice/read/model
- src
- generated
- api
- parser
- serializer
- repositories
- utils
- tests
- olp-cpp-sdk-dataservice-write
- src
- generated
- parser
- serializer
- utils
- tests
- scripts/linux/psv
- tests
- common
- functional/olp-cpp-sdk-authentication
- integration/olp-cpp-sdk-dataservice-write
- utils/mock-server-client
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
175 files changed
+3180
-2306
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
111 | 126 | | |
112 | 127 | | |
113 | 128 | | |
| |||
181 | 196 | | |
182 | 197 | | |
183 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
184 | 218 | | |
185 | 219 | | |
186 | 220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
84 | 103 | | |
85 | 104 | | |
86 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
22 | 34 | | |
23 | 35 | | |
24 | | - | |
25 | | - | |
| 36 | + | |
26 | 37 | | |
27 | 38 | | |
28 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | | - | |
| 27 | + | |
26 | 28 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | | - | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | | - | |
29 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
0 commit comments