Pan Li
4ee95c3177
Use one char as testdb suffix, fix #205 . ( #206 )
...
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-31 20:37:06 +08:00
Pan Li
67840d2174
Fix telemetry proxy npe 200 ( #201 )
...
* Refactor telemetry tracker, fix #200 .
Signed-off-by: Pan Li <incarnation.p.lee@outlook.com>
2018-08-29 13:46:25 +08:00
weiping
2fd030864f
add sample code for pageable query ( #198 )
2018-08-28 13:20:53 +08:00
Pan Li
8544f4d0f1
Update sample code 174 ( #196 )
...
* Update samples for release/2.0.4.
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-27 10:35:47 +08:00
miaosakurai
421f78474c
Add BETWEEN keyword ( #197 )
...
* Add BETWEEN keyword
* Fix checkstyle issue
2018-08-27 09:20:01 +08:00
miaosakurai
d1a9beaaf5
Add TRUE and FALSE keyword ( #192 )
...
* Add TRUE and FALSE keyword
2018-08-24 10:44:08 +08:00
Pan Li
c1dea707f8
Add keyword in 144 ( #191 )
...
* Add keyword IN and NOT_IN, #144 .
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-24 10:05:02 +08:00
Pan Li
a596929530
Add keyword is 144 ( #194 )
...
* Add keyword IS (NOT) NULL, #144 .
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-24 09:46:25 +08:00
weiping
95e2bc66ef
prepend existing ConnectionPolicy user agent ( #189 )
...
* prepend existing ConnectionPolicy user agent
2018-08-23 16:14:28 +08:00
miaosakurai
2073b6d1d1
Add CONTAINS and ENDSWITH keyword ( #187 )
2018-08-23 14:46:27 +08:00
Pan Li
58c9df6e46
Fix one defect of mvn command line eat error code. ( #190 )
...
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-23 14:08:28 +08:00
Pan Li
7e4486ac2e
Add getCollectionLink without query, fix #152 ( #181 )
...
* Avoiding unnecessary query for DocumentCollection.
Signed-off-by: Pan Li <incarnation.p.lee@outlook.com>
2018-08-23 11:17:53 +08:00
Pan Li
197366e5f2
Add keyword less and less equal, #144 . ( #184 )
...
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-23 11:01:03 +08:00
Pan Li
ae4bb9bb34
Fix defect of cross partition key flag, fix #186 . ( #188 )
...
* Fix defect of cross partition key, fix #186 .
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-23 10:53:30 +08:00
weiping
8571aa11a2
only allow user to override database configuration ( #185 )
...
* only allow user to override database configuration
2018-08-23 10:16:35 +08:00
Pan Li
fcb3658eda
Add keyword support for Greater than equal, #144 . ( #182 )
...
* Add keyword support for Greater than equal, #144 .
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-22 11:40:00 +08:00
Pan Li
f0a4142817
Refactor Project Integration test. ( #183 )
...
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-22 11:15:47 +08:00
Pan Li
4d76ed4c24
refactor delete/find query, fix #148 . ( #177 )
...
* Refactor delete and find All.
* Add deleteCollection for domains.
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-21 17:05:10 +08:00
weiping
35c60ff866
remove Pageable from parameter as is included in DocumentQuery ( #178 )
...
* remove Pageable from parameter as is included in DocumentQuery
* refine test with shorter with buidler
2018-08-21 16:09:48 +08:00
Pan Li
256ec01f7d
Add suffix to testdb name, fix #179 . ( #180 )
...
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-21 15:13:35 +08:00
Pan Li
1d474ee629
Use with builder for DocumentQuery, fix #175 . ( #176 )
...
* Use with builder for DocumentQuery, fix #175 .
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-21 13:38:08 +08:00
Pan Li
097aa4b113
Integrate find and count SqlQuerySpec generation, fix #169 . ( #172 )
...
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-21 11:09:54 +08:00
weiping
73293eabb9
support pageable query ( #146 )
...
* support pageable query
2018-08-21 10:11:37 +08:00
miaosakurai
8b08168561
Implement AFTER and GREATER_THAN keyword #144 ( #164 )
...
* Implement AFTER and GREATER_THAN keyword
* Refactor AFTER and GREATER_THAN impl
* Fix memo IT failure
2018-08-20 15:50:47 +08:00
Pan Li
1d75aa54ad
Add query method with sort 166 ( #170 )
...
* Add query method with sort, fix #166 .
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-20 11:42:19 +08:00
Pan Li
61a49297b9
Add keyword Before for query method, #144 . ( #165 )
...
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-17 17:23:34 +08:00
weiping
6bfef849ed
Add count ( #146 )
...
* add querying the count value
2018-08-17 16:39:56 +08:00
Pan Li
0311e6482b
Refactor the DocumentQuery. ( #167 )
...
* Check the subject is @Id when create DocumentQuery.
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-17 15:11:00 +08:00
Pan Li
bd5c4998d6
Implement find all with sort, #146 ( #163 )
...
* Add implementation of findAll with Sort.
* cosmosdb only allow Sort with one Order.
* One Order of String need indexing Range and Pricision -1 support.
* Ignore Case with String Order is not support.
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-17 11:48:04 +08:00
miaosakurai
1a48f1368e
Add IT test for keyword AND and OR ( #162 )
...
* Add IT test for keyword AND and OR(Fix #154 )
* Improve IT test for keyword AND and OR
* Clean warning message
* Improve address IT and code style
2018-08-16 16:47:25 +08:00
Pan Li
8bd0f3545c
Fix or keyword query failure, fix #158 . ( #161 )
...
* Add test code for And/Or.
* Fix OR keyword with CrossPartition Query, fix #158 .
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-15 16:04:45 +08:00
miaosakurai
6cd360d2d1
Remove warnings ( #160 )
...
* Remove some compile warnings #52
* Update azure-documentdb version Fix #147
2018-08-15 11:18:29 +08:00
Pan Li
f18177f6ca
Cleanup test repository folder, fix #155 . ( #157 )
...
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-14 16:48:33 +08:00
Pan Li
5a2f30eecb
Remove legacy find/delete on DocumentQuery, #144 . ( #156 )
...
* Remove legacy find/delete on DocumentQuery, #144 .
* Adjust Unit test respectively.
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-14 12:52:41 +08:00
Pan Li
83e1e54557
Add find and delete on documentQuery, #144 . ( #151 )
...
* Add find and delete on documentQuery, #144 .
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-13 17:18:29 +08:00
Pan Li
513537e46a
Upgrade DocumentReposiotry Interface for paging and sort, #146 . (PR #149 )
...
Signed-off-by: Pan Li <incarnation.p.lee@outlook.com>
2018-08-13 16:58:26 +08:00
Pan Li
5cbafc3e78
Add document query and criteria ( #145 )
...
* Add document query and criteria
* Add interface generator for SqlQuerySpec.
Signed-off-by: Pan Li <panli@microsoft.com>
2018-08-13 10:59:15 +08:00
weiping
20b3e6506c
update spring framework version ( #143 )
2018-08-09 13:57:24 +08:00
weiping
268fef9c05
convert document to object with ObjectMapper and customizable ( #138 )
...
* convert document to object with ObjectMapper and customizable
2018-06-26 11:41:59 +08:00
Pan Li
0a859e10f7
hidden the ai telemetry key from source code. ( #131 )
...
Signed-off-by: Pan Li <panli@microsoft.com>
Signed-off-by: Weiping Pan <Weiping.Pan@microsoft.com>
2018-06-13 13:50:32 +08:00
weiping
40717d7cff
remove unused DocumentDbConverter ( #133 )
...
* remove unused DocumentDbConverter
* remove gson
2018-06-12 14:28:46 +08:00
Pan Li
f362a133fa
Keep cosmosdb instance for travis ci test. ( #132 )
...
* Keep cosmosdb instance for travis ci test.
* Add profile for travis ci.
* Filter out DEBUG log from travisCI.
Signed-off-by: Pan Li <panli@microsoft.com>
Signed-off-by: Weiping Pan <Weiping.Pan@microsoft.com>
2018-06-12 13:43:33 +08:00
weiping
322c690f48
Configurable object mapper, #114 . (PR #120 )
...
* allow configurable ObjectMapper for converter
* add bean qualifier for ObjectMapper
Signed-off-by: Weiping Pan <Weiping.Pan@microsoft.com>
Signed-off-by: Warren Zhu <Zhongwei.Zhu@microsoft.com>
Signed-off-by: Pan Li <incarnation.p.lee@outlook.com>
2018-06-04 13:13:29 +08:00
Pan Li
01950c1e4b
Allow Integer type for domain Id field, #122 . ( #125 )
...
* Allow Integer type for domain Id field.
* Add IT test for Integer Id.
Signed-off-by: Pan Li <panli@microsoft.com>
Signed-off-by: Weiping Pan <Weiping.Pan@microsoft.com>
2018-06-04 12:01:08 +08:00
Pan Li
1caca9c4f3
Update README for package renaming. ( #129 )
...
Signed-off-by: Pan Li <panli@microsoft.com>
Signed-off-by: Weiping Pan <Weiping.Pan@microsoft.com>
2018-06-04 11:24:25 +08:00
Pan Li
1b57ee32d3
Take care of empty string id for findById, #113 . ( #130 )
...
* Add IT test for empty string.
Signed-off-by: Pan Li <panli@microsoft.com>
Signed-off-by: Weiping Pan <Weiping.Pan@microsoft.com>
2018-06-04 10:56:18 +08:00
weiping
18f2557b4f
id is not needed for the upsert operation ( #117 )
...
Signed-off-by: Weiping Pan <Weiping.Pan@microsoft.com>
Signed-off-by: Pan Li <incarnation.p.lee@outlook.com>
2018-05-30 13:06:03 +08:00
Pan Li
7bd276a620
Rename package from documentdb to cosmosdb, #126 . (PR #128 )
...
Signed-off-by: Pan Li <panli@microsoft.com>
Signed-off-by: Weiping Pan <Weiping.Pan@microsoft.com>
2018-05-29 17:52:03 +08:00
Pan Li
03822cce5f
Update travis yml and create resource group for testing. ( #127 )
...
* Redirect test log to tmp.log as travis CI has 4MB log limiation.
* Create new group resource for travis CI.
Signed-off-by: Pan Li <panli@microsoft.com>
Signed-off-by: Warren Zhu <Zhongwei.Zhu@microsoft.com>
2018-05-29 11:28:58 +08:00
Pan Li
b80b9b5853
Add configuration to enable/disable telemetry from user. ( #124 )
...
* Add configuration to enable/disable telemetry from user.
* Add test for propertyloader
* Just convert to boolean inside PropertyLoader.
Signed-off-by: Pan Li <panli@microsoft.com>
Signed-off-by: Catherine Zhu <yungez@microsoft.com>
2018-05-28 10:03:21 +08:00