-
Notifications
You must be signed in to change notification settings - Fork 7
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
DRAFT Read replication and moving the API to a second database #4427
base: main
Are you sure you want to change the base?
Commits on Sep 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f1e4a70 - Browse repository at this point
Copy the full SHA f1e4a70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40158bb - Browse repository at this point
Copy the full SHA 40158bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 660b98e - Browse repository at this point
Copy the full SHA 660b98eView commit details
Commits on Sep 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b2263e7 - Browse repository at this point
Copy the full SHA b2263e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d54e8fa - Browse repository at this point
Copy the full SHA d54e8faView commit details
Commits on Sep 30, 2024
-
This runs a full install sequence. Ready for testing on preview.
Configuration menu - View commit details
-
Copy full SHA for 7e54577 - Browse repository at this point
Copy the full SHA 7e54577View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e4470e - Browse repository at this point
Copy the full SHA 6e4470eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70e2a13 - Browse repository at this point
Copy the full SHA 70e2a13View commit details
Commits on Oct 2, 2024
-
Adds the access tables to its own startup. Admin API relies on it, or it won't start.
Configuration menu - View commit details
-
Copy full SHA for a31eea0 - Browse repository at this point
Copy the full SHA a31eea0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3e8523 - Browse repository at this point
Copy the full SHA b3e8523View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4fa18f - Browse repository at this point
Copy the full SHA e4fa18fView commit details -
Configuration menu - View commit details
-
Copy full SHA for de6c7ea - Browse repository at this point
Copy the full SHA de6c7eaView commit details -
Expand the admin API to increase visibility
We should be able to inspect more tables, for debugging.
Configuration menu - View commit details
-
Copy full SHA for b30ba03 - Browse repository at this point
Copy the full SHA b30ba03View commit details
Commits on Oct 3, 2024
-
Full-up, with performance testing
This brings up the full API, and is ready for performance testing in `preview`.
Configuration menu - View commit details
-
Copy full SHA for 1337097 - Browse repository at this point
Copy the full SHA 1337097View commit details
Commits on Oct 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 65f7365 - Browse repository at this point
Copy the full SHA 65f7365View commit details
Commits on Oct 5, 2024
-
It is cleaner than it was, and may make it easier to debug the `preview` deploy.
Configuration menu - View commit details
-
Copy full SHA for 1be0b83 - Browse repository at this point
Copy the full SHA 1be0b83View commit details
Commits on Oct 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a809bea - Browse repository at this point
Copy the full SHA a809beaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88bc8a5 - Browse repository at this point
Copy the full SHA 88bc8a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e4f240 - Browse repository at this point
Copy the full SHA 0e4f240View commit details -
Configuration menu - View commit details
-
Copy full SHA for a94598c - Browse repository at this point
Copy the full SHA a94598cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2006d8a - Browse repository at this point
Copy the full SHA 2006d8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b95cb61 - Browse repository at this point
Copy the full SHA b95cb61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f1d153 - Browse repository at this point
Copy the full SHA 6f1d153View commit details
Commits on Oct 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8c2a047 - Browse repository at this point
Copy the full SHA 8c2a047View commit details -
Also, added partitions. Partitions are 3x faster for downloading all the data (by year), but 10x slower than batches (via EXPLAIN). In the real, it is 2x slower to download than batches, but 3x faster than a straight download. So. Probably worth it, if we can document that people downloading all the data should either 1) do so year-by-year, or 2) use batches.
Configuration menu - View commit details
-
Copy full SHA for e3cc950 - Browse repository at this point
Copy the full SHA e3cc950View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb12bad - Browse repository at this point
Copy the full SHA eb12badView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5d4915 - Browse repository at this point
Copy the full SHA d5d4915View commit details -
Need to just return a non-zero exit code...
Configuration menu - View commit details
-
Copy full SHA for 6b45c49 - Browse repository at this point
Copy the full SHA 6b45c49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 328e9b9 - Browse repository at this point
Copy the full SHA 328e9b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3539ffc - Browse repository at this point
Copy the full SHA 3539ffcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1093b0f - Browse repository at this point
Copy the full SHA 1093b0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd525cb - Browse repository at this point
Copy the full SHA cd525cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbadf2c - Browse repository at this point
Copy the full SHA cbadf2cView commit details -
We don't really want this, but will it allow functions to return non-zero?
Configuration menu - View commit details
-
Copy full SHA for 2b33286 - Browse repository at this point
Copy the full SHA 2b33286View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf6b5c9 - Browse repository at this point
Copy the full SHA cf6b5c9View commit details
Commits on Oct 22, 2024
-
Incremental on removal of Tribal/admin API.
This was work-in-flight. Instead of pushing further, I'm committing the in-between state. This moved some Admin API stuff around, which I'll remove in the next commit. The config change is for local dev only. We had a bucket called `gsa-fac-private-s3`, which was legacy naming that has been superceded in all other environments. The bucket is now called `fac-private-s3`, mirroring the production environments. This should not impact any operations except for local/Docker execution. (And, it should be transparent) The next commit should clean this up further.
Configuration menu - View commit details
-
Copy full SHA for a511d9c - Browse repository at this point
Copy the full SHA a511d9cView commit details
Commits on Oct 24, 2024
-
Probably wanted more incremental commits. This shuffled the API around, and has a pytest for the API that can be run locally against the local stack or the remote/live environments.
Configuration menu - View commit details
-
Copy full SHA for a58ebb2 - Browse repository at this point
Copy the full SHA a58ebb2View commit details -
Merge branch 'main' into jadudm/api-perf
Resolves the conflict(s). Things that Bobby and I both touched; nothing in the mainline app.
Configuration menu - View commit details
-
Copy full SHA for d1238ec - Browse repository at this point
Copy the full SHA d1238ecView commit details -
Our local environment has to make sure that fac-snapshot-db looks "right" before we do anything. This means making sure we run cgov-util to do a snapshot before we do anything pre/post with SQL.
Configuration menu - View commit details
-
Copy full SHA for 2ea604a - Browse repository at this point
Copy the full SHA 2ea604aView commit details
Commits on Oct 25, 2024
-
This introduces a new copy of the data, so that the tables we back up to every night do not become an issue. (That is, we want the API bound to the copy, not to the copies that get dumped every night.)
Configuration menu - View commit details
-
Copy full SHA for 8b5d43a - Browse repository at this point
Copy the full SHA 8b5d43aView commit details -
This lets the local config (at least for bash purposes) look almost exactly like the cloud.gov setup.
Configuration menu - View commit details
-
Copy full SHA for 1656bad - Browse repository at this point
Copy the full SHA 1656badView commit details -
This keeps the container from dropping products like cgov-util into our local filesystem.
Configuration menu - View commit details
-
Copy full SHA for 6f5b205 - Browse repository at this point
Copy the full SHA 6f5b205View commit details -
This is now "just SQL," and does not need to be managed by the management command. It should run in the `pre` sequence. This way, the triggers are configured early in the process. We then run the `--disable` promptly afterwards.
Configuration menu - View commit details
-
Copy full SHA for 9ea4a29 - Browse repository at this point
Copy the full SHA 9ea4a29View commit details -
Removing unnecessary CREATE SCHEMA
These are redundant; they're issued earlier in the sequence.
Configuration menu - View commit details
-
Copy full SHA for cb0fa77 - Browse repository at this point
Copy the full SHA cb0fa77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03a4e6d - Browse repository at this point
Copy the full SHA 03a4e6dView commit details -
This points advanced search at pd.combined
Correctly uses DB2 for advanced search. May want to implement it differently. Changes for this in one commit, to make finding it easy.
Configuration menu - View commit details
-
Copy full SHA for 1747897 - Browse repository at this point
Copy the full SHA 1747897View commit details -
Admin Panel - Introducing 2 new groups - `helpdesk` and `readonly`. These groups will be used with new permissions for performing Admin API operations directly through the UI instead. - Introducing 2 new tables, which were previously accessible through the Admin API. Helpdesk will have CRUD operations on these tables. StaffUser management - Introduced a `staffusers.json` file, which will now manage the permissions for the staff in respect to the Admin UI. - New mgmt command which is handled through `run.sh` to create the staff users according to the above JSON list. - Updated onboarding document to reflect a new user joining the Admin Panel. OTHER - linting.
Configuration menu - View commit details
-
Copy full SHA for 7315cf9 - Browse repository at this point
Copy the full SHA 7315cf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ff0629 - Browse repository at this point
Copy the full SHA 0ff0629View commit details -
Moves general back into the public_100 tables.
The move out was part of debugging, and unnecessary. This reduces the number of files, and keeps like-with-like. Permissions simplification/removal; picked up elsewhere/later in the sequence. (And, the alter on sequences may not have been necessary at all.)
Configuration menu - View commit details
-
Copy full SHA for 551f85e - Browse repository at this point
Copy the full SHA 551f85eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f300a2 - Browse repository at this point
Copy the full SHA 5f300a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for affe2b7 - Browse repository at this point
Copy the full SHA affe2b7View commit details -
Updated the sling script for bulk data
This is a proof-of-concept included with the work. It's in the tree, and I've taken it out of active use/an active part of startup. However, we might consider working it into the nightly, to start testing it.
Configuration menu - View commit details
-
Copy full SHA for 3aa6266 - Browse repository at this point
Copy the full SHA 3aa6266View commit details -
This used to do a cgov-util copy. Now, it doesn't. The startup sequence should take care of it.
Configuration menu - View commit details
-
Copy full SHA for d329f27 - Browse repository at this point
Copy the full SHA d329f27View commit details
Commits on Oct 28, 2024
-
Updating to reflect new startup sequence
This was out of date. Retrying preview deploy.
Configuration menu - View commit details
-
Copy full SHA for c2149f1 - Browse repository at this point
Copy the full SHA c2149f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1a3bb8 - Browse repository at this point
Copy the full SHA e1a3bb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for edf2c1f - Browse repository at this point
Copy the full SHA edf2c1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dd7e92 - Browse repository at this point
Copy the full SHA 5dd7e92View commit details -
Configuration menu - View commit details
-
Copy full SHA for db1927b - Browse repository at this point
Copy the full SHA db1927bView commit details -
Should fix local standup/build
We need to always load the fake VCAP_SERVICES from the file when running locally.
Configuration menu - View commit details
-
Copy full SHA for 3ec3e81 - Browse repository at this point
Copy the full SHA 3ec3e81View commit details
Commits on Oct 29, 2024
-
There's no reason to order the results from the mega-table.
Configuration menu - View commit details
-
Copy full SHA for ffad20f - Browse repository at this point
Copy the full SHA ffad20fView commit details -
Splits things away from startup
Now, pre-post is per-db. That means we must run the pre/post on SNAPSHOT separately in an action before deploy.
Configuration menu - View commit details
-
Copy full SHA for 409792b - Browse repository at this point
Copy the full SHA 409792bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7abe12a - Browse repository at this point
Copy the full SHA 7abe12aView commit details -
Configuration menu - View commit details
-
Copy full SHA for decc89a - Browse repository at this point
Copy the full SHA decc89aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcb3581 - Browse repository at this point
Copy the full SHA dcb3581View commit details -
- Fixed an issue where Cypress was checking an undefined method type `HEAD` for the existence of the PDF report. - Now, we are just retrieving it with `GET` and checking for a valid status code.
Configuration menu - View commit details
-
Copy full SHA for 337ea0d - Browse repository at this point
Copy the full SHA 337ea0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2ae9de - Browse repository at this point
Copy the full SHA f2ae9deView commit details -
Configuration menu - View commit details
-
Copy full SHA for df8236d - Browse repository at this point
Copy the full SHA df8236dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2055c5 - Browse repository at this point
Copy the full SHA f2055c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 825a3e0 - Browse repository at this point
Copy the full SHA 825a3e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 814a5a7 - Browse repository at this point
Copy the full SHA 814a5a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72a86a0 - Browse repository at this point
Copy the full SHA 72a86a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04970aa - Browse repository at this point
Copy the full SHA 04970aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2d910d - Browse repository at this point
Copy the full SHA d2d910dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53ede5a - Browse repository at this point
Copy the full SHA 53ede5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f8a7ec - Browse repository at this point
Copy the full SHA 5f8a7ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b361e9 - Browse repository at this point
Copy the full SHA 9b361e9View commit details -
1. Updates terraform with correct APIs. 2. Removes more schemas 3. Aligns compose with our changes
Configuration menu - View commit details
-
Copy full SHA for bdbbe31 - Browse repository at this point
Copy the full SHA bdbbe31View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf769b9 - Browse repository at this point
Copy the full SHA cf769b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8977b6d - Browse repository at this point
Copy the full SHA 8977b6dView commit details
Commits on Oct 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 209c26a - Browse repository at this point
Copy the full SHA 209c26aView commit details
Commits on Oct 31, 2024
-
Allows for configuration of the DB
This makes it possible to target a DB that is tunneled, as opposed to only using the containerized DB. Handy for testing in the preview environment. Uses external env vars to do this, so is safe.
Configuration menu - View commit details
-
Copy full SHA for 38ac254 - Browse repository at this point
Copy the full SHA 38ac254View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8033d3d - Browse repository at this point
Copy the full SHA 8033d3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec602d5 - Browse repository at this point
Copy the full SHA ec602d5View commit details
Commits on Nov 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2d009d6 - Browse repository at this point
Copy the full SHA 2d009d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e569dc6 - Browse repository at this point
Copy the full SHA e569dc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc614dd - Browse repository at this point
Copy the full SHA fc614ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab68fa0 - Browse repository at this point
Copy the full SHA ab68fa0View commit details
Commits on Nov 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 24c2c5c - Browse repository at this point
Copy the full SHA 24c2c5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8815dd2 - Browse repository at this point
Copy the full SHA 8815dd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04a85b8 - Browse repository at this point
Copy the full SHA 04a85b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2084e9 - Browse repository at this point
Copy the full SHA f2084e9View commit details
Commits on Nov 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b04e944 - Browse repository at this point
Copy the full SHA b04e944View commit details -
Reformat local python API tests to rest of the testing suite
Now uses Django factory testing (like we do with our other tests that fall under `manage.py test`) for the tests that were written up by Matt. INCOMPLETE - check the "FIXME" comment. Currently the environment is hardcoded to "local" under the `ApiTests` class, and I haven't gotten a "success" response from the following tests. - `test_suppressed_not_accessible_with_bad_key` - `test_suppressed_accessible_with_good_key`
Configuration menu - View commit details
-
Copy full SHA for 0256047 - Browse repository at this point
Copy the full SHA 0256047View commit details -
Configuration menu - View commit details
-
Copy full SHA for 015af34 - Browse repository at this point
Copy the full SHA 015af34View commit details
Commits on Nov 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d1a17ae - Browse repository at this point
Copy the full SHA d1a17aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04e19e4 - Browse repository at this point
Copy the full SHA 04e19e4View commit details