[ 
https://issues.apache.org/jira/browse/CONNECTORS-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638466#comment-13638466
 ] 

Andrew Janowczyk commented on CONNECTORS-676:
---------------------------------------------

regarding the path, it should be very easy to remove it because its only 
appearing on the front end. i left it there because its a lot easier to remove 
things than it is to add them (again taken from the CMIS connector) : )


regarding the cursor: its a proprietary string and is in read only format. 
basically we'd have to save the value which is given to us and then pass it 
back when we want the delta. there is no way to create a cursor as far as i can 
tell from their documentation. the additional complication is that sometimes an 
additional flag is set "reset" which implies that the delta isn't valid and a 
full review is necessary. from what you described, this doesn't seem to be too 
valuable for us.


whats interesting is that when you request the files from the dropbox api it 
returns all files in a single response, i.e. you don't need to walk a path to 
get all files. the only way to know what directory they are in is by examining 
their path. this actually made the discovery much easier as the getSeeds 
function will actually be able to obtain every single document in a single 
iteration of the returned file list. 


> When one of these errors happens, what DropboxException gets thrown? That's 
> not clear at all, AFAICT.

that is exactly my point. it always returns an exception of the superclass 
"DropboxException", but i have no idea what individual ones are supported/used 
from their api. from my developmen i always looked at the exception message 
string because  "DropboxException" isn't very informative. i'm not sure how to 
get more fine grained than that.
                
> Connector for dropbox
> ---------------------
>
>                 Key: CONNECTORS-676
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-676
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Dropbox connector
>    Affects Versions: ManifoldCF 1.1.1
>            Reporter: Andrew Janowczyk
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.2
>
>         Attachments: dropbox-patch.patch
>
>
> Pretty straight forward. It'd be nice to have a connector which can read from 
> dropbox. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to