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.
23 // tslint:disable: completed-docs
25 /** Interface for the VCASTATUS */
26 export interface VCASTATUS {
27 vcaStatus: VCADETAILS;
31 /** Interface for the VCASTATUS */
32 export interface VCADETAILS {
33 isLiveloading: boolean;
35 vcaStatusModels: SETMODELS[];
36 timeOutSeconds?: number;
40 /** Interface for the SETMODELS */
41 export interface SETMODELS {
42 applications: VCAAPPLICATIONS[];
44 controller_timestamp?: string;
45 executedActions?: EXECUTEDACTIONS;
49 relations: RELATIONS[];
50 remote_applications?: {};
54 /** Interface for the VCAAPPLICATIONS */
55 export interface VCAAPPLICATIONS {
62 public_address: string;
63 agent_status: AGENTSTATUS;
67 /** Interface for the VCAUNITS */
68 export interface VCAUNITS {
72 public_address: string;
74 agent_status: AGENTSTATUS;
76 /** Interface for the EXECUTEDACTIONS */
77 export interface EXECUTEDACTIONS {
85 /** Interface for the VCAMODEL */
86 export interface VCAMODEL {
87 available_version: string;
94 /** Interface for the STATUS */
95 export interface STATUS {
98 /** Interface for the AGENTSTATUS */
99 export interface AGENTSTATUS {
103 /** Interface for the MACHINES */
104 export interface MACHINES {
106 agent_status: AGENTSTATUS;
110 instance_status: AGENTSTATUS;
112 /** Interface for the RELATIONS */
113 export interface RELATIONS {
114 endpoints: ENDPOINTS[];
118 /** Interface for the ENDPOINTS */
119 export interface ENDPOINTS {
125 /** Interface for the SETTIMER */
126 export interface SETTIMER {
130 export const SET_TIMER: SETTIMER[] = [