diff --git a/model/status_board/v1/service_info_type.model b/model/status_board/v1/service_info_type.model new file mode 100644 index 00000000..b6356fc1 --- /dev/null +++ b/model/status_board/v1/service_info_type.model @@ -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 +} diff --git a/model/status_board/v1/status_type.model b/model/status_board/v1/status_type.model index 44d6c25e..b3a99839 100644 --- a/model/status_board/v1/status_type.model +++ b/model/status_board/v1/status_type.model @@ -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