Solution Explorer provides the front door into the Integreatly initiative. It hosts the various Solution Patterns, as well as providing a dashboard of installed applications/products/services.
Apache License 2.0
36
stars
54
forks
source link
Update walkthrough configurations to support RHPDS generated users #578
Update the web app to handle per-user Fuse and per-user 3scale when provisioned in workshop mode.
The web app should remain unaffected when:
the RHMI Installation type is set to managed
running on 1.x clusters
Verification steps
OCP4: Setup
Provision a new OSD cluster and install integreatly from master. Wait for the solution explorer product to come up
Scale down the solution explorer operator to avoid it reconciling any changes made to the web app deployment
An easy way to do this is to edit the registry configmap in the redhat-rhmi-solution-explorer-operator namespace to point to a bogus operator image (e.g, change quay.io/integreatly/tutorial-web-app-operator:v0.0.48 to quay.io/integreatly/tutorial-web-app-operator:v0.0.480
Update the operator deployment to use the new bogus tag/image
Update the tutorial web app deployment config in the redhat-rhmi-solution-explorer namespace:
Set the INSTALLATION_TYPE environment variable to managed or workshop depending on which verification you do first
Update the deployment image to use the image: quay.io/dimitra/tutorial-web-app:v0.0.6
Wait for the pod to come up. You should be able to access the web app through the route in the same namespace
OCP4: Managed
Ensure that the INSTALLATION_TYPE environment variable in the web app deployment config is set to managed
Ensure that all links in the solution explorer and in the walkthroughs are correct and functional
Ensure that the heading on the main services page displays Managed Services and the tooltip displays information about Managed services
OCP4: Workshop
Ensure that the INSTALLATION_TYPE environment variable in the web app deployment config is set to workshop
Ensure that the Fuse links in the solution explorer point to the per-user Fuse Online instance (e.g. https://syndesis-evals59-fuse.apps.summit-labs.u1t4.s1.devshift.org). Note: This link will not work at the moment since per-user Fuse instances are not yet enabled. The link format should still be correct though.
Ensure that the Fuse attributes provided to walkthrough asciidoc from the solution explorer point to the users per-user Fuse Online instance
Ensure that the 3scale links in the solution explorer point to the per-user 3scale tenant (e.g. https://evals59-tenant-admin.apps.summit-labs.u1t4.s1.devshift.org). Note: This link will not work at the moment since per-user 3scale instances are not yet enabled. The link format should still be correct though.
Ensure that the 3scale attributes provided to walkthrough asciidoc from the solution explorer point to the users per-user 3scale tenant
Ensure that the heading on the main services page displays Managed Services
OCP4: Other
Set the INSTALLATION_TYPE environment variable in the web app deployment config to something other than workshop or managed (can be anything), or just remove this variable
Navigate to the web app console and ensure the heading on the main services page displays Self-managed Services and that the tooltip contains information about self managed products
OCP3
These changes should not effect RHMI 1.x, so the verification entails ensuring that nothing has changed.
Provision an Integreatly RHPDS workshop
Update the msb deployment in the managed-service-broker namespace to use the v0.0.15 tag instead of the v0.0.12 (this fixes a known issue with a name change in Apicurito)
Scale down the solution explorer operator pod
Change the tutorial web app image to quay.io/dimitra/tutorial-web-app:v0.0.6
Run through the walkthroughs. Ensure all services come up as expected and all walkthrough links are working without any errors
Ensure that the heading on the main services page displays Managed Services
Description
Update the web app to handle per-user Fuse and per-user 3scale when provisioned in
workshop
mode. The web app should remain unaffected when:managed
Verification steps
OCP4: Setup
redhat-rhmi-solution-explorer-operator
namespace to point to a bogus operator image (e.g, changequay.io/integreatly/tutorial-web-app-operator:v0.0.48
toquay.io/integreatly/tutorial-web-app-operator:v0.0.480
redhat-rhmi-solution-explorer
namespace:INSTALLATION_TYPE
environment variable tomanaged
orworkshop
depending on which verification you do firstquay.io/dimitra/tutorial-web-app:v0.0.6
OCP4: Managed
INSTALLATION_TYPE
environment variable in the web app deployment config is set tomanaged
Managed Services
and the tooltip displays information about Managed servicesOCP4: Workshop
INSTALLATION_TYPE
environment variable in the web app deployment config is set toworkshop
https://syndesis-evals59-fuse.apps.summit-labs.u1t4.s1.devshift.org
). Note: This link will not work at the moment since per-user Fuse instances are not yet enabled. The link format should still be correct though.https://evals59-tenant-admin.apps.summit-labs.u1t4.s1.devshift.org
). Note: This link will not work at the moment since per-user 3scale instances are not yet enabled. The link format should still be correct though.Managed Services
OCP4: Other
INSTALLATION_TYPE
environment variable in the web app deployment config to something other thanworkshop
ormanaged
(can be anything), or just remove this variableSelf-managed Services
and that the tooltip contains information about self managed productsOCP3
These changes should not effect RHMI 1.x, so the verification entails ensuring that nothing has changed.
msb
deployment in themanaged-service-broker
namespace to use thev0.0.15
tag instead of thev0.0.12
(this fixes a known issue with a name change in Apicurito)quay.io/dimitra/tutorial-web-app:v0.0.6
Managed Services