Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-819

Allow prepending a custom user agent

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.0, 2.0.1
    • jclouds-core
    • None

    Description

      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,

      ComputeServiceContext context = ContextBuilder.newBuilder(PROVIDER)
         .credentials(username, apiKey)
         .userAgent("users-app/0.1.2")
         .buildView(ComputeServiceContext.class);
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            everett-toews Everett Toews
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment