What is the difference between spring-shell and CRaSH?

The CRaSH project used by spring-boot can provide an interactive shell for Spring.

And I found that spring-shell have similar functions.

So what is the difference between the two? Why not spring-boot just use spring -sehll?

Any comments or feedback would be appreciated.

+4
source share
1 answer

I think you misunderstood the goal of integrating CRaSH into Boot. Boot provides integration with CRaSH so that you can remotely connect to a running application and manage requests or other information. Boot integration also provides customizable commands to query the endpoints of actuators that are available.

Spring Shell is also an interactive shell that can be easily expanded with a command, but it does not fulfill the same goal: CRaSH allows you to interact with the virtual machine and the "application" on which it was installed, while spring shell allows you Create your own shell using your own command-line application.

+8
source

Source: https://habr.com/ru/post/1542624/


All Articles