From 392e9a5a04fea78336c8328e26b9ea7b8a3deac2 Mon Sep 17 00:00:00 2001 From: csesparks Date: Wed, 12 Apr 2017 18:11:28 +0530 Subject: [PATCH 1/3] Update config.js --- public/ixn/activities/hello-world/config.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/ixn/activities/hello-world/config.js b/public/ixn/activities/hello-world/config.js index 1999fb5..7278e8a 100644 --- a/public/ixn/activities/hello-world/config.js +++ b/public/ixn/activities/hello-world/config.js @@ -2,7 +2,7 @@ define([], function(){ return { "icon": "images/jb-icon.jpg", "iconSmall": "images/jb-icon.jpg", - "key": "jbdev-ixn-api-v1-test-harness-activity", + "key": "jb-hello-world-activity-manojchandran", "partnerApiObjectTypeId": "IXN.CustomActivity.REST", "lang": { "en-US": { @@ -14,7 +14,7 @@ define([], function(){ "version": "1.0", "apiVersion": "1.0", "execute": { - "uri": "https://jb-ixn-v1-test.herokuapp.com/ixn/activities/hello-world/execute/", + "uri": "https://marketting.herokuapp.com/ixn/activities/hello-world/execute/", "inArguments": [], "outArguments": [], "verb": "POST", @@ -24,7 +24,7 @@ define([], function(){ "timeout": 3000 }, "save": { - "uri": "https://jb-ixn-v1-test.herokuapp.com/ixn/activities/hello-world/save/", + "uri": "https://marketting.herokuapp.com/ixn/activities/hello-world/save/", "verb": "POST", "body": "", "format": "json", @@ -32,7 +32,7 @@ define([], function(){ "timeout": 3000 }, "publish": { - "uri": "https://jb-ixn-v1-test.herokuapp.com/ixn/activities/hello-world/publish/", + "uri": "https://marketting.herokuapp.com/ixn/activities/hello-world/publish/", "verb": "POST", "body": "", "format": "json", @@ -40,7 +40,7 @@ define([], function(){ "timeout": 3000 }, "validate": { - "uri": "https://jb-ixn-v1-test.herokuapp.com/ixn/activities/hello-world/validate/", + "uri": "https://marketting.herokuapp.com/ixn/activities/hello-world/validate/", "verb": "POST", "body": "", "format": "json", @@ -49,7 +49,7 @@ define([], function(){ }, "edit": { - "uri": "https://jb-ixn-v1-test.herokuapp.com/ixn/activities/hello-world/", + "uri": "https://marketting.herokuapp.com/ixn/activities/hello-world/", "height": 400, "width": 500 } From eb673ba82fa5520ef9e00979c593fac955ab59d5 Mon Sep 17 00:00:00 2001 From: csesparks Date: Wed, 12 Apr 2017 18:36:01 +0530 Subject: [PATCH 2/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ef18397..3dad3ba 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "request": "~2.33.0" }, "engines": { - "node": "0.10.7" + "node": "6.9.4" }, "license": "BSD-3-Clause" } From 7ff5816db6009ff3c34f9c514ec61055f88931d0 Mon Sep 17 00:00:00 2001 From: csesparks Date: Wed, 12 Apr 2017 19:31:26 +0530 Subject: [PATCH 3/3] Update app.js --- app.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app.js b/app.js index 8d1de50..ffe451e 100644 --- a/app.js +++ b/app.js @@ -15,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 : '__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' + appId : '3e631de9-97ab-49c8-84ca-d7d80128c987', + clientId : 'kosn2jwpmmbr91sfm9e3mfx6', + clientSecret : '2myUmQ9zkDPrg3QonBlHlGrk', + appSignature : '2av0ddjgdw2zu3qldo4ux04y0hoy0jh2r1z23uh3crb10uo1ugeulhn4eql1xzkuctf3i01rhkb4iysbrnuwbuscbwhhhh4cveuhck1unwb5biihecwjquxqiwpvnlskgl14af3lpv0103nvcdr5trjbreig4pyjmz15jd5rcdsexplasbhhlwzcc00hcymnnbymvju5kkkhcli2eis4bpljd2f3fem5n1to2mrou4val3a5m0qtzfv233mihix', + authUrl : 'https://auth.exacttargetapis.com/v1/requestToken?legacy=1' }; // Simple custom middleware