[
https://jira.jboss.org/jira/browse/DNA-379?page=com.atlassian.jira.plugin...
]
Brian Carothers updated DNA-379:
--------------------------------
Attachment: DNA-397.patch
Attached patch that implements adding and removing values using
addValue(value).andValue(value).to(propertyName).on(location) and
removeValue(value).removeValue(value).from(propertyName).on(location) using a new request
(UpdateValuesRequest) that has a reasonably efficient default implementation on
RequestProcessor. The operations had to be named addValue/removeValue instead of
add/remove to disambiguate the operations from the existing remove(String...
propertyNames) grammar. The patch also includes a few new tests in WritableConnectorTest
to validate the behavior.
Graph API should allow adding and removing property values
----------------------------------------------------------
Key: DNA-379
URL:
https://jira.jboss.org/jira/browse/DNA-379
Project: DNA
Issue Type: Feature Request
Components: API, Graph
Reporter: Randall Hauch
Priority: Critical
Fix For: 0.6
Attachments: DNA-397.patch
The Graph API should allow adding a value to an existing property without having to first
read the property. The same thing for removing a value (if it is there). This is needed
especially when working with batch operations.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira