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