Create Dedicated Validator Endpoints #8

Merged
Quaternions merged 11 commits from submissions into master 2025-07-18 04:09:47 +00:00
Owner

Replacing Maps Service openapi-internal.yaml With gRPC

These are all the endpoints used by the validator. The plan is to delete service_internal and create validator_controller with equivalent gRPC functionality. This can then be extended in the future for public api & maptest integration by creating new grpc endpoints that the public api & game-rpc talk to. The gRPC extensions would be separate files (mapfixes.proto, submissions.proto, maps.proto) unlike validator.proto which has a bunch of dedicated endpoints that only the validator should use.

Why?

To reduce the number of exposed apis. Without this there would need to be 4 (!) exposed apis (validator openapi, web openapi, public api, gRPC for game-rpc), with it, only 2 (web api, gRPC).

Why didn't you do this in the first place?

I didn't know how. I think I have a handle on it now.

### Replacing Maps Service `openapi-internal.yaml` With gRPC These are all the endpoints used by the validator. The plan is to delete `service_internal` and create `validator_controller` with equivalent gRPC functionality. This can then be extended in the future for public api & maptest integration by creating new grpc endpoints that the public api & game-rpc talk to. The gRPC extensions would be separate files (`mapfixes.proto`, `submissions.proto`, `maps.proto`) unlike `validator.proto` which has a bunch of dedicated endpoints that only the validator should use. ### Why? To reduce the number of exposed apis. Without this there would need to be 4 (!) exposed apis (validator openapi, web openapi, public api, gRPC for game-rpc), with it, only 2 (web api, gRPC). ### Why didn't you do this in the first place? I didn't know how. I think I have a handle on it now.
Quaternions added 7 commits 2025-07-18 03:40:20 +00:00
Quaternions changed title from Replace Maps Service `openapi-internal.yaml` With gRPC to Create Dedicated Validator Endpoints 2025-07-18 03:58:21 +00:00
Quaternions added 1 commit 2025-07-18 04:01:55 +00:00
Quaternions added 2 commits 2025-07-18 04:06:23 +00:00
Quaternions force-pushed submissions from 15fd600612 to 733dcd7a68 2025-07-18 04:07:04 +00:00 Compare
Quaternions merged commit 8f843ce8dc into master 2025-07-18 04:09:47 +00:00
Quaternions deleted branch submissions 2025-07-18 04:09:47 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: StrafesNET/protobufs#8