summaryrefslogtreecommitdiff
path: root/config/application.yml
blob: 79f47e2322fd8266cafef8e078e1072cd83d3d21 (plain)
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
server:
  port: 8888
spring:
  application:
    name: cn-object-scheduler
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://192.168.44.53:3306/cn_api?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=UTC&failOverReadOnly=false&connectTimeout=10000&socketTimeout=300000
    username: root
    password: 111111
logging:
  config: ./config/logback-spring.xml
tsg:
  system:
    url: http://192.168.44.29:8080
    token: 1ca0350bc499a208a0edadb74d76a0ee&1&
    httpTimeout: 3600000
    isLatestVersion: true
  object:
    ip:
      excludeValue: 0.0.0.0,255.255.255.255,127.*,8.8.8.8,1.1.1.1
      hotspotvpn_serverip:
        id: 14145
        name: hotspotvpn_serverip
        update:
          cron: 0 0 0/1 * * ?
          enable: true
          sql: SELECT addr_format AS addrFormat, ip1 AS ip1, ip2 AS ip2 FROM cn_vpn_learning_ip WHERE knowledge_id = 15 and plugin_id = 1 and is_valid = 1 order by op_time desc LIMIT 100000
        delete:
          cron: 0 0 0/1 * * ?
          enable: true
          offsetSecond: -10800
      ipvanishvpn_serverip:
        id: 14177
        name: ipvanishvpn_serverip
        update:
          cron: 0 0 0/1 * * ?
          enable: true
          sql: SELECT addr_format AS addrFormat, ip1 AS ip1, ip2 AS ip2 FROM cn_vpn_learning_ip WHERE knowledge_id = 15 and plugin_id = 3 and is_valid = 1 order by op_time desc LIMIT 100000
        delete:
          cron: 0 0 0/1 * * ?
          enable: true
          offsetSecond: -10800
      psiphon3vpn_serverip:
        id: 14281
        name: psiphon3vpn_serverip
        update:
          cron: 0 0 0/1 * * ?
          enable: true
          sql: SELECT addr_format AS addrFormat, ip1 AS ip1, ip2 AS ip2 FROM cn_vpn_learning_ip WHERE knowledge_id = 15 and plugin_id = 4 and is_valid = 1 order by op_time desc LIMIT 100000
        delete:
          cron: 0 0 0/1 * * ?
          enable: true
          offsetSecond: -10800
      cyberghostvpn_serverip:
        id: 14060
        name: cyberghostvpn_serverip
        update:
          cron: 0 0 0/1 * * ?
          enable: true
          sql: SELECT addr_format AS addrFormat, ip1 AS ip1, ip2 AS ip2 FROM cn_vpn_learning_ip WHERE knowledge_id = 15 and plugin_id = 6 and is_valid = 1 order by op_time desc LIMIT 100000
        delete:
          cron: 0 0 0/1 * * ?
          enable: true
          offsetSecond: -10800
      geckovpn_serverip:
        id: 14113
        name: geckovpn_serverip
        update:
          cron: 0 0 0/1 * * ?
          enable: true
          sql: SELECT addr_format AS addrFormat, ip1 AS ip1, ip2 AS ip2 FROM cn_vpn_learning_ip WHERE knowledge_id = 15 and plugin_id = 7 and is_valid = 1 order by op_time desc LIMIT 100000
        delete:
          cron: 0 0 0/1 * * ?
          enable: true
          offsetSecond: -10800
      ivacyvpn_serverip:
        id: 14185
        name: ivacyvpn_serverip
        update:
          cron: 0 0 0/1 * * ?
          enable: true
          sql: SELECT addr_format AS addrFormat, ip1 AS ip1, ip2 AS ip2 FROM cn_vpn_learning_ip WHERE knowledge_id = 15 and plugin_id = 9 and is_valid = 1 order by op_time desc LIMIT 100000
        delete:
          cron: 0 0 0/1 * * ?
          enable: true
          offsetSecond: -10800
      turbovpn_serverip:
        id: 14260
        name: turbovpn_serverip
        update:
          cron: 0 0 0/1 * * ?
          enable: true
          sql: SELECT addr_format AS addrFormat, ip1 AS ip1, ip2 AS ip2 FROM cn_vpn_learning_ip WHERE knowledge_id = 15 and plugin_id = 10 and is_valid = 1 order by op_time desc LIMIT 100000
        delete:
          cron: 0 0 0/1 * * ?
          enable: true
          offsetSecond: -10800
      vpnunlimited_serverip:
        id: 14162
        name: vpnunlimited_serverip
        update:
          cron: 0 0 0/1 * * ?
          enable: true
          sql: SELECT addr_format AS addrFormat, ip1 AS ip1, ip2 AS ip2 FROM cn_vpn_learning_ip WHERE knowledge_id = 15 and plugin_id = 11 and is_valid = 1 order by op_time desc LIMIT 100000
        delete:
          cron: 0 0 0/1 * * ?
          enable: true
          offsetSecond: -10800
      windscribevpn_serverip:
        id: 14290
        name: windscribevpn_serverip
        update:
          cron: 0 0 0/1 * * ?
          enable: true
          sql: SELECT addr_format AS addrFormat, ip1 AS ip1, ip2 AS ip2 FROM cn_vpn_learning_ip WHERE knowledge_id = 15 and plugin_id = 13 and is_valid = 1 order by op_time desc LIMIT 100000
        delete:
          cron: 0 0 0/1 * * ?
          enable: true
          offsetSecond: -10800
      vpn4fame_serverip:
        id: 9
        name: vpn4fame_serverip
        update:
          cron: 0 0 0/1 * * ?
          enable: false
          sql:
        delete:
          cron: 0 0 0/1 * * ?
          enable: false
          offsetSecond: -600
      protonvpn_ip:
        id: 10
        name: protonvpn_ip
        update:
          cron: 0 0 0/1 * * ?
          enable: false
          sql:
        delete:
          cron: 0 0 0/1 * * ?
          enable: false
          offsetSecond: -600
      expressvpn_ip:
        id: 11
        name: expressvpn_ip
        update:
          cron: 0 0 0/1 * * ?
          enable: false
          sql:
        delete:
          cron: 0 0 0/1 * * ?
          enable: false
          offsetSecond: -600
    fqdn:
      cyberghostvpn_servername:
        id: 14128
        name: cyberghostvpn_servername
        update:
          cron: 0 0 0/1 * * ?
          enable: true
          sql: SELECT domain AS domain FROM cn_vpn_learning_domain WHERE knowledge_id = 14 and plugin_id = 5 and is_valid = 1 order by op_time desc LIMIT 100000
        delete:
          cron: 0 0 0/1 * * ?
          enable: true
          offsetSecond: -10800
      ipvanishvpn_servername:
        id: 14174
        name: ipvanishvpn_servername
        update:
          cron: 0 0 0/1 * * ?
          enable: true
          sql: SELECT domain AS domain FROM cn_vpn_learning_domain WHERE knowledge_id = 14 and plugin_id = 2 and is_valid = 1 order by op_time desc LIMIT 100000
        delete:
          cron: 0 0 0/1 * * ?
          enable: true
          offsetSecond: -10800
      ivacyvpn_servername:
        id: 14183
        name: ivacyvpn_servername
        update:
          cron: 0 0 0/1 * * ?
          enable: true
          sql: SELECT domain AS domain FROM cn_vpn_learning_domain WHERE knowledge_id = 14 and plugin_id = 8 and is_valid = 1 order by op_time desc LIMIT 100000
        delete:
          cron: 0 0 0/1 * * ?
          enable: true
          offsetSecond: -10800
      windscribevpn_servername:
        id: 14282
        name: windscribevpn_servername
        update:
          cron: 0 0 0/1 * * ?
          enable: true
          sql: SELECT domain AS domain FROM cn_vpn_learning_domain WHERE knowledge_id = 14 and plugin_id = 12 and is_valid = 1 order by op_time desc LIMIT 100000
        delete:
          cron: 0 0 0/1 * * ?
          enable: true
          offsetSecond: -10800
      vpnunlimited_servername:
        id: 104
        name: vpnunlimited_servername
        update:
          cron: 0 0 0/1 * * ?
          enable: false
          sql:
        delete:
          cron: 0 0 0/1 * * ?
          enable: false
          offsetSecond: -600
      vpn4fame_servername:
        id: 105
        name: vpn4fame_servername
        update:
          cron: 0 0 0/1 * * ?
          enable: false
          sql:
        delete:
          cron: 0 0 0/1 * * ?
          enable: false
          offsetSecond: -600