Skip to content

Commit

Permalink
remove unimplement api in docs (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
jingshi-ant authored Apr 2, 2024
1 parent 1313379 commit 45cafcf
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 86 deletions.
11 changes: 6 additions & 5 deletions api/broker.proto
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,15 @@ service IntraBrokerService {
// Other APIs

// CheckAndUpdateStatus
// (-- NOTE: api not implemented yet --)
//
// Check and update status for Projects (not used)
// Check and update status for Projects
rpc CheckAndUpdateStatus(CheckAndUpdateStatusRequest)
returns (CheckAndUpdateStatusResponse) {
option (google.api.http) = {
post: "/intra/status/check_and_update"
body: "*"
};
// option (google.api.http) = {
// post: "/intra/status/check_and_update"
// body: "*"
// };
}
}

Expand Down
32 changes: 0 additions & 32 deletions docs/api/broker.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -352,28 +352,6 @@ paths:
$ref: '#/definitions/scql.pb.ShowCCLRequest'
tags:
- IntraBrokerService
/intra/status/check_and_update:
post:
summary: CheckAndUpdateStatus
description: Check and update status for Projects
operationId: IntraBrokerService_CheckAndUpdateStatus
responses:
"200":
description: A successful response.
schema:
$ref: '#/definitions/scql.pb.CheckAndUpdateStatusResponse'
default:
description: An unexpected error response.
schema:
$ref: '#/definitions/google.rpc.Status'
parameters:
- name: body
in: body
required: true
schema:
$ref: '#/definitions/scql.pb.CheckAndUpdateStatusRequest'
tags:
- IntraBrokerService
definitions:
google.protobuf.Any:
type: object
Expand Down Expand Up @@ -564,16 +542,6 @@ definitions:
- UpdateProjectConf
- ArchiveProject
default: CreateTable
scql.pb.CheckAndUpdateStatusRequest:
type: object
properties:
project_ids:
type: array
items:
type: string
title: |-
The ids of Projects to be checked and updated, if empty, all Projects
will be processed
scql.pb.CheckAndUpdateStatusResponse:
type: object
properties:
Expand Down
95 changes: 46 additions & 49 deletions pkg/proto-gen/scql/broker.pb.go

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

0 comments on commit 45cafcf

Please sign in to comment.