Skip to content

Commit

Permalink
Merge pull request #474 from PanSpagetka/add-service-info-to-sb-status
Browse files Browse the repository at this point in the history
Add ServiceInfo to status board Status model
  • Loading branch information
jhernand authored Jan 28, 2022
2 parents 1277278 + 05f90ab commit eed4c3c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
24 changes: 24 additions & 0 deletions model/status_board/v1/service_info_type.model
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
Copyright (c) 2021 Red Hat, Inc.

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.
*/

// Definition of a Status Board service info.
struct ServiceInfo {
// Full name of the service
Fullname string

// Type of the service status
StatusType string
}
3 changes: 3 additions & 0 deletions model/status_board/v1/status_type.model
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ class Status {
// The associated service ID.
Service Service

// Additional Service related data.
ServiceInfo ServiceInfo

// A status message for the given service.
Status String

Expand Down

0 comments on commit eed4c3c

Please sign in to comment.