Commit Graph

135 Commits

Author SHA1 Message Date
bwyu
2bbe845f18 Merge remote-tracking branch 'origin/open812' into open-master 2015-02-09 14:29:29 -08:00
bwyu
61bb85df58 Merge remote-tracking branch 'origin/open751' into open-master 2015-02-06 18:08:12 -08:00
Victor Woeltjen
86765e19a3 [Telemetry] Fix moment export
Fix bundle configuration for platform/telemetry such
that moment.min.js is exposed correctly as an available
dependency for AMD modules. WTD-812.
2015-02-03 16:11:48 -08:00
Victor Woeltjen
e6f1328d9d [Plot] Update specs
Update specs with minor changes related to using
telemetrySubscriber to populate plot with streaming
data, WTD-751 and WTD-784.
2015-02-02 15:44:36 -08:00
Victor Woeltjen
590f4caa97 [Telemetry] Implement subscription pools
Implement data structures which support lossless/lossy
behaviors for telemetry subscriptions (that is, allow
users of the telemetrySubscriber to decide whether or not
they are willing to drop updates in favor of only being
notified with the latest available values.) WTD-784.
2015-01-30 15:36:50 -08:00
Victor Woeltjen
acf4261a08 [Telemetry] Add data structure specs
Add specs for data structures which will support resolution
of WTD-784 by retaining all data not yet received by callbacks
(instead of just the very latest) such that plots can ensure
they do not miss streaming data.
2015-01-30 15:36:43 -08:00
Victor Woeltjen
01d66bbf93 [Telemetry] Add test case for lossless subscription
Add a test case for subscriptions which should be handled
losslessly (that is, which should notify subscribers once
per data event, not once per execution cycle.) This
test case reflects the underlying cause for WTD-784.
2015-01-30 15:36:35 -08:00
Victor Woeltjen
4fb750c0e0 [Plot] Update/suppress specs
Update specs and suppress failures; intermediate commit
for updates to plot for WTD-751.
2015-01-29 12:34:58 -08:00
Victor Woeltjen
b615a3c888 [Plot] Wire in updater
Wire in updater for use in plots (to cache values at
the plot level, allowing removal of a global cache to
reduce memory consumption for WTD-751.)
2015-01-29 09:51:18 -08:00
Victor Woeltjen
cab1f72579 [Licenses] Add license information
Add license information for included software components,
to populate the Licenses page. WTD-669.
2015-01-27 15:37:47 -08:00
Victor Woeltjen
2960d4cdc2 [Fixed Position] All subscription callback to be undefined
Allow callback provided when subscribing to telemetry using
telemetrySubscriber to be omitted; this permits usage of
the resulting subscription more directly from controllers,
such as for fixed position view, WTD-615.
2015-01-15 19:07:49 -08:00
Victor Woeltjen
63990b5e13 [Telemetry] Update specs for coverage
Cover code added to TelemetryController to handle subscriptions
to streaming telemetry, added to support WTD-644, connection
to the WARP Server.
2015-01-12 08:47:56 -08:00
Victor Woeltjen
12c4863feb [Telemetry] Fix failing specs
Fix failing specs related to usage of subscriptions in the
TelemetryController, introduced for WTD-644.
2015-01-12 08:43:29 -08:00
Victor Woeltjen
e3851c4e9c [Telemetry] Subscribe from telemetry controller
Initiate subscriptions from telemetry controller. Allows
plotting of streaming data from the WARP Server, WTD-644.
2015-01-09 17:26:03 -08:00
Victor Woeltjen
3c37242fda [Telemetry] Don't format non-numeric values
Don't try to format non-numeric values; rather, just echo them back
directly. This is to allow simple printing of strings when received
on a telemetry subscription. Performed in the context of WTD-644
(since the WARP Server returns many such strings.)
2015-01-09 17:23:47 -08:00
Victor Woeltjen
d4fd6824b6 [Telemetry] Expose moment
Expose the moment library for time/date operations.
For use in parsing WARP server messages (WTD-644.)
2015-01-09 17:23:38 -08:00
Victor Woeltjen
cd6e2ff46d [Telemetry] Add JSDoc
Add in-line documentation to scripts and methods that
were changed/introduced to support telemetry subscriptions,
which in turn were introduced to support autoflow
tabular views, WTD-614.
2014-12-31 13:40:16 -08:00
Victor Woeltjen
0082b99292 [Telemetry] Fill in new specs
Complete test coverage for new scripts added to bundle
platform/telemetry in support of autoflow tabular views,
WTD-614. Specifically, these implement a telemetrySubscriber
service which can be used to watch for updates to telemetry
values associated with a specific domain object.
2014-12-31 13:39:55 -08:00
Victor Woeltjen
f7e3c9479b [Telemetry] Add skeleton specs
Add empty test scripts for new scripts introduced to
the platform/telemetry bundle in support of
the autoflow tabular view, WTD-614.
2014-12-31 13:39:47 -08:00
Victor Woeltjen
8dd255a06e [Telemetry] Update specs
Update telemetry bundle specs to account for subscription
functionality added to support autoflow tabular views,
WTD-614.
2014-12-31 13:39:23 -08:00
Victor Woeltjen
cc5cfd95a7 [Telemetry] Fix failing spec
Update specs to provide suitable mocks after changes to
TelemetryCapability which support autoflow tabular views,
WTD-614.
2014-12-31 13:39:03 -08:00
Victor Woeltjen
8dfee64dc8 [Telemetry] Add subscriber service
Add a subscriber service to handle subscribing to
whole sets of telemetry elements via delegation;
this exposes TelemetrySubscription via a service
which can be retrieved via dependency injection.
Supports the use of this variety of subscription
for autoflow tabular views, WTD-614.
2014-12-31 13:37:40 -08:00
Victor Woeltjen
becc858349 [Telemetry] Stop refreshing on destroy
Stop polling for updates to telemetry data from
TelemetryController when scope is destroyed.
Addresses some performance issues observed in
WTD-614, autoflow tabular views (although this
view doesn't use TelemetryController directly,
the continuing of this polling in the background
can slow down updates when it is showing.)
2014-12-31 13:37:20 -08:00
Victor Woeltjen
34bb2ff51a [Telemetry] Add TelemetrySubscriber
Add TelemetrySubscriber, a helper class to be used
for supporting real-time telemetry. WTD-614.
2014-12-31 13:37:11 -08:00
Victor Woeltjen
8c55a66320 [Telemetry] Add telemetry subscriptions
Add ability to subscribe/unsubscribe to streaming
telemetry updates. This may be more performant than
polling in some circumstances, and appears necessary
for good performance of autoflow tabular views,
WTD-614.
2014-12-31 13:37:03 -08:00
Victor Woeltjen
f63038a83f [Telemetry] Move formatter spec
Move spec for formatting of telemetry values from the
plot bundle to the telemetry bundle, to reflect its
exposure as a reusable service exposed by that bundle.
WTD-599.
2014-12-24 11:39:29 -08:00
Victor Woeltjen
74f2af1011 [Telemetry] Expose telemetryFormatter
Expose telemetryFormatter as a service; additionally, fix
some structural issues to make sure this is passed around
as needed among plot components. WTD-599.
2014-12-24 11:14:38 -08:00
Victor Woeltjen
b080f90f64 [Telemetry] Move formatter implementation
Move implementation of formatter used for display
of domain values out of plot, and into the telemetry
bundle, from which it can be exposed as a general-use
service. WTD-599.
2014-12-24 10:34:43 -08:00
Victor Woeltjen
453b853a75 [Telemetry] Add skeleton formatter
Add skeleton for implementation of a formatter for
telemetry data, including reorganizing libraries
such that moment.min.js only occurs once. WTD-599.
2014-12-24 10:28:58 -08:00
Victor Woeltjen
4173dd748b [Telemetry] Keep telemetryObjects reference
Return the same value from getTelemetryObjects if thes e
haven't changed, to permit this return value to be
watched directly without appearing unstable. Supports
the addition of stacked plot controls, which need
to be conditioned on the number of telemetry objects
present. WTD-625.
2014-12-10 18:28:38 -08:00
Victor Woeltjen
55c2d15cdc [Telemetry] Add JSDoc
Add JSDoc and in-line comments to scripts in the
platform/telemetry bundle, for WTD-575.
2014-11-28 20:59:41 -08:00
Victor Woeltjen
f8a0544435 [Telemetry] Add specs
Add specs for scripts in bundle platform/telemetry,
for WTD-575.
2014-11-28 20:29:30 -08:00
Victor Woeltjen
4fcb59e181 [Telemetry] Remove unused scripts
Remove unused scripts from the platform/telemetry
bundle in preparation for integration. WTD-575.
2014-11-28 18:41:38 -08:00
Victor Woeltjen
052f07f725 [Telemetry] Code style
Fix code style, remove Promise from globals where
unused. Part of ongoing preparation of platform/telemetry
bundle for integration, WTD-575.
2014-11-28 18:39:19 -08:00
Victor Woeltjen
51de44a3e5 [Telemetry] Bring in telemetry bundle
Bring in initial state for the platform/telemetry
bundle, which provides general-purpose telemetry
conventions and infrastructure to support creating
domain objects which expose telemetry data.
WTD-575.
2014-11-28 16:06:54 -08:00