Skip to content

Commit

Permalink
information about the JVM state added to ping response under "jvm", r…
Browse files Browse the repository at this point in the history
…elated to #12
  • Loading branch information
DanDayne committed Nov 11, 2019
1 parent f3a3dc8 commit 81d3a9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DBmanager/DBapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from multiprocessing import Event
from json import load
from pathlib import Path
from HWdevices.PSI_java.JVMController import JVMController


class SecuredResource(Resource):
Expand Down Expand Up @@ -266,6 +267,7 @@ def get(self):
for device_type in node.devices:
device = node.devices[device_type]
response[node.node_id].append([device.device_class, device.device_type, device.device_id])
response['jvm'] = JVMController.isJVMStarted()
return response, 200


Expand Down

0 comments on commit 81d3a9a

Please sign in to comment.