项目作者: stfsy

项目描述 :
ExpressJS actuator middleware for Cloud Foundry Applications
高级语言: JavaScript
项目地址: git://github.com/stfsy/express-cloudfoundry-actuator-middleware.git
创建时间: 2017-10-03T06:43:18Z
项目社区:https://github.com/stfsy/express-cloudfoundry-actuator-middleware

开源协议:MIT License

下载


express-cloudfoundry-actuator-middleware

Build Status
Dependency Status
DevDependency Status
Npm downloads
Npm Version
Git tag
Github issues
License

ExpressJS actuator middleware for NodeJS Cloud Foundry Applications.

Currently provides health and info endpoints for Cloud Foundry Apps Manager. These two and future Endpoints are restricted to users that

  • are currently logged into the Apps Manager and
  • have sufficient privileges to view sensitive information.

Use Cloud Foundry Actuator CLI to generate a build info file ahead of deployment time. This file is optional, but we can’t show version infos without it.

Health status will be shown automatically and will be costumizable in the future.

See Express Cloud Foundry Actuator Middleware Example for an example application with full integration of Cloud Foundry Actuator CLI and Express Cloud Foundry Actuator Middleware.

Installation

  1. npm install express-cloudfoundry-actuator-middleware --save

Example

  1. 'use strict'
  2. const express = require('express')
  3. const app = express()
  4. const actuator = require('express-cloudfoundry-actuator-middleware')
  5. // ...
  6. app.use(actuator())
  7. // ...

Screenshots

App overview

Cloud Foundry App overview with Health Check

Settings with app short info

Cloud Foundry App settings with short app info

Settings with app info popup

Cloud Foundry App settings with app info popup

License

This project is distributed under the MIT license.