Skip to content

Commit

Permalink
release 3.1.54 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Oct 12, 2023
1 parent 269a158 commit 387d993
Show file tree
Hide file tree
Showing 12,501 changed files with 86,765 additions and 38,137 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
152 changes: 152 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,155 @@
# 3.1.54 2023-10-12

### HuaweiCloud SDK CDN

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ShowHistoryTasks**
- changes of request param
- `+ task_type`
- **ShowUrlTaskInfo**
- changes of response param
- `+ result.mode`

### HuaweiCloud SDK CodeArtsDeploy

- _Features_
- Support the interface `ShowExecutionParams`
- _Bug Fix_
- None
- _Change_
- **ListAllApp**
- changes of request param
- `+ states`
- `+ group_id`

### HuaweiCloud SDK CTS

- _Features_
- Support the following interfaces:
- `ListOperations`
- `BatchCreateResourceTags`
- `BatchDeleteResourceTags`
- `ListUserResources`
- `CheckObsBuckets`
- `ListTraceResources`
- _Bug Fix_
- None
- _Change_
- None

### HuaweiCloud SDK ECS

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ReinstallServerWithoutCloudInit**
- changes of request param
- `+ os-reinstall.metadata.BYOL`
- **ListFlavors**
- changes of response param
- `+ flavors.os_extra_specs.quota:vif_max_num`
- `+ flavors.os_extra_specs.quota:sub_network_interface_max_num`
- **ListResizeFlavors**
- changes of response param
- `+ flavors.extra_specs.quota:vif_max_num`
- `+ flavors.extra_specs.quota:sub_network_interface_max_num`

### HuaweiCloud SDK GaussDBforopenGauss

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ListInstances**
- changes of response param
- `+ instances.datastore.complete_version`
- `+ instances.datastore.hotfix_versions`
- **ListInstancesDetails**
- changes of response param
- `+ instances.datastore.complete_version`
- `+ instances.datastore.hotfix_versions`

### HuaweiCloud SDK IMS

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ShowJob**
- changes of response param
- `+ entities.addition_error_code`
- `+ entities.addition_error_msg`
- `+ entities.error_code`
- `+ entities.error`
- `+ entities.alarm_code`

### HuaweiCloud SDK OCR

- _Features_
- Support the interface `RecognizeColombiaIdCard`
- _Bug Fix_
- None
- _Change_
- **RecognizeVehicleLicense**
- changes of response param
- `+ result.energy_type`
- `+ result.front`
- `+ result.back`
- **RecognizeWebImage**
- changes of request param
- `+ detect_text_direction`

### HuaweiCloud SDK RDS

- _Features_
- Support the following interfaces:
- `ListPostgresqlHbaInfo`
- `ModifyPostgresqlHbaConf`
- `AddPostgresqlHbaConf`
- `DeletePostgresqlHbaConf`
- `ListPostgresqlHbaInfoHistory`
- _Bug Fix_
- None
- _Change_
- **UpgradeDbVersionNew**
- changes of request param
- `+ is_delayed`
- `- delay`

### HuaweiCloud SDK VPC

- _Features_
- Support the following interfaces:
- `ListTrafficMirrorSessions`
- `CreateTrafficMirrorSession`
- `ShowTrafficMirrorSession`
- `UpdateTrafficMirrorSession`
- `DeleteTrafficMirrorSession`
- `RemoveSourcesFromTrafficMirrorSession`
- `AddSourcesToTrafficMirrorSession`
- `ListTrafficMirrorFilters`
- `CreateTrafficMirrorFilter`
- `ShowTrafficMirrorFilter`
- `UpdateTrafficMirrorFilter`
- `DeleteTrafficMirrorFilter`
- `ListTrafficMirrorFilterRules`
- `CreateTrafficMirrorFilterRule`
- `ShowTrafficMirrorFilterRule`
- `UpdateTrafficMirrorFilterRule`
- `DeleteTrafficMirrorFilterRule`
- _Bug Fix_
- None
- _Change_
- None

# 3.1.53 2023-09-19

### HuaweiCloud SDK CTS
Expand Down
152 changes: 152 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,155 @@
# 3.1.54 2023-10-12

### HuaweiCloud SDK CDN

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- **ShowHistoryTasks**
- 请求参数变更
- `+ task_type`
- **ShowUrlTaskInfo**
- 响应参数变更
- `+ result.mode`

### HuaweiCloud SDK CodeArtsDeploy

- _新增特性_
- 支持接口`ShowExecutionParams`
- _解决问题_
-
- _特性变更_
- **ListAllApp**
- 请求参数变更
- `+ states`
- `+ group_id`

### HuaweiCloud SDK CTS

- _新增特性_
- 支持以下接口:
- `ListOperations`
- `BatchCreateResourceTags`
- `BatchDeleteResourceTags`
- `ListUserResources`
- `CheckObsBuckets`
- `ListTraceResources`
- _解决问题_
-
- _特性变更_
-

### HuaweiCloud SDK ECS

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- **ReinstallServerWithoutCloudInit**
- 请求参数变更
- `+ os-reinstall.metadata.BYOL`
- **ListFlavors**
- 响应参数变更
- `+ flavors.os_extra_specs.quota:vif_max_num`
- `+ flavors.os_extra_specs.quota:sub_network_interface_max_num`
- **ListResizeFlavors**
- 响应参数变更
- `+ flavors.extra_specs.quota:vif_max_num`
- `+ flavors.extra_specs.quota:sub_network_interface_max_num`

