How can i query the version of the node using the APIs? - api

I want to know the version of a node using API that can be called externally over the network(rest, etc, excluding cli).
I know I can use the CLI to know the version, but can't I use the API?
Any advice would be greatly appreciated!

Related

MobileFirst CLI - edit/build/test cycle

One thing I really like about the later version of Worklight/MobileFirst Studio is the faster edit/test cycle when working in the Mobile Browser Simulator: just edit, save, click Go/Refresh; no need to build/deploy.
When using CLI (6.3.0.00.20141111-1216) this does not seem to be the case. Seems like I need to do
mfp build; mfp deploy;
After every edit. Am I missing a trick?
Right now I'm thinking I need to revert to my old practice of setting up a web-server to serve directly from my product folder, which is not ideal because I then need to mock up the WL.* APIs I use.
This information from Karl Bishop:
At the current time, this is a limitation of the CLI, based on the use of a standalone MFP Server. Within Studio, some special tricks are being played, to just updated modified files. We are working to resolve this in the CLI and perform similar per file deployments, but we're not there yet. In the interim, I encourage you to view Justin Berstler's video on using the CLI with Grunt.

CXF Bundles: Whats the difference?

I'm using maven, but I dont understand the difference between following dependencies:
1.)
http://mvnrepository.com/artifact/org.apache.cxf/cxf-bundle/3.0.0-milestone2
2.)
http://mvnrepository.com/artifact/org.apache.cxf/cxf-bundle-compatible/3.0.3
Option 2 seems newer, but can I use it?
At the moment I use "http://mvnrepository.com/artifact/org.apache.cxf/cxf-bundle/2.7.14", but I want to upgrade to V. 3.x.x
I haven't found any informations about the cxf-bundle/3.0.0-milestone2 yet, but perhaps someone knows, whre to find more informations about this one.
The big monolithic bundle was removed in 3.0. Use the individual bundles that you need for your application.

Get information on an artifact, without version number

I am trying to use the nexus API, in order to retrieve a maven artifact.
The problem is that I want in a first step to propose the user to chose the version number. To do so, I thought I could use the REST API, but regarding the documentation, it seems that it is not possible.
Any idea?
You need to use the alternative REST API provided by the Nexus Indexer Lucene Plugin
The following example retrieves details of the available log4j artifacts:
https://repository.sonatype.org/service/local/lucene/search?g=log4j&a=log4j

When will IronWorkers support Ruby 2.0?

The default language version for ruby on IronWorkers is 1.9.3. When will it be bumped to 2.0?
http://dev.iron.io/worker/reference/environment/#default_languages_versions
Is there an easy way to upgrade to ruby 2.0 without too much delay when launching a task?
Thanks,
Dimitri
[edit] You can now use multiple different language packs using our Stacks functionality as specified above. Also here's more info in the Iron.io dev center: http://dev.iron.io/worker/reference/environment/#default_language_versions
Currently no there is no way to use Ruby 2. We are working on a way to give users the ability to choose their language versions much easier, but there's no ETA at this point.
If you need any help or support don't hesitate to jump into our live chat http://get.iron.io/chat
Iron Worker is finally supporting custom environments, one of which is Ruby 2.1:
http://blog.iron.io/2014/03/ironio-launches-custom-runtime.html

Require rally rest api jar built with java 5

I need rally-rest-api-1.0.2.jar which is built on JAVA 5? Does Rally provide this or do we need to build one ?
Thanks!!
Currently the Rally REST Toolkit for Java is built using Java 6. The latest version is 1.0.4. I don't think that the library itself is using anything specific to 6 but I'm not sure about its libraries (Gson and HttpClient). If you'd like to try all the source is available here. Please let the community know how it goes.