Add utility method on ManifestDescriptor to construct manifest descriptor with Platform and Annotation from Manifest by jonesbusy · Pull Request #591 · oras-project/oras-java

Conversation

@jonesbusy

Description

Add utility method on ManifestDescriptor to construct manifest descriptor with Platform and Annotation from Manifest

  • Add test that assemble OpenTofu provider using this utils

Testing done

Added tests

Still need to test with real OCI registry if pull works

Submitter checklist

  • I have read and understood the CONTRIBUTING guide
  • I have run mvn license:update-file-header, mvn spotless:apply, pre-commit run -a, mvn clean install before opening the PR

@codecov

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.29%. Comparing base (e56e3ed) to head (33ae6ac).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #591      +/-   ##
============================================
+ Coverage     88.19%   89.29%   +1.10%     
- Complexity      818      823       +5     
============================================
  Files            42       42              
  Lines          2431     2439       +8     
  Branches        299      299              
============================================
+ Hits           2144     2178      +34     
+ Misses          175      151      -24     
+ Partials        112      110       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jonesbusy jonesbusy changed the title Add test that assemble OpenTofu provider Add utility method on ManifestDescriptor to construct manifest descriptor with Platform and Annotation from Manifest

Feb 24, 2026
Signed-off-by: Valentin Delaye <jonesbusy@users.noreply.github.com>

Labels

1 participant

@jonesbusy