Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ papaya = "0.2.1"
pest_derive = "2.7"
portpicker = "0.1"
prettyplease = "0.2"
protobuf = "2.28"
quote = "1.0"
rand = "0.8"
regex = "1.4"
Expand Down
60 changes: 60 additions & 0 deletions engine/artifacts/openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion engine/docker/engine/linux-aarch64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ RUN apt-get update && apt-get install -y \
clang-14 \
libssl-dev \
pkg-config \
protobuf-compiler \
ca-certificates \
g++ \
git-lfs \
Expand Down
1 change: 0 additions & 1 deletion engine/docker/engine/linux-x86_64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ RUN apt-get update && apt-get install -y \
clang-14 \
libssl-dev \
pkg-config \
protobuf-compiler \
ca-certificates \
g++ \
g++-multilib \
Expand Down
1 change: 0 additions & 1 deletion engine/docker/engine/macos-aarch64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ARG VITE_APP_API_URL=__SAME__
# Install dependencies
RUN apt-get update && apt-get install -y \
git-lfs \
protobuf-compiler \
clang \
cmake \
patch \
Expand Down
1 change: 0 additions & 1 deletion engine/docker/engine/macos-x86_64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ARG VITE_APP_API_URL=__SAME__
# Install dependencies
RUN apt-get update && apt-get install -y \
git-lfs \
protobuf-compiler \
clang \
cmake \
patch \
Expand Down
1 change: 0 additions & 1 deletion engine/docker/engine/windows.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ RUN apt-get update && apt-get install -y \
libclang-14-dev \
clang-14 \
git-lfs \
protobuf-compiler \
gcc-mingw-w64-x86-64 \
g++-mingw-w64-x86-64 \
binutils-mingw-w64-x86-64 \
Expand Down
1 change: 0 additions & 1 deletion engine/docker/universal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ RUN apt-get update -y && \
libpq-dev \
libssl-dev \
pkg-config \
protobuf-compiler \
ca-certificates \
gpg \
openssl \
Expand Down
18 changes: 9 additions & 9 deletions engine/packages/api-peer/src/actors/delete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ pub struct DeletePath {
}

