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