Skip to content

Instantly share code, notes, and snippets.

Leor Brenman lbrenman

Block or report user

Report or block lbrenman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lbrenman
lbrenman / IB Enable Step Execution Logging.md
Created Sep 20, 2019
Integration Builder - Enable Step Logging
View IB Enable Step Execution Logging.md

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 Aug 16, 2019
Getting Started with AWS Amplify for Serverless Functions
View Getting Started with AWS Amplify for Serverless Functions.md

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 Aug 16, 2019
Node.js example of accessing Axway/Appcelerator MBaaS (ArrowDB/ACS) - user and photo API
View app.js
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 Jul 17, 2018
Amplify MyPO Alexa Skill for Syncplicity POs
View README.md

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 Oct 31, 2017
Hello API Builder FB Chatbot
View fbwebhook.js
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 Jan 8, 2018
Hello API Builder Alexa
View alexaapphandler.js
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 Aug 3, 2017
API Builder Facebook Chat Bot (Echo)
View fbwebhook.js
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 Jun 11, 2018
Arrow Builder coding notes, tips and tricks
View arrowProjectNotes.md

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 Nov 9, 2016
Setting up OAuth on API GW and Consuming OAuth secured APIs in Titanium
View oauth_setup_notes.md

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 Mar 13, 2019
Titanium Local Notifications Example
View index.js
function doClick(e) {
alert($.label.text);
}
$.index.open();
var alertFields = {
title: 'Notification', //Android Only
body : 'Just another notification',
badge: 1,
You can’t perform that action at this time.