#[utoipa::path(
delete,
delete,
operation_id = "actors_delete",
path = "/actors/{actor_id}",
params(
("actor_id" = Id, Path),
DeleteQuery,
),
responses(
(status = 200, body = DeleteResponse),
),
path = "/actors/{actor_id}",
params(
("actor_id" = Id, Path),
DeleteQuery,
),
responses(
(status = 200, body = DeleteResponse),
),
)]
#[tracing::instrument(skip_all)]
pub async fn delete(ctx: ApiCtx, path: DeletePath, query: DeleteQuery) -> Result<DeleteResponse> {
Expand Down
12 changes: 6 additions & 6 deletions engine/packages/api-peer/src/actors/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ use rivet_api_builder::ApiCtx;
use rivet_api_types::{actors::list::*, pagination::Pagination};

#[utoipa::path(
get,
get,
operation_id = "actors_list",
path = "/actors",
params(ListQuery),
responses(
(status = 200, body = ListResponse),
),
path = "/actors",
params(ListQuery),
responses(
(status = 200, body = ListResponse),
),
)]
#[tracing::instrument(skip_all)]
pub async fn list(ctx: ApiCtx, _path: (), query: ListQuery) -> Result<ListResponse> {
Expand Down
12 changes: 6 additions & 6 deletions engine/packages/api-peer/src/actors/list_names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ use rivet_api_types::{actors::list_names::*, pagination::Pagination};
use rivet_types::actors::ActorName;

#[utoipa::path(
get,
get,
operation_id = "actors_list_names",
path = "/actors/names",
params(ListNamesQuery),
responses(
(status = 200, body = ListNamesResponse),
),
path = "/actors/names",
params(ListNamesQuery),
responses(
(status = 200, body = ListNamesResponse),
),
)]
#[tracing::instrument(skip_all)]
pub async fn list_names(
Expand Down
12 changes: 6 additions & 6 deletions engine/packages/api-peer/src/runners.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ use serde::{Deserialize, Serialize};
use utoipa::{IntoParams, ToSchema};

#[utoipa::path(
get,
get,
operation_id = "runners_list",
path = "/runners",
params(ListQuery),
responses(
(status = 200, body = ListResponse),
),
path = "/runners",
params(ListQuery),
responses(
(status = 200, body = ListResponse),
),
)]
#[tracing::instrument(skip_all)]
pub async fn list(ctx: ApiCtx, _path: (), query: ListQuery) -> Result<ListResponse> {
Expand Down
14 changes: 7 additions & 7 deletions engine/packages/api-public/src/actors/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ pub struct CreateQuery {
///
/// actor::get will always be in the same datacenter.
#[utoipa::path(
post,
post,
operation_id = "actors_create",
path = "/actors",
params(CreateQuery),
request_body(content = CreateRequest, content_type = "application/json"),
responses(
(status = 200, body = CreateResponse),
),
path = "/actors",
params(CreateQuery),
request_body(content = CreateRequest, content_type = "application/json"),
responses(
(status = 200, body = CreateResponse),
),
)]
pub async fn create(
Extension(ctx): Extension<ApiCtx>,
Expand Down
18 changes: 9 additions & 9 deletions engine/packages/api-public/src/actors/delete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ pub struct DeleteResponse {}
/// - DELETE /actors/{}
/// - [api-peer] namespace::ops::resolve_for_name_global
#[utoipa::path(
delete,
delete,
operation_id = "actors_delete",
path = "/actors/{actor_id}",
params(
("actor_id" = Id, Path),
DeleteQuery,
),
responses(
(status = 200, body = DeleteResponse),
),
path = "/actors/{actor_id}",
params(
("actor_id" = Id, Path),
DeleteQuery,
),
responses(
(status = 200, body = DeleteResponse),
),
security(("bearer_auth" = [])),
)]
#[tracing::instrument(skip_all)]
Expand Down
14 changes: 7 additions & 7 deletions engine/packages/api-public/src/actors/get_or_create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ pub struct GetOrCreateResponse {
///
/// ## Optimized Alternative Routes
#[utoipa::path(
put,
put,
operation_id = "actors_get_or_create",
path = "/actors",
params(GetOrCreateQuery),
request_body(content = GetOrCreateRequest, content_type = "application/json"),
responses(
(status = 200, body = GetOrCreateResponse),
),
path = "/actors",
params(GetOrCreateQuery),
request_body(content = GetOrCreateRequest, content_type = "application/json"),
responses(
(status = 200, body = GetOrCreateResponse),
),
)]
pub async fn get_or_create(
Extension(ctx): Extension<ApiCtx>,
Expand Down
12 changes: 6 additions & 6 deletions engine/packages/api-public/src/actors/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ pub struct ListResponse {
///
/// ## Optimized Alternative Routes
#[utoipa::path(
get,
get,
operation_id = "actors_list",
path = "/actors",
params(ListQuery),
responses(
(status = 200, body = ListResponse),
),
path = "/actors",
params(ListQuery),
responses(
(status = 200, body = ListResponse),
),
)]
pub async fn list(Extension(ctx): Extension<ApiCtx>, Query(query): Query<ListQuery>) -> Response {
match list_inner(ctx, query).await {
Expand Down
12 changes: 6 additions & 6 deletions engine/packages/api-public/src/actors/list_names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ use crate::ctx::ApiCtx;
/// - GET /actors/names (fanout)
/// - [api-peer] namespace::ops::resolve_for_name_global
#[utoipa::path(
get,
get,
operation_id = "actors_list_names",
path = "/actors/names",
params(ListNamesQuery),
responses(
(status = 200, body = ListNamesResponse),
),
path = "/actors/names",
params(ListNamesQuery),
responses(
(status = 200, body = ListNamesResponse),
),
security(("bearer_auth" = [])),
)]
#[tracing::instrument(skip_all)]
Expand Down
10 changes: 5 additions & 5 deletions engine/packages/api-public/src/datacenters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ use rivet_types::datacenters::Datacenter;
use crate::ctx::ApiCtx;

#[utoipa::path(
get,
get,
operation_id = "datacenters_list",
path = "/datacenters",
responses(
(status = 200, body = ListResponse),
),
path = "/datacenters",
responses(
(status = 200, body = ListResponse),
),
security(("bearer_auth" = [])),
)]
#[tracing::instrument(skip_all)]
Expand Down
Loading
Loading