Skip to content

[Cm-1631]: Implement Artifact Uploading #42

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

Merged
merged 59 commits into from
Dec 21, 2021
Merged

Conversation

yaricom
Copy link
Member

@yaricom yaricom commented Dec 9, 2021

comet-java-client

  • Implemented Artifact and ArtifactBuilder interfaces
  • Implemented support of add asset, add remote asset, and add assets folder to the Artifact

comet-examples

  • Implemented ArtifactExample to demonstrate basic usage of the Comet artifact.

@codecov-commenter
Copy link

codecov-commenter commented Dec 9, 2021

Codecov Report

Merging #42 (139af32) into master (7606e55) will decrease coverage by 1.16%.
The diff coverage is 44.34%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #42      +/-   ##
============================================
- Coverage     53.62%   52.46%   -1.17%     
- Complexity      429      489      +60     
============================================
  Files            65       87      +22     
  Lines          1848     2272     +424     
  Branches        155      174      +19     
============================================
+ Hits            991     1192     +201     
- Misses          644      836     +192     
- Partials        213      244      +31     
Flag Coverage Δ
integration 52.46% <44.34%> (-1.17%) ⬇️
unittests 52.46% <44.34%> (-1.17%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...experiment/artifact/ArtifactNotFoundException.java 0.00% <0.00%> (ø)
...experiment/artifact/ArtifactNotReadyException.java 0.00% <0.00%> (ø)
.../comet/experiment/artifact/GetArtifactOptions.java 0.00% <0.00%> (ø)
...a/ml/comet/experiment/impl/LoggedArtifactImpl.java 0.00% <0.00%> (ø)
...ml/comet/experiment/impl/OnlineExperimentImpl.java 35.32% <0.00%> (-0.18%) ⬇️
...ain/java/ml/comet/experiment/impl/asset/Asset.java 94.11% <ø> (+5.88%) ⬆️
.../comet/experiment/impl/constants/ApiEndpoints.java 0.00% <ø> (ø)
...comet/experiment/impl/constants/SdkErrorCodes.java 0.00% <0.00%> (ø)
...ava/ml/comet/experiment/impl/log/StdOutLogger.java 82.35% <ø> (ø)
...l/comet/experiment/impl/resources/LogMessages.java 29.62% <ø> (ø)
... and 74 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7606e55...139af32. Read the comment docs.

…. Implemented corresponding test cases. Refactored test cases to extract asset folder related functionality to be used from different test suites.
…s. Exposed ExperimentMetadata public DTO object.
…fields to be extended by REST API model classes for inheritance.
…describing particular asset. Fixed related methods and test cases.
… public API. Fixed related test cases. Fixed CometApi to return ExperimentMetadata from public API. Fixed related test cases. Renamed internal model package to the rest for better clarity.
@yaricom yaricom marked this pull request as ready for review December 17, 2021 18:04
Copy link
Member Author

@yaricom yaricom left a comment

Choose a reason for hiding this comment

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

Just added @sonatype-lift ignore for fields which implicitly used

Copy link
Member

@Lothiraldan Lothiraldan left a comment

Choose a reason for hiding this comment

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

Looking good, left a couple of comments

Copy link
Member

@Lothiraldan Lothiraldan left a comment

Choose a reason for hiding this comment

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

LGTM

@yaricom yaricom merged commit fdc1c7d into master Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants