Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-50

Improve version information availability in sdk 2.0

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.0.1
    • 1.0.1
    • None
    • None

    Description

      The sdk 2.0 allows to get version information on CoreEnvironment. In some cases, notably when repackaging the sdk into a shadow jar or fat jar, information is lost. For example we get "unknown" in the following USER_AGENT and SDK_VERSION strings :
      "USER_AGENT":"couchbase-java-client/unknown (git: unknown) (Mac OS X/10.9.4 x86_64; Java HotSpot(TM) 64-Bit Server VM 1.8.0_05-b13)"
      "SDK_VERSION":"couchbase-java-client/unknown (git: unknown)"

      A way to retain that information in case of repackaging should be found.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            daschl Michael Nitschinger
            simonbasle Simon Baslé (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty