-
Notifications
You must be signed in to change notification settings - Fork 2
[POC] end-to-end Integration test #13
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
base: master
Are you sure you want to change the base?
Conversation
ADD api-gateway-service.jar api-gateway-service.jar | ||
ADD wrapper.sh wrapper.sh | ||
RUN bash -c 'chmod +x /wrapper.sh' | ||
RUN bash -c 'touch /app.jar' |
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.
opechatka
links: | ||
- discovery-server | ||
environment: | ||
- WATE=true |
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.
WTF? ;)
private static final String STORAGE_SERVICE = "storage-service_1"; | ||
private static final int STORAGE_SERVICE_PORT = 8091; | ||
|
||
private static final String compose = EntToEndIntegrationTest.class.getClassLoader() |
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.
uppercase?
21f0d8d
to
ddb6e3f
Compare
b97822e
to
42f5e2c
Compare
42f5e2c
to
839f377
Compare
…fig.uri from wrapper.sh
dcb20a3
to
b9f92fb
Compare
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.
Please, take a look on my comments.
|
||
if [ "$WAITING_FOR_DEPENDENCE" != "true" ]; then | ||
echo "Starting config server immediately" | ||
java -jar ./client-service.jar |
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.
Is this file is autogenerated ? If yes then do we need it to be pushed ? If no then should we always maintain it and support configuration ?
Thread.sleep(SLEEP); | ||
try { | ||
httpResponse = client.execute(httpGet); | ||
} catch (IOException ignored) { |
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.
Maybe throw it away instead of ignoring?
integration-test
Dockerfile
/info
endpoint