components.xml 17.1 KB
Newer Older
F
Frankie Wu 已提交
1 2
<plexus>
	<components>
F
Frankie Wu 已提交
3 4 5 6 7 8 9 10
		<component>
			<role>com.dianping.cat.message.spi.MessageConsumerRegistry</role>
			<implementation>com.dianping.cat.message.spi.internal.DefaultMessageConsumerRegistry</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hints>
						<role-hint>realtime</role-hint>
F
Frankie Wu 已提交
11
						<role-hint>dump-to-hdfs</role-hint>
F
Frankie Wu 已提交
12 13 14 15 16
					</role-hints>
					<field-name>m_consumers</field-name>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
17 18 19 20 21 22 23 24 25 26 27 28 29
		<component>
			<role>com.dianping.cat.report.graph.ValueTranslater</role>
			<implementation>com.dianping.cat.report.graph.DefaultValueTranslater</implementation>
		</component>
		<component>
			<role>com.dianping.cat.report.graph.GraphBuilder</role>
			<implementation>com.dianping.cat.report.graph.DefaultGraphBuilder</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.graph.ValueTranslater</role>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
30 31 32
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>transaction-local</role-hint>
F
Frankie Wu 已提交
33
			<implementation>com.dianping.cat.report.page.model.transaction.LocalTransactionService</implementation>
F
bug fix  
Frankie Wu 已提交
34 35 36
			<configuration>
				<defaultDomain>Cat</defaultDomain>
			</configuration>
F
Frankie Wu 已提交
37 38 39 40 41 42 43 44 45
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
46 47
			<role-hint>transaction-historical</role-hint>
			<implementation>com.dianping.cat.report.page.model.transaction.HistoricalTransactionService</implementation>
48 49 50 51 52
			<requirements>
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
			</requirements>
F
Frankie Wu 已提交
53 54 55 56
		</component>
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>transaction</role-hint>
F
Frankie Wu 已提交
57
			<implementation>com.dianping.cat.report.page.model.transaction.CompositeTransactionService</implementation>
58
			<configuration>
F
Frankie Wu 已提交
59
				<remoteServers></remoteServers>
60
			</configuration>
F
Frankie Wu 已提交
61 62 63 64 65
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hints>
						<role-hint>transaction-local</role-hint>
66
						<role-hint>transaction-historical</role-hint>
F
Frankie Wu 已提交
67 68 69 70 71
					</role-hints>
					<field-name>m_services</field-name>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
72 73 74 75
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>event-local</role-hint>
			<implementation>com.dianping.cat.report.page.model.event.LocalEventService</implementation>
F
bug fix  
Frankie Wu 已提交
76 77 78
			<configuration>
				<defaultDomain>Cat</defaultDomain>
			</configuration>
F
Frankie Wu 已提交
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
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>event-historical</role-hint>
			<implementation>com.dianping.cat.report.page.model.event.HistoricalEventService</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>event</role-hint>
			<implementation>com.dianping.cat.report.page.model.event.CompositeEventService</implementation>
			<configuration>
				<remoteServers></remoteServers>
			</configuration>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hints>
						<role-hint>event-local</role-hint>
						<role-hint>event-historical</role-hint>
					</role-hints>
					<field-name>m_services</field-name>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
114
		<component>
F
Frankie Wu 已提交
115
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
F
Frankie Wu 已提交
116 117
			<role-hint>problem-local</role-hint>
			<implementation>com.dianping.cat.report.page.model.problem.LocalProblemService</implementation>
F
bug fix  
Frankie Wu 已提交
118 119 120
			<configuration>
				<defaultDomain>Cat</defaultDomain>
			</configuration>
F
Frankie Wu 已提交
121 122 123 124 125 126
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
				</requirement>
			</requirements>
F
Frankie Wu 已提交
127
		</component>
F
Frankie Wu 已提交
128 129
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
130 131
			<role-hint>problem-historical</role-hint>
			<implementation>com.dianping.cat.report.page.model.problem.HistoricalProblemService</implementation>
F
Frankie Wu 已提交
132 133 134 135 136 137
			<requirements>
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
138
		<component>
F
Frankie Wu 已提交
139
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
F
Frankie Wu 已提交
140 141
			<role-hint>problem</role-hint>
			<implementation>com.dianping.cat.report.page.model.problem.CompositeProblemService</implementation>
142
			<configuration>
F
Frankie Wu 已提交
143
				<remoteServers></remoteServers>
144
			</configuration>
F
Frankie Wu 已提交
145 146
			<requirements>
				<requirement>
F
Frankie Wu 已提交
147 148
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hints>
F
Frankie Wu 已提交
149
						<role-hint>problem-local</role-hint>
150
						<role-hint>problem-historical</role-hint>
F
Frankie Wu 已提交
151 152
					</role-hints>
					<field-name>m_services</field-name>
F
Frankie Wu 已提交
153 154 155
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
156 157 158 159
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>ip-local</role-hint>
			<implementation>com.dianping.cat.report.page.model.ip.LocalIpService</implementation>
160 161 162
			<configuration>
				<defaultDomain>Cat</defaultDomain>
			</configuration>
F
Frankie Wu 已提交
163 164 165 166 167 168 169 170 171 172 173
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>ip</role-hint>
			<implementation>com.dianping.cat.report.page.model.ip.CompositeIpService</implementation>
174
			<configuration>
F
Frankie Wu 已提交
175
				<remoteServers></remoteServers>
176
			</configuration>
F
Frankie Wu 已提交
177 178 179 180 181 182 183 184 185 186
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hints>
						<role-hint>ip-local</role-hint>
					</role-hints>
					<field-name>m_services</field-name>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
187 188 189 190 191
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>logview-local</role-hint>
			<implementation>com.dianping.cat.report.page.model.logview.LocalLogViewService</implementation>
			<requirements>
192 193 194 195
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
				</requirement>
196 197 198 199 200 201 202
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageCodec</role>
					<role-hint>html</role-hint>
				</requirement>
F
Frankie Wu 已提交
203 204
			</requirements>
		</component>
F
Frankie Wu 已提交
205 206
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
207 208
			<role-hint>logview-historical</role-hint>
			<implementation>com.dianping.cat.report.page.model.logview.HistoricalLogViewService</implementation>
F
Frankie Wu 已提交
209 210 211 212 213 214 215 216 217 218
			<requirements>
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageCodec</role>
					<role-hint>html</role-hint>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
219 220 221 222
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>logview</role-hint>
			<implementation>com.dianping.cat.report.page.model.logview.CompositeLogViewService</implementation>
223
			<configuration>
F
Frankie Wu 已提交
224
				<remoteServers></remoteServers>
225
			</configuration>
F
Frankie Wu 已提交
226 227 228 229 230
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hints>
						<role-hint>logview-local</role-hint>
231
						<role-hint>logview-historical</role-hint>
F
Frankie Wu 已提交
232 233 234 235 236
					</role-hints>
					<field-name>m_services</field-name>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256
		<component>
			<role>com.site.web.mvc.model.ModuleRegistry</role>
			<implementation>com.site.web.mvc.model.ModuleRegistry</implementation>
			<configuration>
				<modules>
					<module default="true">com.dianping.cat.report.ReportModule</module>
				</modules>
			</configuration>
		</component>
		<component>
			<role>com.dianping.cat.report.ReportModule</role>
			<implementation>com.dianping.cat.report.ReportModule</implementation>
		</component>
		<component>
			<role>com.dianping.cat.report.page.home.Handler</role>
			<implementation>com.dianping.cat.report.page.home.Handler</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.home.JspViewer</role>
				</requirement>
257 258 259 260 261
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
					<field-name>m_realtimeConsumer</field-name>
				</requirement>
F
Frankie Wu 已提交
262 263 264 265 266 267
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.home.JspViewer</role>
			<implementation>com.dianping.cat.report.page.home.JspViewer</implementation>
		</component>
268 269 270 271 272 273 274 275 276 277 278
		<component>
			<role>com.dianping.cat.consumer.RealtimeConsumer</role>
			<implementation>com.dianping.cat.consumer.RealtimeConsumer</implementation>
			<requirements>
				<requirement>
					<role>org.codehaus.plexus.logging.Logger</role>
				</requirement>
				<requirement>
					<role>java.lang.String</role>
				</requirement>
				<requirement>
F
Frankie Wu 已提交
279
					<role>java.util.List</role>
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297
				</requirement>
				<requirement>
					<role>long</role>
				</requirement>
				<requirement>
					<role>long</role>
				</requirement>
				<requirement>
					<role>int</role>
				</requirement>
				<requirement>
					<role>java.util.List</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.consumer.AnalyzerFactory</role>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
298
		<component>
Y
You Yong 已提交
299 300
			<role>com.dianping.cat.report.page.problem.Handler</role>
			<implementation>com.dianping.cat.report.page.problem.Handler</implementation>
F
Frankie Wu 已提交
301 302
			<requirements>
				<requirement>
Y
You Yong 已提交
303
					<role>com.dianping.cat.report.page.problem.JspViewer</role>
F
Frankie Wu 已提交
304 305
				</requirement>
				<requirement>
F
Frankie Wu 已提交
306
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
Y
You Yong 已提交
307
					<role-hint>problem</role-hint>
F
Frankie Wu 已提交
308
					<field-name>m_service</field-name>
F
Frankie Wu 已提交
309 310 311 312
				</requirement>
			</requirements>
		</component>
		<component>
Y
You Yong 已提交
313 314
			<role>com.dianping.cat.report.page.problem.JspViewer</role>
			<implementation>com.dianping.cat.report.page.problem.JspViewer</implementation>
F
Frankie Wu 已提交
315
		</component>
F
Frankie Wu 已提交
316
		<component>
F
Frankie Wu 已提交
317 318 319 320 321 322 323
			<role>com.dianping.cat.report.page.transaction.Handler</role>
			<implementation>com.dianping.cat.report.page.transaction.Handler</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.transaction.JspViewer</role>
				</requirement>
				<requirement>
F
Frankie Wu 已提交
324 325 326
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>transaction</role-hint>
					<field-name>m_service</field-name>
F
Frankie Wu 已提交
327
				</requirement>
Y
youyong 已提交
328
				<requirement>
F
Frankie Wu 已提交
329
					<role>com.dianping.cat.report.graph.GraphBuilder</role>
Y
youyong 已提交
330
				</requirement>
F
Frankie Wu 已提交
331 332 333 334 335 336
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.transaction.JspViewer</role>
			<implementation>com.dianping.cat.report.page.transaction.JspViewer</implementation>
		</component>
F
bug fix  
Frankie Wu 已提交
337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357
		<component>
			<role>com.dianping.cat.report.page.event.Handler</role>
			<implementation>com.dianping.cat.report.page.event.Handler</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.event.JspViewer</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>event</role-hint>
					<field-name>m_service</field-name>
				</requirement>
				<requirement>
					<role>com.dianping.cat.report.graph.GraphBuilder</role>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.event.JspViewer</role>
			<implementation>com.dianping.cat.report.page.event.JspViewer</implementation>
		</component>
F
Frankie Wu 已提交
358 359 360 361 362 363 364
		<component>
			<role>com.dianping.cat.report.page.logview.Handler</role>
			<implementation>com.dianping.cat.report.page.logview.Handler</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.logview.JspViewer</role>
				</requirement>
F
Frankie Wu 已提交
365
				<requirement>
F
Frankie Wu 已提交
366 367 368
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>logview</role-hint>
					<field-name>m_service</field-name>
F
Frankie Wu 已提交
369
				</requirement>
F
Frankie Wu 已提交
370 371 372 373 374 375
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.logview.JspViewer</role>
			<implementation>com.dianping.cat.report.page.logview.JspViewer</implementation>
		</component>
F
Frankie Wu 已提交
376 377 378 379 380 381 382 383
		<component>
			<role>com.dianping.cat.report.page.ip.Handler</role>
			<implementation>com.dianping.cat.report.page.ip.Handler</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.ip.JspViewer</role>
				</requirement>
				<requirement>
F
Frankie Wu 已提交
384 385 386
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>ip</role-hint>
					<field-name>m_service</field-name>
Y
youyong 已提交
387
				</requirement>
F
Frankie Wu 已提交
388 389 390 391 392 393
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.ip.JspViewer</role>
			<implementation>com.dianping.cat.report.page.ip.JspViewer</implementation>
		</component>
