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
2b6043a9
Commit
2b6043a9
authored
2 years ago
by
Ricard Vilalta
Browse files
Options
Downloads
Patches
Plain Diff
Add new file
parent
8d633148
No related branches found
No related tags found
1 merge request
!54
Release 2.0.0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
proto/forecaster.proto
+41
-0
41 additions, 0 deletions
proto/forecaster.proto
with
41 additions
and
0 deletions
proto/forecaster.proto
0 → 100644
+
41
−
0
View file @
2b6043a9
// Copyright 2021-2023 H2020 TeraFlow (https://www.teraflow-h2020.eu/)
//
// 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.
syntax
=
"proto3"
;
package
forecaster
;
import
"context.proto"
;
service
ForecasterService
{
rpc
GetForecastOfLink
(
context.LinkId
)
returns
(
context.Empty
)
{}
rpc
CheckService
(
context.ServiceId
)
returns
(
ForecastPrediction
)
{}
}
Forecast
{
context.Timestamp
=
1
;
double
value
=
2
;
}
message
LinkForecast
{
LinkId
link_id
=
1
;
repeated
Forecast
forecast
=
2
;
}
enum
AvailabilityPredictionEnum
{
FORECASTED_AVAILABILITY
=
0
;
FORECASTED_UNAVAILABILITY
=
1
;
}
message
ForecastPrediction
{
AvailabilityPredictionEnum
prediction
=
1
;
}
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