Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

Commit

Permalink
metrics trackers + updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Hovig authored and Hovig committed Apr 17, 2018
1 parent 9f163e0 commit c56277d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Clicking on the button will automatically deploy a NodeRED data flow tool acting

The `Deploy to IBM Cloud` button automates a majority of the deployment. Afterward, you need to wire up the Watson IoT Platform to your simulated device.

[![Deploy to IBM Cloud](https://bluemix.net/deploy/button.png)](https://bluemix.net/deploy?repository=https://github.com/ibm/CognitiveIoT.git)
[![](https://raw.githubusercontent.com/IBM/manage-control-device-node-red/master/images/deploy-btn.PNG)](https://console.ng.bluemix.net/devops/setup/deploy/?repository=https://github.com/IBM/CognitiveIoT)


1. We can see that the app is ready to be deployed, and we need to ensure that the App name, region, Organization, Space is valid before pressing 'Deploy'.
Expand Down
3 changes: 2 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@


"use strict"; /* always for Node.JS, never global in the browser */
require('metrics-tracker-client').track();

// Set the modules
var http = require('http'),
Expand Down Expand Up @@ -71,7 +72,7 @@ var settings = {
serialReconnectTime: 4000,
debugMaxLength: 1000,

// Basic flow protection, password is password using bcrypt algorithim
// Basic flow protection, password is password using bcrypt algorithim
/*adminAuth: {
type: "credentials",
users: [{
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"cfenv":"~1.0.0",
"feedparser":"~0.19.2",
"redis":"~0.10.1",
"metrics-tracker-client": "*",
"node-red-bluemix-nodes":"0.x",
"node-red-node-cf-cloudant":"0.x",
"node-red-contrib-ibmpush":"0.x",
Expand Down
9 changes: 9 additions & 0 deletions repository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
id: CognitiveIoT
event_id: web
event_organizer: dev-journeys
runtimes:
- Cloud Foundry
services:
- Internet of Things Platform
- Cloudant NoSQL DB
language: nodejs

0 comments on commit c56277d

Please sign in to comment.