Open-API: Stop publishing REST fixture runtime jar - #16214
Conversation
9261ef1 to
f2ee703
Compare
|
this is ready for first round of review. Please take a look at once those are good, please check |
|
I'm wondering whether we need all those jars and bundles for docker image and integration tests in iceberg-python and iceberg-rust. |
adfc237 to
31831d0
Compare
40d608b to
5d3b794
Compare
a0e2845 to
33b9c5c
Compare
33b9c5c to
f291147
Compare
…rom staged classpath Replaces the iceberg-open-api shadowJar with a Sync task that lays out the REST catalog test-fixtures runtime as a directory of jars plus LICENSE/NOTICE under build/iceberg-rest-server/. The iceberg-rest-fixture Docker image copies that directory and launches the server via java -cp ".../libs/*" org.apache.iceberg.rest.RESTCatalogServer. The publish-iceberg-rest-fixture-docker and cve-scan workflows are updated to run the new installRESTServer task; the open-api CVE scan entry now scans every dependency jar individually.
899981e to
1cd4a96
Compare
|
After this, I will follow up with more PRs to
|
|
This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions. |
|
This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time. |
Summary
Stop publishing the OpenAPI REST fixture as a shaded runtime jar. Docker now uses
:iceberg-open-api:stageRESTFixtureRuntimeto stage the test-fixtures jar, runtime dependencies,LICENSE, andNOTICEunderopen-api/build/iceberg-rest-server/, then launchesRESTCatalogServerwithjava -cp.I'll follow up with another PR to fix the content of the LICENSE/NOTICE files
Changes
shadowJar.:iceberg-open-api:build.testFixturesJarfor test consumers, with standard archive metadata.Testing
./gradlew :iceberg-open-api:stageRESTFixtureRuntime./gradlew :iceberg-open-api:build --dry-rundocker build+docker runsmoke test: container became healthy and/v1/configreturned endpoints.