gnodet opened a new pull request, #31368:
URL: https://github.com/apache/camel/pull/31368

   ## Summary
   
   - **Fix GlanceProducer delete**: use `os.images().delete()` (Glance API) 
instead of `os.compute().images().delete()` (Compute API) — the delete 
operation was hitting the wrong OpenStack service
   - **Fix metadata labels**: correct `@Metadata` label attributes in 
CinderConstants (SNAPSHOT_ID, VOLUME_ID), KeystoneConstants (DOMAIN_ID, 
USER_ID), NeutronConstants (NETWORK_ID) to include all applicable subsystems
   - **Fix NovaConstants RXTXFACTOR type**: change javaType from `Integer` to 
`Float` to match the actual OpenStack API type
   - **Fix RouterProducer typo**: "Unsuproutered operation" → "Unsupported 
operation"
   - **Add ID header support**: allow setting the ID header on Keystone 
producers (Domain, Group, Project, Region, User) and Neutron RouterProducer 
when building objects via headers
   - **Simplify ServerProducer action handling**: remove redundant fallback 
logic in the default case
   - **Fix WireMock test mapping**: update Glance delete test stub to use the 
correct Glance v1 API path and 204 status code
   
   ## Test plan
   
   - [x] All 154 existing tests in `camel-openstack` pass
   - [x] `OpenstackGlanceTest.deleteShouldSucceed` updated to match corrected 
API path
   - [x] `GlanceProducerTest.uploadWithoutUpdatingTest` passes (ID header not 
incorrectly propagated to image builder)
   - [x] `ServerProducerTest.serverAction` passes (NovaConstants.ACTION 
retained for backward compatibility)
   - [x] Generated catalog files are in sync
   
   _Claude Code on behalf of Guillaume Nodet_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to