-
Notifications
You must be signed in to change notification settings - Fork 61
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
docs: improve readability of documentation #165
Conversation
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 create an issue as described in the contributing guide
./gradlew util:http-request-logger:build | ||
HTTP_SERVER_PORT=4000 java -jar util/http-request-logger/build/libs/http-request-logger.jar | ||
docker build -t http-request-logger util/http-request-logger | ||
docker run -p 4000:4000 http-request-logger |
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.
Not sure why running it with docker should be better than running the jar directly
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.
First, I could not run this JAR after building it. Unfortunately, I could not fix this error:
Error: Could not find or load main class org.eclipse.edc.samples.util.HttpRequestLoggerServer
Caused by: java.lang.ClassNotFoundException: org.eclipse.edc.samples.util.HttpRequestLoggerServer
Secondly, there is a Dockerfile that is already used in other samples
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.
looks like the jar task in the build.gradle.kts misses to include .class
files in the jar:
from(sourceSets["main"].output)
with this addition to the jar task, it will work
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.
Thanks for your help! Now running the JAR works. I have changed the use of container back to JAR.
Corresponding Issue #167 |
This pull request is stale because it has been open for 7 days with no activity. |
@MichaelSteinert could you take care of make the e2e tests pass? so we can merge then |
@ndr-brt yes. i have fixed the e2e tests |
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.
thanks!
What this PR changes/adds
This PR:
improves the readablity of documentation
fixes some typos
uses the logging webserver as docker container instead of JAR
makes use of docker container name instead of container id in streaming sample 2
removes non-working property
maxDuration
in streaming sample 2makes use of docker compose instead fo docker-compose in advanced sample 1
adds missing catalog fetch in advanced sample 1
Closes #172
Closes #167