snazy commented on code in PR #786: URL: https://github.com/apache/polaris/pull/786#discussion_r1921003846
########## quarkus/service/src/main/resources/application-it.properties: ########## @@ -0,0 +1,47 @@ +# +# 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. +# + +# Configuration specific to integration tests +# Note: this file MUST be placed in the src/main/resources directory, not src/intTest/resources! + +quarkus.http.limits.max-body-size=1000000 +quarkus.http.port=0 Review Comment: Noting: The plugins from #785 do this automatically. ########## quarkus/service/src/main/resources/application-it.properties: ########## @@ -0,0 +1,47 @@ +# +# 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. +# + +# Configuration specific to integration tests +# Note: this file MUST be placed in the src/main/resources directory, not src/intTest/resources! + +quarkus.http.limits.max-body-size=1000000 +quarkus.http.port=0 + +quarkus.log.file.path=./build/logs/polaris.log + +quarkus.management.port=0 + +polaris.persistence.type=in-memory + +polaris.features.defaults."ALLOW_EXTERNAL_CATALOG_CREDENTIAL_VENDING"=false +polaris.features.defaults."ALLOW_EXTERNAL_METADATA_FILE_LOCATION"=false +polaris.features.defaults."ALLOW_OVERLAPPING_CATALOG_URLS"=true +polaris.features.defaults."ALLOW_SPECIFYING_FILE_IO_IMPL"=true +polaris.features.defaults."ALLOW_WILDCARD_LOCATION"=true +polaris.features.defaults."ENFORCE_PRINCIPAL_CREDENTIAL_ROTATION_REQUIRED_CHECKING"=true +polaris.features.defaults."INITIALIZE_DEFAULT_CATALOG_FILEIO_FOR_it"=true +polaris.features.defaults."SKIP_CREDENTIAL_SUBSCOPING_INDIRECTION"=true +polaris.features.defaults."SUPPORTED_CATALOG_STORAGE_TYPES"=["FILE","S3","GCS","AZURE"] + +polaris.storage.gcp.token=token +polaris.storage.gcp.lifespan=PT1H + +# Need to allow a java security manager after Java 21, for Subject.getSubject to work +# "getSubject is supported only if a security manager is allowed". +quarkus.test.arg-line=-Djava.security.manager=allow Review Comment: Weird though that it worked :shrug: ########## build.gradle.kts: ########## @@ -91,6 +91,8 @@ tasks.named<RatTask>("rat").configure { excludes.add("logs/**") excludes.add("service/common/src/**/banner.txt") excludes.add("quarkus/service/logs") + excludes.add("quarkus/server/logs") + excludes.add("quarkus/admin/logs") Review Comment: Noting for ITs: the approach from #785 runs the Quarkus application with the current directory being underneath the `build/` directory. -- 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]
