Skip to content

Commit

Permalink
CB-5895. Added new parameter link to buy license for getProductInfo A…
Browse files Browse the repository at this point in the history
…PI (#3080)

* CB-5895. Added new parameter link to buy license for getProductInfo API

* CB-5951 add purchase field

---------

Co-authored-by: naumov <[email protected]>
Co-authored-by: Daria Marutkina <[email protected]>
Co-authored-by: Ainur <[email protected]>
  • Loading branch information
4 people authored Nov 22, 2024
1 parent 350136f commit 990fbe2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ type ProductInfo {
licenseInfo: String

latestVersionInfo: String
productPurchaseURL: String
}

type ServerConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,10 @@ public String getLatestVersionInfo() {
return CommonUtils.notEmpty(product.getProperty("versionUpdateURL"));
}

@Property
public String getProductPurchaseURL() {
IProduct product = Platform.getProduct();
return CommonUtils.notEmpty(product.getProperty("productPurchaseURL"));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ fragment ProductInfo on ServerConfig {
buildTime
releaseTime
licenseInfo
productPurchaseURL
}
}

0 comments on commit 990fbe2

Please sign in to comment.