Details
-
Improvement
-
Resolution: Fixed
-
Major
-
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.