CmisFetcher
CMIS-enabled Content Management Systems (CMS) fetcher (Atom).
Notes
Fetches documents from CMIS-enabled Content Management Systems (CMS) using the CMIS Atom binding protocol. Supports credentials, optional repository selection, and storing the raw XML response in a document field.
Compatible repositories:
- Any repository exposing CMIS 1.0 or 1.1 over its Atom binding — Alfresco, Nuxeo, OpenText Content Server, Documentum, IBM FileNet and others. See Content Sources.
Current limitations:
SOURCE_DELTAsource-native change feed behavior is not implemented for CMIS in this v1 hardening slice.- Incremental behavior for CMIS currently relies on crawler scan semantics.
Examples
Basic CMIS Atom endpoint:
- YAML
- JSON
- XML
class: CmisFetcher
credentials:
username: cmis-user
password: <password>
{
"class": "CmisFetcher",
"credentials": {
"username": "cmis-user",
"password": "<password>"
}
}
<class>CmisFetcher</class>
<credentials>
<username>cmis-user</username>
<password><password></password>
</credentials>
Use a start reference such as:
cmis:http://your-host:8080/cmis/atom
CMIS Atom endpoint with non-root start path:
- YAML
- JSON
- XML
class: CmisFetcher
repositoryId: my-repo
acl: EXTENDED
{
"class": "CmisFetcher",
"repositoryId": "my-repo",
"acl": "EXTENDED"
}
<class>CmisFetcher</class>
<repositoryId>my-repo</repositoryId>
<acl>EXTENDED</acl>
Use a start reference such as:
cmis:http://your-host:8080/cmis/atom!/Sites/Finance
Usage
Full configuration skeleton, with every option and its default
- YAML
- JSON
- XML
class: CmisFetcher
acl: NONE
credentials:
password: string
passwordKey:
size: 0
source: KEY
value: string
username: string
domain: string
referenceFilters: []
repositoryId: string
xmlTargetField: string
{
"class": "CmisFetcher",
"acl": "NONE",
"credentials": {
"password": "string",
"passwordKey": {
"size": 0,
"source": "KEY",
"value": "string"
},
"username": "string"
},
"domain": "string",
"referenceFilters": [],
"repositoryId": "string",
"xmlTargetField": "string"
}
<cmisFetcher>
<class>CmisFetcher</class>
<acl>NONE</acl>
<credentials>
<password>string</password>
<passwordKey>
<size>0</size>
<source>KEY</source>
<value>string</value>
</passwordKey>
<username>string</username>
</credentials>
<domain>string</domain>
<referenceFilters>
<referenceFilter/>
</referenceFilters>
<repositoryId>string</repositoryId>
<xmlTargetField>string</xmlTargetField>
</cmisFetcher>
Properties
| Property | Type | Required | Default |
|---|---|---|---|
acl | enum | No | NONE |
credentials | Credentials | No | Credentials |
domain | string | No | - |
referenceFilters | ReferenceFilter[] | No | - |
repositoryId | string | No | - |
xmlTargetField | string | No | - |
Property Details
acl
Whether to read and write on each document who may read it, as its access control list (ACL), in the crawler.acl
field: NONE (the default) or EXTENDED (BASIC reads the same). The object's ACL is read as the repository gives
it, inherited entries included: an entry granting cmis:read, cmis:write or cmis:all allows reading. CMIS does not
say whether a principal is a user or a group, so its kind is undefined, of the directory cmis:<repository id>;
cmis:anyone is special:everyone. A repository that says its ACL is not exact gives a partial ACL; one that gives no
ACL, none.
The ACL lists who may read the document, as one or more levels a person must all pass; within a level, a deny wins over
an allow. Committers send it as their own acl option says. When the permissions could only be read in part, the ACL
is marked partial, and a committer withholds the document unless its acl.partial is SEND; when they could not be
read at all, it always withholds it. A permission change alone does not change a file's date or size: to have it
noticed, use a metadata checksum that includes crawler.acl, such as a GenericMetadataChecksummer on the fields
crawler\.(lastModified|fileSize|acl).
Allowed Values
NONEBASICEXTENDED
credentials
Username and password used to authenticate with the CMIS endpoint.
domain
The domain name for authentication when accessing the remote resource.
referenceFilters
Filters applied to document references (URLs or file paths) to control which ones are fetched. Documents whose references do not pass the filters are skipped.
repositoryId
The CMIS repository ID. Defaults to first one found.
xmlTargetField
The name of the field where the raw XML obtained from the CMIS REST API will be stored. Default: does not store the raw XML in a field.