You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Sutter, Peter" <pe...@sap.com> on 2014/04/15 10:23:04 UTC
CMIS server with test content
Hi Gavin,
In order to start with the implementation of browser binding I wanted to setup a local CMIS server to run the unit tests against because the server in the Amazon cloud currently does not support browser binding, right?
Do you know the best way how I get the test content to my local server? I’m using the OpenCMIS in memory server.
I have downloaded the content via CMIS workbench but of course I would loose all the metadata.
In the long run of course we need to update the server in the Amazon cloud.
Best regards,
Peter
Re: CMIS server with test content
Posted by Mike Hatfield <mi...@alfresco.com>.
Hi Peter
Note these instructions almost certainly need missing detail added (e.g. the username/password the tests expect, as well the easiest ways to generate the version history). You'll also get an immediate test failure in "testGetRootFolder" as that's hardcoded to expect Alfresco v4.0.0.
Regards,
Mike
On 15 Apr 2014, at 21:49, Gavin Cornwell <ga...@alfresco.com> wrote:
> Hi Peter,
>
> Correct, the Amazon server the test config currently points to does not support the browser binding. Yes, longer term we definitely need to update the server or setup a new one.
>
> In the short term I think the easiest/quickest thing to do would be to use a Community version of Alfresco, you can download from here: http://www.alfresco.com/products/community/download. It shouldn’t take too long to replicate the test data, I’ve added the steps we have documented below:
>
> Navigate into Company Home
> Create an "ios-test" folder
>
> Navigate into "ios-test" folder
> Create at least 5 subfolders, e.g. "Folder One", "Folder Two", etc.
> Upload "versioned-quote.txt"
> Ensure there are at least 5 versions in the version history
> Upload "activiti-modeler.png"
> Upload "activity logo big.png"
> Upload "millenium-dome-exif.jpg"
> NOTE: Ensure thumbnails are generated for these content items
>
> Create "ios-subfolder" folder
> Navigate in and create "ios-subsubfolder"
> Navigate in and upload "thumbsup-ios-test-retrieve-parents.gif"
> Also upload "activiti-logo.png"
>
> NOTE: /ios-test/versioned-quote.txt needs to be a non-major version number, e.g. 0.8
>
> Regards,
>
> Gavin
>
>
>
> On 15 Apr 2014, at 09:23, Sutter, Peter <pe...@sap.com> wrote:
>
>> Hi Gavin,
>>
>> In order to start with the implementation of browser binding I wanted to setup a local CMIS server to run the unit tests against because the server in the Amazon cloud currently does not support browser binding, right?
>>
>> Do you know the best way how I get the test content to my local server? I’m using the OpenCMIS in memory server.
>> I have downloaded the content via CMIS workbench but of course I would loose all the metadata.
>>
>> In the long run of course we need to update the server in the Amazon cloud.
>>
>> Best regards,
>> Peter
>
Re: CMIS server with test content
Posted by Gavin Cornwell <ga...@alfresco.com>.
Hi Peter,
Correct, the Amazon server the test config currently points to does not support the browser binding. Yes, longer term we definitely need to update the server or setup a new one.
In the short term I think the easiest/quickest thing to do would be to use a Community version of Alfresco, you can download from here: http://www.alfresco.com/products/community/download. It shouldn’t take too long to replicate the test data, I’ve added the steps we have documented below:
Navigate into Company Home
Create an "ios-test" folder
Navigate into "ios-test" folder
Create at least 5 subfolders, e.g. "Folder One", "Folder Two", etc.
Upload "versioned-quote.txt"
Ensure there are at least 5 versions in the version history
Upload "activiti-modeler.png"
Upload "activity logo big.png"
Upload "millenium-dome-exif.jpg"
NOTE: Ensure thumbnails are generated for these content items
Create "ios-subfolder" folder
Navigate in and create "ios-subsubfolder"
Navigate in and upload "thumbsup-ios-test-retrieve-parents.gif"
Also upload "activiti-logo.png"
NOTE: /ios-test/versioned-quote.txt needs to be a non-major version number, e.g. 0.8
Regards,
Gavin
On 15 Apr 2014, at 09:23, Sutter, Peter <pe...@sap.com> wrote:
> Hi Gavin,
>
> In order to start with the implementation of browser binding I wanted to setup a local CMIS server to run the unit tests against because the server in the Amazon cloud currently does not support browser binding, right?
>
> Do you know the best way how I get the test content to my local server? I’m using the OpenCMIS in memory server.
> I have downloaded the content via CMIS workbench but of course I would loose all the metadata.
>
> In the long run of course we need to update the server in the Amazon cloud.
>
> Best regards,
> Peter