|
| 1 | +:_content-type: PROCEDURE |
| 2 | +:imagesdir: ../../../images |
| 3 | + |
| 4 | +[id="deploying-mcg-pattern"] |
| 5 | += Demonstrating Retail example applications |
| 6 | + |
| 7 | +Up until now the Retail validated pattern has focused primarily on |
| 8 | +successfully deploying the architectural pattern. Now it is time to see |
| 9 | +the actual applications running as we have deployed them. |
| 10 | + |
| 11 | +If you have already deployed the hub cluster, then you have already seen |
| 12 | +several applications deployed in the OpenShift GitOps console. If you |
| 13 | +haven’t done this then we recommend you deploy the hub after you have |
| 14 | +setup the Quay repositories described below. |
| 15 | + |
| 16 | +== Ordering Items at the Coffeeshop |
| 17 | + |
| 18 | +The easiest way to get to the coffeeshop store page is from the |
| 19 | +OpenShift Console Menu Landing Page entry: |
| 20 | + |
| 21 | +link:/images/retail/retail-v1-console-menu.png[image:/images/retail/retail-v1-console-menu.png[retail-v1-console-menu] |
| 22 | + |
| 23 | +1. Click the *Quarkus Coffeeshop Landing Page* link will bring you to |
| 24 | +this page: |
| 25 | ++ |
| 26 | +link:/images/retail/retail-v1-landing-page.png[image:/images/retail/retail-v1-landing-page.png[retail-v1-landing-page] |
| 27 | + |
| 28 | +2. Select either the `Store Web Page` or "`TEST Store Web Page`" |
| 29 | +links brings you to a screen that looks like this: |
| 30 | ++ |
| 31 | +link:/images/retail/retail-v1-store-page.png[image:/images/retail/retail-v1-store-page.png[retail-v1-store-page] |
| 32 | ++ |
| 33 | +[NOTE] |
| 34 | +==== |
| 35 | +The applications are initially identical. The `TEST`" site is |
| 36 | +deployed to the `quarkuscoffeeshop-demo` namespace; the regular Store |
| 37 | +site is deployed to the `quarkuscoffeeshop-store` namespace. |
| 38 | +
|
| 39 | +Each store requires supporting services, in PostgreSQL and Kafka. In our |
| 40 | +pattern, PostgreSQL is provided by the Crunchy PostgreSQL operator, and |
| 41 | +Kafka is provided by the Red Hat AMQ Streams operator. Each instance, |
| 42 | +the regular instance and the TEST instance, has its own instance of each |
| 43 | +of these supporting services it uses. |
| 44 | +==== |
| 45 | + |
| 46 | + |
| 47 | +. Order by clicking the `Place an Order` button on the front page. The |
| 48 | +menu should look like this: |
| 49 | ++ |
| 50 | +link:/images/retail/retail-v1-store-web-menu.png[image:/images/retail/retail-v1-store-web-menu.png[retail-v1-store-web-menu]] |
| 51 | + |
| 52 | +. Click the `Add` button next to a menu item; the item name will appear. |
| 53 | +Add a name for the order: |
| 54 | + |
| 55 | +link:/images/retail/retail-v1-order-p1.png[image:/images/retail/retail-v1-order-p1.png[retail-v1-order-p1]] |
| 56 | + |
| 57 | +You can add as many orders as you want. On your last item, click the |
| 58 | +"`Place Order`" button on the item dialog: |
| 59 | + |
| 60 | +link:/images/retail/retail-v1-place-order.png[image:/images/retail/retail-v1-place-order.png[retail-v1-place-order]] |
| 61 | + |
| 62 | +As the orders are serviced by the barista and kitchen services, you can |
| 63 | +see their status in the "`Orders`" section of the page: |
| 64 | + |
| 65 | +link:/images/retail/retail-v1-orders-status.png[image:/images/retail/retail-v1-orders-status.png[retail-v1-orders-status] |
| 66 | + |
| 67 | + |
0 commit comments