Henry
bd1c3cb7da
All test cases passing + added test cases for copy
2015-11-04 20:26:23 -08:00
Henry
cbd21212d1
Original tests that are still valid are passing
2015-11-04 20:26:23 -08:00
Henry
5cd458a733
Updating tests
2015-11-04 20:26:23 -08:00
Andrew Henry
2f90a89065
Fixed more failing tests
2015-11-04 20:26:23 -08:00
Henry
4312857fd4
Fixed failing tests
2015-11-04 20:26:22 -08:00
Andrew Henry
6c4c53dde7
Debugging test failures
2015-11-04 20:26:17 -08:00
Andrew Henry
4eaeea1e14
Fixed bugs in copy
2015-10-29 21:39:50 -07:00
Henry
f44819a7fe
Improvements to copy notifications
2015-10-29 17:40:17 -07:00
Henry
05722d9b11
Added error handling
2015-10-29 17:15:20 -07:00
Henry
92a3fa3e4c
Added error handling, and refactored CopyAction slightly
2015-10-29 16:40:51 -07:00
Andrew Henry
e37fa75289
Added basic notifications on copy
2015-10-28 17:16:53 -07:00
Andrew Henry
ee314ab387
Added notifications
2015-10-28 17:05:05 -07:00
Henry
6d08c81b3b
First iteration of duplication complete
2015-10-20 12:18:30 -07:00
Andrew Henry
89e763b515
Incremental commit of Duplication
2015-10-20 09:25:31 -07:00
Henry
2a1388772a
Incremental commit of duplication
2015-10-19 17:32:43 -07:00
Andrew Henry
fa3821b50f
Update of CopyService with new copy algorithm (incomplete)
2015-10-18 20:58:17 -07:00
Pete Richards
70bc17c79f
Merge remote-tracking branch 'github-open/open97' into open-master
2015-09-23 13:44:48 -07:00
Victor Woeltjen
fa60d62039
[Entanglement] Simplify test case
...
...per review feedback from nasa/openmctweb#98
2015-09-23 12:49:04 -07:00
Victor Woeltjen
082122ddec
[Entanglement] Move policyService.allow.andReturn
...
...to locations where the specified return value
can be more closely correlated to the relevant
test cases. nasa/openmctweb#98
2015-09-23 12:46:23 -07:00
Victor Woeltjen
6dbccd5000
[Entanglement] Update test cases around error-throwing
...
...per code review feedback, nasa/openmctweb#97
2015-09-23 12:43:03 -07:00
Victor Woeltjen
97892869ae
[Entanglement] Move composition check up
...
Move check for composition up higher in the sequence of
if-blocks in the validation step of linking; remove
fallback to [] for undefined composition, which is no
longer necessary as a consequence of this.
nasa/openmctweb#98
2015-09-22 15:53:27 -07:00
Victor Woeltjen
8db334e45b
Revert "[LinkService] Reorder/refactor validation"
...
This reverts commit c17269ba8b
.
2015-09-22 15:51:15 -07:00
Victor Woeltjen
4743833f7c
[Entanglement] Verify revalidation
...
Verify that move/copy/link revalidate when performed and
throw errors when moving/copying/linking would be invalid.
nasa/openmctweb#98
2015-09-22 15:49:22 -07:00
Victor Woeltjen
6996883b85
[Entanglement] Update specs
...
Update specs for move/copy/link services to account
for re-validation at time an action is performed.
nasa/openmctweb#98
2015-09-22 15:42:39 -07:00
Victor Woeltjen
119403e71c
[Entanglement] Throw errors if validation is skipped
...
...per feedback from nasa/openmctweb#98
2015-09-22 14:39:15 -07:00
Victor Woeltjen
ff24f06475
[Entanglement] Add JSDoc
...
...per feedback from nasa/openmctweb#98
2015-09-22 14:10:06 -07:00
Victor Woeltjen
597b18af1c
[LinkService] Amend test cases
...
Remove redundant test case; modify composition-checking
test case to expose correct capability information.
In response to feedback from nasa/openmctweb#98
2015-09-22 14:07:46 -07:00
Victor Woeltjen
b4a2bfd727
[LinkService] Change variable name
...
...based on feedback from nasa/openmctweb#98
2015-09-22 13:50:10 -07:00
Victor Woeltjen
55362f6b26
[LinkService] Clarify comment
...
Clarify comment, based on feedback from nasa/openmctweb#98
2015-09-22 13:48:11 -07:00
Victor Woeltjen
c17269ba8b
[LinkService] Reorder/refactor validation
...
Reoder validation to consider the composition capability
first; refactor to express as a single expression to clarify
validation logic (explicitly say 'and' instead of implying
it with control flow.)
Based on feedback from nasa/openmctweb#98
2015-09-22 13:37:56 -07:00
Victor Woeltjen
411f0d904d
[Entanglement] Test LocatingObjectDecorator
2015-09-17 14:45:05 -07:00
Victor Woeltjen
c4aed57165
[Entanglement] Refactor LocatingObjectDecorator
...
Rearrange code in LocatingObjectDecorator to make it easier to
follow; add comments.
2015-09-17 13:51:50 -07:00
Victor Woeltjen
88b8528aaf
[Entanglement] Log a warning on cycle detection
...
nasa/openmctweb#84
2015-09-17 13:42:08 -07:00
Victor Woeltjen
d1c0d81120
[Entanglement] Contextualize objects by location
...
Add a context capability to domain objects based
on their location at the time they are loaded.
nasa/openmctweb#84
2015-09-17 13:37:57 -07:00
Victor Woeltjen
b2649de649
[Composition] Update specs
...
Update specs for changes to the return value of
composition.add, nasa/openmctweb#97
2015-09-02 11:45:52 -07:00
Victor Woeltjen
b1238b0c96
[Composition] Return newly-contextualized object
...
After adding to composition, return the newly-contextualized
object; this is regularly used by other services.
2015-09-02 11:37:47 -07:00
Victor Woeltjen
8759fdbd95
[Composition] Update specs
...
Update specs to reflect usage of the add method in
the composition capability.
2015-09-02 09:37:26 -07:00
Victor Woeltjen
d3d94d67ea
[Composition] Use composition.add from LinkService
2015-09-02 09:16:58 -07:00
Victor Woeltjen
b39753d0a6
[Entanglement] Separate out location
...
Separate out location property from the CreationService,
instead handle in the entanglement bundle; this is
consistent with changes for identity management (attaching
a creator to newly-created domain object models).
for nasa/openmctweb#92
2015-09-01 10:57:56 -07:00
Victor Woeltjen
f27e4d6e06
Merge branch 'open-master' into open1482c
...
Merge in latest in preparation to merge; WTD-1482
Conflicts:
platform/commonUI/browse/src/creation/CreationService.js
platform/core/src/models/RootModelProvider.js
platform/entanglement/src/services/LinkService.js
platform/entanglement/src/services/MoveService.js
2015-08-19 15:00:52 -07:00
Pete Richards
a94763041e
[Move] correct logic and specification
2015-08-19 13:16:36 -07:00
Pete Richards
26892e7104
[Location] isLink/isOriginal are antonyms
...
Simplify implementation of isLink/isOriginal for better maintainability.
2015-08-19 11:49:45 -07:00
Pete Richards
94854e5965
[Location] can retrieve contextual location
...
Clarify naming of method for retrieving contextual location of a domain
object.
Default behavior for objects that do not have a context is to return
undefined. Note that default behavior is not specified and could change
if needed.
2015-08-19 11:33:45 -07:00
Pete Richards
9cf30f4213
[Location] setPrimaryLocation takes location.
...
Rename "persistLocation" to be more clearly named, and make it take an
argument to allow for greater control outside the capability.
2015-08-19 11:25:41 -07:00
Pete Richards
eb776e69c0
[JSDoc] Document LocationCapability constructor
2015-08-19 11:13:24 -07:00
Victor Woeltjen
b93d752c88
[Code Style] Use prototypes in entanglement bundle
...
WTD-1482
2015-08-11 14:58:31 -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
Pete Richards
058a0d393d
[Compatibility] Store reference instead of binding
2015-08-06 16:55:15 -07:00
Pete Richards
c80e9bfa26
[Style] JSLint Compliance
2015-08-06 15:21:28 -07:00