12 Commits

Author SHA1 Message Date
8dce6ee1ba validator: remove Submission.SetStatusNotReleased
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-14 18:33:07 -07:00
9a7a123284 validator: add operation success endpoint
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-14 16:55:37 -07:00
e7913b7950 validator: add failure endpoints with a uniform naming convention
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-14 15:59:04 -07:00
6210d5dac9 validator: add SubmissionReleaseRequest
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-13 19:11:00 -07:00
80201e09fd validator: fix MapfixReleaseRequest 2025-08-13 19:10:56 -07:00
e252921e91 validator: submission and mapfix release endpoints (#11)
All checks were successful
continuous-integration/drone/push Build is passing
These endpoints proxy the creation and updation of maps_extended entries, while also updating the relevant submission / mapfix status.

Reviewed-on: #11
Co-authored-by: Rhys Lloyd <krakow20@gmail.com>
Co-committed-by: Rhys Lloyd <krakow20@gmail.com>
2025-08-14 00:49:29 +00:00
d8f3fd54a6 validator: ResourceType enum
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-18 20:32:49 -07:00
0c22f1035e validator: fix SetStatusUploaded
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-17 22:47:11 -07:00
e4d6e3882f validator: fix ScriptFilter
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-17 22:29:47 -07:00
7646d55b34 validator: return ID on Create
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-17 22:08:19 -07:00
3476ecaee0 validator: rename MapFixID -> MapfixID
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-17 21:54:40 -07:00
09d89e2700 Create Dedicated Validator Endpoints (#8)
### 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.

Reviewed-on: #8
Co-authored-by: Rhys Lloyd <krakow20@gmail.com>
Co-committed-by: Rhys Lloyd <krakow20@gmail.com>
2025-07-17 21:53:59 -07:00