Skip to content

Instantly share code, notes, and snippets.

@lbrenman
lbrenman / IB Enable Step Execution Logging.md
Created September 20, 2019 21:50
Integration Builder - Enable Step Logging

Integration Builder - Enable Step Logging

By default, steps are not logged in order to improve flow execution performance. Only the trigger step will be visible as shown below:

So, how do I develop a flow if I can't see the step execution? Good question. Here is how:

  • Create a flow
  • Get the flow ID
@lbrenman
lbrenman / Getting Started with AWS Amplify for Serverless Functions.md
Last active August 16, 2019 03:02
Getting Started with AWS Amplify for Serverless Functions

Getting Started with AWS Amplify for Serverless Functions

The Amplify Framework provides a set of libraries, UI components, and a command line interface to build a mobile backend and integrate with your iOS, Android, Web, and React Native apps.

This article will describe how to use Amplify to easily create serverless API's.

I'll follow this tutorial.

Installing & configuring the Amplify CLI

@lbrenman
lbrenman / app.js
Last active August 16, 2019 03:03
Node.js example of accessing Axway/Appcelerator MBaaS (ArrowDB/ACS) - user and photo API
var fs = require('fs');
var ArrowDBAppKey_Dev = '<ACS DEV APP KEY>';
var ArrowDBAppKey_Prod = '<ACS PROD APP KEY>';
var ArrowDB = require('arrowdb'),
arrowDBApp = new ArrowDB(ArrowDBAppKey_Prod);
var loginParams = {
login: 'a',
password: '1234'
@lbrenman
lbrenman / README.md
Created July 17, 2018 14:27
Amplify MyPO Alexa Skill for Syncplicity POs

Axway Alexa Sync PO

An Amazon Echo Skill that runs on API Builder and MBaaS and enables users to discover new POs in the PO syncpoint. These files (POs) must be manually uploaded (for now)

Currently Supports:

  • Reading all or new files since last check
  • Sending URL to file to the user's mobile phone

NOTE that the skill compares file dates on Syncplicity with time that the Echo user checked for POs last

@lbrenman
lbrenman / fbwebhook.js
Last active October 31, 2017 15:37
Hello API Builder FB Chatbot
var Arrow = require('arrow');
var fbwebhook = Arrow.API.extend({
group: 'webhooks',
path: '/api/fbwebhook',
method: 'GET',
description: 'this is an api that shows how to handle requests from the FB chatbot',
parameters: {
'hub.mode': {
description: 'hub.mode',
@lbrenman
lbrenman / alexaapphandler.js
Last active July 19, 2022 21:56
Hello API Builder Alexa
var Arrow = require('arrow');
const verifier = require('alexa-verifier');
var launchTxt = "Welcome to Hello Axway Alexa Skill";
var AlexaAppHandler = Arrow.API.extend({
group: 'alexa',
path: '/api/alexaapphandler',
method: 'POST',
description: 'this is an api that shows how to handle requests from the Alexa Skill Voice server',
@lbrenman
lbrenman / fbwebhook.js
Last active August 3, 2017 02:36
API Builder Facebook Chat Bot (Echo)
var Arrow = require('arrow');
var fbwebhook = Arrow.API.extend({
group: 'webhooks',
path: '/api/fbwebhook',
method: 'GET',
description: 'this is an api that shows how to handle requests from the FB chatbot',
parameters: {
'hub.mode': {
description: 'hub.mode',
@lbrenman
lbrenman / arrowProjectNotes.md
Last active June 11, 2018 11:50
Arrow Builder coding notes, tips and tricks

Arrow Builder coding notes, tips and tricks

  • Create a new project using:

    appc new
  • For npm's required in your project, you need to do the following:

    • "sudo npm install " for running locally OR add to package.json -> devDependencies section
@lbrenman
lbrenman / oauth_setup_notes.md
Last active November 9, 2016 21:43
Setting up OAuth on API GW and Consuming OAuth secured APIs in Titanium

API GW OAUth Notes

For this workflow, I am using the API Manager Reference VM 7.5.1

OAUth Background

For the purpose of this workflow, here is what you need to know about the OAuth flow:

  • Client app needs to request an token (access and refresh) from an OAuth server using the OAuth Client ID and Secret and user login credentials
  • Then the client requests to the data APIs must pass the (access) token in the header of each requests
  • Once the (access) token expires (401 error), use the refresh token to get a new access token
@lbrenman
lbrenman / index.js
Last active September 3, 2021 22:36
Titanium Local Notifications Example
function doClick(e) {
alert($.label.text);
}
$.index.open();
var alertFields = {
title: 'Notification', //Android Only
body : 'Just another notification',
badge: 1,