Files
threshold/internal/proto/buf.yaml
T
Todd 472d7d520a Remove the server_id from session table, change it to worker_id on session_connection (#2070)
* Remove the server_id from session table, change it to worker_id on session_connection

This is step 1 in updating the worker table.  The worker is becoming a public resource so it must have
a public id.  We drop the server_id column on the session_connection table and add the worker_id column
so we can use the wt_public_key type.  Since db migrations are applied while the controller is offline,
it should be safe to assume all session connections are not in a running state, thus allowing us to null
out all the worker ids in the session_connection table.

For now we don't have very good enforcement of the wt_public_id constraints, since the id is currently
defined in the worker config, but this will soon change and the worker's id will be generated by the
controller.
2022-05-16 15:14:12 -07:00

25 lines
794 B
YAML

version: v1
name: buf.build/hashicorp/boundary
deps:
- buf.build/googleapis/googleapis
- buf.build/grpc-ecosystem/grpc-gateway
breaking:
use:
- WIRE_JSON
ignore_only:
FIELD_NO_DELETE_UNLESS_NUMBER_RESERVED:
# The proto files in controller/api are only exposed as json files so enforcing
# proto backward compatability doesn't make sense, except for maybe the names.
- controller/api
# Storage protos are used by gorm. Gorm relies on go tags and the json
# names to determine what columns to update so we don't care of the field
# numbers remain the same.
- controller/storage
lint:
use:
- DEFAULT
ignore_only:
FIELD_LOWER_SNAKE_CASE:
- controller/api/v1/error.proto
- controller/custom_options/v1/testing.proto