| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266 |
- 'use strict';
- const registerReportMin = {
- _type: 'oadrRegisterReport',
- requestId: '31c5ce71a68a73ece370',
- reports: [],
- };
- const registerReportMax = {
- _type: 'oadrRegisterReport',
- requestId: '31c5ce71a68a73ece370',
- venId: 'D8:1D:4B:20:5A:65:4C:50:32:FA',
- reports: [
- {
- reportRequestId: '31c5ce71a68a73ece370',
- reportSpecifierId: 'TELEMETRY_STATUS',
- createdDateTime: '2020-05-07T10:05:41.421-06:00',
- duration: 'PT1H',
- reportName: 'METADATA_TELEMETRY_STATUS',
- descriptions: [
- {
- reportId: 'TelemetryStatusReport',
- reportType: 'x-resourceStatus',
- readingType: 'x-notApplicable',
- samplingRate: {
- minPeriod: 'PT1M',
- maxPeriod: 'PT1H',
- onChange: false,
- },
- },
- ],
- },
- {
- reportRequestId: '3d92d98e0b65d94e60a7',
- reportSpecifierId: 'TELEMETRY_USAGE',
- createdDateTime: '2020-05-07T10:05:41.421-06:00',
- duration: 'PT1H',
- reportName: 'METADATA_TELEMETRY_USAGE',
- descriptions: [
- {
- reportId: 'rep1',
- reportType: 'usage',
- readingType: 'Direct Read',
- samplingRate: {
- minPeriod: 'PT1M',
- maxPeriod: 'PT1H',
- onChange: false,
- },
- },
- {
- reportId: 'rep2',
- reportType: 'usage',
- readingType: 'Direct Read',
- samplingRate: {
- minPeriod: 'PT1M',
- maxPeriod: 'PT1H',
- onChange: false,
- },
- },
- ],
- },
- ],
- };
- const registerReportCa = {
- _type: 'oadrRegisterReport',
- requestId: '1087c',
- reports: [
- {
- reportRequestId: '1087c',
- reportSpecifierId: 'TELEMETRY_STATUS',
- createdDateTime: '2020-05-11T19:32:33.632-06:00',
- reportName: 'METADATA_TELEMETRY_STATUS',
- descriptions: [
- {
- reportId: 'TelemetryStatusReport',
- reportType: 'x-resourceStatus',
- readingType: 'x-notApplicable',
- samplingRate: {
- minPeriod: 'PT1M',
- maxPeriod: 'PT1H',
- onChange: false,
- },
- },
- ],
- duration: 'PT1H',
- },
- {
- reportRequestId: '1087c',
- reportSpecifierId: 'TELEMETRY_USAGE',
- createdDateTime: '2020-05-11T19:32:33.632-06:00',
- reportName: 'METADATA_TELEMETRY_USAGE',
- descriptions: [
- {
- reportId: 'rep1',
- reportType: 'usage',
- readingType: 'Direct Read',
- samplingRate: {
- minPeriod: 'PT1M',
- maxPeriod: 'PT1H',
- onChange: false,
- },
- },
- {
- reportId: 'rep2',
- reportType: 'usage',
- readingType: 'Direct Read',
- samplingRate: {
- minPeriod: 'PT1M',
- maxPeriod: 'PT1H',
- onChange: false,
- },
- },
- ],
- duration: 'PT1H',
- },
- ],
- venId: 'D8:1D:4B:20:5A:65:4C:50:32:FA',
- };
- const createdReportMin = {
- _type: 'oadrCreatedReport',
- responseCode: '200',
- responseRequestId: 'c6e8147ead4eb3ad3dff',
- venId: 'D8:1D:4B:20:5A:65:4C:50:32:FA',
- pendingReports: [
- {
- reportRequestId: 'eec71ed4dfe1e52d65a5',
- },
- ],
- };
- const createdReportMax = {
- _type: 'oadrCreatedReport',
- responseCode: '200',
- responseDescription: 'OK',
- responseRequestId: 'c6e8147ead4eb3ad3dff',
- venId: 'D8:1D:4B:20:5A:65:4C:50:32:FA',
- pendingReports: [
- {
- reportRequestId: 'eec71ed4dfe1e52d65a5',
- },
- ],
- };
- const createdReportGenerated1 = {
- _type: 'oadrCreatedReport',
- responseCode: '200',
- responseDescription: 'OK',
- responseRequestId: 'c6e8147ead4eb3ad3dff',
- venId: 'D8:1D:4B:20:5A:65:4C:50:32:FA',
- pendingReports: [
- {
- reportRequestId: 'uuid0',
- },
- {
- reportRequestId: 'uuid1',
- },
- ],
- };
- const updateReportMin = {
- _type: 'oadrUpdateReport',
- reports: [],
- requestId: '87bbc1d44d903f317758',
- };
- const updateReportTelemetryStatus = {
- _type: 'oadrUpdateReport',
- reports: [
- {
- createdDateTime: '2020-05-13T10:56:11.058-06:00',
- duration: 'PT1M',
- intervals: [
- {
- duration: 'PT1M',
- reportPayloads: [
- {
- dataQuality: 'Quality Good - Non Specific',
- payloadStatus: {
- online: true,
- manualOverride: false,
- loadControlState: {
- oadrLevelOffset: {
- oadrNormal: 40,
- oadrCurrent: 50,
- },
- },
- },
- reportId: 'TelemetryStatusReport',
- },
- ],
- startDate: '2020-05-13T10:56:11.058-06:00',
- },
- ],
- reportName: 'TELEMETRY_STATUS',
- reportRequestId: 'uuid0',
- reportSpecifierId: 'TELEMETRY_STATUS',
- startDate: '2020-05-13T10:56:11.058-06:00',
- },
- ],
- requestId: 'uuid0',
- };
- const updateReportMax = {
- _type: 'oadrUpdateReport',
- reports: [
- {
- createdDateTime: '2020-05-08T21:27:49.591-06:00',
- duration: 'PT1M',
- intervals: [
- {
- duration: 'PT30S',
- reportPayloads: [
- {
- dataQuality: 'Quality Good - Non Specific',
- payloadFloat: 161.97970171999845,
- reportId: 'rep1',
- },
- ],
- startDate: '2020-05-08T21:26:49.562-06:00',
- },
- {
- duration: 'PT30S',
- reportPayloads: [
- {
- dataQuality: 'Quality Good - Non Specific',
- payloadFloat: 165.46849970752885,
- reportId: 'rep1',
- },
- ],
- startDate: '2020-05-08T21:27:19.594-06:00',
- },
- {
- duration: 'PT30S',
- reportPayloads: [
- {
- dataQuality: 'Quality Good - Non Specific',
- payloadFloat: 162.30118577122087,
- reportId: 'rep1',
- },
- ],
- startDate: '2020-05-08T21:27:49.591-06:00',
- },
- ],
- reportName: 'TELEMETRY_USAGE',
- reportRequestId: '87bbc1d44d903f317758',
- reportSpecifierId: 'TELEMETRY_USAGE',
- startDate: '2020-05-08T21:26:49.562-06:00',
- },
- ],
- requestId: '87bbc1d44d903f317758',
- };
- module.exports = {
- createdReportMin,
- createdReportMax,
- createdReportGenerated1,
- registerReportMin,
- registerReportMax,
- registerReportCa,
- updateReportMin,
- updateReportMax,
- updateReportTelemetryStatus,
- };
|