singnet / snet-daemon

Service Daemon exposes an AI application as an API that is accessible through the SingularityNET Network. It handles all interaction with the blockchain for authorization and payment using AGI tokens and passes through API calls to the AI application.
MIT License
45 stars 48 forks source link

Add the client storage cert details as part of heartbeat #572

Closed anandrgitnirman closed 5 days ago

anandrgitnirman commented 2 years ago

enhance the hearbeat by adding the content shown below in bold "storageClientCertDetails": { "validFrom": "Valid Since: 2022-05-20 11:55:00 +0000 UTC days", "validTill": "Valid Till: 2023-05-20 11:55:00 +0000 UTC days" }

{
"daemonID": "9afe2405424bac5653f0645f2d9baa3618d9dc916fa50eab926f7f43d10a89d3",
"timestamp": "1655722159",
"status": "Online",
"serviceheartbeat": "{\"serviceID\":\"coreference-resolution-service\",\"status\":\"SERVING\"}",
"daemonVersion": "",
"storageClientCertDetails": {
"validFrom": "Valid Since: 2022-05-20 11:55:00 +0000 UTC days",
"validTill": "Valid Till: 2023-05-20 11:55:00 +0000 UTC days"
}
}