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

24 Коммитов

Автор SHA1 Сообщение Дата
Edwin Huber 02a0effb1b
Fixes Paged Query Across Partitions (#1030)
* added test to troubleshoot issue 1003

* added comment to test and reordered filter logic to first apply partitionkey filter before rowKey filter

* fixed paged query across partitions and improved tests

* finished changes required for merge

* updated changelog

* corrected error handling tests
2021-09-08 16:21:12 +08:00
RunyaoFan 76bab6807d
Vs (#938)
* 20210713 Create testing for exe

* enable testing against exe for table api

* enable exe.tests.ts to run the exe file and test with blob, queue, and table services

* 20210716 Create .exe building and testing for PR pipeline

* fix package.json and package-lock.json discrepancy

* resolve cwd issue of starting azurite.exe

* allow PR pipeline to build and test .exe file

* remove azurite.exe from repo

* add script folder for release pipeline

* test commit

* test commit

* test commit

* add pkg install to YAML

* add back pkg install

* test commit

* add set .exe property mechanism

* test commit

* enable .exe to run after property change

* test commit

* test commit

* fix throw in async function error in buildExe.ts

* revert exe file version to that of node

* disable using node 10 in exe building and testing

* change generated exe directory to ./release

* update icon to one of higher resolution

* remove original file name and change copy right for exe file

* fix style issues

* remove release directory from repository

Co-authored-by: Runyao Fan (FA Talent) <v-runyaofan@microsoft.com>
2021-07-30 16:17:37 +08:00
Edwin Huber bf0849fc5b
Adds @Element suffix to odata.metadata for entity operation. (#848)
* Fixes #133 adding Odata.metadata @element

* Update codeql.yml (#842)

Update: git checkout HEAD^2 is no longer necessary. 
 Step removed, as Code Scanning recommends analyzing the merge commit for best results.

* Create stale.yml (#838)

* Bump typescript from 4.2.4 to 4.3.4

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating entity tests and including
option to test against service

* Added service testing option and OData checks for insert table and insert entity

* set testing to local instance again

* Cleaning tests, removed invalid headers from upsert

* Updating testing to ensure parity between Azurite and Azure Service can be easily verified, and resolved differences in results

* resolved conflicts

* Add Service Test option to table tests

* updated tests after merging master branch

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-09 18:16:27 +08:00
xiaonlimsft 73603d186f Prepare 3.12.0 release - Update changelog, readme, supported API versions 2021-04-30 03:53:32 +00:00
Yi Lyu 6f62877278
Add queryEntities (#551)
* modify post verb to merge

* Fix CI

* Add queryEntities

Co-authored-by: xiaonlimsft <xiaonli@microsoft.com>
2020-11-05 15:24:17 +08:00
xiaonlimsft 241824e4a1
Generated code fix for table (#519)
* Add Table debug settings; Customize Table StorageError JSON format; Serlizer supports JSON serialize; TableHandler content-type setttings; Workaround isXML specification;

* Make sure each API dispath and serialize/deserialize properly

* isURITemplateMatch strict match to false

* Blob serializer fix

* Add indexs for Table collection

* Bring queue dispath URI validate to strict (TODO: inconsistency between table/blob/queue, rewrite URI match logic)

* Add table test into pipeline CI
2020-07-26 22:04:27 +08:00
XiaoningLiu 3e23a19f85 Support Basic OAuth 2020-04-16 01:01:26 +08:00
XiaoningLiu b057f11cf3 Refactor HTTPS test cases and add testing cert 2020-04-16 01:01:26 +08:00
Jon Gallant 236a4d0513
Add HTTPS support (#413)
* Add support for Bearer tokens

* Add QueueTokenAuthenticator

* Add HTTPS support

* update for https

* Azurite HTTPS Unit Tests

* Azurite HTTPS PR Updates

* Azurite HTTPS Unit Tests

* Azurite HTTPS Unit Tests

* update for https unit test

* update for https unit test

* update for https unit test

* Update for adding HTTPS support

* Implement support for pfx and password

* Implement support for pfx and password

* Implement support for pfx and password

* Implement support for pfx and password

* update for adding HTTPS support

* update for adding HTTPS support

* Implement support for pfx and password

* Implement support for pfx and password

* Implement support for pfx and password

* Implement support for pfx and password

* Implement support for pfx and password

* Implement support for pfx and password

* Implement support for pfx and password

* Implement support for pfx and password

* Update readme to be xplat.

* Fix linting errors

Co-authored-by: zzhxiaofeng <874256244@qq.com>
Co-authored-by: Ziheng Zhou (Wicresoft North America Ltd) <v-zihz@microsoft.com>
2020-04-08 22:05:56 +08:00
XiaoningLiu 5ba8c9ba22 Conditional headers support 2020-03-11 21:42:14 +08:00
xiaonlimsft 34866bf7b0
Updated message size calculation when checking 64KB limitation. Fixe… (#363)
* Updated message size calculation when checking 64KB limitation.  Fixed #314

* Blocked set tier for page blob which requires premium storage account where Azurite provides standard storage account

* GetPageRangesDiff API (incremental snapshot) now returns NotImplementedError. Fixed #298

* Strict mode will block crc64 & cmk related headers

* Fixed a bug that listing containers won't honor prefix with marker when using external metadata database; Fixed sas issue for update sequense number;

* Throw NotImplementedError for all not implemented handlers
2019-12-25 20:56:52 +08:00
xiaonlimsft efe4e9d123
Added loose mode and block unsupported headers by default (#358)
* Added loose mode and block unsupported headers by default

* Block set access tier when copy page blob

* Disable delete base blob without include snapshot header

* Update documents for loose mode
2019-12-24 22:41:47 +08:00
xiaonlimsft 298d490c9d
Added test case tags; Added support CI integration for SQL; Update pipeline support node v12 (#360)
* Added test case tags; Added support CI integration for SQL;

* Added test case tags; Added support CI integration for SQL;

* Update pipeline to support node.js v12

* Remove mariadb; Add mysql into ci pipeline;
2019-12-24 22:21:01 +08:00
Xiaoning Liu bc18271759 Update document, changelog; Fixed bug to forbid acquire lease for snapshot 2019-11-11 22:37:29 +08:00
Xiaoning Liu ff3a8173a0 Fixed a bug that snapshot blob doesn't honor metadata options. fixed #265 2019-11-11 22:37:29 +08:00
xiaonlimsft 6dbab60b56 Added BlobServerFactory and support for environment value AZURITE_DB; Fixed issues
* Added BlobServerFactory
* Added BlobTestFactory and refactorred test cases
* Added support for environment value AZURITE_DB
* Updated npm run clean:deep command
* Fixed special container/blob naming character issues by applying DB character to utf8mb4
* Removed getContainer from IBlobMetadataStore; Fixed AccessPolicy validation issue
* Fixed blockblob upload highlevel issues
* Fixed cacheControl not persisted bug in sql
* Fixed ListBlocks order issue in SQL
* Fixed commitBlockList metadata issue in SQL
* Removed sqlblob tests
* Fixed tslint issues
2019-11-11 22:37:29 +08:00
weakchicken 6e8d23112b Refactor metadata store interfaces & provide SQL based implementation 2019-11-11 22:37:29 +08:00
Tao Liao 6c7ef4a310 Added Queue Service 2019-08-29 13:06:32 +08:00
Xiaoning Liu 7968f6313e Added recommended extensions configuration 2019-05-28 17:25:08 +08:00
Xiaoning Liu 4455c842d0 Support triggering Azurite in VSC 2019-05-28 17:25:08 +08:00
Xiaoning Liu a1d2695ba3 Return 403 for non-exist container during blob SAS authentication 2019-05-09 01:07:26 -07:00
xiaonlimsft c0b27bf0e2 Newarch dev (#180)
* Updated persistencyID to IPersistencyChunk model to describe sub range of persitency extent

* Added tons of test cases for page blob operations

* Create page ranges manager to manage all page ranges operations

* Added tslint into azure pipeline checking; Added prettier before commit

* Caching file descriptors for performance improvement

* Improved ETag implementation; Clean up codes; Added start and close console output;
2019-04-02 15:39:31 +02:00
xiaonlimsft ccef1c2d31 [NewArch] Implemented BlockBlob APIs; Added test cases for implemented APIs; (#170)
* Added autorest as dev dependency; Removed main entry; Adjusted tab size in settings jsons;

* Renamed logger singleton; Added comments for access log and debug log

* Implementing block blob related operations

* Updated swagger for list blocks to make blocklisttype from required to optional

* Finished upload block and get block list

* Finished put block, put block list, get block list and download block blob

* Added listBlobHierarchySegment

* Make "Deleted" from required to optional for BlobItem model; Added get blob properties

* Make `ApiVersionParameter` parameter from required to optional in swagger; Fixed lokijs unit8array persisted issue; Fixed dispath middleware issue when required parameters is 0

* Added support URI decode for container and blob names

* Updated tslint file to skip Array type warning

* Added test for container url; Fixed collection parameter deseriation bug;

* Added test cases for  implemented APIs; Supported URI decoding and special blob names; Optmized debug log for stream; Fixed a bug listing container/blob prefix needs to be regex escaped;

* Removed unused comments

* Update testutils.ts

added URL import for case where not using node 10
2019-03-14 09:00:20 +01:00
Xiaoning Liu 8dd55133f5 Refactoring blob items models in persistency layer 2019-03-05 22:28:05 +08:00