-
Notifications
You must be signed in to change notification settings - Fork 18
/
config.sample
157 lines (82 loc) · 3.53 KB
/
config.sample
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[COMMON]
diksha_survey_app_name = <SURVEY_APP_NAME>
diksha_integrated_app_name = <INTEGRATED_APP_NAME>
[API_HEADERS]
content_type = application/json
authorization = <AUTHORIZATION_KEY>
internal_access_token = <ACCESS_TOKEN>
[URL]
base_url = http://<INTERNAL_IP>:<PORT_NUMBER>
url_entity_related = assessment/api/v1/entities/relatedEntities/
url_user_profile_api = assessment/api/v1/userExtension/getProfile/
evidence_base_url = <EVIDENCE_BASE_URL>
[MONGO]
# --------------
# Mongo prod url
#---------------
mongo_url = mongodb://<INTERNAL_IP>:<PORT_NUMBER>
# -----------------------
# Mongo database name
# -----------------------
database_name = <DATABASE_NAME>
# -------------------
# Mongo Collections
# -------------------
observation_sub_collec = <OBSERVATION_SUB_COLLECTION_NAME>
solutions_collec = <SOLUTION_COLLECTION_NAME>
observations_collec = <OBSERVATION_COLLECTION_NAME>
entity_type_collec = <ENTITY_TYPE_COLLECTION_NAME>
questions_collec = <QUESTION_COLLECTION_NAME>
criteria_collec = <CRITERIA_COLLECTION_NAME>
entities_collec = <ENTITIES_COLLECTION_NAME>
programs_collec = <PROGRAM_COLLECTION_NAME>
user_roles_collection = <USERROLES_COLLECTION_NAME>
criteria_questions_collection = <CRITERIA_QUESRIONS_COLLECTION_NAME>
projects_collection = <PROJECTS_COLLECTION_NAME>
survey_submissions_collection = <SURVEY_SUBMISSIONS_COLLECTION>
survey_collection = <SURVEY_COLLECTION>
[DRUID]
druid_end_point = http://<INTERNAL_IP>:<PORT_NUMBER>/druid/coordinator/v1/datasources/
druid_batch_end_point = http://<INTERNAL_IP>:<PORT_NUMBER>/druid/indexer/v1/task
observation_status_spec = <OBSERVATION_STATUS_SPEC>
project_spec = <PROJECT_SPEC>
[KAFKA]
kafka_url = <KAFKA_INTERNAL_IP>:<PORT>
kafka_raw_data_topic = <OBS_TOPIC_NAME>
kafka_druid_topic = <OBS_DRUID_TOPIC_NAME>
kafka_evidence_druid_topic = <OBS_EVIDENCE_TOPIC_NAME>
kafka_evidence_survey_druid_topic = <SURVEY_EVIDENCE_TOPIC_NAME>
kafka_raw_survey_topic = <SURVEY_TOPIC_NAME>
kafka_survey_druid_topic = <SURVEY_DRUID_TOPIC_NAME>
[LOGS]
observation_streaming_success_log_filename = <FOLDER_PATH>/success.log
observation_streaming_error_log_filename = <FOLDER_PATH>/error.log
observation_streaming_evidence_success_log_filename = <FOLDER_PATH>/success.log
observation_streaming_evidence_error_log_filename = <FOLDER_PATH>/error.log
observation_status_success_log_filename = <FOLDER_PATH>/status/success.log
observation_status_error_log_filename = <FOLDER_PATH>/status/error.log
project_success_log_filename = <SUCCESS_LOG_FILE_PATH>
project_error_log_filename = <ERROR_LOG_FILE_PATH>
survey_evidence_streaming_success_log_filename = <EVIDENCE_SUCCESS_LOG_FILE_PATH>
survey_evidence_streaming_error_log_filename = <EVIDENCE_ERROR_LOG_FILE_PATH>
survey_streaming_success_log_filename = <SUCCESS_LOG_FILE_PATH>
survey_streaming_error_log_filename = <ERROR_LOG_FILE_PATH>
[ELASTICSEARCH]
header = {'Content-Type': 'application/json'}
url_user = http://<INTERNAL_IP>:<PORT_NUMBER>/users/_search/?scroll=1m
user_body = {"size": 10000,"query":{"bool":{"must":[{"match":{"_type":"common"}}]}}}
url_user_scroll = http://<INTERNAL_IP>:<PORT_NUMBER>/_search/scroll
url_entity = http://<INTERNAL_IP>:<PORT_NUMBER>/entities/_search/?scroll=1m
[AZURE]
account_name = <ACCOUNT_NAME>
sas_token = <SAS_TOKEN>
container_name = <CONTAINER_NAME>
blob_path = <OBS_BLOB_PATH>
projects_blob_path = <PROJECTS_BLOB_PATH>
[REDIS]
host = <HOST_ADDRESS>
port = <PORT>
db_name = <REDIS_DB_NAME>
[OUTPUT_DIR]
projects_folder = <PROJECTS_OUTPUT_DIR>
observation_status_output_dir = <OBS_STATUS_OUTPUT_DIR>