Projects



Changes between Version 41 and Version 42 of CloudNativeRenew


Ignore:
Timestamp:
Mar 29, 2021, 5:52:25 PM (4 years ago)
Author:
roewekamp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CloudNativeRenew

    v41 v42  
    9696`curl http://localhost:8085/actuator/health`
    9797
    98 A more complex JSON containing several pieces of information about the simulator and its environment will be returned.
     98A more complex JSON containing several pieces of information about the simulator and its environment will be returned.\\
     99However, a more convenient way to consume the information is to use an external UI, see section [#admin Connecting an external admin interface] for more details.
    99100
    100101=== Extending the simulator on-the-fly ===
     
    130131
    131132
     133=== Connecting an external admin interface === #admin
     134The metric endpoints can be consumed by an external interface tool, such as [https://github.com/codecentric/spring-boot-admin Spring Boot Admin by codecentric].\\
     135To set this up, you can download our sample setup of Spring Boot Admin here.
    132136
     137Extract the archive and open a command shell in the extracted folder. Run:\\
     138`./gradlew bootRun` (or `.\gradlew bootRun` on Windows CMD)\\
     139Upon successful startup the Gradle task will show "80%" completion, as it assumes the run to be complete once the application exits again.
    133140
     141Then, close Cloud Native Renew, if it is currently running and navigate to the Cloud Native Renew directory.\\
     142Open the file `application.properties` and uncomment (remove the `#`) the line `spring.boot.admin.client.url=http://localhost:8099`.\\
     143Then start Cloud Native Renew as described in the [#start startup instructions] section while Spring Boot Admin is running in adifferent terminal.
     144
     145Now open a browser and navigate to `localhost:8099` and explore the application in your browser.