ibm-cloud

How do I find which Java version is being used to execute my rules on Bluemix?

对着背影说爱祢 提交于 2019-12-11 16:19:21
问题 I am executing my rules on the Business Rules service on Bluemix, and want to know which Java runtime version is used. How do I find this information? 回答1: This information is available if I enable tracing for the payload, for example by invoking it using https://brsv2-instanceID.domain/DecisionService/run.jsp?path=/ruleApp/1.0/ruleset/1.0&trace=true (for example: https://brsv2-12345678.ng.bluemix.net/DecisionService/run.jsp?path=/myRuleApp/1.0/myRules/1.0&trace=true) I made sure that

Node package dependencies on IBM Cloud Foundry - require/module is not defined (Package not loading)

不羁的心 提交于 2019-12-11 15:56:04
问题 I am working on an application via the toolchain tool on IBM Cloud and editing the code via the Eclipse Orion IDE. As I am not accessing this through my local cli, my understanding is that in order to so call npm install {package} , I would just need to include the package in the package.json file under dependencies and require it in my app. However, when I load the application, I get the require is not defined indicating that the package has not been installed. Moreover, the require() is

Watson Knowledge studio getting confused between Entities

霸气de小男生 提交于 2019-12-11 15:49:28
问题 Updated Question: I am working on a system which will evaluate user's answers. There are multiple questions with multiple answers to each question which are the possible different ways in which a user can answer that particular question. For this, I have uploaded multiple different documents containing answers on WKS. My problem is that my entities are different in one document than entities in other documents and due to which the relations that I have assigned are not working properly. I

Using Twitter node in Node-RED in Bluemix

…衆ロ難τιáo~ 提交于 2019-12-11 15:46:33
问题 I am a beginner in using Node-RED in Bluemix. I am trying to analyse the tweets along with sentiment analysis using sentiment node. Do we have an option to pass the tweet search keyword as a parameter? Also can we control (start/stop) the flow based on tweet count (for example I need to do the analysis of 500 tweets only)? I would like to know once the flow is deployed, will the flow start the tweet analysis until the session of the Node-RED flow editor is terminated? 回答1: To answer each of

Weird bug with Watson Credentials in Unity

妖精的绣舞 提交于 2019-12-11 15:34:42
问题 I'm trying to implement Watson Assistant into Unity. When I create a new Credentials object using the username, password, and serviceUrl as arguments. The serviceUrl is set correctly, but the username and password remain null. I use the same exact code for other services but specifically with this script I get this bug. //Properties [SerializeField] private string _username; [SerializeField] private string _password; [SerializeField] private string _serviceUrl; private void CreateService() {

ibmcloud create action through cli

只谈情不闲聊 提交于 2019-12-11 15:33:31
问题 ibmcloud create action through cli is not working . Getting an exception Unable to authenticate with Cloud Functions: Unable to obtain wsk authentication key for Org 'xxxxx' and Space 'xxxx': Target Org 'xxxxm' and Space 'xxxx' do not have an auth key; if Space 'dev' was recently created, try again in a couple minutes. But I have logged in successfully using ibmcloud login command 回答1: Issue is resolved now. The account I created at IBM was lite account where the initial credentials were

how external app can access ibm cloud object storage

柔情痞子 提交于 2019-12-11 14:43:47
问题 I have IBM COS service and able to use Curl command via cli to retrieve objects. I used IAM tokens to retrieve. But how do I let an external web app ex., node access this service? what value should be there in authorization for external app access? 回答1: External apps will come in the form of something like the AWS CLI or any other app that uses either an HTTP library coupled with IBM Cloud Object Storage API or even an SDK for languages like Python, Java or Node.Js All of the above will ask

Connecting NodeJS app with OracleDB using SecureGateway

北城余情 提交于 2019-12-11 14:30:58
问题 I'm trying to connect my NodeJS app to a Oracle DB using SecureGateway but doesn't work. I executed tests, and when I run var exec = require('child_process').exec; var sys = require('sys'); function puts(error, stdout, stderr) { sys.puts(stdout) } exec("ping 192.168.10.8", puts); for test my connection, I don't have results. So I think a don't created the connection between my app and my gateway. When I was running in DataConnect, works normally. I use require('bluemix-secure-gateway') for

Setting a timezone in the Bluemix log files

送分小仙女□ 提交于 2019-12-11 14:29:32
问题 When I look at the log files for my application, the entries are listed in UTC. However, I want the entries to reflect my local timezone. Can you customize the time zone for the log files? 回答1: I did not find the information in the documentation. I used the following commands to change the time zone to US Eastern time: cf set-env <app-name> JAVA_OPTS '-Duser.timezone=America/New_York' cf restage <app-name> As an alternative, I could have changed the manifest.yml file. 来源: https:/

IBM Bluemix node.js native promise support

南楼画角 提交于 2019-12-11 13:48:55
问题 In my node.js application I use Promises very frequently. When working with the official node.js implementation V4 I don't have any problems. Node supports Promises since 0.13 natively. When I switch to IBM SDK for Node.js Version 4 thats contained in the IBMNode Docker container (FROM registry.eu-gb.bluemix.net/ibmnode:latest) I get the following error when running my application: ReferenceError: Promise is not defined Why does IBM Node.js not support Promises natively and how can I enable