aldettinger commented on code in PR #8500:
URL: https://github.com/apache/camel-quarkus/pull/8500#discussion_r3032294266
##########
integration-tests/ibm-cos/src/main/java/org/apache/camel/quarkus/component/ibm/cos/it/IBMCloudObjectStorageRoutes.java:
##########
@@ -69,9 +74,37 @@ public void configure() throws Exception {
from("direct:list")
.to(componentUri(IBMCOSOperations.listObjects));
+ from("direct:delete-objects")
+ .to(componentUri(IBMCOSOperations.deleteObjects));
+
+ from("direct:copy-object")
+ .to(componentUri(IBMCOSOperations.copyObject));
+
+ from("direct:get-object-range")
+ .to(componentUri(IBMCOSOperations.getObjectRange));
+
+ from("direct:list-buckets")
+ .to(componentUri(IBMCOSOperations.listBuckets));
+
+ from("direct:put-object-autocreate")
+
.to(componentUriWithAutoCreate(IBMCOSOperations.putObject).keyName(KEY_FOR_AUTOCREATE));
+
+ from("direct:read-autocreate")
+
.to(componentUriWithAutoCreate(IBMCOSOperations.getObject).keyName(KEY_FOR_AUTOCREATE));
+
+ from("direct:delete-object-autocreate")
+
.to(componentUriWithAutoCreate(IBMCOSOperations.deleteObject).keyName(KEY_FOR_AUTOCREATE));
+
+ from("direct:delete-bucket-autocreate")
+ .to(componentUriWithAutoCreate(IBMCOSOperations.deleteBucket));
Review Comment:
Above, `direct:*-autocreate` routes have
`componentUriWithAutoCreate(*).keyName(KEY_FOR_AUTOCREATE)`.
Is it done on purpose that delete bucket does not have autocreate key ?
Maybe the given key has no sense for bucket ?
--
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]