ibm-cloud

How can I avoid loading buildpack components from cache on Bluemix?

坚强是说给别人听的谎言 提交于 2019-12-24 03:39:24
问题 I want to automatically download all components of my buildpack from the internet every time I push or re-stage my application to be assured I have the latest versions. Currently I am seeing cached buildpack components being picked up for jboss buildpack :https://github.com/cloudfoundry-community/jboss-buildpack. -----> Downloaded app package (14M) -----> Downloaded app buildpack cache (181M) Cloning into '/tmp/buildpacks/jboss-buildpack'... -----> Java Buildpack Version: b96641c | https:/

Static buildpack deploy now failing due to unsupported stack

南笙酒味 提交于 2019-12-24 03:17:12
问题 I'm trying to deploy an update to a simple HTML application using static files. Using the static buildpack, I've previously deployed the application with no issues. Pushing an application update, the command fails with the following message: ----> Downloaded app package (4.0K) Cloning into '/tmp/buildpacks/staticfile-buildpack'... Submodule 'compile-extensions' (https://github.com/cloudfoundry-incubator/compile-extensions.git) registered for path 'compile-extensions' FAILED Server error,

Cloudfoundry : How to combine two runtimes

坚强是说给别人听的谎言 提交于 2019-12-24 02:27:15
问题 Is there a way in cloundfoundry to combine two runtime environments? I am deploying a NodeJS app to IBM Bluemix. Now, i also want to be able to execute a standalone jar file but the app fails APP/0/bin/sh: 1: java: not found which i guess makes sense as the app was deployed with a Nodejs SDK runtime. I tried to look at some resources https://docs.cloudfoundry.org/adminguide/buildpacks.html and https://developer.ibm.com/answers/questions/16115/use-multiple-buildpacks-on-your-app.html but I

How to obtain service credentials for a service instance created on IBM Bluemix without binding the instance to an application on Bluemix?

不想你离开。 提交于 2019-12-24 02:18:34
问题 I have created a ClearDB MySQL instance on IBM Bluemix. Can I see the credentials (hostname, username, password etc) without binding the instance to an application running on Bluemix ? Thank you, Sandhya 回答1: It depends if the service provider implemented the Service Keys feature. If they have, you can generate new credentials by clicking on "Service Credentials" on the service dashboard page. The ClearDB currently requires you to bind it to a Cloud Foundry application for service credentials

IBM Cloud functions - Unable to create an action

随声附和 提交于 2019-12-24 01:17:24
问题 I'm unable to create an IBM Cloud action. I have no idea why. My IBM data that I get in console is as follows: API endpoint: https://api.eu-gb.bluemix.net Region: eu-gb User: my-name@my-company.com Account: My Name's Account (12fcae9b137946b8bbfe481448612345) Resource group: Default CF API endpoint: https://api.eu-gb.bluemix.net (API version: 2.92.0) Org: my-org Space: dev That look fine to me. When I execute the test action as the docs says here as follows: ibmcloud wsk action invoke whisk

Where do I specify the AlchemyAPI key in Bluemix?

泄露秘密 提交于 2019-12-24 00:49:06
问题 I've added the AlchemyAPI service to my Python app on Bluemix. I can see the API key in the service credentials of the AlchemyAPI service. Where, in the app code or files should I specify this key so that I can call the service? The code runs fine and does everything except the part where I call AlchemyAPI. I followed the Getting started tutorial here, but it just stops with "Get the key" and doesn't tell me what to do with it. Some things that I tried but which did not work: Added an entry

How to prevent 'pip install …' running every time I run the whole notebook?

拜拜、爱过 提交于 2019-12-24 00:38:06
问题 Most of the python notebooks I run tend to need some setup for the initial run, using ! pip install ... Executing the setup code every time the notebook is run is inefficient, so I would prefer to avoid that. Also, I don't want to move the setup code to a different notebook because usually it is just a few lines of code. 回答1: The solution for me was to run a small one line python script that only tries to import the module. If the import was successful, the pip install command does not get

Bluemix sample app fails with “Failed to authenticate against MCA”

本秂侑毒 提交于 2019-12-24 00:16:34
问题 I'm trying to build and run this Bluemix sample app: BMS samples: helloTodoAdvanced I'm following the instructions in the project's README.md verbatim. Specifically: Clean checkout of the bms-samples-hellotodo-advanced project from Github. Created a new Bluemix "MobileFirst Starter" boilerplace app. Verified the basic functionality from the Bluemix console and the Web UI. Created a new Facebook app ID, using the package and class in the sample app. Configured BlueMix Mobile Client Access (MCA

Not able to find App key and App Secret in Bluemix. Instead of the those, App GUID is available

泄露秘密 提交于 2019-12-23 19:21:03
问题 I've created a mobile boiler plate for my android application, but not able to find App key and App Secret in Bluemix. Instead of the those two, App GUID is available. Can any one help me, how to initialize IBMBluemix with APP GUID or provide me with any sample Android application like bluelist? 回答1: To answer your initial question here is how you should be initializing the Android Client with the new SDK: BMSClient.getInstance().initialize(this, "<APPLICATION_ROUTE>", "<APPLICATION_ID>"); If

com/sun/jna/android-arm/libjnidispatch.so not found in resource path

僤鯓⒐⒋嵵緔 提交于 2019-12-23 18:04:30
问题 All of the following is being done in Android Studio. I have successfully compiled and tested the Android Watson Speech to Text demo app. I then created a library project containing the Watson related API's and a 2nd app project with a simple UI that references the Watson library project. The UI successfully starts and calls Watson speech to text api's. I thought I was set to use the Watson library project for real. So I incorporated the Watson API project into my 'real' project. When I start