Pete Richards
a2fce8e56c
[Search] Rewrite elasticsearch provider with prototype
...
Rewrite the elasticsearch provider to use prototypes and clean up the implementation.
Now returns a modelResults object to keep it in line with the general search
provider.
2015-10-16 16:05:31 -07:00
Victor Woeltjen
01045e6ee1
[Persistence] Add local storage indicator
2015-09-11 14:48:17 -07:00
Victor Woeltjen
febb0edede
[Persistence] Add spec for local storage persistence
2015-09-11 14:31:57 -07:00
Victor Woeltjen
048eb20450
[Persistence] Update code style
...
Update code style for local storage based persistence.
2015-09-11 14:05:01 -07:00
Victor Woeltjen
215b4a154b
[Persistence] Move local storage to platform
...
#79
2015-09-11 13:53:47 -07:00
slhale
c81e2dbb4a
Merge branch 'master' of https://github.com/nasa/openmctweb into search
...
Conflicts:
platform/commonUI/general/src/controllers/TreeNodeController.js
platform/persistence/elastic/src/ElasticSearchProvider.js
2015-08-24 13:14:43 -07:00
Pete Richards
1e332da11b
[Docs] ElasticSearch is not Couch
2015-08-24 09:04:03 -07:00
Victor Woeltjen
f6cf4c3215
[Code Style] Fix error in persistence
...
Fix typo in persistence provider for ElasticSearch related
to refactoring to use prototypes, WTD-1482.
2015-08-17 17:00:21 -07:00
Victor Woeltjen
4481c44c4b
[Code Style] Refactor search to use prototypes
...
WTD-1482.
2015-08-17 11:20:23 -07:00
Victor Woeltjen
bf417a14e0
Merge remote-tracking branch 'origin/open-master' into open1482c
...
Merge latest into topic branch for WTD-1482
2015-08-17 11:01:39 -07:00
Victor Woeltjen
f8cb3f464c
[Code Style] Use prototypes in persistence queue
...
WTD-1482
2015-08-14 15:43:37 -07:00
Victor Woeltjen
3e8ea972c2
[Code Style] Use prototypes in persistence bundles
...
WTD-1482
2015-08-14 15:26:24 -07:00
slhale
48693df51f
[Search] Input checks
...
More checks to see if the input is empty
before doing search computations.
2015-08-11 13:52:23 -07:00
slhale
11a45e4db0
[Search] Input checks
...
More checks to see if the input is empty
before doing search computations.
2015-08-11 13:08:58 -07:00
Victor Woeltjen
0b9b936368
[JSDoc] Add missing class doc
...
WTD-1482.
2015-08-07 13:35:07 -07:00
Victor Woeltjen
31eb366e7f
[JSDoc] Add namespace docs
...
WTD-1482.
2015-08-07 12:13:15 -07:00
Victor Woeltjen
c08a460d30
[JSDoc] Add annotations
...
Bulk-add JSDoc annotations, WTD-1482.
2015-08-07 11:44:54 -07:00
slhale
ae763d000c
[Search] Remove ES provider from bundle
...
Removed the ElasticSearch search provider from its
bundle definition, but left its file in.
2015-08-05 12:23:40 -07:00
slhale
15e39e00c2
[Search] Search aggregator return type
...
The search service returns objects containing
searchResult objects.
2015-08-04 13:07:47 -07:00
slhale
5711b2b241
[Search] Fixed file paths
2015-08-04 13:04:52 -07:00
slhale
d9a1b9d530
[Search] Moving files
...
Moved the elasticsearch provider to
platform/persistence/elastic. Then moved
the search aggregator and the generic
provider into a services folder within
the search folder.
2015-08-04 13:03:34 -07:00
slhale
56265c2277
[Search] Search aggregator return type
...
The search service returns objects containing
searchResult objects.
2015-08-04 11:39:09 -07:00
slhale
c869aaf91a
[Search] Fix file paths
2015-08-04 11:10:49 -07:00
slhale
5b0bf0a0ba
[Search] Moving files
...
Moved the elasticsearch provider to
platform/persistence/elastic. Then moved
the generic provider out of its folder.
2015-08-04 11:05:32 -07:00
Victor Woeltjen
6f3d6ec12f
[Drag-Drop] Prevent redundant drops
...
Mark default as prevented and check for prevention of
default when handling mctDrop events (which allow
views to follow up on drop gestures by positioning
objects within themselves) avoiding redundant drops
into embedded views. WTD-1233.
2015-06-25 11:27:58 -07:00
Victor Woeltjen
450bc059e4
Merge branch 'open-master' into open1199
2015-06-04 10:40:34 -07:00
Victor Woeltjen
6ed14ed3a9
[Configuration] Deprioritize default constants
...
Mark ElasticSearch configuration constants as priority=fallback;
these are intended to be specified/overridden on a per-deployment
basis. WTD-1199.
2015-05-20 09:04:48 -07:00
Victor Woeltjen
10863514cb
[Licenses] Add license headers
...
WTD-1051.
2015-05-13 16:43:30 -07:00
Victor Woeltjen
ef322055a5
[Persistence] Update default ElasticSearch path
...
WTD-1033.
2015-03-25 16:43:56 -07:00
Victor Woeltjen
ad3bb355dd
[Persistence] Provide model with error
...
Provide new version of domain objects correctly when revision
errors are encountered, WTD-1033.
2015-03-25 12:37:02 -07:00
Victor Woeltjen
9eeb68ddd0
[Persistence] Show user, modification time
...
Show user name and modification time in dialog when revision-checking
detects modifications. WTD-1033.
2015-03-25 12:19:45 -07:00
Victor Woeltjen
5e20c2199d
[Persistence] Add tests for indicator
...
Add tests for indicator for connection to ElasticSearch persistence,
WTD-1033.
2015-03-25 11:46:40 -07:00
Victor Woeltjen
29584f2a7e
[Persistence] Complete tests for queue
...
Complete tests for platform/persistence/queue, WTD-1033.
2015-03-25 11:36:43 -07:00
Victor Woeltjen
74fecf5271
[Persistence] Test queue
...
Add test cases for persistence queue, WTD-1033.
2015-03-25 11:25:51 -07:00
Victor Woeltjen
39d444d637
[Persistence] Test queue handler
...
Add test cases for handler for persistence queue, WTD-1033.
2015-03-25 11:01:32 -07:00
Victor Woeltjen
962de7e750
[Persistence] Test failure handling
...
Add test cases for handling of Overwrite/Discard choices when
persistence fails due to revision errors. WTD-1033.
2015-03-25 10:10:06 -07:00
Victor Woeltjen
55e50b6fd5
[Persistence] Test ElasticSearch's persistence provider
...
WTD-1033.
2015-03-24 18:11:41 -07:00
Victor Woeltjen
d88a0237c6
[Persistence] Continue adding tests
...
Continue adding test cases for revision checking bundle, WTD-1033.
2015-03-24 17:43:06 -07:00
Victor Woeltjen
b25c9731cf
[Persistence] Add spec for failure dialog
...
WTD-1033.
2015-03-24 17:35:37 -07:00
Victor Woeltjen
c55f9ff092
[Persistence] Add placeholder specs
...
Add empty specs for new scripts introduced to support revision
checking and Overwrite/Discard dialog, WTD-1033.
2015-03-24 16:13:59 -07:00
Victor Woeltjen
015d863d79
[Persistence] Update test suites
...
Update suite declarations to include new scripts implemented for
revision checking for domain object persistence, WTD-1033.
2015-03-24 15:59:03 -07:00
Victor Woeltjen
0090732f71
[Persistence] Handle refresh after edit
...
Correctly handle Discard changes after leaving Edit mode when
conflicts are detected; WTD-1033.
2015-03-24 15:53:27 -07:00
Victor Woeltjen
6b43256afd
[Persistence] Requeue on overwrite
...
Requeue (instead of trying to access persistence again) on overwrite
WTD-1033.
2015-03-24 14:09:51 -07:00
Victor Woeltjen
2709fde9a3
[Persistence] Resolve correct promise from queue
...
Make sure that the correct promise is resolved when a persistence
queue flush completes; some operations, like Save in Edit mode, wait
on this promise, so it needs to resolve when persistence of that
group is completed. WTD-1033.
2015-03-24 12:19:36 -07:00
Victor Woeltjen
eb869b7213
[Persistence] Populate persistence error dialog
...
Show summary information about objects which could not be saved in
the dialog shown for revision-checking errors, WTD-1033.
2015-03-24 10:13:07 -07:00
Victor Woeltjen
f1fd73ad38
[Persistence] Change Cancel to Discard
...
Instead of Overwrite/Cancel, show options Overwrite/Discard, to
reflect actual user choices at this point. WTD-1033.
2015-03-24 10:05:55 -07:00
Victor Woeltjen
f9b8b17ff6
[Persistence] Break promise cycle
...
Break cyclical dependency in Promises that was causing persistence
to fall into an unresolvable state after overwrite, WTD-1033.
2015-03-20 16:07:54 -07:00
Victor Woeltjen
b604af2aa7
[Persistence] Tweak logic
...
Tweak approach for revision conflict detection; particularly,
use .reject instead of throw to avoid logging of the failure
unnecessarily. WTD-1033.
2015-03-20 15:53:40 -07:00
Victor Woeltjen
d8e1f69b37
[Persistence] Rewrite failure handling
...
Rewrite the overwrite behavior (for Overwrite/Cancel of rejected
persisted attempts) to utilize simpler API. WTD-1033.
2015-03-20 15:28:15 -07:00
Victor Woeltjen
1174f746f7
[Persistence] Handle overwrite/cancel
...
Handle Overwrite/Cancel more correctly when revision conflicts
are detected. WTD-1033.
2015-03-20 14:52:25 -07:00
Victor Woeltjen
513c06a81b
[Persistence] Show persistence failure dialog
...
WTD-1033.
2015-03-20 14:23:51 -07:00
Victor Woeltjen
acf058849f
[Persistence] Begin integrating persistence queue
...
Begin integrating persistence queue, tweaking for issues
detected through minimal use. WTD-1033.
2015-03-20 14:06:11 -07:00
Victor Woeltjen
0362d3479c
[Persistence] Handle cancelled dialog
...
Handle cancellation in the Overwrite/Cancel dialog, WTD-1033.
2015-03-20 13:43:56 -07:00
Victor Woeltjen
42e7862174
[Persistence] Reject promises for failed updates
...
Reject promises for failed update attempts, WTD-1033.
2015-03-20 13:40:53 -07:00
Victor Woeltjen
e5c5caf26e
[Persistence] Add bundle definition
...
Add bundle definition for the persistence queue which will
provide Overwrite/Cancel options, WTD-1033.
2015-03-20 13:20:14 -07:00
Victor Woeltjen
7b6ecd7bd7
[Persistence] Rename bundle
...
Rename bundle for queued persistence. WTD-1033.
2015-03-20 13:14:14 -07:00
Victor Woeltjen
62e88abbd2
[Persistence] Add capability decorator
...
Add capability decorator such that persistence queuing functionality
can be added on to the regular persistence capability of a domain
object. WTD-1033.
2015-03-20 13:13:02 -07:00
Victor Woeltjen
f0549db4fa
[Persistence] Refactor persistence queue
...
Refactor/rename persistence queue to handle dependency injection
in a single place. WTD-1033.
2015-03-20 13:06:49 -07:00
Victor Woeltjen
356bd2de88
[Persistence] Add comments
...
Add clarifying comments to persistence queue & failure handler.
WTD-1033.
2015-03-20 12:56:17 -07:00
Victor Woeltjen
717b9b1b92
[Persistence] Add refresh
...
Continue adding behavior for persistence failures; add a refresh method
to the persistence capability to support this. WTD-1033.
2015-03-20 12:40:58 -07:00
Victor Woeltjen
8ec65db93d
[Persistence] Intermediary commit
...
Intermediary commit; continue implementing persistence queue for
WTD-1033.
2015-03-20 11:39:46 -07:00
Victor Woeltjen
75cd78d3ca
[Persistence] Begin adding persistence queue
...
Begin adding persistence queue, which will consolidate persistence
calls in order to allow a single Overwrite/Cancel dialog to be
shown in the event that persist attempts are rejected. WTD-1033.
2015-03-20 10:56:11 -07:00
Victor Woeltjen
f2f9b8bbee
[Persistence] Update Elastic persistence
...
Update ElasticSearch persistence provider to use ElasticSearch's
API, WTD-1033.
2015-03-19 17:12:56 -07:00
Victor Woeltjen
37310443e6
[Persistence] Copy CouchDB adapter
...
Copy CouchDB adapter to use as a basis for an adapter to
ElasticSearch, WTD-1033.
2015-03-19 16:48:04 -07:00
Victor Woeltjen
3cb0f3fa7f
[Tests] Add tests for persistence cache
...
Add test cases for persistence cache to improve overall
test coverage, WTD-672.
2015-02-12 16:34:19 -08:00
Victor Woeltjen
301d46e60b
[Persistence] Add test case
...
Add test case for cache to ensure the same object
instance is given for multiple read calls, as this addresses
WTD-791.
2015-02-03 15:51:11 -08:00
Victor Woeltjen
014fca0494
[Persistence] Reuse instances in cache
...
Reuse/update a single object instance in the persistence
cache, such that updates can be trivially reflected
everywhere. WTD-791.
2015-02-03 15:47:11 -08:00
Victor Woeltjen
2a11204ee6
[Persistence] Don't clone in cache
...
Don't clone objects in the persistence cache; instead,
ensure that one instance per object is used/given
wherever possible. Goal is to keep object state in
sync between visible instances for WTD-791 et al.
2015-02-03 15:47:02 -08:00
Victor Woeltjen
173c3372dc
[Persistence] Remove cache from bundle definition
...
Remove reference to persistence cache from the Couch adapter's
bundle definition; this has been moved into a separate bundle
to support reuse with the WARP Server persistence adapter,
WTD-702.
2015-01-20 13:02:15 -08:00
Victor Woeltjen
d109c7d8bc
[Persistence] Separate out cache
...
Move cache sources into their own bundle, for reuse with other
persistence adapters; specifically supports the persistence
adapter to the WARP Server, which is non-Couch but which will
want to use this cache. WTD-702.
2015-01-20 12:58:55 -08:00
Victor Woeltjen
960a7fcb7c
[Persistence] Update README files
...
Update README files to document the reorganization of persistence
sources into separate bundles for the Couch adapter and for the
persistence cache, in support of reusing the latter with a
different persistence adapter, WTD-702.
2015-01-20 12:14:54 -08:00
Victor Woeltjen
9e981d2579
[Persistence] Move persistence sources
...
Move persistence sources into a deeper bundle in preparation for
splitting of persistence into two bundles - one specific to the
Couch adapter, and one for persistence caching generally. This
supports WTD-702, the WARP persistence adapter, which will not
use Couch for persistence but which will want to use the platform-
provided persistence cache.
2015-01-20 12:12:17 -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
4a572decf3
[Indicators] Fill in specs
...
Fill in specs to ensure code coverage for scripts introduced
to support indicators as a category of extension. WTD-608.
2014-12-16 14:06:19 -08:00
Victor Woeltjen
8ce693af0a
[Indicators] Add skeleton specs
...
Add skeleton specs for the bottom bar controller (introduced
to handle display of indicators introduced as extensions)
and the Couch indicator (introduced to exercise the above,
and to report connection status relative to the Couch
database.) WTD-608.
2014-12-16 13:47:25 -08:00
Victor Woeltjen
ff8572f055
[Indicators] Add tooltip
...
Add tooltips to indicators, using a description field
from the provided indicator. WTD-608.
2014-12-16 13:43:51 -08:00
Victor Woeltjen
5c71491549
[Indicators] Add JSDoc to CouchIndicator
...
Add in-line documentation to the CouchDB status indicator
added to exercise/demonstrate support of the indicators
category-of-extension, WTD-608.
2014-12-16 13:36:40 -08:00
Victor Woeltjen
c1ea620341
[Indicators] Implement CouchDB indicator
...
Initial implementation of an indicator which reflects
current connection to CouchDB. WTD-608.
2014-12-16 13:22:46 -08:00
Victor Woeltjen
8cfcd2cd15
[Indicators] Begin adding Couch indicator
...
Begin adding indicator to display connection status for
CouchDB. WTD-608.
2014-12-15 10:37:16 -08:00
Victor Woeltjen
a6fc9badfe
[Persistence] Hide dangling underscores
...
Hide dangling underscores; JSLint considers these a problem
and the command line build fails as a consequence when they
are present directly in the code, but CouchDB provides these
so we cannot avoid them entirely. So, hide them behind
variables and use []-style lookup.
Concludes transition work for the CouchDB persistence adapter,
WTD-537.
2014-12-03 08:59:40 -08:00
Victor Woeltjen
9b47e47e93
[Persistence] Add JSDoc
...
Fill in JSDoc for the CouchDB adapter which provides
the ability to persist domain object models. Part of
ongoing transition of the platform/persistence bundle,
WTD-537.
2014-12-02 18:06:49 -08:00
Victor Woeltjen
c303d29768
[Persistence] Complete specs for CouchDB adapter
...
Complete test coverage for CouchDB adapter, WTD-537.
2014-12-02 17:53:55 -08:00
Victor Woeltjen
bb719a137a
[Persistence] Spec for CouchDocument
...
Fill in spec for CouchDocument, which wraps domain object
models with suitable metadata for persistence. WTD-537.
2014-12-02 17:31:30 -08:00
Victor Woeltjen
aef6f44cb5
[Persistence] Add empty specs
...
Add empty specs for CouchDB adapter. WTD-537.
2014-12-02 17:26:16 -08:00
Victor Woeltjen
4646896ac8
[Persistence] Separate out CouchDocument
...
Separate CouchDocument (used to wrap a domain object model
with metadata suitable for persistence to CouchDB) into
its own script, to simplify testing and maintenance.
Ongoing transition of Couch persistence, WTD-537.
2014-12-02 17:19:30 -08:00
Victor Woeltjen
2ce5ebcf20
[Persistence] Initial import of CouchDB adapter
...
Initial import of CouchDB adapter from the pre-Angular
OpenMCT. Revise to use Angular services ().
WTD-537.
2014-12-02 17:08:58 -08:00
Victor Woeltjen
42bc4599b8
[Structure] Add platform structure
...
Add general structure for Open MCT Web, including
top-level and second-level directory structure.
README files are included to explain the role of
each directory; markdown is used to allow for
richer display when viewer support is present.
WTD-519.
2014-10-27 18:18:50 -07:00