eric-maynard commented on code in PR #1532: URL: https://github.com/apache/polaris/pull/1532#discussion_r2085104163
########## quarkus/service/src/main/java/org/apache/polaris/service/quarkus/config/QuarkusReadinessConfiguration.java: ########## @@ -0,0 +1,36 @@ +/* + * 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.polaris.service.quarkus.config; + +import io.quarkus.runtime.annotations.StaticInitSafe; +import io.smallrye.config.ConfigMapping; +import io.smallrye.config.WithDefault; + +@StaticInitSafe +@ConfigMapping(prefix = "polaris.readiness") +public interface QuarkusReadinessConfiguration { + + /** + * Setting this to {@code true} means that Polaris will start up even if severe security risks + * have been detected, accepting the risk of denial-of-service, data-loss, corruption and other + * risks. + */ + @WithDefault("false") + boolean ignoreSevereIssues(); Review Comment: I think my [comment](https://github.com/apache/polaris/pull/1532#pullrequestreview-2819099730) lays out a path: > it might be good to separate out some of these changes In the interest of moving things forward I linked some examples of what more incremental improvements might look like [below](https://github.com/apache/polaris/pull/1532#issuecomment-2871685572) -- 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]