### HuaweiCloud SDK GaussDBforopenGauss

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- **ListInstances**
- 响应参数变更
- `+ instances.datastore.complete_version`
- `+ instances.datastore.hotfix_versions`
- **ListInstancesDetails**
- 响应参数变更
- `+ instances.datastore.complete_version`
- `+ instances.datastore.hotfix_versions`

### HuaweiCloud SDK IMS

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- **ShowJob**
- 响应参数变更
- `+ entities.addition_error_code`
- `+ entities.addition_error_msg`
- `+ entities.error_code`
- `+ entities.error`
- `+ entities.alarm_code`

### HuaweiCloud SDK OCR

- _新增特性_
- 支持接口`RecognizeColombiaIdCard`
- _解决问题_
-
- _特性变更_
- **RecognizeVehicleLicense**
- 响应参数变更
- `+ result.energy_type`
- `+ result.front`
- `+ result.back`
- **RecognizeWebImage**
- 请求参数变更
- `+ detect_text_direction`

### HuaweiCloud SDK RDS

- _新增特性_
- 支持以下接口:
- `ListPostgresqlHbaInfo`
- `ModifyPostgresqlHbaConf`
- `AddPostgresqlHbaConf`
- `DeletePostgresqlHbaConf`
- `ListPostgresqlHbaInfoHistory`
- _解决问题_
-
- _特性变更_
- **UpgradeDbVersionNew**
- 请求参数变更
- `+ is_delayed`
- `- delay`

### HuaweiCloud SDK VPC

- _新增特性_
- 支持以下接口:
- `ListTrafficMirrorSessions`
- `CreateTrafficMirrorSession`
- `ShowTrafficMirrorSession`
- `UpdateTrafficMirrorSession`
- `DeleteTrafficMirrorSession`
- `RemoveSourcesFromTrafficMirrorSession`
- `AddSourcesToTrafficMirrorSession`
- `ListTrafficMirrorFilters`
- `CreateTrafficMirrorFilter`
- `ShowTrafficMirrorFilter`
- `UpdateTrafficMirrorFilter`
- `DeleteTrafficMirrorFilter`
- `ListTrafficMirrorFilterRules`
- `CreateTrafficMirrorFilterRule`
- `ShowTrafficMirrorFilterRule`
- `UpdateTrafficMirrorFilterRule`
- `DeleteTrafficMirrorFilterRule`
- _解决问题_
-
- _特性变更_
-

# 3.1.53 2023-09-19

### HuaweiCloud SDK CTS
Expand Down
15 changes: 11 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ project(huaweicloud_cpp_sdk_v3)

set(CMAKE_CXX_STANDARD 14)


include(GNUInstallDirs)
include(FindPackageHandleStandardArgs)

option(ENABLE_SHARED "Enable shared library" ON)
option(ENABLE_RTTR "Enable rttr library" OFF)
option(ENABLE_BSON "Enable bson library" OFF)

if(ENABLE_SHARED)
set(LIB_TYPE SHARED)
Expand All @@ -17,8 +20,13 @@ else()
set(LIB_TYPE STATIC)
endif()

SET(BUILD_SERVICE codeartsdeploy)
SET(SERVICE_VERSION v2)
if(ENABLE_BSON)
add_definitions(-DBOOST_NO_CXX11_DELETED_FUNCTIONS)
add_definitions(-DHUAWEICLOUD_SDK_BSON_)
endif()

SET(BUILD_SERVICE kvs)
SET(SERVICE_VERSION v1)

if(BUILD_SERVICE STREQUAL "all" OR BUILD_SERVICE STREQUAL "")
# USE MULTIPLE SERVICES(EXAMPLE: USE VPC ECS AND EIP)
Expand All @@ -32,5 +40,4 @@ else()
add_subdirectory(core)
add_subdirectory(${BUILD_SERVICE}/src/${SERVICE_VERSION})
message(STATUS "'BUILD_SERVICE'=${BUILD_SERVICE}")
endif()

endif()
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ make
sudo make install
```

For services that use BSON (kvs), install `libbson` and configure LIBBSON_INCLUDE_DIRS and LIBBSON_LIBRARY_DIRS to specify the header file path and library file path, respectively.

``` bash
sudo apt-get install libbson-1.0
```

#### Step 2: Build and install SDK

``` bash
Expand All @@ -73,7 +79,10 @@ After the preceding commands completed, **the installation directory of C++ SDK*
``` bash
vcpkg install curl cpprestsdk boost openssl spdlog
```

For services that use BSON (kvs), install `libbson` and configure LIBBSON_INCLUDE_DIRS and LIBBSON_LIBRARY_DIRS to specify the header file path and library file path, respectively.
``` bash
vcpkg install libbson
```
#### Step 2: Build By CLion

1. open directory `huaweicloud-sdk-cpp-v3` by clion
Expand Down Expand Up @@ -531,3 +540,8 @@ add_subdirectory(vpc/src/v2)
add_subdirectory(eip/src/v2)
add_subdirectory(ecs/src/v2)
```
- For services that use BSON (kvs), set ENABLE_BSON to ON. ENABLE_BSON is set to OFF by default.
``` bash
# For services that use BSON, set ENABLE_BSON to ON. ENABLE_BSON is set to OFF by default.
option(ENABLE_BSON "Enable bson library" ON)
```
Loading

0 comments on commit 387d993

Please sign in to comment.