Skip to content

Commit 3650d02

Browse files
committed
update
1 parent 14b6182 commit 3650d02

File tree

11 files changed

+1181
-3
lines changed

11 files changed

+1181
-3
lines changed

instruqt-tracks/developing-with-quarkus-panache/01-01-define-entity/assignment.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ notes:
3434
3535
You can learn more about Panache at [quarkus.io](https://quarkus.io).
3636
tabs:
37-
- title: Terminal 1
37+
- id: xvlcymvioilr
38+
title: Terminal 1
3839
type: terminal
3940
hostname: crc
40-
- title: Visual Editor
41+
- id: m87skiqk4tt5
42+
title: Visual Editor
4143
type: code
4244
hostname: crc
4345
path: /root/projects/rhoar-getting-started/quarkus/panache
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
slug: join-red-hat-developer-portal
3+
id: wyweflgmeulq
4+
type: challenge
5+
title: Join Red Hat Developer at no cost
6+
teaser: Join Red Hat Developer at no cost
7+
tabs:
8+
- id: ypcqhbnb8a7j
9+
title: Red Hat Login
10+
type: browser
11+
hostname: rhd-login-3882343
12+
difficulty: ""
13+
---
14+
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.
15+
16+
This will help us assess user satisfaction and enable us to provide more curated content.
17+
18+
Click on the `Check` button at the bottom once you have registered or logged in.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#!/bin/bash
2+
set -euxo pipefail
3+
echo 'logincheck'
4+
if [ "${LOGGEDIN-0}" = "1" ]; then
5+
echo 'loggedin'
6+
exit 0
7+
fi
8+
9+
rm -f /home/user/checkResult.json
10+
rm -f /home/user/checkAssets.json
11+
rm -f /home/user/checkError.txt
12+
13+
14+
echo 'dropdown check'
15+
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
16+
until [ -f /home/user/checkResult.json ]; do
17+
sleep 1
18+
done
19+
if grep "SUCCESS" /home/user/checkResult.json; then
20+
echo 'account dropdown'
21+
exit 0
22+
fi
23+
24+
25+
rm -f /home/user/checkResult.json
26+
rm -f /home/user/checkAssets.json
27+
rm -f /home/user/checkError.txt
28+
29+
30+
echo 'email check'
31+
echo '{"location":{"conditions":[]},"innerText":[{"selector":"html \u003e body","value":"Email address verification"}]}' > /home/user/checkAssets.json
32+
until [ -f /home/user/checkResult.json ]; do
33+
sleep 1
34+
done
35+
cat /home/user/checkResult.json
36+
if grep "SUCCESS" /home/user/checkResult.json; then
37+
echo 'email validation'
38+
exit 0
39+
fi
40+
fail-message "Please login and click 'Check' button."
41+
exit 1

0 commit comments

Comments
 (0)