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

21 Коммитов

Автор SHA1 Сообщение Дата
catalinaperalta 2b6016b907
Setup repo to support client generation with tsp-client (#1845)
* add emitter configs

* ignore TempTypeSpecFiles dir

* update gitattributes

* update emitter-package.json to use specific versions

---------

Co-authored-by: Catalina Peralta <caperal@microsoft.com>
2024-10-29 11:48:38 -07:00
Heath Stewart acbe066e10
Return `Response<T>` from client methods (#1688)
* Define `Response<T>`

This doesn't actually work because object-safe traits can't have methods with type parameters, so refactoring is needed.

* Define separate `RawResponse`, `Response<T>`

* Fix code style check

* Fix wasm32-only code
2024-06-26 10:00:37 -07:00
Heath Stewart 201aaae2c5
Remove all but core, identity (#1641)
* Remove all but core, identity

* Disable emulator tests
2024-04-18 15:29:01 -07:00
Brian Caswell 588d27d260
use a temp directory for the emulator (#1494) 2023-12-06 08:52:04 -05:00
Robert Pack a0ef5e57f9
Add reqest properties for `azure_kusto_data` crate (#685)
Co-authored-by: AsafMah <asafmahlev@microsoft.com>
2022-04-27 17:56:29 -04:00
Cameron Taggart 9a8d3f88a4
add license for services (#631) 2022-01-25 08:03:51 -06:00
Thomas Vollmer ec9cc5923e
add "create path" operation (files only for now) to Azure Storage data_lake (using Pipeline architecture) (#358)
* Ignore IDEA files.

* Very rough draft.

* Fix compiler error: align types of pipeline and pipeline_context.

* Fix compiler error: align types of pipeline and pipeline_context.

* Fix compiler error around request builder.

* Match create_collection implementation.

* Fix error conversion.

* Fix data lake example.

* Format code.

* Fix typo.

* Test path create. Failing...

* Add missing content length header.

* Clean up comment.

* Remove commented code. Add timestamp to file system name. Rename variables. Fix newlines. Don't panic when create path fails.

* WIP

* Fail e2e test if create path did not work, while still deleting file system.

* Use actual bearer token in auth header.

* Use actual bearer token.

* Code format.

* Remove unneeded bearer token reference from DataLakeClient.

* Print debug info.

* Send proper auth header.

* Code format.

* Code format.

* Adopt new way to do options.

* Remove TODO comment.

* No need to set body to empty byte array.

* Remove comment.

* Fix env var names.

* Improve create_path response headers.

* Ignore batch files.

* Add assertions to e2e test.

* Remove unused.

* Format code. Fix bug.

* Consolidate two examples into one. Align example with e2e test.

* Add step to e2e test and example that fails to create file that already exists.

* Add mock testing framework support code. But can't switch e2e test until all operations are using pipeline architecture.

* Introduce actual DataLakeContext.
2021-10-26 15:50:14 +02:00
Cameron Taggart 888aa7e6fa
split up AutoRust code generation of models & operations (#355)
* separate codegen for models

* separate codegen operations

* update codegen errors

* add Config::default

* update lib_rs::Error

* start codegen for routes

* add verb to routes

* route paths

* return Responder & routes

* format with stable

* add example_path

* add responder

* add example constants

* add example responses

* support body params

* snake_case for examples module name

* add two more api versions

* set base path for examples

* implemenet Responder without derive

* move routes to start of file

* name Response

* add preview APIs too

* look up example by response code

* allow missing examples

* stable rustfmt

* sort super::*

* remove AutoRust CLI

* trim example path

* remove server-side routes codegen

* fix status code case

* newest specs

* generated code

Co-authored-by: Cameron Taggart <cameron.taggart@gmail.com>
2021-09-01 16:25:35 +02:00
Heath Stewart b29d8c4751
Use ClientOptions to create Pipeline (#288)
* Use ClientOptions to create Pipeline

* Resolve PR feedback

* Conditionally compile for WASM support

* Change Cosmos samples to use new pipeline

* Fix WASM build check

* Remove unnecessary `pub(crate)` declarations
2021-06-16 16:25:28 +02:00
Cameron Taggart fb5598b48d
fix storage table delete for azurite (#295) 2021-06-14 19:01:53 -06:00
Heath Stewart 1a8a3b90e8
Format on save (#282) 2021-06-04 10:32:57 -07:00
Cameron Taggart 114df85b8c
add new_http_client & fix cosmos_client (#274) 2021-06-01 09:04:48 -07:00
Cameron Taggart cdf7a4cdcc
add AutoRust source code (#215) 2021-04-19 09:10:15 -07:00
Francesco Cogno 6ad6dd5003
Storage Queue rewrite (#156)
* storage queue rewrite

* Implemented other methods

* pop_receipt is now a struct

* Implemented E2E tests

* implemented Set Queue Service Properties
2021-02-07 17:58:28 +01:00
Cameron Taggart 4e66d2ad02
format with Better TOML (#45) 2020-10-16 15:55:18 +02:00
Francesco Cogno bdb33a8727 builder pattern for container (uncompleted) 2018-06-17 13:23:29 +02:00
Max Gortman 9d0186c3e4
Removes unused tokio dependency (#35) 2018-05-07 09:29:57 -07:00
Francesco Cogno a1e8576057 First working section of cosmos auth 2017-05-31 17:52:54 +02:00
Francesco Cogno ce4bc9ed0b refactor from rustc_serialize to serde 2017-05-03 23:21:20 +02:00
Francesco Cogno 455eae2bcd added list blobs, get blob and put blob 2016-01-05 21:22:20 +01:00
Francesco Cogno 982f7d0193 Initial commit 2015-12-17 17:35:20 +01:00