Projects



Changes between Version 26 and Version 27 of CloudNativeRenew


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

--

Legend:

Unmodified
Added
Removed
Modified
  • CloudNativeRenew

    v26 v27  
    5858 * `term` (To terminate a simulation irreversibly. Subsequent control commands will have no effects until a new simulation is started.)
    5959
     60=== Check for available Plugins ===
     61To check what plugins are available in a running simulator perform this GET request:\\
     62`curl http://localhost:8085/actuator/health/pluginHealth`
     63
     64A JSON containing all currently loaded plugins will be returned.
     65
    6066
    6167=== Extending the simulator on the fly ===
     
    7884`curl -X POST localhost:8085/loadPlugin?pluginName=primeCompute.jar`
    7985
     86To check, that the plugin indeed was loaded, you can execute:\\
     87`curl http://localhost:8085/actuator/health/pluginHealth`\\
     88The PrimeCompute Plugin should be listed.
     89
    8090You can now start the simulation with the supplied plugin:\\
    8191`curl -X POST "localhost:8085/simulation/start?mainNet=primeDistributor&sns=primeDistributor_withPlugin.sns"`
     
    8393Use the log to observe the number computations printed to the console:\\
    8494`curl localhost:8085/log`
     95
     96Note, 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.
    8597
    8698== Download == #download