-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance: Introduce global address space and HTTP client/server. (#639)
* Make connection watchable, readable and track store-id. * Fix format. * Fix print tests. * Fix pod test. * Derandomize store-id. * Needs negation. * Fix test strings. * Print commit-id. Add readers for history dbs. * Add readers.cljc. * Try to make commit-ids deterministic. * Try to replace commit-ids in print tests. * Syntax error. * Remove commit-id from strings in test. * Replace commit-id instead to test commit-id as well. * Unify API spec. Re-implement http server and writer and add client. * Fix format and http tests. * Add http deps to test profile. * Syntax error. * Fix load-entities. * Fix remote-peer handling. * Add http dependencies to native build. * Fix reflection problems, add server to CLI. * Add sandbox for client. * Add babashka http client by default. * Fix format. * Remove print statements. * Remove redundant connection handling in datahike.core. * Remove from versioning as well. * Properly call listen callbacks. * Pass writer through. * Do not use regex because of CI/CD mismatch. * Fix second test. * Format fix. * Remove print statement. * Update GraalVM. * Remove debug prn. * Remove server from CLI. * Update deps, fix CLI. * deps.edn * Factor out http-server into separate directory. * deps.edn * Fix entity equality and speed up DB equality. * update build tooling * Add server uber jar build. * Expose CORS config options, don't log token. Minor fixes. * Remove println. * Add scope to memory store. * Set memory scope in tests. Fix format. * Fix config test. * Fix pod test. * Fix bb pod test. * Use gensym for local bindings in client.clj, remove stale arguments. * Does not work for fn binding. * Fix print-method preference for remote records. * Quote def manually. * Fix client. * Incorporate feedback. * Use GET requests for pure functions to facilitate HTTP caching. * Support simple GET caching. * Connection management should not be pure. * Be precise about memory semantics. Fix db. * Fix database-exists?, remove tempid from remote API. * Extract remote-peer hygienically. * Remove tempid from server test. * Implement base case for remote-peer. * Add documentation. * Fix native test, polish docs. * Complete command line renaming. * Update CircleCI. Add sharding note. * Add AWS lambda section. * Typo. * Add JSON support to server and client. * Add jsonista to native profiles. * Add datahike.json. * Move jsonista to main deps. * Fix swagger sets, add JSON docs, prefix ! to tagged literals. * Add network diagram. * Fix path. * Set white background color. * Set white background box. * Use JavaScript syntax highlighting. * Improve wording. * Add distributed index space. * Improve diagram. * Annotate HTTP request type. * Add ASCII logo to server and cli. * Log config and version regularly. * Fix env variables. * Test: replace cheshire with jsonista. * Bump GraalVM dependency. * Fix GraalVM paths. * gu command was removed, native-image should be around. * Ensure to use shared distributed store in example. * Remove duplicate entry from deps. * Fix typos. * feat: adding exception middleware (#645) * Remove unused middleware. --------- Co-authored-by: Timo Kramer <fw-github@timokramer.de> Co-authored-by: Timo Kramer <4785848+TimoKramer@users.noreply.github.com>
- Loading branch information
1 parent
cb12011
commit ccb1e3c
Showing
52 changed files
with
3,770 additions
and
1,310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
((clojure-mode . ((cider-preferred-build-tool . clojure-cli) | ||
(cider-clojure-cli-aliases . ":dev:test:libdatahike")))) | ||
(cider-clojure-cli-aliases . ":dev:test:libdatahike:http")))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.