You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Forrest Townsend <fo...@gmail.com> on 2015/12/16 07:22:03 UTC
Logging current jclouds API version
Hey,
Is there a way that I could access the current jclouds version that I am
using within the API?
I can assuming running a script to access the dependencies' version but my
goal is to print out the jclouds version number as a header when I start a
debug trace.
Any thoughts?
Thanks,
Forrest T.
Re: Logging current jclouds API version
Posted by Ignasi Barrera <na...@apache.org>.
Hi Forrest,
You can use the JcloudsVersion class:
http://jclouds.apache.org/reference/javadoc/1.9.x/org/jclouds/JcloudsVersion.html
I.
El 16/12/2015 7:22, "Forrest Townsend" <fo...@gmail.com> escribió:
> Hey,
>
> Is there a way that I could access the current jclouds version that I am
> using within the API?
>
> I can assuming running a script to access the dependencies' version but my
> goal is to print out the jclouds version number as a header when I start a
> debug trace.
>
> Any thoughts?
>
> Thanks,
> Forrest T.
>
Re: Logging current jclouds API version
Posted by Andrew Gaul <ga...@apache.org>.
org.jclouds.JcloudsVersion contains the jclouds version. jclouds also
includes this in the User-Agent head in each HTTP request.
On Wed, Dec 16, 2015 at 06:22:03AM +0000, Forrest Townsend wrote:
> Hey,
>
> Is there a way that I could access the current jclouds version that I am
> using within the API?
>
> I can assuming running a script to access the dependencies' version but my
> goal is to print out the jclouds version number as a header when I start a
> debug trace.
>
> Any thoughts?
>
> Thanks,
> Forrest T.
--
Andrew Gaul
http://gaul.org/