Questions tagged [ibm-cloud-functions]

IBM Cloud Functions (based on Apache OpenWhisk) is a Function-as-a-Service (FaaS) platform which executes functions in response to incoming events. Use when having doubts regarding the use of the service.

IBM Cloud Functions (based on Apache OpenWhisk) is a Function-as-a-Service (FaaS) platform which executes functions in response to incoming events and costs nothing when not in use. It is one of the examples of servless architecture currently on market.

180 questions
2
votes
1 answer

Security of cloudant query from OpenWhisk

I'm building an Angular SPA with a Cloudant data store on Bluemix. Since the Bluemix implementation of OpenWhisk doesn't use VCAP services, I see 3 options to use OpenWhisk as my api provider for cloudant queries for my Angular app: Follow the…
1
vote
1 answer

How to create IBM Cloud Event Streams trigger with terraform?

I have an Event Streams instance called myKafka (with an appropriate topic called myTopic) and an IBM Cloud Function action called myAction. I want to trigger the myAction when a message arrived on myKafka's topic. I have to write this relation in…
kbenda
  • 430
  • 5
  • 15
1
vote
1 answer

How can I create an ibm cloud function that deploy from code on a github repo?

I want to create an action for a trigger in IBM Cloud Functions, but instead of only adding the code in the console, I want the action to deploy from code on a github repository. How can I do this? Thanks in advance.
1
vote
2 answers

IBM Watson Assistnat: Extend the Webhook's time when sending a webhook to a Cloud Function

While developing a client application that uses its own styling, but also IBM Watson Assistant under the hood, problems have been discovered when the webhook's time is exceeded. The composition is as follows: a client app sends a request to Watson…
1
vote
1 answer

Sending User Input from IBM Watson Assistant to Database or via E-Mail

I want to implement an evaluation feature to my chatbot. User would be able to rate service on a scale of 1 to 5 and make suggestions. I guess I would use slots for that and store the provided data in a variable. What would be the easiest way for me…
user14937072
1
vote
1 answer

The action failed to generate or locate a binary. See logs for details

enter image description here Why I cannot run my IBM Cloud Function? Whenever I invoke my IBM Cloud Function, I get this error "The action failed to generate or locate a binary. See logs for details."
1
vote
2 answers

how to authenticate IBM Cloud Function to use IBM Cloud Foundry API

I'm having trouble figuring out how I could authenticate and authorize a IBM Cloud Function to use the IBM Cloud Foundry API to manage some routes on one of my Cloud Foundry apps. The Cloud Foundry API says I'll need a valid bearer token, and that I…
Dylan Landry
  • 1,150
  • 11
  • 27
1
vote
1 answer

IBM Cloud Functions: How to target organization and space / namespace

I targeted organization and space using this command target -o xxxxx@gmail.com -s spaceName and it targeted successfully But when I run IBMCloud fn list, it is showing A target org and name must be specified
1
vote
1 answer

Initialization has failed due to: Error: Cannot find module 'googleapis' in IBM Cloud Functions

I'm working on the IBM Cloud (browser UI), created the hello world action and added these three lines: const fs = require('fs'); const readline = require('readline'); const {google} = require('googleapis'); The third line throws an error…
jpsstack
  • 1,221
  • 4
  • 18
  • 29
1
vote
1 answer

IBM Cloud Function: Rename Action

How can I rename a IBM Cloud function action? My current course of action is to delete the action and redeploy it under a new name. I haven't found anything in the Cloud Functions CLI or in the functions website that can do it.
Dylan Landry
  • 1,150
  • 11
  • 27
1
vote
1 answer

parse form data zip file in cloud function

I am sending FormData() to a cloud function with something like this in the JavaScript frontend. //Frontend Angular const formData = mew FormData(); formData.append('file1', zipFile1); formData.append('file2', zipFile2); formData.append('name',…
1
vote
1 answer

IBM Cloud Functions with API Key Access

I have created an IBM Cloud Function ACTION and attached Web Actions to it. In "API" I was able to define the function to be accessed with "POST https:// example.com/hello". After tests, this all works fine. Now I want to secure this API by…
Jona Rodrigues
  • 992
  • 1
  • 11
  • 23
1
vote
2 answers

IBM Watson Assistant: chatbot calling local node functions

I am new to IBM Watson Assistant and have just run through and also modified the GitHub simple (bankbot) example. The functionality is fine as far as it goes but I would like to run a local node function and make its results available to the…
1
vote
1 answer

IBM Cloud Functions "Failed to pull container image"

I have a docker container that I want to run in IBM Cloud Functions (OpenWhisk), because I don't want the container to be publicly accessible I want to store it in the IBM Cloud Container Registry. For OpenWhisk to be able to access it I followed…
1
vote
1 answer

IBM Cloud Functions: SQL syntax error while trying to connect to DB2

I created an action into IbM Cloud Fucntions to insert data into DB2. I declare the variable DSN with the credentials given by IBM. var dsn =…
user6610
  • 23
  • 3
1
2
3
11 12