Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
30cb887d
Commit
30cb887d
authored
3 years ago
by
Fotis Soldatos
Committed by
Lluis Gifre Renom
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix: change naming convention of rpc methods from snake case to camel case
parent
0ecb9820
No related branches found
No related tags found
1 merge request
!54
Release 2.0.0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
proto/compute.proto
+7
-7
7 additions, 7 deletions
proto/compute.proto
proto/grpc/health/v1/health.proto
+0
-45
0 additions, 45 deletions
proto/grpc/health/v1/health.proto
proto/monitoring.proto
+1
-1
1 addition, 1 deletion
proto/monitoring.proto
with
8 additions
and
53 deletions
proto/compute.proto
+
7
−
7
View file @
30cb887d
...
...
@@ -5,11 +5,11 @@ import "context.proto";
import
"service.proto"
;
service
ComputeService
{
rpc
check
_c
redentials
(
context.TeraFlowController
)
returns
(
context.AuthenticationResult
)
{}
rpc
get
_c
onnectivity
_s
ervice
_s
tatus
(
service.ServiceId
)
returns
(
service.ServiceState
)
{}
rpc
create
_c
onnectivity
_s
ervice
(
service.Service
)
returns
(
service.ServiceId
)
{}
rpc
edit
_c
onnectivity
_s
ervice
(
service.Service
)
returns
(
service.ServiceId
)
{}
rpc
delete
_c
onnectivity
_s
ervice
(
service.Service
)
returns
(
context.Empty
)
{}
rpc
get
_all_a
ctive
_c
onnectivity
_s
ervices
(
context.Empty
)
returns
(
service.ServiceIdList
)
{}
rpc
clear
_all_c
onnectivity
_s
ervices
(
context.Empty
)
returns
(
context.Empty
)
{}
rpc
check
C
redentials
(
context.TeraFlowController
)
returns
(
context.AuthenticationResult
)
{}
rpc
get
C
onnectivity
S
ervice
S
tatus
(
service.ServiceId
)
returns
(
service.ServiceState
)
{}
rpc
create
C
onnectivity
S
ervice
(
service.Service
)
returns
(
service.ServiceId
)
{}
rpc
edit
C
onnectivity
S
ervice
(
service.Service
)
returns
(
service.ServiceId
)
{}
rpc
delete
C
onnectivity
S
ervice
(
service.Service
)
returns
(
context.Empty
)
{}
rpc
get
AllA
ctive
C
onnectivity
S
ervices
(
context.Empty
)
returns
(
service.ServiceIdList
)
{}
rpc
clear
AllC
onnectivity
S
ervices
(
context.Empty
)
returns
(
context.Empty
)
{}
}
This diff is collapsed.
Click to expand it.
proto/grpc/health/v1/health.proto
deleted
100644 → 0
+
0
−
45
View file @
0ecb9820
// Copyright 2015 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// The canonical version of this proto can be found at
// https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto
syntax
=
"proto3"
;
package
grpc
.
health.v1
;
option
csharp_namespace
=
"Grpc.Health.V1"
;
option
go_package
=
"google.golang.org/grpc/health/grpc_health_v1"
;
option
java_multiple_files
=
true
;
option
java_outer_classname
=
"HealthProto"
;
option
java_package
=
"io.grpc.health.v1"
;
message
HealthCheckRequest
{
string
service
=
1
;
}
message
HealthCheckResponse
{
enum
ServingStatus
{
UNKNOWN
=
0
;
SERVING
=
1
;
NOT_SERVING
=
2
;
}
ServingStatus
status
=
1
;
}
service
Health
{
rpc
Check
(
HealthCheckRequest
)
returns
(
HealthCheckResponse
);
}
This diff is collapsed.
Click to expand it.
proto/monitoring.proto
+
1
−
1
View file @
30cb887d
...
...
@@ -7,7 +7,7 @@ import "context.proto";
service
MonitoringService
{
rpc
IncludeKpi
(
Kpi
)
returns
(
context.Empty
)
{}
rpc
MonitorKpi
(
KpiDevice
)
returns
(
context.Empty
)
{}
rpc
GetStream
_k
pi
(
KpiId
)
returns
(
stream
Kpi
)
{}
rpc
GetStream
K
pi
(
KpiId
)
returns
(
stream
Kpi
)
{}
rpc
GetInstantKpi
(
KpiId
)
returns
(
Kpi
)
{}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment