Caleb Doxsey
8935ed17fa
tests: use testcontainers ( #5341 )
...
* tests: use testcontainers for postgres
* tests: use testcontainers for minio
* remove gcs test
* try installing docker
* skip docker on macos
2024-10-30 13:33:30 -06:00
Joe Kralicky
fe31799eb5
Fix many instances of contexts and loggers not being propagated ( #5340 )
...
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
410354bc00
core/go: use hashicorp/go-set ( #5278 )
2024-10-03 12:59:11 -06:00
Caleb Doxsey
dad954ae16
core/logging: change log.Error function ( #5251 )
...
* core/logging: change log.Error function
* use request id
2024-09-05 15:42:46 -06:00
Caleb Doxsey
0cfb1025db
core/proto: update protoc dependencies ( #5218 )
...
* core/proto: update protoc dependencies
* cleanup
* disable unimplemented forward compatibility check
* fix mock
* add generate make command
* add .0
2024-08-15 11:12:05 -06:00
Caleb Doxsey
1a5b8b606f
core/lint: upgrade golangci-lint, replace interface{} with any ( #5099 )
...
* core/lint: upgrade golangci-lint, replace interface{} with any
* regen proto
2024-05-02 14:33:52 -06:00
Denis Mishin
08eb255bbf
health-check: add storage health check ( #5074 )
2024-04-19 13:10:33 -04:00
Caleb Doxsey
1780fefa72
core/storage: hijack connections for notification listeners ( #4806 )
2023-12-04 09:29:10 -07:00
Caleb Doxsey
d7ed62c350
core/storage: fix nil data unmarshal ( #4734 )
2023-11-10 13:16:22 -07:00
Kenneth Jenkins
4842002ed7
storage/postgres: implement patch operation ( #4656 )
...
Implement the new Patch() method for the Postgres storage backend.
2023-11-02 12:07:36 -07:00
Caleb Doxsey
818f3926bf
core/grpc: fix deprecated protobuf package, remove tools ( #4643 )
2023-10-26 11:38:54 -06:00
Caleb Doxsey
3e330bb76a
storage: add indexes for postgres ( #4479 )
...
* storage: add indexes for postgres
* add type, version index
2023-08-21 15:13:48 -06:00
Caleb Doxsey
bbed421cd8
config: remove source, remove deadcode, fix linting issues ( #4118 )
...
* remove source, remove deadcode, fix linting issues
* use github action for lint
* fix missing envoy
2023-04-21 17:25:11 -06:00
Caleb Doxsey
7895bf431f
databroker: add list types method ( #3937 )
...
* 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
92b50683ff
postgres: return unknown records instead of skipping them ( #3876 )
2023-01-09 15:10:52 -07:00
Caleb Doxsey
c048af7523
postgres: upgrade to pgx v5 ( #3826 )
2022-12-19 12:47:35 -07:00
Denis Mishin
1d252f43ee
storage: ignore removed fields when deserializing the data ( #3768 )
...
ignore removed fields when deserializing the data
2022-11-28 09:31:57 -07:00
Caleb Doxsey
1b596115e9
postgres: increase record batch size ( #3708 )
2022-10-26 07:40:13 -06:00
Caleb Doxsey
3b2cc6720a
postgres: return an empty list of addresses on dns errors ( #3637 )
2022-09-30 12:00:40 -06:00
Caleb Doxsey
3fec00f2a8
postgres: handle unknown types ( #3632 )
2022-09-28 09:41:29 -06:00
Caleb Doxsey
23c42da8ec
postgres: remove not null constraint on data column of record changes table ( #3594 )
2022-08-31 10:16:19 -06:00
Caleb Doxsey
0b48da1e2f
databroker: support rotating shared secret ( #3502 )
...
* databroker: support rotating shared secret
* fix test
* run tests on linux
* fix tests
* fix typo
* increase timeout
2022-07-26 10:59:54 -06:00
Caleb Doxsey
24a9d627cd
postgres: registry support ( #3454 )
2022-07-13 09:14:47 -06:00
Caleb Doxsey
1727d178ef
postgres: fix record deletion ( #3446 )
2022-06-24 09:32:44 -06:00
Caleb Doxsey
45a29ea879
databroker: add support for syncing by type ( #3412 )
...
* 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 ( #3408 )
...
* 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
dafead3122
postgres: fix CIDR query ( #3389 )
2022-06-03 12:32:01 -06:00
Caleb Doxsey
1c2aad2de6
postgres: databroker storage backend ( #3370 )
...
* 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