F
Frankie Wu 已提交
394 395 396 397 398 399 400 401 402 403 404 405
		<component>
			<role>com.dianping.cat.report.page.model.Handler</role>
			<implementation>com.dianping.cat.report.page.model.Handler</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.model.JspViewer</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>transaction-local</role-hint>
					<field-name>m_transactionService</field-name>
				</requirement>
406 407 408 409 410
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>problem-local</role-hint>
					<field-name>m_problemService</field-name>
				</requirement>
F
Frankie Wu 已提交
411 412 413 414 415
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>logview-local</role-hint>
					<field-name>m_logviewService</field-name>
				</requirement>
F
Frankie Wu 已提交
416 417 418 419 420 421 422
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.model.JspViewer</role>
			<implementation>com.dianping.cat.report.page.model.JspViewer</implementation>
		</component>
		<component>
F
Frankie Wu 已提交
423 424
			<role>com.dianping.cat.report.page.model.transaction.LocalTransactionService</role>
			<implementation>com.dianping.cat.report.page.model.transaction.LocalTransactionService</implementation>
F
Frankie Wu 已提交
425 426 427 428 429 430
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
					<field-name>m_consumer</field-name>
				</requirement>
F
bug fix  
Frankie Wu 已提交
431 432 433
				<requirement>
					<role>java.lang.String</role>
				</requirement>
F
Frankie Wu 已提交
434 435
			</requirements>
		</component>
436 437 438 439 440 441 442 443 444
		<component>
			<role>com.dianping.cat.report.page.model.problem.LocalProblemService</role>
			<implementation>com.dianping.cat.report.page.model.problem.LocalProblemService</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
					<field-name>m_consumer</field-name>
				</requirement>
F
bug fix  
Frankie Wu 已提交
445 446 447
				<requirement>
					<role>java.lang.String</role>
				</requirement>
448 449
			</requirements>
		</component>
F
Frankie Wu 已提交
450 451 452 453
		<component>
			<role>com.dianping.cat.report.page.model.logview.LocalLogViewService</role>
			<implementation>com.dianping.cat.report.page.model.logview.LocalLogViewService</implementation>
			<requirements>
454 455 456 457 458
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageCodec</role>
Y
You Yong 已提交
459
					<role-hint>html</role-hint>
460
				</requirement>
461 462 463 464 465
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
					<field-name>m_consumer</field-name>
				</requirement>
F
bug fix  
Frankie Wu 已提交
466 467 468
				<requirement>
					<role>java.lang.String</role>
				</requirement>
F
Frankie Wu 已提交
469 470
			</requirements>
		</component>
F
Frankie Wu 已提交
471
		<component>
Y
You Yong 已提交
472 473
			<role>com.dianping.cat.report.page.sql.Handler</role>
			<implementation>com.dianping.cat.report.page.sql.Handler</implementation>
F
Frankie Wu 已提交
474 475
			<requirements>
				<requirement>
Y
You Yong 已提交
476
					<role>com.dianping.cat.report.page.sql.JspViewer</role>
F
Frankie Wu 已提交
477 478
				</requirement>
				<requirement>
Y
You Yong 已提交
479
					<role>com.dianping.cat.job.sql.dal.SqlReportRecordDao</role>
F
Frankie Wu 已提交
480
				</requirement>
Y
You Yong 已提交
481 482 483
				<requirement>
					<role>com.dianping.cat.report.graph.GraphBuilder</role>
				</requirement>
F
Frankie Wu 已提交
484 485 486
			</requirements>
		</component>
		<component>
Y
You Yong 已提交
487 488 489 490 491 492 493 494 495 496 497
			<role>com.dianping.cat.report.page.sql.JspViewer</role>
			<implementation>com.dianping.cat.report.page.sql.JspViewer</implementation>
		</component>
		<component>
			<role>com.dianping.cat.job.sql.dal.SqlReportRecordDao</role>
			<implementation>com.dianping.cat.job.sql.dal.SqlReportRecordDao</implementation>
			<requirements>
				<requirement>
					<role>com.site.dal.jdbc.QueryEngine</role>
				</requirement>
			</requirements>
F
Frankie Wu 已提交
498
		</component>
F
Frankie Wu 已提交
499 500
	</components>
</plexus>