The Jira Connector performs full and incremental scans over a Jira repository and will extract security, metadata, and content from each object scanned. Each scanned object will be tagged with one of three possible actions--add, update, or delete--and can be routed to any Aspire pipeline as desired.

The connector, once started, can be stopped, paused or resumed via the Scheduler Component. Typically the start job will contain all information required by the job to perform the scan. When pausing or stopping, the connector will wait until all the jobs it published have completed before updating the statistics and status of the connector.

Jira Application Bundle (Aspire 2)
AppBundle Name Jira Connector
Maven Coordinates com.searchtechnologies.aspire:app-jira-connector
Versions 2.3-SNAPSHOT
Type Flags scheduled
Inputs AspireObject from a content source submitter holding all the information required for a crawl.
Outputs An AspireObject containing the URL, content, ACLs and Metadata processed for each file.

Configuration

This section lists all configuration parameters available to install the File System Application Bundle and to execute crawls using the connector.

Application Configuration

PropertyTypeDefaultDescription
snapshotDirstring${aspire.home}/snapshotsThe directory for snapshot files to be stored.
disableTextExtractbooleanfalseBy default, connectors use Apache Tika to extract text from downloaded documents. If you wish to apply special text processing to the downloaded document in the workflow, you should disable text extraction. The downloaded document is then available as a content stream.
workflowReloadPeriodint15mThe period after which to reload the business rules. Defaults to ms, but can be suffixed with ms, s, m, h or d to indicate the required units.
workflowErrorTolerantbooleanfalseWhen set, exceptions in workflow rules will only effect the execution of the rule in which the exception occurs. Subsequent rules will be executed and the job will complete the workflow sucessfully. If not set, exceptions in workflow rules will be re-thrown and the job will be moved to the error workflow.
useGEbooleanfalsetrue if group expansion is going to be used.
geSchedulestring0 0 0 * * ?Indicates how often the group expansion is going to fetch all the security groups.
URLstringnoneThe Jira instance Url.
Redirect Urlstringhttps://localhost:4000The a valid URL to redirect the authorization tokens (for authorization process)
UserStringnoneLogin username of the Jira account.
PasswordstringnonePassword for Jira accound.
PageSizeinteger100Indicates the amount of documents or folders that will be returned by the API each call.
ExcludeExtensionsstringnoneIndicates the list of extensions (separeted by comma) you don't want to extract the text, for instance dll or exe.
fileNamePatterns/includeregexnoneOptional. A regular expression pattern to evaluate file urls against; if the file name matches the pattern, the file is included by the scanner. Multiple include nodes can be added.
fileNamePatterns/excluderegexnoneOptional. A regular expression pattern to evaluate file urls against; if the file name matches the pattern, the file is excluded by the scanner. Multiple exclude nodes can be added.


Configuration Example

To install the application bundle, add the configuration, as follows, to the <autoStart> section of the Aspire settings.xml.

  <application config="com.searchtechnologies.aspire:app-filesystem-connector">
    <properties>
      <property name="generalConfiguration">true</property>
      <property name="snapshotDir">${aspire.home}/snapshots</property>
      <property name="disableTextExtract">false</property>
      <property name="workflowReloadPeriod">15s</property>
      <property name="workflowErrorTolerant">false</property>
      <property name="useGE">false</property>
      <property name="geSchedule">0 0 0 * * ?</property>
      <property name="URL">https://jirainstance.atlassian.net/</property>
      <property name="Redirect Url">https://localhost:4000/</property>
      <property name="PageSize">100</property>
      <property name="ExcludeExtensions">jpg</property>
      <property name="fileNamePatterns/include">.*xml.*</property>
      <property name="fileNamePatterns/exclude">.*jpg.*</property>
      <property name="debug">true</property>
    </properties>
  </application>

Note: Any optional properties can be removed from the configuration to use the default value described on the table above.


Group Expansion Configuration

PropertyTypeDefaultDescription
Group cache refreshDrop down menuEvery hourRefresh rate for Group cache
URLstringJira repository URLThe URL to get security group information.
Usernamestring
The username to connect for Socialcast community.
Passwordstring
The password to connect for Jira instance.


Source Configuration

PropertyTypeDefaultDescription
URLstring
The Url to crawl (you have to specify the protocol).
Usernamestring
The Username to connect with.
Passwordstring
The password of the Username to connect with.
  • No labels