- Created by Johnny Vargas on Jun 27, 2018
The Socialcast Connector performs full and incremental scans over a Socialcast Community 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.
Socialcast Application Bundle (Aspire 2) | |
---|---|
AppBundle Name | Socialcast Connector |
Maven Coordinates | com.searchtechnologies.aspire:app-socialcast-connector |
Versions | 2.2.2 |
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
Property | Type | Default | Description |
---|---|---|---|
snapshotDir | string | ${aspire.home}/snapshots | The directory for snapshot files to be stored. |
disableTextExtract | boolean | false | By 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. |
workflowReloadPeriod | int | 15m | The 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. |
workflowErrorTolerant | boolean | false | When 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. |
debug | Boolean | false | Controls whether debugging is enabled for the application. Debug messages will be written to the log files. |
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="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
Property | Type | Default | Description |
---|---|---|---|
Group cache refresh | Drop down menu | Every hour | Refresh rate for Group cache |
Community URL | string | Socialcast community URL | The URL to get security group information. |
Username | string | The username to connect for Socialcast community. | |
Password | string | The password to connect for Socialcast community. |
Source Configuration
Property | Type | Default | Description |
---|---|---|---|
Community URL | string | The Url to crawl (you have to specify the protocol). | |
Username | string | The Username to connect with. | |
Password | string | The password of the Username to connect with. |
Output
<doc> <sourceType>socialcast</sourceType> <body>This is a tag #myFirstTag</body> <fetchUrl>https://cslworld-com.socialcast.com/api/messages/18178089</fetchUrl> <docType>item</docType> <lastModified>2013-10-23T11:36:04Z</lastModified> <nativeId>18178089</nativeId> <url>https://cslworld-com.socialcast.com/api/messages/18178089</url> <crawlId>23</crawlId> <content/> <id>https://cslworld-com.socialcast.com/api/messages/18178089</id> <displayUrl>https://cslworld-com.socialcast.com/api/messages/18178089</displayUrl> <title/> <updated_at>2013-10-23T11:36:04Z</updated_at> <connectorSpecific type="socialcast"> <field name="message_type">status_message</field> <field name="message_action"/> <field name="likes_count">0</field> <field name="comments_count">0</field> <field name="flag"> <flag> <id>79973</id> </flag> </field> <field name="user"> <user> <out_of_office>false</out_of_office> <type>User</type> <back_in_office_on/> <url>https://cslworld-com.socialcast.com/users/944247-lasithchandrasekara</url> <id>944247</id> <inactive>false</inactive> <username>LasithChandrasekara</username> <title>SE</title> <name>Lasith Chandrasekara</name> <terminated>false</terminated> <avatars> <square16>https://gp1.wac.edgecastcdn.net/801245/socialcast.s3.amazonaws.com/tenants/40370/profile_photos/1738307/31533_401604501946_5193003_n_square16.jpg?AWSAccessKeyId=AKIAJQNECJHPYZEXD5ZA\u0026Expires=1387108800\u0026Signature=%2BrJHdz5IuY%2FNy2KUOLhhvuNggu4%3D</square16> <is_system_default>false</is_system_default> <square30>https://ne.wac.edgecastcdn.net/801245/socialcast.s3.amazonaws.com/tenants/40370/profile_photos/1738307/31533_401604501946_5193003_n_square30.jpg?AWSAccessKeyId=AKIAJQNECJHPYZEXD5ZA\u0026Expires=1387108800\u0026Signature=XSnIZIWqzgOdqvs1lv%2BZaNgru3c%3D</square30> <square140>https://gp1.wac.edgecastcdn.net/801245/socialcast.s3.amazonaws.com/tenants/40370/profile_photos/1738307/31533_401604501946_5193003_n_square140.jpg?AWSAccessKeyId=AKIAJQNECJHPYZEXD5ZA\u0026Expires=1387108800\u0026Signature=7XIFZXy7x7oR7ygKEw7erGufzhI%3D</square140> <square45>https://ne.wac.edgecastcdn.net/801245/socialcast.s3.amazonaws.com/tenants/40370/profile_photos/1738307/31533_401604501946_5193003_n_square45.jpg?AWSAccessKeyId=AKIAJQNECJHPYZEXD5ZA\u0026Expires=1387108800\u0026Signature=pHWrHb90D266RRxnN39t%2BQsDYuc%3D</square45> <square70>https://gp1.wac.edgecastcdn.net/801245/socialcast.s3.amazonaws.com/tenants/40370/profile_photos/1738307/31533_401604501946_5193003_n_square70.jpg?AWSAccessKeyId=AKIAJQNECJHPYZEXD5ZA\u0026Expires=1387108800\u0026Signature=6FtflKI6PSpNFIREiiBxP2hFpXc%3D</square70> </avatars> <active>true</active> <role>tenant_admin</role> </user> </field> </connectorSpecific> <repItemType>aspire/Messages</repItemType> <sourceName>socialcast</sourceName> <snapshotUrl>001 https://cslworld-com.socialcast.com/api/messages/18178089</snapshotUrl> <action>add</action> <created_at>2013-10-23T11:36:04Z</created_at> <acls> <acl name="everyonebc2d91b8913a47cba0f9eca084e00e6c" fullname="Everyone Group" scope="global" entity="group" access="allow"/> </acls> <connectorSource> <username>[email protected]</username> <indexContainers>false</indexContainers> <pageSize>100</pageSize> <displayName>socialcast</displayName> <password>encrypted:74F999DD7CC438003FD311ACE269CC52</password> <url>https://cslworld-com.socialcast.com</url> </connectorSource> </doc>
- No labels