ibm-cloud

What should the Python start command look like in Bluemix?

自闭症网瘾萝莉.ら 提交于 2019-12-13 01:19:29
问题 I am trying to push a python3 app to Bluemix, but get the error msg "missing start command". I have tried to add -c "python appname.py" as Python usually has in Windows and -c "python3 appname.py" as in Python in Linux, but neither works for me. Can anyone give me the right start command to use? 回答1: You can define the start command in a file called Procfile . Create the Procfile in the root of your app code that you push to Bluemix. The contents of the Procfile should look like this: web:

Unable to push Sample Shiny App to Bluemix

大兔子大兔子 提交于 2019-12-13 00:42:24
问题 Unable to push Sample App to Bluemix Hi , I was attempting to try out the sample tutorial for Shiny with Bluemix -http://www.ibm.com/developerworks/library/ba-rtwitter-app/index.html After going through multiple questions, I figured the app is not listening to the port assigned dynamically by Bluemix -ERROR : "Failed to accept connection within health check timeout..." Since the app requires cf-buildpack-r would it be fair to assume the environment variables are also handled by the same

From Dialog to Conversation: how to do what <folder label=“Global”> do?

人盡茶涼 提交于 2019-12-12 23:03:58
问题 In Watson Dialog, <folder label="Global"> could be used to handle objections. If in middle of some dialog user type an objection, folder Global could answer and after that keep the dialog at the same point. I trying to do the same with Watson Conversation but I'm lost. Apparently it is not possible or not easy. The node everything_else don't solve the problem. It breaks the conversation. Watson Conversation is or not is a evolution of Watson Dialog? It has less features? 回答1: Conversation and

How do I use a Watson Conversation service in Frankfurt using Node-RED or the node-sdk for Watson?

独自空忆成欢 提交于 2019-12-12 19:16:00
问题 I'm able to use the node-red-node-watson library to call an instance of Watson Conversation hosted in the US-South region of IBM Cloud. If I try it in the Germany region, it does not work. In github I spotted the following line ConversationV1.URL = 'https://gateway.watsonplatform.net/conversation/api'; which is the URL for Conversation in US-South. The URL shown in Bluemix VCAP_SERVICES for the Frankfurt instance is different: "https://gateway-fra.watsonplatform.net/conversation/api" I'm not

Bluemix API to retrieve the service credentials

南楼画角 提交于 2019-12-12 19:06:28
问题 In a previous question, I can get the apiKey for interacting with the MessageHub management api. I'm not binding to this service to a Bluemix application, so I don't have access to the VCAP_SERVICES environment variable in my application. I would like to retreive the service credentials programatically. I think this may be a generic Bluemix cf api question rather than a MessageHub question. How can I retrieve the service credentials using an API call? 回答1: Sadly because BlueMix runs a version

How to add SSL certificate to Bluemix java cloud foundry application?

亡梦爱人 提交于 2019-12-12 19:05:30
问题 I am developing microservices using Spring Boot, Java JDK 1.8, MongoDB driver for Java, and MongoDB. I have created MongoDB instance on Bluemix and I am connecting to this instance from Java microservices. The MongoDB instance on Bluemix is SSL enabled and it provides the SSL certificate. For local development, I have Base64 decoded this certificate and I have imported this SSL certificate to the my local java keystore. So locally I am able to connect to the MongoDB instance on Bluemix

Can I use a different version of Node in the: IBM Bluemix DevOps Services, build step 'npm' builder type?

别说谁变了你拦得住时间么 提交于 2019-12-12 18:34:13
问题 I am building an ember application and then packaging it into a WAR file for deployment to a liberty runtime. The ember build process warns me that ember-cli will cease to work with node v0.10.29 and recommends using node 0.12. Can I use a different version of Node in the: DevOps Services, build step 'npm' builder type? Future versions of Ember CLI will not support v0.10.29. Please update to Node 0.12 or io.js. version: 0.2.7 1.13.8 Could not find watchman, falling back to NodeWatcher for

Bluemix Push Notification service not working anymore?

柔情痞子 提交于 2019-12-12 18:15:46
问题 I have a native iOS Swift app talking to a Node.js Bluemix backend with MobileFirst services (AMA, Cloudant, Push iOS 8), which worked well for over a month. A few days ago I noticed that I could no longer register new devices from the iOS app (IMFPushClient.sharedInstance().registerDeviceToken() responded with a 404). I knew that changes had been made recently to the MobileFirst services ( e.g. the various push services were merged into one), so I figured I should rebind those services. This

How to get VCAP_SERVICES environment variables WITHOUT binding to an application?

我怕爱的太早我们不能终老 提交于 2019-12-12 18:06:55
问题 Frequently, I'm create standalone services in Bluemix. For example, Analytics for Apache Hadoop, Cloudant and DashDB. I don't need an application to work with these services, but it seems I have to bind to an application just to get access to the VCAP_SERVICES environment variables with urls, usernames, passwords, etc. Question : How to get VCAP_SERVICES environment variables WITHOUT binding to an application? 回答1: For many services, you will have to bind them to an app in order to get the

How can I see my VCAP_SERVICES environment variable with the cf program?

自闭症网瘾萝莉.ら 提交于 2019-12-12 13:12:24
问题 When I run cf env <app-name> it shows all the environment variables I've set with cf set-env , but I don't see the VCAP_SERVICES environment variable. How can I see that variable's value? 回答1: As of version 6.10 of the cf program, the VCAP_SERVICES environment will now be displayed with the other environment variables, with the command cf env <app-name> . To upgrade your cf program, download the appropriate version on the releases page: https://github.com/cloudfoundry/cli/releases 回答2: cf env