Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosmos Store #42

Merged
merged 66 commits into from
Dec 24, 2018
Merged
Changes from 1 commit
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
e69c605
Add CosmosDb adapter
May 10, 2018
6baebef
Integrate tests with Equinox.Cosmos
May 10, 2018
388e152
Check collection exist in connection creation;
May 14, 2018
926d937
Added Equinox to Sample/Integration
May 14, 2018
9835a0a
Added support for connection string
May 14, 2018
434b2fe
Add failing test for converter embedding
bartelink Jun 27, 2018
ed003fa
Some naming changes
Jun 27, 2018
3bc19ae
rename converter to VerbatimUtf8JsonConverter
bartelink Jun 29, 2018
1a595ce
Align with master store management updates
bartelink Jul 2, 2018
8998a6e
Sync with ES implementation
bartelink Jul 2, 2018
5051351
Added script for creating docdb collection with proper indexing polic…
dongdongcai Jun 27, 2018
1ca6ed6
changes regarding reviews
dongdongcai Jun 27, 2018
32a2546
Some missing changes
dongdongcai Jul 5, 2018
5fe98e3
Fix tests
dongdongcai Jul 5, 2018
5540215
Added arg for prepare collection
Oct 25, 2018
b6b27b9
Minor tidying
bartelink Oct 26, 2018
ac5d2e2
Reorg to match ambient style
bartelink Oct 28, 2018
666ae57
Tidy
bartelink Oct 29, 2018
3beec28
Change file structure and scripts
bartelink Oct 30, 2018
c8259ab
Rework representation in index and bench app
bartelink Oct 31, 2018
5b03f9e
Final field renames
bartelink Oct 31, 2018
5b5cd58
Rejig Bench, readme etc - NB broken
bartelink Nov 1, 2018
11158ec
More CLI parsing polish
bartelink Nov 1, 2018
329f24d
Fix to adjust for new Cli name
bartelink Nov 1, 2018
16535d4
Remove Complex partitioning scheme
bartelink Nov 1, 2018
d85fdd4
Remove extranneous operators
bartelink Nov 1, 2018
767d34b
remove dead file
bartelink Nov 1, 2018
3b1175d
fix names
bartelink Nov 1, 2018
accc67c
Fix all the things
bartelink Nov 2, 2018
793b7a1
Add StoredProcedure.js
bartelink Nov 6, 2018
b6076ae
Push compaction down into Stores, resolves #23
bartelink Nov 7, 2018
ff09100
Fix Memory test
bartelink Nov 7, 2018
a0126c2
Add Cosmos Ru counts to CLI
bartelink Nov 7, 2018
3534989
WIP
bartelink Nov 8, 2018
4d4378f
Retain etags (to no end as yet)
bartelink Nov 13, 2018
22d3362
Even more failure
bartelink Nov 13, 2018
f3b0a52
etag change
jinglegit Nov 13, 2018
c051f79
Complete handling for caching of index reads
bartelink Nov 14, 2018
0777bbd
Correct caching of Writes
bartelink Nov 14, 2018
868b1f0
Compress snapshots in Index
bartelink Nov 14, 2018
d5b29ee
Cosmos core events API (#49), remove rolling snapshots
bartelink Nov 23, 2018
a7c4e60
Extract json helpers to file
bartelink Nov 26, 2018
92cb45c
Align with ES cleanup
bartelink Nov 23, 2018
8dfcaa2
Clarify projections/unfolding (#53)
bartelink Nov 26, 2018
63bd102
Add RU counts to batching tests
bartelink Nov 27, 2018
3cd9d04
Add laziness and tests to getAll[Backwards]
bartelink Nov 27, 2018
4561a80
Unify Tip vs Batch formats (#54)
bartelink Nov 29, 2018
7e719d5
Multi-event Batches (#48)
bartelink Nov 29, 2018
2a39579
Tidy names+namespaces
bartelink Nov 29, 2018
6f2b2f5
Rebased cosmos support for web host and CLI (#55)
bartelink Dec 6, 2018
1ead911
Remove tip isa Batch semantics (#58)
bartelink Dec 13, 2018
606efe8
Add AsyncCacheCell
eiriktsarpalis Dec 12, 2018
ed6feb9
Stop caching failures
bartelink Dec 12, 2018
22fffb4
Add stored proc auto provisioning per collection #59
bartelink Dec 13, 2018
05c312f
Add initAux CLI command re #60
bartelink Dec 14, 2018
494402e
Hide command from help message to avoid confusion
bartelink Dec 14, 2018
eb7d669
Misc cleanup from self-review
bartelink Dec 14, 2018
2ad4236
loosened up constraints for newtonsoft for net461
Dec 17, 2018
7bc0438
updated netstandard dependency constraint for newtonsoft
Dec 17, 2018
bc0d5c0
Add note re Equinox.Cosmos Newtonsoft.Json dependency downgrade
bartelink Dec 19, 2018
b906e10
Update readme to reflect imminent merge
bartelink Dec 19, 2018
63c287c
Tidy Newtonsoft.Json dependencies+docs
bartelink Dec 19, 2018
bb2ac52
Up RU expectation to reflect observation
bartelink Dec 19, 2018
f2dc53a
Fix to handle Codec change in rebase
bartelink Dec 19, 2018
32f874c
Exclude Mono failures due to multiple json.net versions
bartelink Dec 19, 2018
60160a9
Cleanup
bartelink Dec 24, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rework representation in index and bench app
bartelink committed Dec 24, 2018
commit c8259abc2257f4fec18db258e1e223a83545ecdb
2 changes: 1 addition & 1 deletion samples/Store/Integration/CosmosIntegration.fs
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ open System
/// /src/Equinox.Cosmos/EquinoxManager.fsx
let connectToCosmos log =
EqxConnector(log=log, requestTimeout=TimeSpan.FromSeconds 3., maxRetryAttemptsOnThrottledRequests=2, maxRetryWaitTimeInSeconds=60)
.Establish("equinoxStoreSampleIntegration", Discovery.UriAndKey(Uri "https://localhost:8081", "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw=="))
.Connect("equinoxStoreSampleIntegration", Discovery.UriAndKey(Uri "https://localhost:8081", "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw=="))
let defaultBatchSize = 500
let createEqxGateway connection batchSize = EqxGateway(connection, EqxBatchingPolicy(maxBatchSize = batchSize))
// Typically, one will split different categories of stream into Cosmos collections - hard coding this is thus an oversimplification
Loading