Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Update to remove unused New Relic code
Browse files Browse the repository at this point in the history
  • Loading branch information
creatovisguru authored and Alex Vernacchia committed Nov 6, 2014
1 parent 75f870c commit a22aa14
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 32 deletions.
13 changes: 6 additions & 7 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict';
// Module Dependencies
// -------------------
//require('newrelic');
var express = require('express');
var http = require('http');
var JWT = require('./lib/jwtDecoder');
Expand All @@ -16,11 +15,11 @@ var app = express();
// Register configs for the environments where the app functions
// , these can be stored in a separate file using a module like config
var APIKeys = {
appId : '374ab13a-1d3e-4058-9ece-243526ab2ea9',
clientId : 'ktetepg8drm5crwg3cyjz58j',
clientSecret : 'snQfFB6xdvDfuxq2KbWTcxTv',
appSignature : '4unkmuhcl5hsqedxmqdf1hjzxqvq5l1fncrt4tedqqy1mzfubgsxmqqja4acktipyknxizaqdhpkz4yo11ciggooghkzpjiwyp3ilvhoidxtj34jz2fh2oowasss4pv5wy5y1pzpzjg13ulfhwhj1medqtcbwt5joyavk1wf2j0hqcghodmjctmqcfvab0rr0gkdaglfcmxmybxsaquvk1ez2digca3mm5eq4yfgclqz2hkzqh234kj4d03xez5',
authUrl : 'https://auth-qa3s1.exacttargetapis.com/v1/requestToken?legacy=1'
appId : '__insert_your_app_id__',
clientId : '__insert_your_app_client_id__',
clientSecret : '__insert_your_app_client_secret__',
appSignature : '__insert_your_app_signature__',
authUrl : 'https://auth.exacttargetapis.com/v1/requestToken?legacy=1'
};

// Simple custom middleware
Expand Down Expand Up @@ -80,7 +79,7 @@ app.post('/ixn/triggers/hello-world/', trigger.edit );
// Abstract Event Handler
app.post('/fireEvent/:type', function( req, res ) {
var data = req.body;
var triggerIdFromAppExtensionInAppCenter = 'jbdev-ixn-api-v1-test-harness-trigger';
var triggerIdFromAppExtensionInAppCenter = '__insert_your_trigger_key_here__';
var JB_EVENT_API = 'https://www.exacttargetapis.com/interaction-experimental/v1/events';
var reqOpts = {};

Expand Down
24 changes: 0 additions & 24 deletions newrelic.js

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"fuel": "~0.4.1",
"require": "~0.5.0",
"jwt-simple": "~0.1.0",
"newrelic": "~1.3.1",
"request": "~2.33.0"
},
"engines": {
Expand Down

0 comments on commit a22aa14

Please sign in to comment.