You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working on a spring boot based application and using spring webflux, we are exposing 3 ports
server.port
management.server.port (actuator) and are planning to expose another port called as admin port.
We want to expose a specific REST controller on this admin port which will be private. This api will provide all the admin level configuration and will not be available publicly to the user.
Note: We don't want to expose api on actuator port. Need to open a new port.
Using the following code to open a new port by starting a new server instance.
`@Configuration
public class NettyServerForAdminPort {
Working on a spring boot based application and using spring webflux, we are exposing 3 ports
server.port
management.server.port (actuator) and are planning to expose another port called as admin port.
We want to expose a specific REST controller on this admin port which will be private. This api will provide all the admin level configuration and will not be available publicly to the user.
Note: We don't want to expose api on actuator port. Need to open a new port.
Using the following code to open a new port by starting a new server instance.
`@Configuration
public class NettyServerForAdminPort {
}`
Spring boot, webflux doesn't provide an out of box solution for this, can this be achieved using RouterFunction ??
Any insights here would be helpful.
Thank you
The text was updated successfully, but these errors were encountered: