Skip to content

Commit 0d2a0c4

Browse files
* Various changes for v1.1.0 release.
- Update cmake version to v1.1.0. - Adapt CHANGELOG.md with v1.1.0 release changeset. - Add CallApi doxygen documentation. Resolves: OLPEDGE-1207 Signed-off-by: Mykhailo Kuchma <[email protected]>
1 parent 9790f56 commit 0d2a0c4

File tree

10 files changed

+47
-8
lines changed

10 files changed

+47
-8
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## v1.1.0 (11/12/2019)
2+
3+
**Common**
4+
* The deprecated `olp::client::CancellationToken::cancel()` method was removed. Use `olp::client::CancellationToken::Cancel()` instead.
5+
* The `curl` network implementation was fixed and can now compile on 32 bits architecture.
6+
* The `disk_path` field in `olp::cache::CacheSettings` is deprecated. Use the `disk_path_mutable` field instead.
7+
* A new synchronous `CallApi` method was added to `olp::client::OlpClient`.
8+
* `pipe` and `pipe2` symbols detection are enhanced in curl.cmake.
9+
10+
**olp-cpp-sdk-authentication**
11+
* The `SignInClient` method in `olp::authentication::AuthenticationClient` is deprecated in favor of the newly introduced `SignInClient` method with a different signature.
12+
* The `scope` support was added to OAuth2 through `olp::authentication::SignInProperties`. You can now access the project bound resources using the `olp::authentication::SignInProperties::scope` field.
13+
* The `error_id` field was added to the `ErrorResponse` structure. You can use it to get the `errorId` string from the authentication error response.
14+
15+
**olp-cpp-sdk-dataservice-read**
16+
* The deprecated `GetCatalogMetadataVersion` method was removed from the `olp::dataservice::read::CatalogClient`.
17+
18+
**olp-cpp-sdk-dataservice-write**
19+
* Legacy and unused code were removed.
20+
121
## v1.0.0 (03/12/2019)
222

323
**Common**

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
cmake_minimum_required(VERSION 3.9)
1919

2020
# Build the sdk targets
21-
project(olp-cpp-sdk VERSION 1.0.0)
21+
project(olp-cpp-sdk VERSION 1.1.0)
2222

2323
# Add preprocessor definitions for the SDK version and platform name
2424
add_definitions(-DOLP_SDK_VERSION_STRING=\"${olp-cpp-sdk_VERSION}\")

examples/dataservice-write/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ elseif(ANDROID)
3838
${OLP_SDK_EXAMPLE_FAILURE_STRING})
3939

4040
else()
41-
project(${OLP_SDK_DATASERVICE_WRITE_EXAMPLE_TARGET} VERSION 1.0.0)
41+
project(${OLP_SDK_DATASERVICE_WRITE_EXAMPLE_TARGET} VERSION 1.1.0)
4242

4343
add_executable(${OLP_SDK_DATASERVICE_WRITE_EXAMPLE_TARGET} ${CMAKE_CURRENT_SOURCE_DIR}/example.h ${CMAKE_CURRENT_SOURCE_DIR}/example.cpp)
4444

examples/helpers/android/app/CMakeLists.txt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
cmake_minimum_required(VERSION 3.5)
1919

20-
project(@OLP_SDK_EXAMPLE_TARGET_NAME@ VERSION 1.0.0)
20+
project(@OLP_SDK_EXAMPLE_TARGET_NAME@ VERSION 1.1.0)
2121

2222
if (DEFINED OLP_SDK_HTTP_CLIENT_JAR)
2323
get_filename_component(OLP_SDK_HTTP_CLIENT_JAR_FULL_PATH "${OLP_SDK_HTTP_CLIENT_JAR}" ABSOLUTE)

examples/helpers/ios/CMakeLists.txt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (NOT IOS)
2121
message(FATAL_ERROR "Unsupported platform!")
2222
endif()
2323

24-
project(@OLP_SDK_EXAMPLE_TARGET_NAME@ VERSION 1.0.0)
24+
project(@OLP_SDK_EXAMPLE_TARGET_NAME@ VERSION 1.1.0)
2525

2626
add_executable(@OLP_SDK_EXAMPLE_TARGET_NAME@
2727
${CMAKE_CURRENT_SOURCE_DIR}/example.h

olp-cpp-sdk-authentication/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# SPDX-License-Identifier: Apache-2.0
1616
# License-Filename: LICENSE
1717

18-
project(olp-cpp-sdk-authentication VERSION 1.0.0)
18+
project(olp-cpp-sdk-authentication VERSION 1.1.0)
1919
set(DESCRIPTION "C++ API library for accesing HERE Account authentication service")
2020

2121
file(GLOB_RECURSE AUTHENTICATION_INC "include/*.h*")

olp-cpp-sdk-core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# License-Filename: LICENSE
1717

1818

19-
project(olp-cpp-sdk-core VERSION 1.0.0)
19+
project(olp-cpp-sdk-core VERSION 1.1.0)
2020
set(DESCRIPTION "Core network and utility library for the HERE OLP SDK C++")
2121

2222
find_package(RapidJSON REQUIRED)

olp-cpp-sdk-core/include/olp/core/client/OlpClient.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,25 @@ class CORE_API OlpClient {
9292
const std::string& content_type,
9393
const NetworkAsyncCallback& callback) const;
9494

95+
/**
96+
* @brief Executes the REST request through the network stack in a blocking
97+
* way.
98+
* @param path The path that is appended to the base URL.
99+
* @param method Choose one of the following methods: GET, POST, DELETE, PUT.
100+
* @param query_params The parameters that are appended to the path URL.
101+
* @param header_params The headers used to customize request.
102+
* @param form_params (For the POST request) Populate one of the following
103+
* parameters: `form_params` or `post_body`.
104+
* @param post_body (For the POST request) Populate one of the following
105+
* parameters: `form_params` or `post_body`. This data must not be modified
106+
* until the request is completed.
107+
* @param content_type The content type of the `post_body` or `form_params`
108+
* parameters.
109+
* @param context The `CancellationContext` instance that is used to cancel
110+
* the request.
111+
*
112+
* @return The `HttpResponse` instance.
113+
*/
95114
HttpResponse CallApi(std::string path, std::string method,
96115
std::multimap<std::string, std::string> query_params,
97116
std::multimap<std::string, std::string> header_params,

olp-cpp-sdk-dataservice-read/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# SPDX-License-Identifier: Apache-2.0
1616
# License-Filename: LICENSE
1717

18-
project(olp-cpp-sdk-dataservice-read VERSION 1.0.0)
18+
project(olp-cpp-sdk-dataservice-read VERSION 1.1.0)
1919
set(DESCRIPTION "C++ API library for reading OLP data")
2020

2121
file(GLOB_RECURSE INC "include/*.h*")

olp-cpp-sdk-dataservice-write/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# SPDX-License-Identifier: Apache-2.0
1616
# License-Filename: LICENSE
1717

18-
project(olp-cpp-sdk-dataservice-write VERSION 1.0.0)
18+
project(olp-cpp-sdk-dataservice-write VERSION 1.1.0)
1919
set(DESCRIPTION "C++ API library for writing data to OLP")
2020

2121
file(GLOB_RECURSE DATASERVICE_WRITE_INC "include/*.h*")

0 commit comments

Comments
 (0)