The Socialcast Group Expansion accepts group expansion request containing a username and provides a list of groups to which the user belongs in a group expansion result.
This component uses the Restful API from Socialcast to fetch user group information. All group information is cached, so further group expansion requests won't make unnecessary calls to the Socialcast server.
This component is based on the Simple Group Expander
Element | Type | Default | Description |
---|---|---|---|
username | string | Username used to authenticate against Socialcast. | |
password | string | N/A | Password used to authenticate against Socialcast. |
url | string | The Socialcast url used to authenticate. | |
pageSize | int | 25 | The number of elements per page. |
maxRetries | int | 5 | The number of maximum retries for the connection before it throws error. |
timeOut | int | 10000 (10sec) | The number of milliseconds for timeout of the connection. |
<!--Group Expansion --> <component name="GroupExpansionScheduler" subType="default" factoryName="aspire-scheduler"> <debug>${debug}</debug> <schedules> <schedule name="GECache" enabled="true"> <cron>${geSchedule}</cron> <event>onGECache</event> <job> <![CDATA[ <doc actionProperties="cacheGroups"> <routingTable> <SocialcastConnector> <properties> <connectorSource> <domain>${url}</domain> <url>${url}/</url> <username>${username}</username> <password>${password}</password> </connectorSource> </properties> </SocialcastConnector> </routingTable> <displayName>Socialcast connector</displayName> </doc> ]]> </job> </schedule> </schedules> <branches> <branch event="onGECache" pipelineManager="Main"/> </branches> </component>
<component name="GroupExpansionPipelineManager" subType="pipeline" factoryName="aspire-application"> <debug>${debug}</debug> <gatherStatistics>${debug}</gatherStatistics> <pipelines> <pipeline name="group-expansion-pipeline" default="true"> <stages> <stage component="IncomingJobDebug"/> <stage component="SocialcastGroupExpander"/> </stages> </pipeline> </pipelines> <components> <component name="IncomingJobDebug" subType="jobLogger" factoryName="aspire-tools"> <debug>${debug}</debug> <logFile>log/${app.name}/GroupExpansionPipelineManager/incoming.jobs</logFile> </component> <component name="SocialcastGroupExpander" subType="expansionClient" factoryName="aspire-simple-group-expander"> <debug>${debug}</debug> <server>../Main/SocialcastScanner</server> </component> </components> </component>