Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new lab 'service-interconnect' & SSO integration #293

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
slug: join-red-hat-developer-portal
id: zm7j51xxebyk
type: challenge
title: Join Red Hat Developer at no cost
teaser: Join Red Hat Developer at no cost
tabs:
- title: Red Hat Login
type: browser
hostname: rhd-login
difficulty: ""
---
Before you proceed with the next challenge, please take a moment to register for Red Hat Developer. If you already have a Red Hat account, you can use the same login credentials.

This will help us assess user satisfaction and enable us to provide more curated content.

Click on the `Check` button at the bottom once you have registered or logged in.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/bash
set -euxo pipefail
echo 'logincheck'
if [ "${LOGGEDIN-0}" = "1" ]; then
echo 'loggedin'
exit 0
fi

rm -f /home/user/checkResult.json
rm -f /home/user/checkAssets.json
rm -f /home/user/checkError.txt


echo 'dropdown check'
echo '{"location":{"conditions":[{"url":"redhat.com","condition":"contains"}]},"innerText":[{"selector":"html \u003e body","value":"Please click on Check button in the bottom right of your screen to continue with the Lab."}]}' > /home/user/checkAssets.json
until [ -f /home/user/checkResult.json ]; do
sleep 1
done
if grep "SUCCESS" /home/user/checkResult.json; then
echo 'account dropdown'
exit 0
fi


rm -f /home/user/checkResult.json
rm -f /home/user/checkAssets.json
rm -f /home/user/checkError.txt


echo 'email check'
echo '{"location":{"conditions":[]},"innerText":[{"selector":"html \u003e body","value":"Email address verification"}]}' > /home/user/checkAssets.json
until [ -f /home/user/checkResult.json ]; do
sleep 1
done
cat /home/user/checkResult.json
if grep "SUCCESS" /home/user/checkResult.json; then
echo 'email validation'
exit 0
fi
fail-message "Please login and click 'Check' button."
exit 1
58 changes: 29 additions & 29 deletions ...ect/01-service-interconnect/assignment.md → ...ect/02-service-interconnect/assignment.md
100755 → 100644

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
77 changes: 0 additions & 77 deletions instruqt-tracks/service-interconnect/assets/install.sh

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions instruqt-tracks/service-interconnect/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
version: "3"
virtualbrowsers:
- name: rhd-login
url: https://developers.redhat.com/node/284339?auHash=5k9QV-yD0z-jAU7XkJyq1TUxhVyyZVLiuZz7tsfTz_s&offerid=3882354
virtualmachines:
- name: crc
image: rhd-devx-instruqt/openshift-4-14-7-97g8f
Expand Down
5 changes: 3 additions & 2 deletions instruqt-tracks/service-interconnect/track.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ description: |2
This can be accomplished with a VPN between the public cloud and the private data center. However, a **VPN can be hard to set up**, and **requires deep networking expertise**. Developers also need to request the network admins and go through a time taking approval process for the VPNs to be setup. **Red Hat Service Interconnect on the other hand creates a dedicated layer 7 service network and is a lot easier to set up**. It allows application Developers to establish secure interconnection with other services and applications in different environments without relying on network specialists. With Service Interconnect developers can now create secure virtual application networks without the cumbersome overhead, complexity and delays of traditional connectivity solutions.

## Lab architecture
![lab-arch.png](./assets/Screenshot%202023-08-22%20at%2011.07.25%20PM.png)
![lab-arch.png](.\assets\Screenshot%202023-08-22%20at%2011.07.25%20PM.png)
> **Note:**
> Red Hat Service Interconnect is not limited to service networks between instances of OpenShift and RHEL, but can equally well be leveraged to connect deployments across OpenShift or other Kubernetes, virtual machines or on bare metal environments

Expand All @@ -37,6 +37,7 @@ tags:
- openshift
owner: openshift
developers:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
Expand All @@ -47,4 +48,4 @@ lab_config:
position: right
feedback_recap_enabled: true
loadingMessages: true
checksum: "9556025054795558048"
checksum: "150358785019515107"
Loading
Loading