File tree Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Original file line number Diff line number Diff line change 349349 records : 10
350350 } ,
351351
352- /**
353- * Data Product Temporary Workaround:
354- *
355- * If you want to view real-time product data, you must specify all
356- * product APIDs that you want to see in the below array. This config
357- * is only required for MCWS R3.2, and will not be required for
358- * MCWS R3.3.
359- *
360- * This list can be quickly extracted from apid.xml with the following
361- * python code:
362- *
363- * temporarily disable spellcheck, to be removed in https://github.com/NASA-AMMOS/openmct-mcws/issues/303
364- * cspell:disable
365- * import xml.etree.ElementTree as ET
366- * tree = ET.parse('apid.xml')
367- * apids = [int(a.attrib['number']) for a in tree.getroot() if a.tag == 'apid']
368- * cspell:enable
369- *
370- */
371- realtimeProductAPIDs : [ ] ,
372-
373352 /**
374353 * Plugin Support
375354 * Example configuration:
Original file line number Diff line number Diff line change @@ -40,15 +40,6 @@ class MCWSDataProductStreamProvider extends MCWSStreamProvider {
4040
4141 return super . subscribe ( domainObject , wrappedCallback , options ) ;
4242 }
43-
44- notifyWorker ( key , value ) {
45- if ( key === 'subscribe' && this . options . realtimeProductAPIDs && value . mcwsVersion === 3.2 ) {
46- value . extraFilterTerms = {
47- apid : '(' + this . options . realtimeProductAPIDs . join ( ',' ) + ')'
48- } ;
49- }
50- super . notifyWorker ( key , value ) ;
51- }
5243}
5344
5445export default MCWSDataProductStreamProvider ;
You can’t perform that action at this time.
0 commit comments