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

SDK support for server #49

Merged
merged 31 commits into from
May 22, 2024
Merged

SDK support for server #49

merged 31 commits into from
May 22, 2024

Conversation

kartikeytewari-ul
Copy link
Contributor

@kartikeytewari-ul kartikeytewari-ul commented May 13, 2024

  1. When using SDK with remote server:
@Unlogged (serverLink = "http://localhost:8123")
  1. When using SDK locally use:
@Unlogged
  • serverLink: is the base url of server

- remove fields that are not in the backend API endpoint.
- modify the upload archive url
- add server address
- return sessionId for testing
- earlier class.weave.dat file was uploaded from
sdk to server. Now, that file is no longer needed.
- Also, base time was getting set from session-weave-dat
zip filename. Now, that also happens from log.txt file
that would eventually come from index-*.zip files.
- Since, the zip file is no longer needed, it's creation
and build flow is removed.
@kartikeytewari-ul
Copy link
Contributor Author

Test Plan:

  • Tested with multiple session on remote server
  • Tested with single session locally

@kartikeytewari-ul kartikeytewari-ul marked this pull request as draft May 15, 2024 10:30
@kartikeytewari-ul kartikeytewari-ul marked this pull request as ready for review May 15, 2024 12:04
@@ -95,6 +90,20 @@ private Runtime(String args) {

errorLogger = new SimpleFileLogger(outputDir);

String hostname = null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use NetworkClient.getHostname()

@artpar artpar merged commit 098433b into main May 22, 2024
1 of 2 checks passed
@kartikeytewari-ul kartikeytewari-ul deleted the log_upload branch June 3, 2024 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants