Skip to content

Commit 3943cba

Browse files
committed
remove from config and remove usage
1 parent 7b13eb2 commit 3943cba

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

config.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -287,24 +287,6 @@
287287
records: 10
288288
},
289289

290-
/**
291-
* Data Product Temporary Workaround:
292-
*
293-
* If you want to view real-time product data, you must specify all
294-
* product APIDs that you want to see in the below array. This config
295-
* is only required for MCWS R3.2, and will not be required for
296-
* MCWS R3.3.
297-
*
298-
* This list can be quickly extracted from apid.xml with the following
299-
* python code:
300-
*
301-
* import xml.etree.ElementTree as ET
302-
* tree = ET.parse('apid.xml')
303-
* apids = [int(a.attrib['number']) for a in tree.getroot() if a.tag == 'apid']
304-
*
305-
*/
306-
realtimeProductAPIDs: [],
307-
308290
/**
309291
* Plugin Support
310292
* Example configuration:

src/realtime/MCWSDataProductStreamProvider.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,5 @@ define(['./MCWSStreamProvider'], function (MCWSStreamProvider) {
5555
);
5656
};
5757

58-
MCWSDataProductStreamProvider.prototype.notifyWorker = function (key, value) {
59-
if (key === 'subscribe' && this.options.realtimeProductAPIDs && value.mcwsVersion === 3.2) {
60-
value.extraFilterTerms = {
61-
apid: '(' + this.options.realtimeProductAPIDs.join(',') + ')'
62-
};
63-
}
64-
MCWSStreamProvider.prototype.notifyWorker.call(this, key, value);
65-
};
66-
6758
return MCWSDataProductStreamProvider;
6859
});

0 commit comments

Comments
 (0)