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
1
vote
1 answer

IBM Watson Assistant: Retrieve a specific conversation via IBM Cloud Functions

How can I extract a specific user conversation from all chat logs? I noticed that the chat-log JSON response contains a field named conversation-id. My goal is to obtain, via Cloud Function, that specific conversation id for the current…
1
vote
1 answer

IBM Watson Assistant: How to solve web_action error "Internal error: Content-type can not be retrieved."

I'm trying to connect IBM Cloud Functions with a Watson Assistant dialog as web_action. So I have specified web_action as following in watson dialog json editor. "actions": [ { "name": "rajesh@heltha.co_dev/default/callKinvey", …
1
vote
1 answer

IBM Openwhisk, Unable to extract route parameters

Hello everyone I have deployed a function on IBM cloud and I am calling it via web api however all the function works fine except for those that involve route parameters as I am unable to extract them. I am using the serverless framework and when…
1
vote
0 answers

SparkContext outside of Watson Studio

we are using pyspark inside Watson Studio to connect to a Spark instance running on IBM Cloud. Now we want to run the python code in an IBM Cloud Function, but the SparkContext is missing. Inside Watson Studio, the Studio itself is taking care of…
tdeer
  • 135
  • 1
  • 6
1
vote
1 answer

Cloud Function - Unable to create with big python virtualenv

we want to create a IBM cloud function with a python virtualenv. The python virtualenv is quite big (220 MB) and we are not allowed to push images to docker hub (the workaround described here:…
tdeer
  • 135
  • 1
  • 6
1
vote
1 answer

Add external library to an action

I'm developing an action in IBM-Clound functions, that is called in Watson Assistant dialog.This action has to make a SOAP petition to a WS. The problem is when I try to import the suds library because It is not in the default python libraries. How…
dgalan
  • 79
  • 7
1
vote
1 answer

Conversation connector / Watson Assistant: How to change account or workspace?

I am using the Conversation connector to implement a Slackbot with Watson Assistant. I want to move the chatbot over to another account and workspace. How can I do that without redeploying the Conversation connector and changing something in Slack?
data_henrik
  • 16,724
  • 2
  • 28
  • 49
1
vote
1 answer

IBM Cloud Functions / OpenWhisk Slack package and message attachments

I am trying to use the Slack package available for IBM Cloud Functions and OpenWhisk. I created a Node.js action that produces a JSON object with text and attachments values. The object is passed along in a sequence that uses the post method of the…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
1
vote
1 answer

Failed to pull container image registry.eu-de.bluemix.net

Here's what I have: a java application (as JAR file) docker image (built from Dockerfile) with this java application The image was built with: sudo docker build -t registry.eu-de.bluemix.net/watson2018/imagerecognition:latest . The image is pushed…
1
vote
3 answers

IBM Cloud Functions - How to use and upload own libraries?

Is it possible to use / upload own libraries to IBM Cloud Functions? Or is it limited to the preinstalled packages? I plan to use Python as programming language.
Paul Ahuevo
  • 131
  • 1
  • 2
  • 13
1
vote
1 answer

Dynamically creating a MessageHub feed trigger via openwhisk npm

Trying to create a MessageHub trigger via the openwhisk Node.js module. THe trigger gets created but is listed as CustomTrigger and not associated with a message hub feed. const fs = require('file-system'); const openwhisk =…
user2252757
  • 21
  • 1
  • 3
1
vote
1 answer

Python Scrapy ReactorNotRestartable()

I'm trying to use Scrapy on IBM cloud as a function. My __main__.py is as follows: class AutoscoutListSpider(scrapy.Spider): name = "vehicles list" def __init__(self, params, *args, **kwargs): super(AutoscoutListSpider,…
Boky
  • 11,554
  • 28
  • 93
  • 163
1
vote
1 answer

Openwhisk: scaling issues on the distributed setup

I setup a distributed openwhisk installation on a few vitual machines as described here https://github.com/apache/incubator-openwhisk/blob/master/ansible/README_DISTRIBUTED.md (had to also install some dependencies on VMs manually because they were…
Green Fireman
  • 617
  • 1
  • 11
  • 27
1
vote
1 answer

How do you connect an IBM Cloud Functions (OpenWhisk) to a custom domain?

I had successfully setup a custom domain with IBM Cloud Functions in the past, but now suddenly it seems to be broken. Here is how I was able to do it in the past: You first need to install a SSL cert in IBM Cloud by going to: Log in to IBM…
Quackquack
  • 31
  • 3
1
vote
1 answer

How to read a file from inside Openwhisk Java Action

I'm trying to use openwhisk cloud functions to leverage some existing java code. The code needs to read a local file. Is this supported in a Java Action on IBM Cloud? Though the file is included in the jar file - the application is not able to reach…
1 2
3
11 12