When the CMIS connector fire the query set in the CMIS Query field of the Job, all properties are retrieved but only the 'cmis:objectId' is indexed.
The connector need to take into account the following type of queries:
- select * from type
- select field1, field2 from type
- select A.field1, B.field2 from typeA as A join typeB as B on A.cmis:objectId = B.cmis:objectId
We modified CmisRepositoryConnector.java and CmisRepositoryConnectorUtils.java in order to manage all three cases.
By using the AtomPub url for CMIS 1.1 '/alfresco/api/cmis/versions/1.1/atom' in repository connection for CMIS we are able to retrieve also the aspect properties.