Skip to content

Commit 1bce10d

Browse files
authored
Merge pull request #529 from darkdoc/medical-diag-fixes
Medical diagnosis fixes
2 parents ebda179 + 704edc4 commit 1bce10d

File tree

2 files changed

+6
-32
lines changed

2 files changed

+6
-32
lines changed

content/patterns/medical-diagnosis/demo-script.adoc

-4
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,11 @@ Look at all of the resources that have been created for this demo application. W
9595

9696
We are deploying this demo using self-signed certificates that are untrusted by our browser. Unless you have provisioned valid certificates for your OpenShift cluster you must accept the invalid certificates for:
9797

98-
* image-server | xraylab-1 namespace
9998
* s3-rgw | openshift-storage namespace
10099
* grafana | xraylab-1 namespace
101100

102101
[source,shell]
103102
----
104-
IMAGESERVER_ROUTE=https://$(oc get route -n xraylab-1 image-server -o jsonpath='{.spec.host}')
105-
106-
echo $IMAGESERVER_ROUTE
107103
108104
S3RGW_ROUTE=https://$(oc get route -n openshift-storage s3-rgw -o jsonpath='{.spec.host}')
109105

content/patterns/medical-diagnosis/getting-started.adoc

+6-28
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ aliases: /medical-diagnosis/getting-started/
99
:_content-type: ASSEMBLY
1010
include::modules/comm-attributes.adoc[]
1111

12-
//Module to be included
13-
//:_content-type: PROCEDURE
14-
//:imagesdir: ../../../images
1512
[id="deploying-med-pattern"]
1613
== Deploying the {med-pattern}
1714

@@ -43,9 +40,6 @@ For information about creating the buckets on other cloud providers, see the fol
4340
* link:https://docs.microsoft.com/en-us/azure/storage/common/storage-account-create?tabs=azure-portal[Azure Blob Storage]
4441
* link:https://cloud.google.com/storage/docs/quickstart-console[GCP Cloud Storage]
4542

46-
//Module to be included
47-
//:_content-type: PROCEDURE
48-
//:imagesdir: ../../../images
4943

5044
[id="utilities"]
5145
== Utilities
@@ -240,9 +234,6 @@ Before you run the `./pattern.msh make install` command, ensure that you have th
240234

241235
//image::/videos/predeploy.svg[link="/videos/predeploy.svg"]
242236

243-
//Module to be included
244-
//:_content-type: PROCEDURE
245-
//:imagesdir: ../../../images
246237
[id="med-deploy-pattern_{context}"]
247238
== Deploy
248239

@@ -270,9 +261,6 @@ image::/videos/xray-deployment.svg[link="/videos/xray-deployment.svg"]
270261
.. Check that the Operator is installed in the `openshift-operators` namespace and its status is `Succeeded`. Ensure that {ocp-data-short} is listed in the list of installed Operators.
271262

272263

273-
//Module to be included
274-
//:_content-type: PROCEDURE
275-
//:imagesdir: ../../../images
276264
[id="using-openshift-gitops-to-check-on-application-progress-getting-started"]
277265
=== Using OpenShift GitOps to check on Application progress
278266

@@ -316,23 +304,16 @@ Examine the `medical-diagnosis-hub` ArgoCD instance. You can track all the appli
316304
. Check that all applications are synchronized. There are thirteen different ArgoCD `applications` that are deployed as part of this pattern.
317305

318306

319-
//Module to be included
320-
//:_content-type: PROCEDURE
321-
//:imagesdir: ../../../images
322307
[id="viewing-the-grafana-based-dashboard-getting-started"]
323308
=== Viewing the Grafana based dashboard
324309

325310
. Accept the SSL certificates on the browser for the dashboard. In the {ocp} web console, go to the Routes for project `openshift-storage``. Click the URL for the `s3-rgw`.
326311
+
327-
image::medical-edge/storage-route.png[link="/images/medical-edge/storage-route.png"]
312+
image::/images/medical-edge/storage-route.png[link="/images/medical-edge/storage-route.png"]
328313
+
329314
Ensure that you see some XML and not the access denied error message.
330315
+
331-
image::medical-edge/storage-rgw-route.png[link="/images/medical-edge/storage-rgw-route.png"]
332-
333-
. While still looking at Routes, change the project to `xraylab-1`. Click the URL for the `image-server`. Ensure that you do not see an access denied error message. You must to see a `Hello World` message.
334-
+
335-
image::medical-edge/grafana-routes.png[link="/images/medical-edge/grafana-routes.png"]
316+
image::/images/medical-edge/storage-rgw-route.png[link="/images/medical-edge/storage-rgw-route.png"]
336317

337318
. Turn on the image file flow. There are three ways to go about this.
338319
+
@@ -345,27 +326,24 @@ $ oc scale deployment/image-generator --replicas=1 -n xraylab-1
345326
+
346327
Or you can go to the OpenShift UI and change the view from Administrator to Developer and select Topology. From there select the `xraylab-1` project.
347328
+
348-
image::medical-edge/dev-topology.png[link="/images/medical-edge/dev-topology.png"]
329+
image::/images/medical-edge/dev-topology.png[link="/images/medical-edge/dev-topology.png"]
349330
+
350331
Right-click on the `image-generator` pod icon and select `Edit Pod count`.
351332
+
352-
image::medical-edge/dev-topology-menu.png[link="/images/medical-edge/dev-topology-menu.png"]
333+
image::/images/medical-edge/dev-topology-menu.png[link="/images/medical-edge/dev-topology-menu.png"]
353334
+
354335
Up the pod count from `0` to `1` and save.
355336
+
356-
image::medical-edge/dev-topology-pod-count.png[link="/images/medical-edge/dev-topology-pod-count.png"]
337+
image::/images/medical-edge/dev-topology-pod-count.png[link="/images/medical-edge/dev-topology-pod-count.png"]
357338
+
358339
Alternatively, you can have the same outcome on the Administrator console.
359340
+
360341
Go to the OpenShift UI under Workloads, select Deployments for Project `xraylab-1`.
361342
Click `image-generator` and increase the pod count to 1.
362343
+
363-
image::medical-edge/start-image-flow.png[link="/images/medical-edge/start-image-flow.png"]
344+
image::/images/medical-edge/start-image-flow.png[link="/images/medical-edge/start-image-flow.png"]
364345

365346

366-
//Module to be included
367-
//:_content-type: PROCEDURE
368-
//:imagesdir: ../../../images
369347
[id="making-some-changes-on-the-dashboard-getting-started"]
370348
=== Making some changes on the dashboard
371349

0 commit comments

Comments
 (0)