Commit Graph

2121 Commits

Author SHA1 Message Date
Victor Woeltjen
b98758daf8 [Persistence] Fix bug in id filtering
Fix bug when filtering out namespaced identifiers when reading
domain object models from persistence; filter operation was
breaking the logic of pairing ids back to loaded models by
index. Corrects behavior introduced to reduce latency when
loading the telemetry hierarchy, part of WARP Server
integration, WTD-644.
2015-01-13 08:44:49 -08:00
Victor Woeltjen
11f6175592 [Persistence] Add in-line documentation
Add clarifying comments to reflect changes to
procedure used for loading models from persistence
introduced in support of reducing latency in loading
domain objects introduced by the WARP Server adapter,
WTD-644.
2015-01-12 09:32:25 -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
de57628b01 Merge branch 'open-master' into open644
Update with changes from the master branch to ensure
changes for WTD-644 are compatible with these.
2015-01-12 08:33:03 -08:00
Victor Woeltjen
7ed62babe3 [Browse] Simplify view switcher event ordering
Don't pass a domainObject instance into mct-representation
until a view for that specific domainObject is available;
this avoids ordering issues where a new domainObject is
passed briefly to controllers in represented views before
a  event is issued, which can result in undesired
behavior for views that need to manage resources (such as
the subscriptions used to support telemetry retrieved
from the WARP Server, WTD-644.
2015-01-12 08:30:21 -08:00
Victor Woeltjen
d916111060 [Tree] Restore wait spinner
Restore wait spinner in tree (missed during Angular transition);
this feedback is important when waiting for the contents of
the Packets node (WTD-644) to load.
2015-01-09 17:40:46 -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
782edfc3b7 [WARP Telemetry] Work around platform issues
Work around issues in platform which manifest as bugs or
latency issues when attempting to visualize telemetry
from the WARP Server. Specifically:

* Handle the possibility that there is no matching
  representation for an object from EditRepresenter.
* Don't attempt to look up colon-separated domain object
  identifiers from persistence. This is a workaround to
  avoid latency issues from excessive persistence calls;
  filed WTD-659 to improve this solution.

Changes made to support resolution of WTD-644.
2015-01-09 17:25:55 -08:00
Victor Woeltjen
f9a4ac548c [Views] Add tests for type-view restrictions
Add tests for type-view restrictions added to support
stricter coupling of Packet objects to Autoflow Tabular View,
WTD-644.
2015-01-09 17:25:43 -08:00
Victor Woeltjen
65a0a92133 [Persistence] Add tests, in-line doc to persistence cache
Add tests and in-line documentation for the caching persistence
decorator, transitioned to support performance of taxonomy provided
by the WARP Server Adapter, WTD-644.
2015-01-09 17:25:34 -08:00
Victor Woeltjen
75a0cbe43d [Persistence] Add persistence cache
Add a decorator to handle the caching of objects stored to
and/or read from persistence (bring over from pre-Angular
branch.) Supports the WARP Telemetry Adapter; the absence
of such a cache has been observed to result in significant
latency in instantiating autoflow tabular views for packets.
WTD-644.

Also, include an empty test file to ensure that the added
decorator is included in code coverage estimation (and to
provide a location for tests to be written later.)
2015-01-09 17:25:25 -08:00
Victor Woeltjen
22d2be8942 [Views] Allow types to restrict views
Allow type definitions to restrict views; this specifically
supports the restriction of autoflow tabular views to packets,
and the omission of scrolling/plot views as applicable to
packets. WTD-644.
2015-01-09 17:23:56 -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
731c2b6c21 [Framework] Document extension ordering rules
Add a description of priority-ordering rules (implemented for WTD-590)
to framework documentation.
2015-01-07 17:18:39 -08:00
Victor Woeltjen
64ede1e917 [Framework] Add/update tests for sorting
Add/update framework tests to include the sorting of extensions
by priority, WTD-590.
2015-01-07 17:06:09 -08:00
Victor Woeltjen
9d8885d48f [Framework] Add extension sorter
Add priority ordering to loaded extensions in each category;
this allows control over the resulting order of extensions
acquired and used within the application. WTD-590
2015-01-07 16:39:57 -08:00
bwyu
2bcb6a1a6e Merge remote-tracking branch 'origin/wtd628' into open-master 2015-01-06 13:51:19 -08:00
Victor Woeltjen
13f552ae81 [Views] Warn if view omits key
Warn if a view definition does not include a key,
and prune it from the list of views. This avoids
an underlying cause of WTD-628, which is fixed for
plots specifically in the previous commit but could
recur if other views were to omit keys.
2015-01-06 10:14:38 -08:00
Victor Woeltjen
0ef6c59643 [Plot] Add a key to view definition
Add a value for key to the definition of Plot view;
this avoids defaulting to Plot as a view for all
objects, WTD-628.
2015-01-06 10:03:24 -08:00
bwyu
f8d66dff12 Merge remote-tracking branch 'origin/wtd568' into open-master 2015-01-05 17:49:29 -08:00
bwyu
9981543156 Merge remote-tracking branch 'origin/open614d' into open-master 2015-01-05 11:14:07 -08:00
Victor Woeltjen
cff05adfaa [Framework] Update documentation
Update documentation to include the library-exposing
feature introduced by WTD-568
2015-01-05 09:42:29 -08:00
Victor Woeltjen
32ab324eee [Framework] Update test runner
Update test runner to provide analogous require configuration
behavior, such that scripts which utilize libraries exposed
from bundles via bundle.json can be unit tested appropriately.
Necessary after capabilities added by WTD-568.
2015-01-02 18:18:03 -08:00
Victor Woeltjen
95e299622e [Framework] Expose angular
Expose angular as a dependency which can be included
from AMD-style modules, utilizing the extensions to
the framework layer added to support exposing libraries
from bundles. WTD-568.
2015-01-02 18:04:33 -08:00
Victor Woeltjen
baca4ab4e6 [Framework] Complete RequireJS configurator tests
Complete tests for the RequireJS configurator, used to
expose libraries beyond bundle boundaries (and, related,
to provide shims for non-AMD libraries.) WTD-568.
2015-01-02 17:59:45 -08:00
Victor Woeltjen
96aaea5e58 [Framework] Add RequireJS configurator
Add a configuration step (as part of the resolve phase)
to the framework layer, where bundle-defined paths and shims
are passed to RequireJS configuration. This permits both
the use of non-AMD modules and the exposure of libraries
across bundles. WTD-568.
2015-01-02 17:46:50 -08:00
Charles Hacskaylo
d281bd52de Fixing inadvertant breakage of super-menu
Fixing inadvertant breakage of super-menu
from changes to .pane classes related to split-pane CSS changes
WTD-618
2015-01-02 14:12:22 -08:00
Charles Hacskaylo
f820cd47b6 [Bug] CSS and markup mods
CSS markup and mods to fix issues related to bug WTD-618;
fix is complete and verified in Chrome
2015-01-02 14:11:29 -08:00
Victor Woeltjen
d6f6fa6b6c [Autoflow] Bring in example taxonomy
Bring in example taxonomy and gitignore changes from
topic branch for WTD-614 into open-source-friendly
branch, in preparation to merge.
2014-12-31 13:43:47 -08:00
Victor Woeltjen
ad4c5849c1 [Autoflow] Remove obsolete font file
Remove obsolete font file, unintentionally restored while
cherry-picking from autoflow topic branch. WTD-614.
2014-12-31 13:41:56 -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
b51d5762d8 [Common UI] Add JSDoc
Add JSDoc for GetterSetterController, which was added to
support the input filtering control used in autoflow
tabular views, WTD-614.
2014-12-31 13:40:10 -08:00
Victor Woeltjen
0976374e1d [Common UI] Fill in new specs
Complete test coverage for new scripts added to bundle
platform/commonUI/general in suport of autoflow
tabular views, WTD-614. Specifically, these provide a
directive to watch element sizes, and a controller to
help as an intermediary between getter-setter style
ngModels, and plain assignable ones.
2014-12-31 13:40:03 -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
dd1b8f7c2f [Common UI] Add skeleton specs
Add empty test scripts for new scripts introduced to
the platform/commonUI/general bundle in support of
the autoflow tabular view, WTD-614.
2014-12-31 13:39:39 -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
54c075dc88 [Common UI] Reorganize general UI tests
Reorganize folder strucutre for tests in bundle
platform/commonUI/general; source folder structure
has been modified to accommodate additional classes
added to support autoflow tabular views, WTD-614,
so test folder needs to be reorganized accordingly
2014-12-31 13:38:54 -08:00
Victor Woeltjen
112622ab9f [Common UI] Reorganize general UI bundle
Reorganize sources for bundle platform/commonUI/general;
number of classes here has grown as a consequence of
additions for WTD-614 and so an additional layer of
organization is helpful.

Conflicts:
	platform/commonUI/general/bundle.json
	platform/commonUI/general/src/directives/MCTResize.js
2014-12-31 13:38:26 -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
3251be2d1c [Autoflow] Add getter-setter controller
Add a utility controller for interacting with
getter-setter style ngModels (similar to ng-model-options
with getterSetter: true, but support for that is not
present in the current version of Angular.) Specifically,
this is used to support the input filter control, which
in turn is used within the autoflow tabular view. WTD-614.
2014-12-31 13:37:28 -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
7db5c0692b [Autoflow] Add SCSS files
Merge in SCSS files and platform markup which supports
autoflow tabular views for WTD-611 into the open-source-friendly
master branch.
2014-12-31 10:43:01 -08:00
Victor Woeltjen
5414c4c2d0 [Telemetry] Update scrolling list specs
Update specs for columns in scrolling list view to reflect
that the formatting of domain/range values for display
has now been moved into a reusable injectable service for
WTD-599.
2014-12-24 12:22:55 -08:00
Victor Woeltjen
78b636dafe [Telemetry] Update plot specs
Update plot specs to reflect refactoring out of formatter
for telemetry values, WTD-599.
2014-12-24 12:17:05 -08:00