test_class.file: weevent-core/src/test/java/com/webank/weevent/core/config/FiscoConfigTest.java
test_class.identifier: FiscoConfigTest
test_class.superclass: extends JUnitTestBase
test_case.body: @Test
      public void testLoadDefault() {
          FiscoConfig fiscoConfig = new FiscoConfig();
          Assert.assertTrue(fiscoConfig.load(""));
          // default value is empty
          Assert.assertFalse(fiscoConfig.getNodes().isEmpty());
      }
test_case.class_method_signature: FiscoConfigTest.testLoadDefault()
test_case.full_signature: @Test public void testLoadDefault()
test_case.identifier: testLoadDefault
test_case.invocations: assertTrue load assertFalse isEmpty getNodes
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLoadDefault()
focal_class.declarator: propertiesFileKey = "block-chain-properties"
focal_class.modifier: public final static
focal_class.original_string: public final static String propertiesFileKey = "block-chain-properties";
focal_class.type: String
focal_class.var_name: propertiesFileKey
focal_class.declarator: version
focal_class.modifier: @Value("${version:2.0}")
      private
focal_class.original_string: @Value("${version:2.0}")
      private String version;
focal_class.type: String
focal_class.var_name: version
focal_class.declarator: orgId
focal_class.modifier: @Value("${orgid:fisco}")
      private
focal_class.original_string: @Value("${orgid:fisco}")
      private String orgId;
focal_class.type: String
focal_class.var_name: orgId
focal_class.declarator: nodes
focal_class.modifier: @Value("${nodes:}")
      private
focal_class.original_string: @Value("${nodes:}")
      private String nodes;
focal_class.type: String
focal_class.var_name: nodes
focal_class.declarator: account
focal_class.modifier: @Value("${account:bcec428d5205abe0f0cc8a734083908d9eb8563e31f943d760786edf42ad67dd}")
      private
focal_class.original_string: @Value("${account:bcec428d5205abe0f0cc8a734083908d9eb8563e31f943d760786edf42ad67dd}")
      private String account;
focal_class.type: String
focal_class.var_name: account
focal_class.declarator: web3sdkTimeout
focal_class.modifier: @Value("${web3sdk.timeout:10000}")
      private
focal_class.original_string: @Value("${web3sdk.timeout:10000}")
      private Integer web3sdkTimeout;
focal_class.type: Integer
focal_class.var_name: web3sdkTimeout
focal_class.declarator: web3sdkCorePoolSize
focal_class.modifier: @Value("${web3sdk.core-pool-size:10}")
      private
focal_class.original_string: @Value("${web3sdk.core-pool-size:10}")
      private Integer web3sdkCorePoolSize;
focal_class.type: Integer
focal_class.var_name: web3sdkCorePoolSize
focal_class.declarator: web3sdkMaxPoolSize
focal_class.modifier: @Value("${web3sdk.max-pool-size:1000}")
      private
focal_class.original_string: @Value("${web3sdk.max-pool-size:1000}")
      private Integer web3sdkMaxPoolSize;
focal_class.type: Integer
focal_class.var_name: web3sdkMaxPoolSize
focal_class.declarator: web3sdkKeepAliveSeconds
focal_class.modifier: @Value("${web3sdk.keep-alive-seconds:10}")
      private
focal_class.original_string: @Value("${web3sdk.keep-alive-seconds:10}")
      private Integer web3sdkKeepAliveSeconds;
focal_class.type: Integer
focal_class.var_name: web3sdkKeepAliveSeconds
focal_class.declarator: web3sdkEncryptType
focal_class.modifier: @Value("${web3sdk.encrypt-type:ECDSA_TYPE}")
      private
focal_class.original_string: @Value("${web3sdk.encrypt-type:ECDSA_TYPE}")
      private String web3sdkEncryptType;
focal_class.type: String
focal_class.var_name: web3sdkEncryptType
focal_class.declarator: CaCrtPath
focal_class.modifier: @Value("${ca-crt-path:ca.crt}")
      private
focal_class.original_string: @Value("${ca-crt-path:ca.crt}")
      private String CaCrtPath;
focal_class.type: String
focal_class.var_name: CaCrtPath
focal_class.declarator: SdkCrtPath
focal_class.modifier: @Value("${sdk-crt-path:sdk.crt}")
      private
focal_class.original_string: @Value("${sdk-crt-path:sdk.crt}")
      private String SdkCrtPath;
focal_class.type: String
focal_class.var_name: SdkCrtPath
focal_class.declarator: SdkKeyPath
focal_class.modifier: @Value("${sdk-key-path:sdk.key}")
      private
focal_class.original_string: @Value("${sdk-key-path:sdk.key}")
      private String SdkKeyPath;
focal_class.type: String
focal_class.var_name: SdkKeyPath
focal_class.declarator: PemKeyPath
focal_class.modifier: @Value("${pem-key-path:privateKey.pem}")
      private
focal_class.original_string: @Value("${pem-key-path:privateKey.pem}")
      private String PemKeyPath;
focal_class.type: String
focal_class.var_name: PemKeyPath
focal_class.declarator: consumerIdleTime
focal_class.modifier: @Value("${consumer.idle-time:1000}")
      private
focal_class.original_string: @Value("${consumer.idle-time:1000}")
      private Integer consumerIdleTime;
focal_class.type: Integer
focal_class.var_name: consumerIdleTime
focal_class.declarator: consumerHistoryMergeBlock
focal_class.modifier: @Value("${consumer.history_merge_block:8}")
      private
focal_class.original_string: @Value("${consumer.history_merge_block:8}")
      private Integer consumerHistoryMergeBlock;
focal_class.type: Integer
focal_class.var_name: consumerHistoryMergeBlock
focal_class.file: weevent-core/src/main/java/com/webank/weevent/core/config/FiscoConfig.java
focal_class.identifier: FiscoConfig
focal_class.class_method_signature: FiscoConfig.load(String configFile)
focal_class.full_signature: public boolean load(String configFile)
focal_class.identifier: load
focal_class.modifiers: public
focal_class.parameters: (String configFile)
focal_class.return: boolean
focal_class.signature: boolean load(String configFile)
focal_method.body: public boolean load(String configFile) {
          return new SmartLoadConfig().load(this, configFile, propertiesFileKey);
      }
focal_method.class_method_signature: FiscoConfig.load(String configFile)
focal_method.full_signature: public boolean load(String configFile)
focal_method.identifier: load
focal_method.invocations: load
focal_method.modifiers: public
focal_method.parameters: (String configFile)
focal_method.return: boolean
focal_method.signature: boolean load(String configFile)