Fix Bug 2339:Responsiveness issue in UI if name(NSD/VNFD/VIM) is too long
[osm/NG-UI.git] / src / models / CommonModel.ts
index 7b51e9e..a3038f1 100644 (file)
@@ -23,7 +23,7 @@ import { VNFD } from 'VNFDModel';
 /**
  * @file  Model for Commonly used information.
  */
-// tslint:disable: completed-docs
+/* eslint-disable */
 /**
  * handle count @enum
  */
@@ -43,7 +43,8 @@ export enum CONSTANTNUMBER {
     paginationDefaultValue = 10,
     splitLongitude = 1,
     splitLatitude = 2,
-    timeOutDefaultSeconds = 5
+    timeOutDefaultSeconds = 5,
+    oneGB = 1024
 }
 /**
  * handle count @enum
@@ -53,6 +54,7 @@ export enum CONFIGCONSTANT {
     operationalStateSecondStep = 'running',
     operationalStateThirdStep = 'failed',
     operationalStateFourthStep = 'scaling',
+    operationalStateFifthStep = 'healing',
     configStateFirstStep = 'init',
     configStateSecondStep = 'configured',
     configStateThirdStep = 'failed',
@@ -70,7 +72,13 @@ export enum CONFIGCONSTANT {
     sdnOperationalStateThirdStep = 'ERROR',
     k8OperationalStateFirstStep = 'PROCESSING',
     k8OperationalStateStateSecondStep = 'ENABLED',
-    k8OperationalStateThirdStep = 'ERROR'
+    k8OperationalStateThirdStep = 'ERROR',
+    done = 'done',
+    close = 'close',
+    userActive = 'active',
+    userLocked = 'locked',
+    userExpired = 'expired',
+    userAlwaysActive = 'always-active'
 }
 /** Interface for Post options */
 export interface POSTAPIRESOURCE {
@@ -195,7 +203,6 @@ export interface BREADCRUMBITEM {
 }
 /** Interface For the Pagination pager in ng-smarttable */
 export interface SMARTTABLECLASS {
-    // tslint:disable-next-line: no-reserved-keywords
     class: string;
 }
 /** Constants of the VIM Types */
@@ -205,7 +212,8 @@ export const VIM_TYPES: TYPESECTION[] = [
     { value: 'vmware', title: 'VMware vCD' },
     { value: 'openvim', title: 'OpenVIM' },
     { value: 'opennebula', title: 'OpenNebula' },
-    { value: 'azure', title: 'Azure' }
+    { value: 'azure', title: 'Azure' },
+    { value: 'dummy', title: 'Dummy' }
 ];
 /** Constants of the SDN Types */
 export const SDN_TYPES: TYPESECTION[] = [
@@ -332,4 +340,16 @@ export interface DOMAINS {
 export interface LOGINPARAMS {
     username?: string;
     password?: string;
+    old_password?: string;
+}
+/** Interface for the LABELVALUE */
+export interface LABELVALUE {
+    label: string;
+    value: string;
+}
+/** Interface for Login */
+export interface UNLOCKPARAMS {
+    system_admin_id?: string;
+    unlock?: boolean;
+    renew?: boolean;
 }