2 Copyright 2020 TATA ELXSI
4 Licensed under the Apache License, Version 2.0 (the 'License');
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
16 Author: BARATH KUMAR R (barath.r@tataelxsi.co.in)
20 * @file Model for Operational view JUJU information.
24 /** Interface for the VCASTATUS */
25 export interface VCASTATUS {
26 vcaStatus: VCADETAILS;
30 /** Interface for the VCASTATUS */
31 export interface VCADETAILS {
32 isLiveloading: boolean;
34 vcaStatusModels: SETMODELS[];
35 timeOutSeconds?: number;
39 /** Interface for the SETMODELS */
40 export interface SETMODELS {
41 applications: VCAAPPLICATIONS[];
43 controller_timestamp?: string;
44 executedActions?: EXECUTEDACTIONS;
48 relations: RELATIONS[];
49 remote_applications?: {};
53 /** Interface for the VCAAPPLICATIONS */
54 export interface VCAAPPLICATIONS {
61 public_address: string;
62 agent_status: AGENTSTATUS;
66 /** Interface for the VCAUNITS */
67 export interface VCAUNITS {
71 public_address: string;
73 agent_status: AGENTSTATUS;
75 /** Interface for the EXECUTEDACTIONS */
76 export interface EXECUTEDACTIONS {
84 /** Interface for the VCAMODEL */
85 export interface VCAMODEL {
86 available_version: string;
93 /** Interface for the STATUS */
94 export interface STATUS {
97 /** Interface for the AGENTSTATUS */
98 export interface AGENTSTATUS {
102 /** Interface for the MACHINES */
103 export interface MACHINES {
105 agent_status: AGENTSTATUS;
109 instance_status: AGENTSTATUS;
111 /** Interface for the RELATIONS */
112 export interface RELATIONS {
113 endpoints: ENDPOINTS[];
117 /** Interface for the ENDPOINTS */
118 export interface ENDPOINTS {
124 /** Interface for the SETTIMER */
125 export interface SETTIMER {
129 export const SET_TIMER: SETTIMER[] = [