Skip to content

Commit

Permalink
Merge 6490317 into f2429a6
Browse files Browse the repository at this point in the history
  • Loading branch information
pratid committed Jun 30, 2014
2 parents f2429a6 + 6490317 commit 90e803b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
- COVERALLS_SERVICE_NAME=travis-ci
# COVERALLS_REPO_TOKEN (encrypted)
- secure: d3nNtxhWasL/FYdawV3RurfVY/rq6lsNuvr19hpsEiCHG0K1TbFEie8bhRz8nrt3vT6JmjPUmBGDP+6+eTIFnz+6IQDFBVG97SQ/wgsZMSiwir5Uvovn7kk5Kgu6nJaa49w3/oSw62QFquuMaYO9OusVA4eldkm1VAklZeJGgD8=

install:
- cd ngsi_adapter/src
- npm install
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# FIWARE Monitoring GE components
[![Build Status](https://travis-ci.org/telefonicaid/fiware-monitoring.svg)](https://travis-ci.org/telefonicaid/fiware-monitoring)
[![Coverage Status](https://coveralls.io/repos/telefonicaid/fiware-monitoring/badge.png)](https://coveralls.io/r/telefonicaid/fiware-monitoring)
[![Build Status](https://travis-ci.org/telefonicaid/fiware-monitoring.svg?branch=develop)](https://travis-ci.org/telefonicaid/fiware-monitoring)
[![Coverage Status](https://coveralls.io/repos/telefonicaid/fiware-monitoring/badge.png?branch=develop)](https://coveralls.io/r/telefonicaid/fiware-monitoring)

## Changelog

Expand Down
1 change: 1 addition & 0 deletions ngsi_adapter/src/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
report
site
*.log
Empty file modified ngsi_adapter/src/adapter
100644 → 100755
Empty file.
9 changes: 9 additions & 0 deletions ngsi_adapter/src/lib/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,15 @@ exports.main = function() {
logger.error(err.message);
process.exit(1);
});
process.on('exit', function() {
logger.info('Server stopped');
});
process.on('SIGINT', function() {
process.exit();
});
process.on('SIGTERM', function() {
process.exit();
});
http.createServer(asyncRequestListener).listen(opts.listenPort, opts.listenHost, function() {
logger.info('Server running at http://%s:%d/', this.address().address, this.address().port);
});
Expand Down
2 changes: 1 addition & 1 deletion ngsi_adapter/src/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.1",
"version": "1.1.0",
"name": "ngsi_adapter",
"main": "lib/adapter.js",
"description": "Generic NGSI Probe Adapter",
Expand Down

0 comments on commit 90e803b

Please sign in to comment.