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
0
votes
0 answers

IBM cloud functions with Watson Conversation

This is my first project with Watson Conversation. I have the conversation working OK and all nodejs is being hosted on IBM Cloud. When I integrated with Facebook and Slack there is one part of the conversation that won't work - the part that makes…
0
votes
1 answer

Swift application is not updated when using IBM microclimate

I created a default swift application using IBM microclimate which I installed locally and the default application works fine. However when I update the home page of the application I cannot get the home page displayed to reflect the changes I made.
mmulholl
  • 281
  • 2
  • 7
0
votes
1 answer

Why doesn't PyNacl work in IBM OpenWhisk?

Importing pynacl crashes when I upload a python zip to IBM Cloud Functions. Is that because it has C code instead of being pure python? How can I get around this?
0
votes
1 answer

Exception passing parameters to Db2 query in IBM Cloud Functions using Node.js

I wrote a Node.js-based action in IBM Cloud Functions / OpenWhisk. The action retrieves data from Db2. The query works when I don't have parameter markers. When I use a parameter as shown below and pass in {"confname" : "IDUGEMEA2018" } then it runs…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
0
votes
1 answer

OpenWhisk (CloudFunction) binding to Watson Conversation and the use of username password in the SDK

I have an IBM Cloud Function (OpenWhisk) that invokes a Watson Conversation Service. We are using JAVA The documentation of the JAVA SDK (https://github.com/watson-developer-cloud/java-sdk ) suggests that the credentials would be picked up from the…
mpjjonker
  • 917
  • 1
  • 6
  • 28
0
votes
1 answer

IBM Cloud Function for App ID sign_up and forgot_password

I can generate token from cloud with following cloud function const main = (params) => { return new Promise(function (resolve, reject) { request({ url: credentials.oauthServerUrl + '/token', method: 'POST', …
0
votes
1 answer

How to use CLI tool with multiple OpenWhisk platform instances?

Developing OpenWhisk applications, I'm often switching between a local instance of the platform for development & testing and IBM Cloud Functions for production. The OpenWhisk CLI uses a configuration file (~/.wskprops) to store authorisation…
James Thomas
  • 4,303
  • 1
  • 20
  • 26
0
votes
1 answer

How to Connect Compose for PostgreSQL from IBM Cloud Functions?

I am using IBM Cloud Functions to convert the audio file into text and I am using IBM Watson speech to text service for that. Here I want to store the transcript to PostgreSQL Database. Is there any connection between IBM Cloud Functions and Compose…
Mdumanoj
  • 517
  • 3
  • 9
  • 27
0
votes
1 answer

Error using PIL in a virtualenv in IBM Cloud Functions: ModuleNotFoundError: No module named 'PIL'

I'm attempting to define an IBM Cloud Function in Python using PIL. from PIL import Image from PIL import ImageDraw from PIL import ImageFont img = Image.new('RGB', (width, height)) d = ImageDraw.Draw(img) ... I use Pycharm to do my development.…
KineticSquid
  • 316
  • 3
  • 13
0
votes
1 answer

Creating Package Action in OpenWhisk, invocation fails with error message

I'm following the example in the documentation for OpenWhisk to create a new Package Action, detailed here. Running the wsk action invoke step, the platform returns me an invocation error message. [10:57:58 /tmp/workshop]$ wsk action invoke…
James Thomas
  • 4,303
  • 1
  • 20
  • 26
-1
votes
1 answer

ibm watson webhook without ibm cloud function

Please is it possible to use a specific rest API, in IBM Watson webhook, without using IBM Cloud Function. I want to develop a rest API with nodeJs and expose it to be used in webhook call Url(IBM Assistant) Hear what I have done: I tried to use the…
-1
votes
1 answer

IBM Cloud Functions Python API to open a local file browser to upload file

I'm working on a Watson Assistant chatbot that connects to IBM Cloud Functions through Python API. I want to make the chatbot open a local browser window to upload a file from local machine to save it into a database. I'm intending to do that…
-1
votes
2 answers

Connect from IBM Cloud Functions to MySQL on local host

I want to connect to my MySQL database on a local host which is not in IBM Cloud using IBM Cloud Functions. I am unable to do that. I have written Node.js code in IBM Cloud Function. var mysql =…
-1
votes
1 answer

How to FORCE_HTTPS on Cloud functions API endpoints

I've configured a custom domain and certificate and hooked up the cloud functions api to my actions and this works fine. Endpoints work over both https and http. But I'd like to enforce https only. Something like "FORCE_HTTPS: true" in the static…
satolizard
  • 199
  • 2
  • 3
-2
votes
1 answer

DialogFlow, modify user request

for my dialogflow project I would like to intercept the user request before the dialogflow responds with the appropriated intent. My goal: -The user sends a request with an input message -I access this message, I transform it (I apply a function to…
1 2 3
11
12