diff --git a/config.js b/config.js index 4f5672f..40e1429 100644 --- a/config.js +++ b/config.js @@ -349,27 +349,6 @@ records: 10 }, - /** - * Data Product Temporary Workaround: - * - * If you want to view real-time product data, you must specify all - * product APIDs that you want to see in the below array. This config - * is only required for MCWS R3.2, and will not be required for - * MCWS R3.3. - * - * This list can be quickly extracted from apid.xml with the following - * python code: - * - * temporarily disable spellcheck, to be removed in https://github.com/NASA-AMMOS/openmct-mcws/issues/303 - * cspell:disable - * import xml.etree.ElementTree as ET - * tree = ET.parse('apid.xml') - * apids = [int(a.attrib['number']) for a in tree.getroot() if a.tag == 'apid'] - * cspell:enable - * - */ - realtimeProductAPIDs: [], - /** * Plugin Support * Example configuration: diff --git a/src/realtime/MCWSDataProductStreamProvider.js b/src/realtime/MCWSDataProductStreamProvider.js index 9cd6df7..529ab13 100644 --- a/src/realtime/MCWSDataProductStreamProvider.js +++ b/src/realtime/MCWSDataProductStreamProvider.js @@ -40,15 +40,6 @@ class MCWSDataProductStreamProvider extends MCWSStreamProvider { return super.subscribe(domainObject, wrappedCallback, options); } - - notifyWorker(key, value) { - if (key === 'subscribe' && this.options.realtimeProductAPIDs && value.mcwsVersion === 3.2) { - value.extraFilterTerms = { - apid: '(' + this.options.realtimeProductAPIDs.join(',') + ')' - }; - } - super.notifyWorker(key, value); - } } export default MCWSDataProductStreamProvider;