You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Vijay Panghal (JIRA)" <ji...@apache.org> on 2016/12/15 19:18:58 UTC
[jira] [Commented] (JCLOUDS-819) Allow prepending a custom user
agent
[ https://issues.apache.org/jira/browse/JCLOUDS-819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15752236#comment-15752236 ]
Vijay Panghal commented on JCLOUDS-819:
---------------------------------------
[~nacx] [~zack-s] I have created a pull request for this. Can you please take a look at this and provide feedback on this?
https://github.com/jclouds/jclouds/pull/1043
> Allow prepending a custom user agent
> ------------------------------------
>
> Key: JCLOUDS-819
> URL: https://issues.apache.org/jira/browse/JCLOUDS-819
> Project: jclouds
> Issue Type: Improvement
> Components: jclouds-core
> Reporter: Everett Toews
> Priority: Minor
>
> Give your users the ability to _prepend_ a custom user agent. So if the existing user agent is "jclouds/1.8.1 java/1.7.0_51"
> Provide a method for your users to easily prepend their own user agent so they can further customize it. e.g. "users-app/0.1.2 jclouds/1.8.1 java/1.7.0_51"
> This will give cloud providers much better insight into how people are using jclouds. This should be well documented and part of examples that are written for jclouds.
> It could be set like,
> {code}
> ComputeServiceContext context = ContextBuilder.newBuilder(PROVIDER)
> .credentials(username, apiKey)
> .userAgent("users-app/0.1.2")
> .buildView(ComputeServiceContext.class);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)