This is an automated email from the ASF dual-hosted git repository. hsun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git
commit 67a9e80edfc80c67ffc491c09c2b58b7e4ec1ce4 Author: sunhe05 <[email protected]> AuthorDate: Wed Jun 7 07:28:43 2023 +0000 Remove a redundant runtime.config.toml --- tests/fixtures/runtime.config.toml | 42 ---------------------- tests/integration/app/src/teaclave_config_tests.rs | 3 +- 2 files changed, 1 insertion(+), 44 deletions(-) diff --git a/tests/fixtures/runtime.config.toml b/tests/fixtures/runtime.config.toml deleted file mode 100644 index 4210d77d..00000000 --- a/tests/fixtures/runtime.config.toml +++ /dev/null @@ -1,42 +0,0 @@ -# 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. - -[api_endpoints] -authentication = { listen_address = "0.0.0.0:7776" } -frontend = { listen_address = "0.0.0.0:7777" } - -[internal_endpoints] -access_control = { listen_address = "0.0.0.0:7779", advertised_address = "localhost:7779" } -authentication = { listen_address = "0.0.0.0:17776", advertised_address = "localhost:17776" } -management = { listen_address = "0.0.0.0:17777", advertised_address = "localhost:17777" } -storage = { listen_address = "0.0.0.0:17778", advertised_address = "localhost:17778", inbound_services = ["frontend", "management"] } -execution = { listen_address = "0.0.0.0:17989", advertised_address = "localhost:17989" } -scheduler = { listen_address = "0.0.0.0:17780", advertised_address = "localhost:17780" } - -[audit] -enclave_info = { path = "fixtures/enclave_info.toml" } -auditor_signatures = [ - { path = "fixtures/auditors/godzilla.sign.sha256" }, - { path = "fixtures/auditors/optimus_prime.sign.sha256" }, - { path = "fixtures/auditors/albus_dumbledore.sign.sha256" }, -] - -[attestation] -algorithm = "sgx_epid" -url = "api.trustedservices.intel.com:443" -key = "ias_key_AAAABBBBCCCCDDDDEEEEFFFF" -spid = "ias_spid_AAAABBBBCCCCDDDDEEEEFFF" diff --git a/tests/integration/app/src/teaclave_config_tests.rs b/tests/integration/app/src/teaclave_config_tests.rs index a7b5051f..aa2fd600 100644 --- a/tests/integration/app/src/teaclave_config_tests.rs +++ b/tests/integration/app/src/teaclave_config_tests.rs @@ -25,8 +25,7 @@ pub fn run_tests() -> bool { fn test_runtime_config() { env::remove_var("AS_KEY"); env::remove_var("AS_SPID"); - let config = - teaclave_config::RuntimeConfig::from_toml("./fixtures/runtime.config.toml").unwrap(); + let config = teaclave_config::RuntimeConfig::from_toml("./runtime.config.toml").unwrap(); let authentication_config = config.api_endpoints.authentication; assert_eq!( authentication_config.listen_address, --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
