summaryrefslogtreecommitdiff
path: root/groot-common/src/main/resources
diff options
context:
space:
mode:
authorwangkuan <[email protected]>2023-10-12 15:21:54 +0800
committerwangkuan <[email protected]>2023-10-12 15:21:54 +0800
commit3bc31e68f8cdcfc92ceef736d1872ef1bc9830b7 (patch)
tree08cedfbf99bbc8d0dfbd43812aeebde0c6bb633d /groot-common/src/main/resources
parent5b5b5eafafb5281be74d9e90761dd4c7eb84d076 (diff)
groot平台重构,分为多个module,打包方式修改为个子项目独立打包,去掉函数注册main_class
Diffstat (limited to 'groot-common/src/main/resources')
-rw-r--r--groot-common/src/main/resources/groot-platform-plugin.yaml13
-rw-r--r--groot-common/src/main/resources/groot.yaml69
2 files changed, 82 insertions, 0 deletions
diff --git a/groot-common/src/main/resources/groot-platform-plugin.yaml b/groot-common/src/main/resources/groot-platform-plugin.yaml
new file mode 100644
index 0000000..e8aa326
--- /dev/null
+++ b/groot-common/src/main/resources/groot-platform-plugin.yaml
@@ -0,0 +1,13 @@
+udf:
+ com.geedgenetworks.udf.snowflake.SnowflakeId
+ com.geedgenetworks.udf.Drop
+ com.geedgenetworks.udf.AsnLookup
+ com.geedgenetworks.udf.radius.RadiusLookup
+ com.geedgenetworks.udf.Eval
+ com.geedgenetworks.udf.JsonExtract
+ com.geedgenetworks.udf.gtpc.GtpCLookup
+ com.geedgenetworks.udf.UnixTimestamp
+ com.geedgenetworks.udf.Domain
+ com.geedgenetworks.udf.TopLevelDomain
+ com.geedgenetworks.udf.DecodeBase64
+ com.geedgenetworks.udf.FirstSignificantSubdomain
diff --git a/groot-common/src/main/resources/groot.yaml b/groot-common/src/main/resources/groot.yaml
new file mode 100644
index 0000000..4b25b61
--- /dev/null
+++ b/groot-common/src/main/resources/groot.yaml
@@ -0,0 +1,69 @@
+
+nacos:
+ server_addr: 192.168.44.12:8848
+ username: nacos
+ password: nacos
+ namespace:
+ data_id: knowledge_base.json
+ group: DEFAULT_GROUP
+ read_timeout: 5000
+
+hos:
+ token: c21f969b5f03d33d43e04f8f136e7682
+
+
+knowledge:
+ file_check_number: 3
+ # iplookup:
+# TSG:
+# ip_v4_user_defined_id: acf1db8589c5e277-2d8cb5cf98593ed8
+ # ip_v6_user_defined_id: acf1db8589c5e277-a442cce2d726eddf
+ # ip_v4_built_in_id: acf1db8589c5e277-42014a5735551e3e
+ # ip_v6_built_in_id: acf1db8589c5e277-8a9a0362c1320877
+# CN:
+ # ip_v4_user_defined_id: acf1db8589c5e277-2d8cb5cf98593ed8
+ # ip_v6_user_defined_id: acf1db8589c5e277-a442cce2d726eddf
+ # ip_v4_built_in_id: acf1db8589c5e277-10798bc00aed2135
+ # ip_v6_built_in_id: acf1db8589c5e277-8a9a0362c1320877
+ # asn_v4_id: 7ce2f9890950ba90-fcc25696bf11a8a0
+ # asn_v6_id: 7ce2f9890950ba90-71f13b3736863ddb
+ asnlookup:
+ TSG:
+ #asn_v4_id: 7ce2f9890950ba90-fe9081f96d1d8ca8
+ #asn_v6_id: 7ce2f9890950ba90-c901e886e2d89a30
+ asn_v4_id: 7ce2f9890950ba90-fcc25696bf11a8a0
+ asn_v6_id: 7ce2f9890950ba90-71f13b3736863ddb
+ # CN:
+ # ip_v4_user_defined_id: acf1db8589c5e277-2d8cb5cf98593ed8
+ # ip_v6_user_defined_id: acf1db8589c5e277-a442cce2d726eddf
+ # ip_v4_built_in_id: acf1db8589c5e277-10798bc00aed2135
+# ip_v6_built_in_id: acf1db8589c5e277-8a9a0362c1320877
+# asn_v4_id: 7ce2f9890950ba90-fcc25696bf11a8a0
+# asn_v6_id: 7ce2f9890950ba90-71f13b3736863ddb
+http:
+ pool:
+ max_connection: 400
+ max_per_route: 60
+ request_timeout: 60000
+ connect_timeout: 60000
+ response_timeout: 60000
+
+snowid:
+ data_center_id_num: 1
+zookeeper:
+ quorum: 192.168.44.12:2181
+
+knowledgebase:
+ file_storage_path:
+ file_storage_type:
+hdfs:
+ servers:
+hbase:
+ tick_tuple_freq_secs:
+ gtpc_scan_max_rows: 10000
+ radius_scan_max_rows: 10000
+ radius_table_name: RADIUS-TABLE
+ gtpc_table_name: GTPC-TABLE
+ rpc_timeout:
+data:
+ relationship_model: \ No newline at end of file