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