Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #31 from KevFan/INTLY-8149
Browse files Browse the repository at this point in the history
INTLY-8149 - use attribute for fuse namespace
  • Loading branch information
pb82 authored Jun 2, 2020
2 parents a882446 + a996287 commit 92d8812
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hidden_walkthroughs/4-protecting-apis/walkthrough.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ NOTE: Ask an administrator to grant you the necessary 3scale permission if *New
. Select the *Import from OpenShift* option. If this option is not enabled, click the *Authenticate to enable this option* link and choose *Allow selected permissions*.
. If you used the *Authenticate to enable this option* link, verify that you have reselected *Import from OpenShift* after being redirected.
. In the SERVICE section:
.. Verify the *Namespace* field has *redhat-rhmi-fuse* selected.
.. Verify the *Namespace* field has *{fuse-namespace}* selected.
.. Verify the *Name* field has *i-greeting-integration-{user-username}* selected.
. Click *Create Product*.
+
Expand Down
6 changes: 3 additions & 3 deletions walkthroughs/3-low-code-api-development/walkthrough.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,10 @@ By default, Fuse Online does not expose an *Integration* to the public internet
=== Find the Greeting Service Internal Hostname

. Login to the link:{openshift-console-url}[OpenShift Console, window="_blank"].
. Go to *Home > Projects* and select the project named with the following format: `redhat-rhmi-fuse`.
. Go to *Home > Projects* and select the project named with the following format: `{fuse-namespace}`.
. Choose *Networking > Services* from the left menu.
. Make sure there is a *i-greeting-integration-{user-username}* item in the *Services* list.
. Take a note of the hostname: `i-greeting-integration-{user-username}.redhat-rhmi-fuse.svc.cluster.local`.
. Take a note of the hostname: `i-greeting-integration-{user-username}.{fuse-namespace}.svc.cluster.local`.

=== Creating a cURL Deployment

Expand All @@ -398,7 +398,7 @@ oc run curl --image=curlimages/curl --restart=Never \
--command -- curl -X POST \
--data '{"name":"OpenShift"}' \
-H 'content-type: application/json' \
http://i-greeting-integration-{user-username}.redhat-rhmi-fuse.svc.cluster.local:8080/greeting -vvv
http://i-greeting-integration-{user-username}.{fuse-namespace}.svc.cluster.local:8080/greeting -vvv
----

. Verify the cURL container ran successfully by checking the logs for a *200 OK* response with this command:
Expand Down

0 comments on commit 92d8812

Please sign in to comment.