1
0
Fork 0
mirror of https://github.com/pomerium/pomerium.git synced 2025-07-08 20:38:12 +02:00
Commit graph

13 commits

Author SHA1 Message Date
Joe Kralicky
b5f58997bd
storage/postgres: pgx client tracing ()
* fix testcontainers docker client using the global tracer provider

* storage/postgres: pgx client tracing

* skip postgres test on macos
2025-01-28 17:10:09 -05:00
Joe Kralicky
fe31799eb5
Fix many instances of contexts and loggers not being propagated ()
This also replaces instances where we manually write "return ctx.Err()"
with "return context.Cause(ctx)" which is functionally identical, but
will also correctly propagate cause errors if present.
2024-10-25 14:50:56 -04:00
Caleb Doxsey
dad954ae16
core/logging: change log.Error function ()
* core/logging: change log.Error function

* use request id
2024-09-05 15:42:46 -06:00
Denis Mishin
08eb255bbf
health-check: add storage health check () 2024-04-19 13:10:33 -04:00
Caleb Doxsey
1780fefa72
core/storage: hijack connections for notification listeners () 2023-12-04 09:29:10 -07:00
Kenneth Jenkins
4842002ed7
storage/postgres: implement patch operation ()
Implement the new Patch() method for the Postgres storage backend.
2023-11-02 12:07:36 -07:00
Caleb Doxsey
7895bf431f
databroker: add list types method ()
* databroker: add list types method

* fix test

* Update pkg/storage/redis/redis.go

Co-authored-by: Denis Mishin <dmishin@pomerium.com>

---------

Co-authored-by: Denis Mishin <dmishin@pomerium.com>
2023-02-03 13:16:28 -07:00
Caleb Doxsey
c048af7523
postgres: upgrade to pgx v5 () 2022-12-19 12:47:35 -07:00
Caleb Doxsey
3b2cc6720a
postgres: return an empty list of addresses on dns errors () 2022-09-30 12:00:40 -06:00
Caleb Doxsey
24a9d627cd
postgres: registry support () 2022-07-13 09:14:47 -06:00
Caleb Doxsey
45a29ea879
databroker: add support for syncing by type ()
* databroker: add support for syncing by type

* add type url, fix query
2022-06-13 09:52:13 -06:00
Caleb Doxsey
a2d5d8062b
postgres: use CTE and GENERATED version number instead of serialized transaction ()
* postgres: use CTE and GENERATED version number instead of serialized transaction

* update server version

* fix indexing CIDRs
2022-06-09 12:18:20 -06:00
Caleb Doxsey
1c2aad2de6
postgres: databroker storage backend ()
* wip

* storage: add filtering to SyncLatest

* don't increment the record version, so intermediate changes are requested

* databroker: add support for query filtering

* fill server and record version

* postgres: databroker storage backend

* wip

* serialize puts

* add test

* skip tests for macos

* add test

* return error from protojson

* set data

* exclude postgres from cover tests
2022-05-25 10:23:58 -06:00