-
Notifications
You must be signed in to change notification settings - Fork 26.5k
[GSoC 2025] Add discovery-timeline QoS command to display real-time service discovery metadata #15590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3.3
Are you sure you want to change the base?
[GSoC 2025] Add discovery-timeline QoS command to display real-time service discovery metadata #15590
Changes from 2 commits
855646f
67ddb33
f994f18
b446f9d
b9bfc4c
1f4a4eb
9743d31
2c06cac
6a99568
6839f23
b9b4995
c4a89a1
04b7a9a
3bd9d97
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,3 @@ dubbo: | |
metadata-report: | ||
address: zookeeper://127.0.0.1:2181 | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
online=org.apache.dubbo.qos.command.impl.Online | ||
onlineApp=org.apache.dubbo.qos.command.impl.OnlineApp | ||
onlineInterface=org.apache.dubbo.qos.command.impl.OnlineInterface | ||
help=org.apache.dubbo.qos.command.impl.Help | ||
quit=org.apache.dubbo.qos.command.impl.Quit | ||
ls=org.apache.dubbo.qos.command.impl.Ls | ||
offline=org.apache.dubbo.qos.command.impl.Offline | ||
offlineApp=org.apache.dubbo.qos.command.impl.OfflineApp | ||
offlineInterface=org.apache.dubbo.qos.command.impl.OfflineInterface | ||
ready=org.apache.dubbo.qos.command.impl.Ready | ||
startup=org.apache.dubbo.qos.command.impl.Startup | ||
live=org.apache.dubbo.qos.command.impl.Live | ||
version=org.apache.dubbo.qos.command.impl.Version | ||
publishMetadata=org.apache.dubbo.qos.command.impl.PublishMetadata | ||
cd=org.apache.dubbo.qos.command.impl.ChangeTelnet | ||
count=org.apache.dubbo.qos.command.impl.CountTelnet | ||
pwd=org.apache.dubbo.qos.command.impl.PwdTelnet | ||
invoke=org.apache.dubbo.qos.command.impl.InvokeTelnet | ||
select=org.apache.dubbo.qos.command.impl.SelectTelnet | ||
ps=org.apache.dubbo.qos.command.impl.PortTelnet | ||
shutdown=org.apache.dubbo.qos.command.impl.ShutdownTelnet | ||
enableDetailProfiler=org.apache.dubbo.qos.command.impl.EnableDetailProfiler | ||
disableDetailProfiler=org.apache.dubbo.qos.command.impl.DisableDetailProfiler | ||
enableSimpleProfiler=org.apache.dubbo.qos.command.impl.EnableSimpleProfiler | ||
disableSimpleProfiler=org.apache.dubbo.qos.command.impl.DisableSimpleProfiler | ||
setProfilerWarnPercent=org.apache.dubbo.qos.command.impl.SetProfilerWarnPercent | ||
getRouterSnapshot=org.apache.dubbo.qos.command.impl.GetRouterSnapshot | ||
getEnabledRouterSnapshot=org.apache.dubbo.qos.command.impl.GetEnabledRouterSnapshot | ||
enableRouterSnapshot=org.apache.dubbo.qos.command.impl.EnableRouterSnapshot | ||
disableRouterSnapshot=org.apache.dubbo.qos.command.impl.DisableRouterSnapshot | ||
getRecentRouterSnapshot=org.apache.dubbo.qos.command.impl.GetRecentRouterSnapshot | ||
loggerInfo=org.apache.dubbo.qos.command.impl.LoggerInfo | ||
switchLogger=org.apache.dubbo.qos.command.impl.SwitchLogger | ||
switchLogLevel=org.apache.dubbo.qos.command.impl.SwitchLogLevel | ||
serializeCheckStatus=org.apache.dubbo.qos.command.impl.SerializeCheckStatus | ||
serializeWarnedClasses=org.apache.dubbo.qos.command.impl.SerializeWarnedClasses | ||
getConfig=org.apache.dubbo.qos.command.impl.GetConfig | ||
getAddress=org.apache.dubbo.qos.command.impl.GetAddress | ||
gracefulShutdown=org.apache.dubbo.qos.command.impl.GracefulShutdown | ||
metrics_default=org.apache.dubbo.qos.command.impl.DefaultMetricsReporterCmd | ||
getOpenAPI=org.apache.dubbo.qos.command.impl.GetOpenAPI | ||
discovery-timeline=org.apache.dubbo.qos.command.impl.DiscoveryTimelineCommand |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,13 @@ | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.apache.dubbo</groupId> | ||
<artifactId>dubbo-parent</artifactId> | ||
<version>${revision}</version> | ||
<version>3.3.6-SNAPSHOT</version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. use revision |
||
<relativePath>../../pom.xml</relativePath> | ||
</parent> | ||
|
||
|
@@ -34,6 +34,18 @@ | |
<skip_maven_deploy>false</skip_maven_deploy> | ||
</properties> | ||
|
||
<dependencyManagement> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You don't need to import it because it's already managed by the parent dependencyManagement. |
||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.dubbo</groupId> | ||
<artifactId>dubbo-dependencies-bom</artifactId> | ||
<version>${project.version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.dubbo</groupId> | ||
|
@@ -65,11 +77,10 @@ | |
<artifactId>dubbo-serialization-hessian2</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.apache.dubbo</groupId> | ||
<artifactId>dubbo-serialization-fastjson2</artifactId> | ||
<version>${project.parent.version}</version> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.dubbo</groupId> | ||
|
@@ -79,7 +90,7 @@ | |
<dependency> | ||
<groupId>org.apache.dubbo</groupId> | ||
<artifactId>dubbo-native</artifactId> | ||
<version>${project.parent.version}</version> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.dubbo</groupId> | ||
|
@@ -89,7 +100,89 @@ | |
<dependency> | ||
<groupId>org.apache.logging.log4j</groupId> | ||
<artifactId>log4j-slf4j-impl</artifactId> | ||
<version>2.24.3</version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Delete all your added dependencies because these artifacts have already been added for testing. |
||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-api</artifactId> | ||
<version>5.10.3</version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All versions should be defined in dependencyManagement. |
||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-engine</artifactId> | ||
<version>5.10.3</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.platform</groupId> | ||
<artifactId>junit-platform-commons</artifactId> | ||
<version>1.10.3</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.platform</groupId> | ||
<artifactId>junit-platform-engine</artifactId> | ||
<version>1.10.3</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.platform</groupId> | ||
<artifactId>junit-platform-launcher</artifactId> | ||
<version>1.10.3</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.mockito</groupId> | ||
<artifactId>mockito-core</artifactId> | ||
<version>4.11.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.mockito</groupId> | ||
<artifactId>mockito-inline</artifactId> | ||
<version>4.11.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.hamcrest</groupId> | ||
<artifactId>hamcrest</artifactId> | ||
<version>2.2</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Delete it because building configuration should be managed by dubbo-parent for building dubbo with different jdk versions. |
||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.14.0</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>3.5.3</version> | ||
<configuration> | ||
<includes> | ||
<include>**/*Test.java</include> | ||
</includes> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>com.diffplug.spotless</groupId> | ||
<artifactId>spotless-maven-plugin</artifactId> | ||
<version>2.44.4</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>check</goal> | ||
</goals> | ||
<phase>validate</phase> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete this file because it has already existed in resources