ramu11 commented on code in PR #27168: URL: https://github.com/apache/camel/pull/27168#discussion_r4154147956
########## components/camel-odata/src/main/java/org/apache/camel/component/odata/ODataConfiguration.java: ########## @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.component.odata; + +import org.apache.camel.spi.UriParam; +import org.apache.camel.spi.UriParams; +import org.apache.camel.support.jsse.SSLContextParameters; + +@UriParams +public class ODataConfiguration { + + @UriParam(label = "producer", description = "The OData operation to perform") + private ODataOperation operation = ODataOperation.READ_SET; + + @UriParam(label = "producer", description = "The OData $filter query parameter") + private String filter; + + @UriParam(label = "producer", description = "The OData $select query parameter") + private String select; + + @UriParam(label = "producer", description = "The OData $expand query parameter") + private String expand; + + @UriParam(label = "producer", description = "The OData $orderby query parameter") + private String orderBy; + + @UriParam(label = "producer", description = "The OData $top query parameter") + private Integer top; + + @UriParam(label = "producer", description = "The OData $skip query parameter") + private Integer skip; + + @UriParam(label = "producer", description = "The OData $count query parameter") + private Boolean count; + + @UriParam(label = "security", description = "Authentication method to use (e.g., Basic, Bearer)") + private String authMethod; + + @UriParam(label = "security", description = "Username for Basic authentication") + private String authUsername; + + @UriParam(label = "security", description = "Password for Basic authentication") + private String authPassword; Review Comment: Addressed in the latest commit `4cb8cea36f16`. `authPassword` is marked as a secret using Camel's current `security = "secret"` annotation. The generated component metadata now marks it as secret, and it is included in `SECRET_PROPERTY_NAMES` for URI sanitization. The suggested `secret = true` attribute is deprecated, so `security = "secret"` is used instead. -- 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]
