wls-eng / arm-oraclelinux-wls

Microsoft Azure ARM Templates to create Oracle Linux VM with pre-installed Weblogic Server
Apache License 2.0
0 stars 7 forks source link

Update 'createUiDefinition' to include version in query string somewhere in a URL #326

Open edburns opened 3 years ago

edburns commented 3 years ago

A long-standing problem with the Partner Center is the mismatch between the time when the Partner Center shows the offer is available in the portal (either preview or live) and when the offer actually is available in the portal. Our current approach to mitigate this problem is to include a version string in the preview version of the createUiDefinition. A different approach, innovated by @majguo , is to include the version string in a query string in a URL somewhere in the existing UI. This approach allows us to inspect the version string in the preview and live offer, but without it showing up obviously in the UI. This issue requests applying Jianguo's approach to the WLS on VM offers.

The following diff, from WebSphere on VMs illustrates the approach.

git show b2e0ae8a
commit b2e0ae8ac38b00e611f776f34e5e2cfaf10726d0
Author: Ed Burns <edburns@microsoft.com>
Date:   Thu Jul 29 15:56:34 2021 -0400

    On branch edburns-msft-35-error-message Use ibm.biz URL for entitlement link.
    modified:   src/main/arm/createUiDefinition.json

    Signed-off-by: Ed Burns <edburns@microsoft.com>

diff --git a/src/main/arm/createUiDefinition.json b/src/main/arm/createUiDefinition.json
index 37eab15..1cae2c0 100644
--- a/src/main/arm/createUiDefinition.json
+++ b/src/main/arm/createUiDefinition.json
@@ -9,7 +9,7 @@
                 "type": "Microsoft.Common.InfoBox",
                 "options": {
                     "icon": "Info",
-                    "text": "This offer is Bring-Your-Own-License. To deploy this offer, you must enter your registered IBM ID and your IBM ID must have active WebSphere entitlements associated with it. If provisioning fails due to lack of entitlements, ask the primary or secondary contacts for your IBM Passport Advantage site to grant you access or follow steps at <a href='https://www-112.ibm.com/software/howtobuy/passportadvantage/homepage/ecarec?version=${project.version}' target='_blank'>IBM eCustomer Care</a> for further assistance. This offer also assumes you are properly licensed to run offers in Microsoft Azure."
+                    "text": "This offer is Bring-Your-Own-License. To deploy this offer, you must enter your registered IBM ID and your IBM ID must have active WebSphere entitlements associated with it. If provisioning fails due to lack of entitlements, ask the primary or secondary contacts for your IBM Passport Advantage site to grant you access or follow steps at <a href='https://ibm.biz/IBMidEntitlement?version=${project.version}' target='_blank'>IBM eCustomer Care</a> for further assistance. This offer also assumes you are properly licensed to run offers in Microsoft Azure."
                 }
             },
             {