diff options
Diffstat (limited to 'sdnr/wt/odlux/apps/performanceHistoryApp/src/models')
12 files changed, 0 insertions, 567 deletions
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts deleted file mode 100644 index 9c1d28986..000000000 --- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts +++ /dev/null @@ -1,118 +0,0 @@ -/** - * ============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========================================================================== - */ -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; -}; - - -/** - * Internally used type to provide table and chart data - */ -export type AdaptiveModulationDataType = { - radioSignalId: string; - scannerId: string; - utcTimeStamp: 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; -} & { _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 deleted file mode 100644 index fcf7ad5f6..000000000 --- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts +++ /dev/null @@ -1,31 +0,0 @@ -/** - * ============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========================================================================== - */ - export type LtpIds = { - 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 deleted file mode 100644 index 487cf029d..000000000 --- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * ============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========================================================================== - */ -export interface IData { - x: string; - y: string; -} - -/** - * Structure of chartjs dataset with the chart properties. - */ -export interface IDataSet { - name: string, - label: string, - lineTension: 0, - bezierCurve: boolean; - fill: boolean, - borderColor: string, - data: IData[], - columnLabel: string -} - -/** - * Structure of chartjs dataset which is sent to the chart. - */ -export interface IDataSetsObject { - datasets: IDataSet[] -} - -/** - * Interface used by chart for sorting on time-stamp - */ -export interface ITimeStamp { - "utcTimeStamp": 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 deleted file mode 100644 index ef4415393..000000000 --- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts +++ /dev/null @@ -1,53 +0,0 @@ -/** - * ============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========================================================================== - */ -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; -}; - -/** - * Internally used type to provide table and chart data - */ -export type CrossPolarDiscriminationDataType = { - radioSignalId: string; - scannerId: string; - utcTimeStamp: string; - suspectIntervalFlag: boolean; - xpdMin: number; - xpdAvg: number; - xpdMax: number; -} & { _id: string }; - diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts deleted file mode 100644 index 1f05b47cc..000000000 --- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * 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 deleted file mode 100644 index 6af29c4a8..000000000 --- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts +++ /dev/null @@ -1,63 +0,0 @@ -/** - * ============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========================================================================== - */ -import { Moment } from "moment"; - -//export { HitEntry, Result } from '../../../../framework/src/models'; - -/** - * 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; -}; - -/** - * Internally used type to provide table and chart data - */ -export type PerformanceDataType = { - radioSignalId: string; - scannerId: string; - utcTimeStamp: string; - suspectIntervalFlag: boolean; - es: number; - ses: number; - unavailability: number; -} & { _id: string }; - - -/** - * Represents performance data time interval. - */ -export const enum PmDataInterval { - pmInterval15Min, - pmInterval24Hours -}
\ No newline at end of file diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts deleted file mode 100644 index 836bf58d9..000000000 --- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts +++ /dev/null @@ -1,52 +0,0 @@ -/** - * ============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========================================================================== - */ -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; -}; - -/** - * Internally used type to provide table and chart data - */ -export type ReceiveLevelDataType = { - radioSignalId: string; - scannerId: string; - utcTimeStamp: string; - suspectIntervalFlag: boolean; - rxLevelMin: number; - rxLevelAvg: number; - rxLevelMax: number; -} & { _id: string }; - diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts deleted file mode 100644 index deb1d8f18..000000000 --- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * ============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========================================================================== - */ -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; -}; - - -/** - * Internally used type to provide table and chart data - */ -export type SignalToInterferenceDataType = { - radioSignalId: string; - scannerId: string; - utcTimeStamp: string; - suspectIntervalFlag: boolean; - snirMin: number; - snirAvg: number; - snirMax: number; -} & { _id: string }; - diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts deleted file mode 100644 index dd3ce5253..000000000 --- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * ============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========================================================================== - */ -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; -}; - -/** - * Internally used type to provide table and chart data - */ -export type TemperatureDataType = { - radioSignalId: string; - scannerId: string; - utcTimeStamp: string; - suspectIntervalFlag: boolean; - rfTempMin: number; - rfTempAvg: number; - rfTempMax: number; -} & { _id: string }; - - diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts deleted file mode 100644 index 6bd89411d..000000000 --- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * ============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========================================================================== - */ -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[]; -} diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts deleted file mode 100644 index 2c31f5378..000000000 --- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts +++ /dev/null @@ -1,53 +0,0 @@ -/** - * ============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========================================================================== - */ -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; -}; - -/** - * Internally used type to provide table and chart data - */ -export type TransmissionPowerDataType = { - radioSignalId: string; - scannerId: string; - utcTimeStamp: string; - suspectIntervalFlag: boolean; - txLevelMin: number; - txLevelAvg: number; - txLevelMax: number; -} & { _id: string }; - |