-
Notifications
You must be signed in to change notification settings - Fork 7
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
Diagram gui #54
base: master
Are you sure you want to change the base?
Diagram gui #54
Changes from all commits
9bbb9a6
13eb1ef
f88ade9
218c5ff
3a55d67
d4e6d8b
00ccd70
69b61d0
ec6feba
a026b52
8bc01b9
3fb78a3
d44c095
a55e457
60a30c6
8e6c356
970860c
1ddddf8
af4b4be
0b62cb2
70e67bf
64e8b53
6124f7a
7403a31
dc0b9c2
56672d0
de3d452
ffdfc41
b17459c
65f2482
4723a4c
16ef59c
49765e7
447413f
2441162
e77cadb
a001a6d
e0f2193
d2235ef
fc2fa52
329cbea
bb65fb9
2995bc2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#!/bin/bash | ||
iter=1 | ||
all=120 | ||
until [ "$(curl --silent --show-error --connect-timeout 1 -I http://localhost:"${1:-"8080"}"/auth | grep '302 Found')" != "" ]; | ||
do | ||
if [ "$iter" -lt "$all" ] | ||
then | ||
echo "--- sleeping for 10 seconds" | ||
sleep 10 | ||
let iter=$iter+1 | ||
else | ||
echo "Server didn't return 302 found for long time" | ||
exit 1 | ||
fi | ||
done | ||
echo "auth-service found" | ||
iter=1 | ||
all=120 | ||
until [ "$(curl --silent --show-error --connect-timeout 1 -I http://localhost:"${2:-"8082"}"/dashboard | grep '302 Found')" != "" ]; | ||
do | ||
if [ "$iter" -lt "$all" ] | ||
then | ||
echo "--- sleeping for 10 seconds" | ||
sleep 10 | ||
let iter=$iter+1 | ||
else | ||
echo "Server didn't return 302 found for long time" | ||
exit 1 | ||
fi | ||
done | ||
echo "dashboard-service found" | ||
iter=1 | ||
all=120 | ||
until [ "$(curl --silent --show-error --connect-timeout 1 -I http://localhost:"${3:-"8081"}"/editor | grep '302 Found')" != "" ]; | ||
do | ||
if [ "$iter" -lt "$all" ] | ||
then | ||
echo "--- sleeping for 10 seconds" | ||
sleep 10 | ||
let iter=$iter+1 | ||
else | ||
echo "Server didn't return 302 found for long time" | ||
exit 1 | ||
fi | ||
done | ||
echo "editor-service found" | ||
exit 0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,9 @@ | |
|
||
<rule ref="rulesets/java/braces.xml"/> | ||
|
||
<rule ref="rulesets/java/codesize.xml"/> | ||
<rule ref="rulesets/java/codesize.xml"> | ||
<exclude name="TooManyMethods" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? We do have classes with more than ten business-logic methods? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I break this rule only if I describe services. For example, service Scene provides more than ten methods for users. |
||
</rule> | ||
|
||
<rule ref="rulesets/java/empty.xml"/> | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this file? I did not found any call of this script in changed code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. This file is needed in case we want to run all services with gui tests.
By this we check that all services are running. You can see that in pom.xml.