featurebase/lattice/src
Fletcher Haynes 7ab453e289
This adds in support to the lattice UI application to use the SQL3 (#2338)
* This adds in support to the lattice UI application to use the SQL3
endpoint. If the `/sql` endpoint returns 404, it will use the SQL1
endpoint. If the `/sql` endpoint is available, it will send SQL queries
to that. It does not try the SQL1 endpoint if the SQL3 endpoint returns
an error processing the query. That is, it is all SQL3 or SQL1.

- Below are the specific changes:
- Adds a file that contains functions for interacting with http services as opposed to just grpc/event-based services. As of this commit, it is only the SQL3 endpoint.
- This adds a variable to track if we are using the SQL3 endpoint or not
- This adds a function to handle the response from the SQL3 endpoint
- Adds a function to eventServices to query the sql3 HTTP endpoint
- Fixed a missing semicolon in grpcServices


Co-authored-by: Fletcher Haynes <fletcher.haynes@generalassemb.ly>
2022-12-08 12:47:21 -08:00
..
App This adds in support to the lattice UI application to use the SQL3 (#2338) 2022-12-08 12:47:21 -08:00
assets update molecula references to featurebase (#2262) 2022-10-27 15:57:53 -05:00
proto rename protobuf interface 2022-11-09 11:01:45 -06:00
services This adds in support to the lattice UI application to use the SQL3 (#2338) 2022-12-08 12:47:21 -08:00
shared update molecula references to featurebase (#2262) 2022-10-27 15:57:53 -05:00
theme UI - changed createTheme back to createMuiTheme 2021-12-20 09:57:07 -06:00
App.module.scss Copy lattice repo @8c29787 into subdirectory lattice/ 2021-05-21 14:56:55 -05:00
App.test.tsx Copy lattice repo @8c29787 into subdirectory lattice/ 2021-05-21 14:56:55 -05:00
App.tsx UI - formatted tsx files with prettier (single quote) 2021-12-22 11:40:01 -06:00
index.scss Copy lattice repo @8c29787 into subdirectory lattice/ 2021-05-21 14:56:55 -05:00
index.tsx UI - formatted tsx files with prettier (single quote) 2021-12-22 11:40:01 -06:00
lattice.config.js SUP-286 - update lattice config (#2273) 2022-11-02 16:53:10 -05:00
Main.tsx UI - formatted tsx files with prettier (single quote) 2021-12-22 11:40:01 -06:00
react-app-env.d.ts Copy lattice repo @8c29787 into subdirectory lattice/ 2021-05-21 14:56:55 -05:00
serviceWorker.tsx Copy lattice repo @8c29787 into subdirectory lattice/ 2021-05-21 14:56:55 -05:00
setupTests.ts Copy lattice repo @8c29787 into subdirectory lattice/ 2021-05-21 14:56:55 -05:00