Is analytics available with the MobileFirst Platform CLI developer edition? - ibm-mobilefirst

I have installed the MobileFirst Platform CLI developer edition from https://developer.ibm.com/mobilefirstplatform/install/#clui
I am trying to investigate the analytics of the application, but this doesn't seem to be properly installed from here.
I am able to create a MFP server, start it and access the console. It doesn't have a link to the analytics in the top-right of the console as it does in the developer edition provided by Eclipse. Is this behaviour as expected or is there something missing?
I have tried installing this package twice. I am running on OSX 10.10
In the Liberty servers directory, /Users//.ibm/mobilefirst/6.3.0/server/wlp/usr/servers, I can see the Worklight folder. It has an _analytics.war file in it (which is different from my Eclipse install which has a worklight-analytics.war and worklight-analytics-service.war)
And in the messages.log file, I am getting messages saying that the web application _analytics is available.
But I then a number of messages with
com.worklight.analytics.api.AnalyticsHttpService.sendDataToURL target server response code: 404
Going directly to http://localhost:10080/_analytics responds with an "Authorization failed" message.
Update - Got it working
I uninstalled the dev edition CLI and downloaded the CLI from Passport Advantage and installed it from there. The analytics feature now seems to work. Although the link to it is still not available in the top right of the console.
I don't know if it's a different install package, or an issue on my Mac that I inadvertently resolved, but the analytics feature is now working

The issue here was that the version you originally downloaded was not up-to-date.
This will be corrected soon.
Proper mechanisms will be put in place so that this will not happen again.

Yesterday I downloaded and installed the publically available MobileFirst Platform 6.3 CLI from https://developer.ibm.com/mobilefirstplatform/install/#clui. I created a simple app which connects to the MFP server.
Result: Analytics works without any problem.
So you do not have to buy the product just to use the CLI with analytics.

Related

Server not starting in IBM API connect toolkit

I have created API's in API connect toolkit. For testing the API locally in Explore tab, I am trying to start server.
But getting "Error: It appears that Docker for Windows has not been installed. To install Docker for Windows, please visit https://docs.docker.com/docker-for-windows/install/ For more information, check the docs" error.
From my understanding you don't need docker to test locally in toolkit. Any suggestions to fix the issue?
More Info: APIC version: API Connect: v5.0.8.3 (apiconnect: v2.7.209) NPM version : 6.1.0
It used to work before suddenly I am getting the above error. I tried re-installing but issue persist.
With new versions of APIC you must have Docker installed and working properly on your Windows environment to be able to install the API Connect Toolkit with DataPower.
Please find the steps to install the APIC toolkit on these pages:
https://www.ibm.com/support/knowledgecenter/en/SSFS6T/com.ibm.apic.toolkit.doc/tapim_cli_install.html
https://www.ibm.com/support/knowledgecenter/en/SSFS6T/com.ibm.apic.toolkit.doc/tapim_apic_test_with_dpdockergateway.html

IBM MobileFirst Platform iFix doesn't update the version displayed in Operations Console

I've just updated my IBM MobileFirst Platform Server from 8.0.0.00-20160822-2140 with the latest iFix 8.0.0.0-MFPF-Server-IF201702201900
However, after a successful update, the server is still showing the same old version in the IBM MobileFirst Platform Operations Console.
Does it means it's still not updated with the latest iFix?
I've double confirmed that the fix is indeed installed:
Do I need to update those superseded iFix first before upgrading to the latest iFix?
Vivin above is correct. Installation Manager merely puts the files on disk. You must now update your database by running the Server Configuration Tool, or whatever method you used when your server was first configured. Since the version number is stored in the database, the old version number will appear in the Operations Console until the database update is performed.
Able to get it to work after running cd /opt/IBM/MobileFirst_Platform_Server/shortcuts
sudo ./configuration-tool.sh again and restart the server. Didn't know there's a need to do so after updating the iFix. Is this common?
You can Download the MobileFirst Developer Kit Installer (IF20170220-1900) for Customer and Evaluators copy direct from
https://mobilefirstplatform.ibmcloud.com/downloads/
Now check Product Version:

Worklight, Adapter-Based Authentication for Android, app does not exist on the server

Im new to Worklight, Im trying to run the AdapterBasedAuthenticationProject from the tutorial of IBM worklight. Sample here
After deployed the auth-adapter and build the app, this app run ok on the Worklight console. However, when I make the android version and run on virtual machine, I can not get the secret data.
When I click on "Get secret data" button on android, error occurs
[ERROR ] FWLSE0332E: The application AdapterBasedAuthApp for the environment android does not exist on the server. Cannot register this client. [project AdapterBasedAuthenticationProject]
Image here
Looks like you are using JRE 1.8 (Java 8). Note that Worklight does not support Java 8 - downgrade to either Java 6 or 7.
Make sure you have:
Added the Android environment
Deployed the Android environment (right-click on the your-app\android folder and select Run As > Build and Deploy)
Those are crucial steps in order for the server to recognize a request originating from Android
Also, I don't understand what do you mean by "virtual machine", as it is not obvious from the screen shot. It just looks like a resized browser window.
I encountered similar issue today. In my case Java version was not the issue the issue was incorrect wlAppVersion number in wlclient.properties,
make sure it is same as in application-descriptor.xml.

IBM MobileFirst Operations Console does not work with HTTPS

We are unable to use MobileFirst 6.3 Operations Console with HTTPS. I reviewed a couple of links here and installed the last fix pack available for the server side (6.3.0.0-MFPF-Server-IF201504041503.zip).
We are having the same behavior explained in this link:
Unable to use HTTPS for MobileFirst Console 6.3
Need I install another fix or redeploy worklightconsole.war ?
Thanks in advance
You have not installed the last MFP 6.3 ifix as you can see in the messages.log file of your last zipped logs :
[4/15/15 12:00:34:754 ART] 00000012 ht.admin.listeners.WorklightManagementServletContextListener I FWLSE3199I: ========= MobileFirst Administration Services version 6.3.0.00-20141127-1357 started.
When you install a fix you have to do a minimal update of the console applications and the runtime applications with the Server config tools or the installation ant tasks. Otherwise no war files are updated.

installing phonegap on windows7 error

I am a web developer and new to Phonegap..
I was trying to install phone gap on my windows 7 machine as per described here
http://docs.phonegap.com/en/3.1.0/guide_cli_index.md.html#The%20Command-line%20Interface
but when i run the following command
cordova platform add android
i am getting the following error
[Error: An error occured during creation of android sub-project.
ERROR : executing command 'ant', make sure you have ant installed and added to y
our path.
]
does this mean that i should install apache ant on my machine ? if so can someone redirect me to right link.
I am also running wampserver on my machine for my other developments..
will installing 'ant' affect on my wamp ?
As described in PhoneGap Getting Started
Finally, you may need to include %ANT_HOME%\bin to your PATH as well. To check to see if this is required, run a command prompt and type ant. If the program can not be found add %ANT_HOME%\bin to the PATH. You may need to specify the full path instead of using the %ANT_HOME% environment variable.
If you need ant for Windows, you may want to download and install it from here
You need ant to add the android platform.
Ant is a java-based build tool.
You can get further informations and download it at http://ant.apache.org.
ant has nothing to do with the apache webserver and doesn't effect your wamp installation. It's another software product provided by the apache foundation.
lg
fastrde