mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-5895. Added new parameter link to buy license for getProductInfo API (#3080)
* CB-5895. Added new parameter link to buy license for getProductInfo API * CB-5951 add purchase field --------- Co-authored-by: naumov <iamemptyhuh@gmail.com> Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com> Co-authored-by: Ainur <59531286+yagudin10@users.noreply.github.com>
This commit is contained in:
co-authored by
naumov
Daria Marutkina
Ainur
parent
350136f797
commit
990fbe28f5
@@ -118,6 +118,7 @@ type ProductInfo {
|
||||
licenseInfo: String
|
||||
|
||||
latestVersionInfo: String
|
||||
productPurchaseURL: String
|
||||
}
|
||||
|
||||
type ServerConfig {
|
||||
|
||||
@@ -77,4 +77,10 @@ public class WebProductInfo {
|
||||
return CommonUtils.notEmpty(product.getProperty("versionUpdateURL"));
|
||||
}
|
||||
|
||||
@Property
|
||||
public String getProductPurchaseURL() {
|
||||
IProduct product = Platform.getProduct();
|
||||
return CommonUtils.notEmpty(product.getProperty("productPurchaseURL"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -8,5 +8,6 @@ fragment ProductInfo on ServerConfig {
|
||||
buildTime
|
||||
releaseTime
|
||||
licenseInfo
|
||||
productPurchaseURL
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user