From 972a23c9c9561828af0824d50e031b99e3027c7d Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 26 Aug 2020 19:29:15 -0700 Subject: update plan --- plan.txt | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/plan.txt b/plan.txt index f0aa652..d7836ea 100644 --- a/plan.txt +++ b/plan.txt @@ -29,30 +29,34 @@ x headers x enable CORS headers in the proxy itself? x HEAD requests x 'Via' header -- tests - - parse example_config.toml - - "get", "_doc", "_source" - - parse error - - unsupported query type +x gitlab ci +x error handling + x refactor error categories + x return correct status code + x pretty-print errors better + x return a proper error when upstream is unavailable - play with https://search.qa.fatcat.wiki and observable (javascript) -- error handling - => refactor error categories - => return correct status code - => pretty-print errors better - => return a proper error when upstream is down - update README => summary => installation + configuration => development -- nginx: relaxed CORS methods, types +- bump version +- push to crates.io +- tests + x "get", "_doc", "_source" + x parse error + x unsupported query type + - parse example_config.toml +- nginx example config - histogram agg interval 0.0 (?) - suggestions in search queries https://www.elastic.co/guide/en/elasticsearch/reference/7.9/search-suggesters.html -- IPv6? -- more config: options, etc - => all indices as "unsafe_mode" +- config + x all indices as "unsafe_mode" + => distinct file schema from config object (eg, no "Option" in object) + => ProxyConfig in Box? less cloning? - refactor unwrap() into error handling -- put ProxyConfig in Box? less cloning? +- IPv6? parse method+path (index) -> which validation method method+path+params+body -> status, upstream request -- cgit v1.2.3