Граф коммитов

76 Коммитов

Автор SHA1 Сообщение Дата
Jinming Hu 2f95fb0af3 Add sample for blob_client 2020-03-12 20:39:47 -07:00
Jinming Hu e79e61737b Fix issue: storage_error didn't contain any error information when curl failed 2020-03-12 20:39:47 -07:00
Joe maley ea001580b5 'buff' const-correctness in upload_block_from_buffer()
The 'buff' argument does not need to be mutable. The const qualfier makes the
interface more flexible because it can now handle const input buffers.
2020-03-08 19:38:06 -07:00
Jinming Hu 12766488a7 Fix build errors on Windows 2020-02-03 22:00:24 -08:00
Jinming Hu 95098ae736 Update NOTICE.txt 2020-01-03 04:32:37 -08:00
Jinming Hu ce1373cd89 Add cgmanifest.json 2020-01-02 20:47:41 -08:00
Jinming Hu ca441bad41 Update tinyxml2 to latest version 7.1.0 2020-01-02 20:47:41 -08:00
Jinming Hu 033ca6b23b Use different API versions for different services 2020-01-02 20:47:41 -08:00
Jinming Hu 868c703282 Use uniform storage_exception 2020-01-02 20:47:41 -08:00
Jinming Hu 4fdbdde3dc Add CentOS 6 2020-01-02 20:47:41 -08:00
Jinming Hu 7f287657db Add CentOS 7 2020-01-02 20:47:41 -08:00
Jinming Hu 7fc1954055 Update version to 0.2.0 2020-01-02 20:47:41 -08:00
Jinming Hu 0d57a7a320 Add get_request_headers() 2019-12-02 23:16:55 -08:00
Jinming Hu 832ce2474d Add comments 2019-12-02 23:16:55 -08:00
Jinming Hu 4a4dc0322b Test cases for SAS and OAuth token 2019-12-02 23:16:55 -08:00
Jinming Hu 91d9eed8f4 Fix typo in comments 2019-12-02 23:16:55 -08:00
Jinming Hu 42f203f1a1 Update azure-pipelines.yml for ADLS Gen2 2019-12-02 23:16:55 -08:00
Jinming Hu 811704d729 ADLS Gen2 implementation 2019-12-02 23:16:55 -08:00
Jinming Hu 3c87b389f4 Add two APIS: set_container_metadata and set_blob_metadata 2019-12-02 23:16:55 -08:00
Jinming Hu 5eaca17a0e Fix a bug: We never really get container's metadata 2019-12-02 23:16:55 -08:00
Jinming Hu 1c58023b1f Fix a bug: didn't convert header name to lowercae and sort when signing 2019-12-02 23:16:55 -08:00
Jinming Hu c021d0b232 ramp up REST API version to 2018-11-09 2019-12-02 23:16:55 -08:00
Jinming Hu 48003cab46 Some necessary changes for the sake of ADLS Gen2 2019-12-02 23:16:55 -08:00
Jinming Hu 39eb56ab25 Add json parser for response body 2019-12-02 23:16:55 -08:00
Jinming Hu 256a309bee Remove useless header 2019-12-02 23:16:55 -08:00
Jinming Hu a5994fbceb Improve log API, fix link issue 2019-12-02 23:16:55 -08:00
Jinming Hu a61fff3ec9 Add switch for dllimport/dllexport 2019-12-02 23:16:55 -08:00
Jinming Hu b674a1096a \r\n won't be passed in libcurl response header callback 2019-12-02 23:16:55 -08:00
Jinming Hu 18b482a934 Fix a bug: query parameter is not converted to lowercase when signing 2019-12-02 23:16:55 -08:00
Jinming Hu 42e74826f5 Also encode '=' in url parameter value, to be alighed with server side 2019-12-02 23:16:55 -08:00
Jinming Hu 4bdcfe1c1d Move URL-encode code to utility so that ADLS Gen2 can leverage it 2019-12-02 23:16:55 -08:00
Jinming Hu b401cd88db [Breaking] Change API name: get_blob/container_property->get_blob/container_properties, plus they return std::future<> now 2019-12-02 23:16:55 -08:00
Jinming Hu 2ce12f5547 Add ADLS Gen2 interface 2019-12-02 23:16:55 -08:00
Jinming Hu 0b15df7e25 Now compatible with VS2019 2019-12-02 23:16:55 -08:00
Jinming Hu c771d89e84 Fix an issue that upload failed errno is overwritten by file close 2019-12-02 23:16:55 -08:00
Jinming Hu d4ff3df813 Use new random generator, which fixes some ut failures 2019-11-18 23:17:04 -08:00
Jinming Hu 39259064cc Drop OpenSSL dependency on Windows 2019-11-18 23:17:04 -08:00
Jinming Hu 81a1d9740c Integrate Azure Pipelines 2019-11-18 23:17:04 -08:00
Jinming Hu bdaec7055d Update README.md 2019-11-18 23:17:04 -08:00
Jinming Hu 2bc4456c49 Refactor CMake 2019-11-18 23:17:04 -08:00
Viswanatha Reddy 4031a59269 Fix for reused curl handles' options getting ineffective 2019-11-18 23:17:04 -08:00
Jinming Hu 5e225b832a Fix a bug: HTTP body is left out when retry. 2019-11-18 23:17:04 -08:00
Jinming Hu 071a40d1e8 Add dllexport for blob_client_wrapper 2019-11-18 23:17:04 -08:00
Tank Tang f931c14055 Resolved UUID calculation issue and binary file cannot be succesffully read issue on Windows 2019-10-15 23:32:16 -07:00
Tank Tang 5dd8840387 Added upload_from_buffer to avoid copying only to initialize a stream 2019-10-14 18:37:04 -07:00
Tank Tang d83521d2ec Resolved an issue on Mac/Windows where blob_client_wrapper cannot upload correct data using upload_file_to_blob 2019-10-14 18:37:04 -07:00
Tank Tang cab2d8a7a5 Resolved a problem in blob_client_wrapper where unseekable stream cannot be successfully uploaded. 2019-10-14 18:37:04 -07:00
Damien Pontifex db694ec929 removing duplicate desctructor 2019-09-29 10:03:46 +08:00
Damien Pontifex 082cf5375f Removed unused getter 2019-09-29 10:03:17 +08:00
Damien Pontifex 30fa88d7c8 mutable std::mutex to retain const correctness for readonly 2019-09-29 10:03:17 +08:00