kilmajster / ngrok-spring-boot-starter

🚀 Spring Boot tunneling with Ngrok made easy! No matter if you are using Windows, Mac OS X, Linux or even Docker - ngrok binary will be chosen automatically 🤖 so you don't need to care about environment changing etc. auto-configuration magic 🧙‍♂️
MIT License
125 stars 17 forks source link

Add event for Ngrok initialization #50

Closed juherr closed 3 years ago

juherr commented 3 years ago

Hi,

In my context, I need to have the current hostname. When using ngrok, I want to have the available tunnels. Depending on when I check them, ngrok can be initialized or not. I think an event is the best way to notify it.

Additionally, I added Maven wrapper and propose another way to get the current Spring port.

Feel free to cherry-pike the commits you want.

Fyi, 0.3.4 is not yet available on Central: https://search.maven.org/artifact/io.github.kilmajster/ngrok-spring-boot-starter

juherr commented 3 years ago

Merged into 0.3.5