Skip to content

Commit

Permalink
chore(deps): bump go.einride.tech/sage from 0.182.0 to 0.196.0 in /.sage
Browse files Browse the repository at this point in the history
Bumps [go.einride.tech/sage](https://github.com/einride/sage) from 0.182.0 to 0.196.0.
- [Release notes](https://github.com/einride/sage/releases)
- [Commits](einride/sage@v0.182.0...v0.196.0)

---
updated-dependencies:
- dependency-name: go.einride.tech/sage
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and ericwenn committed Jan 30, 2023
1 parent e577fe6 commit b657a97
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .sage/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module sage

go 1.17

require go.einride.tech/sage v0.182.0
require go.einride.tech/sage v0.196.0
4 changes: 2 additions & 2 deletions .sage/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
go.einride.tech/sage v0.182.0 h1:yvTDktPO1DkTVgxtVkHBoqRM8RAFJVD4RqM8W74vHNc=
go.einride.tech/sage v0.182.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ=
go.einride.tech/sage v0.196.0 h1:rGrIWUcuVAnj/dsZEcR7ycACChXempSxrslar+6SKNY=
go.einride.tech/sage v0.196.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ=
28 changes: 7 additions & 21 deletions example/proto/einride/example/account/v1/account_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,14 @@ service AccountService {
// Get a tenant.
// See: https://google.aip.dev/131 (Standard methods: Get).
rpc GetTenant(GetTenantRequest) returns (Tenant) {
option (google.api.http) = {
get: "/v1/{name=tenants/*}"
};
option (google.api.http) = {get: "/v1/{name=tenants/*}"};
option (google.api.method_signature) = "name";
}

// List tenants.
// See: https://google.aip.dev/132 (Standard methods: List).
rpc ListTenants(ListTenantsRequest) returns (ListTenantsResponse) {
option (google.api.http) = {
get: "/v1/tenants"
};
option (google.api.http) = {get: "/v1/tenants"};
}

// Create a tenant.
Expand All @@ -55,27 +51,21 @@ service AccountService {
// See: https://google.aip.dev/135 (Standard methods: Delete).
// See: https://google.aip.dev/164 (Soft delete).
rpc DeleteTenant(DeleteTenantRequest) returns (Tenant) {
option (google.api.http) = {
delete: "/v1/{name=tenants/*}"
};
option (google.api.http) = {delete: "/v1/{name=tenants/*}"};
option (google.api.method_signature) = "name";
}

// Get a user.
// See: https://google.aip.dev/131 (Standard methods: Get).
rpc GetUser(GetUserRequest) returns (User) {
option (google.api.http) = {
get: "/v1/{name=tenants/*/users/*}"
};
option (google.api.http) = {get: "/v1/{name=tenants/*/users/*}"};
option (google.api.method_signature) = "name";
}

// List users for a tenant.
// See: https://google.aip.dev/132 (Standard methods: List).
rpc ListUsers(ListUsersRequest) returns (ListUsersResponse) {
option (google.api.http) = {
get: "/v1/{parent=tenants/*}/users"
};
option (google.api.http) = {get: "/v1/{parent=tenants/*}/users"};
option (google.api.method_signature) = "parent";
}

Expand Down Expand Up @@ -103,9 +93,7 @@ service AccountService {
// See: https://google.aip.dev/135 (Standard methods: Delete).
// See: https://google.aip.dev/164 (Soft delete).
rpc DeleteUser(DeleteUserRequest) returns (User) {
option (google.api.http) = {
delete: "/v1/{name=tenants/*/users/*}"
};
option (google.api.http) = {delete: "/v1/{name=tenants/*/users/*}"};
option (google.api.method_signature) = "name";
}
}
Expand Down Expand Up @@ -223,9 +211,7 @@ message CreateUserRequest {
// Format: tenants/{tenant}
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "account-example.einride.tech/Tenant"
}
(google.api.resource_reference) = {child_type: "account-example.einride.tech/Tenant"}
];
// The user to create.
User user = 2 [(google.api.field_behavior) = REQUIRED];
Expand Down
8 changes: 2 additions & 6 deletions example/proto/einride/example/todo/v1/todo_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,14 @@ service TodoService {
// Get a todo.
// See: https://google.aip.dev/131 (Standard methods: Get).
rpc GetTodo(GetTodoRequest) returns (Todo) {
option (google.api.http) = {
get: "/v1/{name=tenants/*/users/*/todo/*}"
};
option (google.api.http) = {get: "/v1/{name=tenants/*/users/*/todo/*}"};
option (google.api.method_signature) = "name";
}

// List todos.
// See: https://google.aip.dev/132 (Standard methods: List).
rpc ListTodos(ListTodosRequest) returns (ListTodosResponse) {
option (google.api.http) = {
get: "/v1/{parent=tenants/*/users/*}/todos"
};
option (google.api.http) = {get: "/v1/{parent=tenants/*/users/*}/todos"};
}

// Create a todo.
Expand Down

0 comments on commit b657a97

Please sign in to comment.