Fix for Bug 1495 NG-UI does not start on Air-gapped environments.
[osm/NG-UI.git] / src / models / CommonModel.ts
index fb9707a..c48ee62 100644 (file)
@@ -20,6 +20,7 @@ import { HttpHeaders } from '@angular/common/http';
 /**
  * @file  Model for Commonly used information.
  */
+// tslint:disable: completed-docs
 /**
  * handle count @enum
  */
@@ -112,12 +113,12 @@ export interface URLPARAMS {
 export interface DELETEPARAMS {
     identifier: string;
     name?: string;
-    shortName: string;
     projectName?: string;
     userName?: string;
     username?: string;
     page?: string;
     id?: string;
+    productName?: string;
 }
 
 /** Interface for the Delete Details */
@@ -221,7 +222,16 @@ export interface TYPESECTION {
     value: string;
     title: string;
 }
-/** Interface for VIM type Openstack's Config */
+/** Interface for PRIMITIVETYPES */
+export interface PRIMITIVETYPES {
+    title: string;
+    value: string;
+}
+/** Interface for the PRIMITIVEDATA */
+export interface PRIMITIVEDATA {
+    parameter: {}[];
+}
+/** Constant for VIM type Openstack's Config */
 export const TYPEOPENSTACK: {} = {
     sdn_controller: '',
     APIversion: '',
@@ -233,7 +243,7 @@ export const TYPEOPENSTACK: {} = {
     user_domain_id: '',
     security_groups: '',
     user_domain_name: '',
-    availabilityZone: '',
+    availability_zone: '',
     keypair: '',
     region_name: '',
     dataplane_physical_net: '',
@@ -244,7 +254,7 @@ export const TYPEOPENSTACK: {} = {
     additional_conf: '',
     use_existing_flavors: ''
 };
-/** Interface for VIM type AWS's Config */
+/** Constant for VIM type AWS's Config */
 export const TYPEAWS: {} = {
     sdn_controller: '',
     vpc_cidr_block: '',
@@ -256,7 +266,7 @@ export const TYPEAWS: {} = {
     flavor_info: '',
     additional_conf: ''
 };
-/** Interface for VIM type VMWARE's Config */
+/** Constant for VIM type VMWARE's Config */
 export const TYPEVMWARE: {} = {
     sdn_controller: '',
     orgname: '',
@@ -276,14 +286,14 @@ export const TYPEVMWARE: {} = {
     vrops_password: '',
     additional_conf: ''
 };
-/** Interface for VIM type OPENVIMNEBULA's Config */
+/** Constant for VIM type OPENVIMNEBULA's Config */
 export const TYPEOPENVIMNEBULA: {} = {
     sdn_controller: '',
     sdn_port_mapping: '',
     vim_network_name: '',
     additional_conf: ''
 };
-/** Interface for VIM type AZURE's Config */
+/** Constant for VIM type AZURE's Config */
 export const TYPEAZURE: {} = {
     subscription_id: '',
     region_name: '',
@@ -291,7 +301,7 @@ export const TYPEAZURE: {} = {
     vnet_name: '',
     flavors_pattern: ''
 };
-/** Interface for VIM other type Config */
+/** Constant for VIM other type Config */
 export const TYPEOTERS: {} = {
     sdn_controller: '',
     sdn_port_mapping: '',
@@ -301,3 +311,13 @@ export const TYPEOTERS: {} = {
     additional_conf: '',
     use_existing_flavors: ''
 };
+/** Interface for Domains */
+export interface DOMAINS {
+    project_domain_name: string;
+    user_domain_name: string;
+}
+/** Interface for Login */
+export interface LOGINPARAMS {
+    username?: string;
+    password?: string;
+}