This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Repository navigation
Routing - #6920
Merged
Merged
Routing#6920
Conversation
Dockerfile test
Added test for Single Database Query
Updated to reflect addition of SDQ test
Now sends JSON object instead of string. Packages have also been fixed. Single Query Test is now passing!!!!
Single query test
NateBrady23
reviewed
Nov 15, 2021
| "Server" => "Julia-HTTP", | ||
| "Date" => Dates.format(Dates.now(), Dates.RFC1123Format) * " GMT" ] | ||
|
|
||
| jsonString = """{"Message": "Hello, World!"}""" |
Member
There was a problem hiding this comment.
The requirements for this test are such that you must instantiate an object on each request to then be serialized, not a string.
Contributor
There was a problem hiding this comment.
I believe this has been addressed now, please verify. Thanks!
joanhey
suggested changes
Nov 15, 2021
| @@ -41,18 +47,20 @@ HTTP.listen("0.0.0.0" , 8080, reuseaddr = true) do http | |||
| row = first(results) | |||
| dbNumber = row[2] | |||
| jsonString = "{\"id\":$randNum,\"randomNumber\":$dbNumber}" | |||
| @@ -79,18 +87,21 @@ HTTP.listen("0.0.0.0" , 8080, reuseaddr = true) do http | |||
| dbNumber = row[2] | |||
| responseArray[i] = JSON3.read("{\"id\":$randNum,\"randomNumber\":$dbNumber}", jsonObj) | |||
| @@ -120,14 +131,15 @@ HTTP.listen("0.0.0.0" , 8080, reuseaddr = true) do http | |||
| results = DBInterface.execute(conn, sqlQuery) | |||
| responseArray[i] = JSON3.read("{\"id\":$randId,\"randomNumber\":$randNum}", jsonObj) | |||
addressed usage of json string
jbr
pushed a commit
to trillium-rs/FrameworkBenchmarks
that referenced
this pull request
Mar 7, 2022
* Dockerfile test * fix run.sh * Working Docker build and plaintext/json tests implemented and passing.. * julia_server.jl patch * Update julia_server.jl Added test for Single Database Query * Update benchmark_config.json Updated to reflect addition of SDQ test * Update julia_server.jl Now sends JSON object instead of string. Packages have also been fixed. Single Query Test is now passing!!!! * Testing multiple db queries test * Testing multiple db queries test * multiple db queries response formatting changes * benchmark_config updates * More multiple queries formatting * Exception handling for multiple queries * More handling... * More handling * Even more exception handling..... * Exception handling for multiple queries test * Exception handling for 0 * Condensing exception handling for multi db queries * Exception handling fixes... * exception changes * Rand num changes * Rand num changes * Array changes * Added StructTypes * struct fix * test * revert test * Fix reduncancy/formatting code... * Fixed response headers * Update README.md * Update README.md * Create README.md * Update julia_server.jl Added Fortunes test * Update benchmark_config.json added fortunes test * Update julia_server.jl changed header type * Update README.md Added Fortunes test "checkmark" * Added solution for db updates test * Update julia_server.jl Closed DB connections * Update README.md added updates * Update julia_server.jl ROUTING WORKS!!!!!!! * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * Update julia_server.jl * addressed usage of json string Co-authored-by: donavindebartolo <[email protected]> Co-authored-by: donavindebartolo <[email protected]> Co-authored-by: Jayenn <[email protected]> Co-authored-by: KadeBerry <[email protected]>
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added Routing and fixed an issue with a JSON object