Skip to content

Commit

Permalink
Merge pull request #873 from WeBankBlockchain/lab-dev
Browse files Browse the repository at this point in the history
3.1.1 update version
  • Loading branch information
CodingCattwo authored Jan 19, 2024
2 parents 26b9003 + a89e97d commit 76a1f00
Show file tree
Hide file tree
Showing 10 changed files with 276 additions and 241 deletions.
18 changes: 17 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
### v3.1.1(2024-01-19)

**Add**
- 系统配置中增加`auth_check_status`配置,用于启用权限控制功能

**Fix**
- 修复预编译合约中报错权限不足的bug,如修改共识类型

**兼容性**
- 支持FISCO-BCOS v3.0.0 及以上版本
- WeBASE-Web v3.1.1及以上版本
- WeBASE-Node-Manager v3.1.0

详细了解,请阅读[**技术文档**](https://webasedoc.readthedocs.io/zh_CN/lab/)


### v3.1.0(2023-07-20)

**Add**
Expand All @@ -10,7 +26,7 @@

**兼容性**
- 支持FISCO-BCOS v3.0.0 及以上版本
- WeBASE-Node-Manager v3.0.2及以上版本
- WeBASE-Node-Manager v3.1.0及以上版本
- WeBASE-Sign v3.0.2

详细了解,请阅读[**技术文档**](https://webasedoc.readthedocs.io/zh_CN/lab/)
Expand Down
2 changes: 1 addition & 1 deletion release_note.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.1.0
v3.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public class Web3Config {
private String threadPoolSize;
private String certPath;
private String useSmSsl;
private String disableSsl;
private List<String> peers;


Expand All @@ -50,6 +51,7 @@ public ConfigOption getConfigOptionFromFile() throws ConfigException {
log.info("start init ConfigProperty");
// cert config, encrypt type
Map<String, Object> cryptoMaterial = new HashMap<>();
cryptoMaterial.put("disableSsl", disableSsl);
cryptoMaterial.put("certPath", certPath);
cryptoMaterial.put("useSMCrypto", useSmSsl);
log.info("init cert cryptoMaterial:{}, (using conf as cert path)", JsonUtils.objToString(cryptoMaterial));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,18 @@

package com.webank.webase.front.configapi;

import com.webank.webase.front.base.code.ConstantCode;
import com.webank.webase.front.base.config.Web3Config;
import com.webank.webase.front.base.properties.VersionProperties;
import com.webank.webase.front.base.response.BaseResponse;
import com.webank.webase.front.configapi.entity.ConfigInfo;
import com.webank.webase.front.configapi.entity.ReqSdkConfig;
import com.webank.webase.front.version.VersionService;
import com.webank.webase.front.web3api.Web3ApiService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import java.time.Duration;
import java.time.Instant;
import java.util.Map;
import javax.validation.Valid;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

/**
* get or update config local
Expand All @@ -57,7 +47,8 @@ public class ConfigController {
private VersionService versionService;
@Autowired
private ConfigService configService;

@Autowired
private RestTemplate restTemplate;

@GetMapping("encrypt/{groupId}")
public Integer getEncryptType(@PathVariable("groupId") String groupId) {
Expand Down Expand Up @@ -116,4 +107,6 @@ public String getSignVersion() {
return versionService.getSignServerVersion();
}



}
Loading

0 comments on commit 76a1f00

Please sign in to comment.