Changes between Version 26 and Version 27 of CloudNativeRenew
- Timestamp:
- Mar 29, 2021, 5:02:16 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CloudNativeRenew
v26 v27 58 58 * `term` (To terminate a simulation irreversibly. Subsequent control commands will have no effects until a new simulation is started.) 59 59 60 === Check for available Plugins === 61 To check what plugins are available in a running simulator perform this GET request:\\ 62 `curl http://localhost:8085/actuator/health/pluginHealth` 63 64 A JSON containing all currently loaded plugins will be returned. 65 60 66 61 67 === Extending the simulator on the fly === … … 78 84 `curl -X POST localhost:8085/loadPlugin?pluginName=primeCompute.jar` 79 85 86 To check, that the plugin indeed was loaded, you can execute:\\ 87 `curl http://localhost:8085/actuator/health/pluginHealth`\\ 88 The PrimeCompute Plugin should be listed. 89 80 90 You can now start the simulation with the supplied plugin:\\ 81 91 `curl -X POST "localhost:8085/simulation/start?mainNet=primeDistributor&sns=primeDistributor_withPlugin.sns"` … … 83 93 Use the log to observe the number computations printed to the console:\\ 84 94 `curl localhost:8085/log` 95 96 Note, that the uploaded plugin is placed with the other plugins, therefore it will be loaded automatically upon subsequent starts of the simulator, without the need to upload it again. 85 97 86 98 == Download == #download