[FLINK-7718] [flip6] Add JobVertexMetricsHandler to DispatcherRestEndpoint
Migrate logic in org.apache.flink.runtime.rest.handler.legacy.metrics.JobVertexMetricsHandler to new handler and add new handler to DispatcherRestEndpoint. Add common classes for remaining implementations of org.apache.flink.runtime.rest.handler.legacy.metrics.AbstractMetricsHandler, which require migration as well. [FLINK-7718] [flip6] Clean up JobVertexMetricsHandlerHeaders [FLINK-7718] [flip6] Assert that HTTP code is 404 if metric is unknown [FLINK-7718] [flip6] Minor fixes in Javadocs [FLINK-7718] [flip6] Add unit test for AbstractMetricsHandlerHeaders [FLINK-7718] [flip6] Let unit tests inherit from TestLogger [FLINK-7718] [flip6] Re-format Metric constructor [FLINK-7718] [flip6] Fix mistake in Javadoc of AbstractMetricsHandlerHeaders [FLINK-7718] [flip6] Rename AbstractMetricsHandlerHeaders to AbstractMetricsHeaders Strip the term Handler from the Header class. Also rename its subclasses. [FLINK-7718] [flip6] No longer return HTTP 404 if metric is unknown [FLINK-7718] [flip6] Make JobVertexMetricsHeaders class final [FLINK-7718] [flip6] Introduce MetricsHandlerTestBase for future MetricHandlers [FLINK-7718] [flip6] Always return same MessageParameter objects in JobVertexMetricsMessageParameters This closes #5055.
Showing
想要评论请 注册 或 登录