-
Notifications
You must be signed in to change notification settings - Fork 1
/
microsoft_teams_connector.yml
51 lines (47 loc) · 2.56 KB
/
microsoft_teams_connector.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#Configurations for the Microsoft Teams Connector
# ------------------------------- Microsoft Teams configuration settings -------------------------------
#Username of the Azure account to fetch the access_token
username: ""
#Password of the Azure account to fetch the access_token
password: ""
#Application or Client Id of the registered application on Azure platform
application_id: ""
#Generated client secret of the registered application on Azure platform
client_secret: ""
#Tenant Id of the Azure platform
tenant_id: ""
# ------------------------------- Workplace Search configuration settings -------------------------------
#Access token for Workplace search authentication
enterprise_search.api_key: "12345678"
#Source identifier for the custom source created on the workplace search server
enterprise_search.source_id: "12345678"
#Workplace search server address Example: http://es-host:3002
enterprise_search.host_url: "http://localhost:3002/"
# ------------------------------- Connector specific configuration settings -------------------------------
#Denotes whether document permission will be enabled or not
enable_document_permission: Yes
#Specifies the objects to be fetched and indexed in the WorkPlace search along with fields
#that needs to be included/excluded. The list of the objects supported are users, teams,
#channels, chat_messages. By default all the objects are fetched
object_type_to_index:
teams:
channels:
channel_messages:
channel_documents:
channel_tabs:
user_chats:
calendar:
#The time after which all the objects that are modified or created are fetched from Microsoft Teams. By default, all the objects present in the Microsoft Teams till the end_time are fetched
start_time:
#The timestamp before which all the updated objects need to be fetched i.e. the connector won’t fetch any object updated/created after the end_time. By default, all the objects updated/added till the current time are fetched
end_time:
#The level of the logs the user wants to use in the log files. The possible values include: debug, info, warn, error. By default, the level is info
log_level: INFO
#The number of retries to perform in case of server error. The connector will use exponential back-off for retry mechanism
retry_count: 3
#Number of threads to be used in multi-threading for the microsoft teams sync.
ms_teams_sync_thread_count: 5
#Number of threads to be used in multi-threading for the enterprise search sync.
enterprise_search_sync_thread_count: 5
#The path of csv file containing mapping of Microsoft Teams user ID to Workplace user ID
microsoft_teams.user_mapping: ""