aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/performanceHistoryApp/src/models
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/performanceHistoryApp/src/models')
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts163
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts12
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts2
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/connectedNetworkElements.ts7
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts21
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/deviceListType.ts25
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts18
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts23
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts21
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts22
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts21
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetconf.ts (renamed from sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts)7
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts21
13 files changed, 161 insertions, 202 deletions
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts
index 9c1d28986..adb0bcd6f 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts
@@ -4,13 +4,13 @@
* =================================================================================================
* Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
* =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * 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
+ * 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.
* ============LICENSE_END==========================================================================
@@ -21,53 +21,43 @@ export { HitEntry, Result } from '../../../../framework/src/models';
* Represents Adaptive Modulation data fields of the performance history table.
*/
export type AdaptiveModulationDatabaseDataType = {
- "time2-states-s": number;
- "time2-states": number;
- "time2-states-l": number;
- "time4-states-s": number;
- "time4-states": number;
- "time4-states-l": number;
- "time16-states-s": number;
- "time16-states": number;
- "time16-states-l": number;
- "time32-states-s": number;
- "time32-states": number;
- "time32-states-l": number;
- "time64-states-s": number;
- "time64-states": number;
- "time64-states-l": number;
- "time128-states-s": number;
- "time128-states": number;
- "time128-states-l": number;
- "time256-states-s": number;
- "time256-states": number;
- "time256-states-l": number;
- "time512-states-s": number;
- "time512-states": number;
- "time512-states-l": number;
- "time1024-states-s": number;
- "time1024-states": number;
- "time1024-states-l": number;
- "time2048-states-s": number;
- "time2048-states": number;
- "time2048-states-l": number;
- "time4096-states-s": number;
- "time4096-states": number;
- "time4096-states-l": number;
- "time8192-states-s": number;
- "time8192-states": number;
- "time8192-states-l": number;
-};
-
-/**
- * Represents Result type of database query
- */
-export type AdaptiveModulationResult = {
- "performance-data": AdaptiveModulationDatabaseDataType;
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
+ _id: string ;
+ time2StatesS: number;
+ time2States: number;
+ time2StatesL: number;
+ time4StatesS: number;
+ time4States: number;
+ time4StatesL: number;
+ time16StatesS: number;
+ time16States: number;
+ time16StatesL: number;
+ time32StatesS: number;
+ time32States: number;
+ time32StatesL: number;
+ time64StatesS: number;
+ time64States: number;
+ time64StatesL: number;
+ time128StatesS: number;
+ time128States: number;
+ time128StatesL: number;
+ time256StatesS: number;
+ time256States: number;
+ time256StatesL: number;
+ time512StatesS: number;
+ time512States: number;
+ time512StatesL: number;
+ time1024StatesS: number;
+ time1024States: number;
+ time1024StatesL: number;
+ time2048StatesS: number;
+ time2048States: number;
+ time2048StatesL: number;
+ time4096StatesS: number;
+ time4096States: number;
+ time4096StatesL: number;
+ time8192StatesS: number;
+ time8192States: number;
+ time8192StatesL: number;
};
@@ -75,44 +65,45 @@ export type AdaptiveModulationResult = {
* Internally used type to provide table and chart data
*/
export type AdaptiveModulationDataType = {
+ performanceData: AdaptiveModulationDatabaseDataType;
radioSignalId: string;
scannerId: string;
- utcTimeStamp: string;
+ timeStamp: string;
suspectIntervalFlag: boolean;
- "time2StatesS": number;
- "time2States": number;
- "time2StatesL": number;
- "time4StatesS": number;
- "time4States": number;
- "time4StatesL": number;
- "time16StatesS": number;
- "time16States": number;
- "time16StatesL": number;
- "time32StatesS": number;
- "time32States": number;
- "time32StatesL": number;
- "time64StatesS": number;
- "time64States": number;
- "time64StatesL": number;
- "time128StatesS": number;
- "time128States": number;
- "time128StatesL": number;
- "time256StatesS": number;
- "time256States": number;
- "time256StatesL": number;
- "time512StatesS": number;
- "time512States": number;
- "time512StatesL": number;
- "time1024StatesS": number;
- "time1024States": number;
- "time1024StatesL": number;
- "time2048StatesS": number;
- "time2048States": number;
- "time2048StatesL": number;
- "time4096StatesS": number;
- "time4096States": number;
- "time4096StatesL": number;
- "time8192StatesS": number;
- "time8192States": number;
- "time8192StatesL": number;
+ time2StatesS: number;
+ time2States: number;
+ time2StatesL: number;
+ time4StatesS: number;
+ time4States: number;
+ time4StatesL: number;
+ time16StatesS: number;
+ time16States: number;
+ time16StatesL: number;
+ time32StatesS: number;
+ time32States: number;
+ time32StatesL: number;
+ time64StatesS: number;
+ time64States: number;
+ time64StatesL: number;
+ time128StatesS: number;
+ time128States: number;
+ time128StatesL: number;
+ time256StatesS: number;
+ time256States: number;
+ time256StatesL: number;
+ time512StatesS: number;
+ time512States: number;
+ time512StatesL: number;
+ time1024StatesS: number;
+ time1024States: number;
+ time1024StatesL: number;
+ time2048StatesS: number;
+ time2048States: number;
+ time2048StatesL: number;
+ time4096StatesS: number;
+ time4096States: number;
+ time4096StatesL: number;
+ time8192StatesS: number;
+ time8192States: number;
+ time8192StatesL: number;
} & { _id: string }; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts
index fcf7ad5f6..dc6c7bc16 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts
@@ -16,16 +16,6 @@
* ============LICENSE_END==========================================================================
*/
export type LtpIds = {
- key: string
+ key : string
}
- export type Bucket<T>={
- buckets: T[]
- }
-
-/**
- * Represents distinct available ltps using elasticsearch aggregations structure.
- */
- export type DistinctLtp = {
- "uuid-interface": Bucket<LtpIds>
- }
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts
index 487cf029d..53039faa2 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts
@@ -45,5 +45,5 @@ export interface IDataSetsObject {
* Interface used by chart for sorting on time-stamp
*/
export interface ITimeStamp {
- "utcTimeStamp": string;
+ timeStamp: string;
}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/connectedNetworkElements.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/connectedNetworkElements.ts
deleted file mode 100644
index b7277f777..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/connectedNetworkElements.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Represents connected network elements.
- */
-
-export type ConnectedNetworkElementIds = {
- mountId: string;
- }
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts
index ef4415393..8adb16f45 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts
@@ -22,29 +22,20 @@ export { HitEntry, Result } from '../../../../framework/src/models';
* Represents Receive level data fields of the performance history table.
*/
export type CrossPolarDiscriminationDatabaseDataType = {
- "xpd-min": number;
- "xpd-avg": number;
- "xpd-max": number;
-};
-
-/**
- * Represents Result type of database query
- */
-export type CrossPolarDiscriminationResult = {
- "performance-data": CrossPolarDiscriminationDatabaseDataType
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
+ _id: string;
+ xpdMin: number;
+ xpdAvg: number;
+ xpdMax: number;
};
/**
* Internally used type to provide table and chart data
*/
export type CrossPolarDiscriminationDataType = {
+ performanceData: CrossPolarDiscriminationDatabaseDataType
radioSignalId: string;
scannerId: string;
- utcTimeStamp: string;
+ timeStamp: string;
suspectIntervalFlag: boolean;
xpdMin: number;
xpdAvg: number;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/deviceListType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/deviceListType.ts
new file mode 100644
index 000000000..db8f2d71e
--- /dev/null
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/deviceListType.ts
@@ -0,0 +1,25 @@
+/**
+ * ============LICENSE_START========================================================================
+ * ONAP : ccsdk feature sdnr wt odlux
+ * =================================================================================================
+ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
+ * =================================================================================================
+ * 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.
+ * ============LICENSE_END==========================================================================
+ */
+
+/**
+ * Represents all the distinct devices from the performance history data.
+ */
+
+export type DeviceListType = {
+ nodeId: string;
+}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts
index 1f05b47cc..5889a64c8 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts
@@ -1,4 +1,22 @@
/**
+ * ============LICENSE_START========================================================================
+ * ONAP : ccsdk feature sdnr wt odlux
+ * =================================================================================================
+ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
+ * =================================================================================================
+ * 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.
+ * ============LICENSE_END==========================================================================
+ */
+
+/**
* Represents PanelIds for the available Expansional panels.
*/
export type PanelId = null | "PerformanceData" | "ReceiveLevel" | "TransmissionPower" | "AdaptiveModulation" | "Temperature" | "SINR" | "CPD"; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts
index 6af29c4a8..30f97fb54 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts
@@ -23,30 +23,21 @@ import { Moment } from "moment";
* Represents performance data fields of the performance history table as used in the database
*/
export type PerformanceDatabaseDataType = {
- "es": number;
- "ses": number;
- "unavailability": number;
-};
-
-
-/**
- * Represents Result type of database query
- */
-export type PerformanceResult = {
- "performance-data": PerformanceDatabaseDataType;
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
+ _id: string;
+ es: number;
+ ses: number;
+ unavailability: number;
};
/**
* Internally used type to provide table and chart data
*/
export type PerformanceDataType = {
+
+ performanceData: PerformanceDatabaseDataType;
radioSignalId: string;
scannerId: string;
- utcTimeStamp: string;
+ timeStamp: string;
suspectIntervalFlag: boolean;
es: number;
ses: number;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts
index 836bf58d9..2748a3d5d 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts
@@ -21,29 +21,20 @@ export { HitEntry, Result } from '../../../../framework/src/models';
* Represents Receive level data fields of the performance history table.
*/
export type ReceiveLevelDatabaseDataType = {
- "rx-level-min": number;
- "rx-level-avg": number;
- "rx-level-max": number;
-};
-
-/**
- * Represents Result type of database query
- */
-export type ReceiveLevelResult = {
- "performance-data": ReceiveLevelDatabaseDataType
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
+ _id: string;
+ rxLevelMin: number;
+ rxLevelAvg: number;
+ rxLevelMax: number;
};
/**
* Internally used type to provide table and chart data
*/
export type ReceiveLevelDataType = {
+ performanceData: ReceiveLevelDatabaseDataType;
radioSignalId: string;
scannerId: string;
- utcTimeStamp: string;
+ timeStamp: string;
suspectIntervalFlag: boolean;
rxLevelMin: number;
rxLevelAvg: number;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts
index deb1d8f18..5c675feb8 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts
@@ -22,30 +22,20 @@ export { HitEntry, Result } from '../../../../framework/src/models';
* Represents Receive level data fields of the performance history table.
*/
export type SignalToInterferenceDatabaseDataType = {
- "snir-min": number;
- "snir-avg": number;
- "snir-max": number;
-};
-
-/**
- * Represents Result type of database query
- */
-export type SignalToInterferenceResult = {
- "performance-data": SignalToInterferenceDatabaseDataType
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
+ _id: string;
+ snirMin: number;
+ snirAvg: number;
+ snirMax: number;
};
-
/**
* Internally used type to provide table and chart data
*/
export type SignalToInterferenceDataType = {
+ performanceData: SignalToInterferenceDatabaseDataType;
radioSignalId: string;
scannerId: string;
- utcTimeStamp: string;
+ timeStamp: string;
suspectIntervalFlag: boolean;
snirMin: number;
snirAvg: number;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts
index dd3ce5253..3b0cb7683 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts
@@ -22,29 +22,20 @@ export { HitEntry, Result } from '../../../../framework/src/models';
* Represents Receive level data fields of the performance history table.
*/
export type TemperatureDatabaseDataType = {
- "rf-temp-min": number;
- "rf-temp-avg": number;
- "rf-temp-max": number;
-};
-
-/**
- * Represents Result type of database query
- */
-export type TemperatureResult = {
- "performance-data": TemperatureDatabaseDataType
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
+ _id: string;
+ rfTempMin: number;
+ rfTempAvg: number;
+ rfTempMax: number;
};
/**
* Internally used type to provide table and chart data
*/
export type TemperatureDataType = {
+ performanceData: TemperatureDatabaseDataType
radioSignalId: string;
scannerId: string;
- utcTimeStamp: string;
+ timeStamp: string;
suspectIntervalFlag: boolean;
rfTempMin: number;
rfTempAvg: number;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetconf.ts
index 6bd89411d..99123f55e 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetconf.ts
@@ -15,15 +15,12 @@
* the License.
* ============LICENSE_END==========================================================================
*/
+
export interface TopologyNode {
"node-id": string;
- "netconf-node-topology:connection-status": string;
}
-/**
- * Represents restConf network element topology.
- */
export interface Topology {
"topology-id": string;
- "node": TopologyNode[];
+ node: TopologyNode[];
}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts
index 2c31f5378..62c00bfe4 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts
@@ -22,29 +22,20 @@ export { HitEntry, Result } from '../../../../framework/src/models';
* Represents Receive level data fields of the performance history table.
*/
export type TransmissionPowerDatabaseDataType = {
- "tx-level-min": number;
- "tx-level-avg": number;
- "tx-level-max": number;
-};
-
-/**
- * Represents Result type of database query
- */
-export type TransmissionPowerResult = {
- "performance-data": TransmissionPowerDatabaseDataType
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
+ _id: string;
+ txLevelMin: number;
+ txLevelAvg: number;
+ txLevelMax: number;
};
/**
* Internally used type to provide table and chart data
*/
export type TransmissionPowerDataType = {
+ performanceData: TransmissionPowerDatabaseDataType;
radioSignalId: string;
scannerId: string;
- utcTimeStamp: string;
+ timeStamp: string;
suspectIntervalFlag: boolean;
txLevelMin: number;
txLevelAvg: number;