Sign in
apache
/
openwhisk-package-cloudant
/
0c69b683ae907643933529eabcabd30a3686dd01
/
.
/
provider
/
lib
/
health.js
blob: ea417c946002f55cb3c3bc136833ad009b355165 [
file
] [
log
] [
blame
]
module
.
exports
=
function
(
tid
,
logger
,
providerUtils
)
{
// Health Endpoint
this
.
endPoint
=
'/health'
;
// Health Logic
this
.
health
=
function
(
req
,
res
)
{
res
.
send
({
triggerCount
:
Object
.
keys
(
providerUtils
.
triggers
).
length
});
};
};