Commit Graph
2338 Commits
Author SHA1 Message Date
Timothy Messier 9c5c17a3ee feat(cmd): Disable postgres JIT for boundary dev
After updating `boundary dev` to use postgres:12 by default, it was
noticed that the responsiveness of boundary was noticeably slower. This
is due to the introduction of JIT being enabled by default in
postgres:12. JIT seems to incur noticeable overhead without providing
benefits, at least for the instance used for `boundary dev`.

It is also worth noting that for postgres:14 and newer, JIT does not get
triggered for the same queries since they seem to result in a cheaper
query plan that does not exceed the default threshold for JIT.

See:
    https://www.postgresql.org/docs/current/jit.html
    ICU-12283
2024-01-18 19:37:46 +00:00
Todd 884a0cb1fc Fix daemon synopsis and command grouping (#4249) 2024-01-18 09:54:21 -08:00
Jeff Mitchell 253d79116c Swap id field in grants to ids since that's now standardized (#4250)
* Swap id field in grants to ids since that's now standardized

* Fix some tests I missed

* Update generated resource table
2024-01-17 23:54:49 -08:00
Todd 962f9bd638 Pass in options to NewCommand call (#4248) 2024-01-17 16:41:28 -08:00
Devon Anderson 66393ca3d6 Bump UI commit (#4245) 2024-01-17 15:47:28 -05:00
Jeff Mitchell 8c1bdb2190 Fix Unix listener causing 500s on Mac (#4243)
Some platforms use `@` for a Unix socket address, and some leave it
empty. In the empty case this causes the rate limiting code to throw a
500 error. This commit standardizes on using `@` for incoming
connections over a Unix socket.
2024-01-17 11:38:53 -08:00
Louis Ruch 957cd59d91 test(e2e): Update e2e timeout (#4241) 2024-01-17 09:45:34 -08:00
Jeff Mitchell e07503add4 Remove some long-standing commented code (#4242)
This actually was implemented elsewhere for eventing but the commented
code wasn't removed. We can finally be free.
2024-01-17 09:29:31 -08:00
Louis Ruch 5505833702 chore: reorder db migrations from llb 2024-01-16 15:47:12 -08:00
Danielle Miu e903947bef Create delete_session_recording job and associated infra 2024-01-16 15:47:09 -08:00
Damian Debkowski 2dda19aafe fix: reapply-storage-policy 2024-01-16 13:53:44 -08:00
Damian Debkowski 621b535dde chore: move infinity retention definition 2024-01-16 13:53:44 -08:00
Louis Ruch b237fe24f1 feat(cmd): Add help text for storage policy scope funcs 2024-01-16 13:53:44 -08:00
Damian Debkowski 5c1ef080cc feat(cmd): session recording reapply storage policy 2024-01-16 13:53:44 -08:00
Louis Ruch f26243e9af feat(recording): Delete Session Recording 2024-01-16 13:53:44 -08:00
Damian Debkowski 0a853c2262 feat(handler): reapply storage policy unimplemented 2024-01-16 13:53:44 -08:00
Damian Debkowski c27d12c189 fix(db): add target_org_id to session_recording_aggregate table 2024-01-16 13:53:44 -08:00
Damian Debkowski 5858e4c69c feat(proto): add reapply storage policy method 2024-01-16 13:53:44 -08:00
Damian Debkowski 3d1f7bc892 chore: update website permissions resource table 2024-01-16 13:53:44 -08:00
Damian Debkowski b7739cd214 chore: generated files 2024-01-16 13:53:44 -08:00
Johan Brandhorst-Satzkorn 07be75b7be internal/handlers: add pagination to storage policies 2024-01-16 13:53:44 -08:00
Johan Brandhorst-Satzkorn b454b28912 internal/handlers: add policy list resource type 2024-01-16 13:53:44 -08:00
Johan Brandhorst-Satzkorn dc4ea67d6e internal/db: changes for pagination 2024-01-16 13:53:44 -08:00
Louis Ruch 86f10f3ea4 feat(recording): Add RetainUntil and DeleteAfter to Session Recording CLI 2024-01-16 13:53:44 -08:00
Hugo 0d71976437 feat(proto): Add RetainUntil and DeleteAfter timestamps on Session Recordings 2024-01-16 13:53:44 -08:00
Danielle Miu 39b3bb2d1d fix(db): allow session_recording_aggregate to return recordings correctly 2024-01-16 13:53:44 -08:00
Louis Ruch 853ce5dcd6 feat(policy): Use int32 to avoid json converting int64->float64 string 2024-01-16 13:53:44 -08:00
Louis Ruch 360dd616ff fix(rate-limiting): Add support for Scope-StoragePolicy actions 2024-01-16 13:53:44 -08:00
Louis Ruch 20897640cd feat(cli): Add support for Scope Storage Policy 2024-01-16 13:53:44 -08:00
Louis Ruch 45de26bfe9 feat(scope): Add API for Attach/Detach StoragePolicy to scope 2024-01-16 13:53:44 -08:00
Hugo 08e8d96514 feat(cmd): Policies 2024-01-16 13:53:44 -08:00
Hugo c9f1c53693 feat(api): Policies 2024-01-16 13:53:44 -08:00
Damian Debkowski 40ce80bc55 feat(iam): read storage policy id for scope output 2024-01-16 13:53:44 -08:00
Danielle Miu df02651bb5 feat(db): new cols for retain and delete session recordings, update structs, and tests 2024-01-16 13:53:44 -08:00
Damian Debkowski 6ca1bc3c3f feat(handlers): utilize service func for scope service 2024-01-16 13:53:44 -08:00
Damian Debkowski 1be1636883 feat(iam): support scope storage policy 2024-01-16 13:53:44 -08:00
Damian Debkowski 7dce1206ab feat(types): support new grant types 2024-01-16 13:53:44 -08:00
Damian Debkowski 50990d1b19 chore: generated files 2024-01-16 13:53:44 -08:00
Damian Debkowski a39bf33598 proto(iam): add scope policy storage policy 2024-01-16 13:53:44 -08:00
Danielle Miu 40477d84c0 add objects to default loopback bucket 2024-01-16 13:53:44 -08:00
Hugo edbb33de5b feat(handlers): Implement Policy Service
This also includes adding new grant and type primitives, as well as
package domain names.
2024-01-16 13:53:43 -08:00
Hugo 1c3b1b42f7 feat(proto): Create Policy SDK and API Service (#793) 2024-01-16 13:53:41 -08:00
dani c43ded06a6 add delete objects command to proto and loopback (#785) 2024-01-16 13:53:38 -08:00
Hugo e3971decf4 feat(policy): Create storage policies (#773) 2024-01-16 13:20:15 -08:00
Hugo 978db86186 feat(internal/db): Storage policies implementation (#767)
This commit implements part of the storage policy's database model,
focusing specifically on the operational tables for this feature.
2024-01-16 13:20:11 -08:00
Devon Anderson 4a548c0927 Bump UI commit (#4231) 2024-01-12 13:42:37 -05:00
Jeff Mitchell 9332179a01 Remove the deprecated old KMS worker auth mechanism (#3935)
This has been superceded by the nodeenrollment-based KMS worker auth
mechanism. This commit only removes the ability to connect with this
mechanism; some upgrade logic will remain intact for a bit and
can be removed later.
2024-01-12 11:58:12 -05:00
Johan Brandhorst-Satzkorn 9a23bd14f0 internal/session: tidy up query 2024-01-11 09:44:44 -08:00
Johan Brandhorst-Satzkorn b6fe9824ab internal/db: optimize session list indexes 2024-01-11 09:44:44 -08:00
Elim Tsiagbey c28a8ecfeb fix(bsr): remove unnecessary WriteAndClose function in BSR Journal 2024-01-11 09:58:32 -05:00