- Copyright (C) 2005-2016 Alfresco Software Limited. *
- This file is part of Alfresco *
- Alfresco is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version. *
- Alfresco is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Lesser General Public License for more details. *
- You should have received a copy of the GNU Lesser General Public License
- along with Alfresco. If not, see http://www.gnu.org/licenses/. / **************** ReadMe ***************** The project is designed to work on one or more instances of Alfresco (Enterprise / Cloud / Hybrid). More than one instances can be tested in parallel / at a time.
It needs the following files in the resources per Alfresco Instance / node you wish to test.
1> .properties file with properties for Alfresco Instance such as: #Alfresco properties api.target = https://test2api.alfresco.me api.port = 443 api.version = MyAlfresco
#Layer7 Enabled on Cloud Environment? hybrid.layer7Enabled = false hybrid.apiKey = hybrid.apiSecretKey =
#Comma separated List of users with a special password (different than username) users = email@example.com,admin passwords = abcdef
2> test-context.xml to read these properties.
A ApiClient object then can be instantiated by providing the right context filename. This will then need to be used to get access to all Cmis and PublicApi utilities.