Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Confluence source allows DDF to pull pages/comments/attachments from a Confluence REST API  and turns the results into Metacards the system can use.

...

Source Configuration Properties

NameDescription
Confluence Rest URL
The Confluence Rest API endpoint URL. Example: https://<host>:<port>/rest/api/content
Username
Username to use with HTTP Basic Authentication. This auth info will overwrite any federated auth info. Only set this if the Confluence endpoint requires basic authentication.
Password
Password to use with HTTP Basic Authentication. This auth info will overwrite any federated auth info. Only set this if the Confluence endpoint requires basic authentication.
Include Page Contents In Results
Flag indicating if Confluence page contents should be included in the returned results.

If page contents not included in results then the returned metacards will not have the `description` or `metadata` fields set

Include Archived Spaces
Flag indicating if archived confluence spaces should be included in search results
Confluence Space
The confluence space to perform searches in. If no space is specified all visible spaces will be searched.

A confluence space must be set in order for wildcard only searches to work

Availability Poll Interval
Availability polling interval in milliseconds

Confluence Query Restrictions

...

Note
titleAttachment Downloads

Depending on your version of Confluence, when downloading attachments you might get redirected to a different download URL. If this happens the default URLResourceReader configuration does not allow redirects and will fail the download. This can be fixed by enabling redirects in the URLResourceReader configuration.

Common Taxonomy Attributes (https://codice.atlassian.net/wiki/display/DDF/Attributes)

DescriptionThe type of Confluence result.TypeString

Constraints

page, comment, attachment, blogpostExample attributeSource
Attribute NameSourceQuery Restrictions

created

history.createDate>, <, =

description

First 256 characters of the Confluence entry body

Not directly queryable.
idUses the Confluence id as the metacard id.=, !=

metadata

Tika-like formatted xml containing the entire text body of the Confluence entry

Queryable via `anyText`

~, !~

modified

history.lastModified.when>, <, =

resource-download-url

_links.downloadNot directly queryable.

resource-size

extensions.fileSizeNot directly queryable.

resource-uri

_links.downloadNot directly queryable.

title

title=, !=, ~, !~
associations.external_links.webui, _links.base, space._links.webuiNot directly queryable.

contact.contributor-name

history.contributors.publishers.users.username=, !=

contact.creator-name

history.createdBy.username=, !=
media.typemetadata.mediaTypeNot directly queryable.

metacard.created

history.createDate>, <, =

metacard.modified

history.lastModified.when>, <, =
security.access-groupsrestrictions.read.restrictions.group.nameNot directly queryable.
security.access-individualsrestrictions.read.restrictions.user.usernameNot directly queryable.
topic.keywordmetadata.labels.results.name=, !=

Custom Confluence Metacard Attributes

confluence.type

confluence.restriction-groups

...

Constraints

...

confluence.restriction-users

DescriptionConfluence user read restriction for entry. OptionalTypeString

Constraints

ExampleclockardSourcerestrictions.read.restrictions.user.usernameQuery Restrictions
=, !=, No wildcards

...

Constraints

...

Not directly queryable
.

confluence.base-url

DescriptionUrl pointing to the confluence base urlTypeString

Constraints

Examplehttps://codice
.
atlassian.net/wiki/
Source_links.baseQuery RestrictionsNot directly queryable.

confluence.space

...

Constraints

...

Some Examples from the DDF Search UI

(Page result left, attachment result right)

Image RemovedImage RemovedImage AddedImage Added

Example Metadata

...