检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
"organization", "node_count" : 1 } ], "is_delete_org" : false } Example Responses Status code: 200 Ok { "operation_id" : "BCSSVC01-03-1617158790255323683" } Status code: 400 Bad Request { "error_code" : "BCS.4006014", "error_msg" : "Invalid Parameter quotasType : ecs
Log in to the ECS where the blockchain is deployed, run the docker ps|grep k8s_peer command to check the peer containers, and record the ID of the container where transactions are abnormal.
"channel_name" : "channel_test", "channel_description" : "" } ] } Example Responses Status code: 200 Ok { "operation_id" : "BCSSVC01-03-1617158790255323683" } Status code: 400 Bad Request { "error_code" : "BCS.4006014", "error_msg" : "Invalid Parameter quotasType : ecs
Example Requests { "org_names" : [ "organization", "organization2" ] } Example Responses Status code: 200 Ok { "operation_id" : "BCSSVC01-06-1624275286218943067" } Status code: 400 Bad Request { "error_code" : "BCS.4006014", "error_msg" : "Invalid Parameter quotasType : ecs
peers" : { "organization" : 2, "organization2" : 1 } } ] } Example Responses Status code: 200 Ok { "operation_id" : "BCSSVC01-03-1617158790255323683" } Status code: 400 Bad Request { "error_code" : "BCS.4006014", "error_msg" : "Invalid Parameter quotasType : ecs
invitor_username" : "paas_bcs_c00218797_02", "invited_userinfo" : [ { "invited_user" : "xxx" } ] } Example Responses Status code: 200 Ok { "result" : "success" } Status code: 400 Bad Request { "error_code" : "BCS.4006014", "error_msg" : "Invalid Parameter quotasType : ecs
Status code: 200 Ok { "resources" : [ { "type" : "instance", "unit" : "", "min" : 0, "max" : 100, "quota" : 5, "used" : 0, "free" : 0 } ] } Status code: 400 Bad Request { "error_code" : "BCS.4006014", "error_msg" : "Invalid Parameter quotasType : ecs
bcstest02", "status" : "quit", "invited_bcs_id" : "11ba0ae0-2986-72d5-9049-43998c16fe86" } ] } Example Responses Status code: 200 Ok { "result" : "success" } Status code: 400 Bad Request { "error_code" : "BCS.4006014", "error_msg" : "Invalid Parameter quotasType : ecs
Minimum: 2 Maximum: 512 Example Requests None Example Responses Status code: 400 Bad Request { "error_code" : "BCS.4006014", "error_msg" : "Invalid Parameter quotasType : ecs" } Status code: 401 Unauthorized { "error_code" : "BCS.4010401", "error_msg" : "Incorrect token or
"051dded75a80d4fb2f38c01d64a5789e", "invitee_bcs_name" : "invitee-xxx" }, "status" : "reject" } Example Responses Status code: 200 Ok { "result" : "success" } Status code: 400 Bad Request { "error_code" : "BCS.4006014", "error_msg" : "Invalid Parameter quotasType : ecs
invitee_bcs_id" : "05c0705f-2520-ff0f-3ae2-a48e7e3c8936", "invitee_user_id" : "37556632c7954c6380e56c2e366a75se", "invitee_username" : "test02" } } ] } Status code: 400 Bad Request { "error_code" : "BCS.4006014", "error_msg" : "Invalid Parameter quotasType : ecs
If you deploy the bankuniondemo application on an ECS on Huawei Cloud, create a security group and then add security group rules to enable access to port 8080 of the server. For details, see Creating a Security Group. Table 1 describes the security group rule.
Deploying the Application Download the Go SDK source code to the /root directory of the ECS and decompress the package. To obtain it, go to the BCS console and click Use Cases. Download the source code in the Go SDK Demo area.
Log in to the ECS where the cluster is deployed, and run the following command to check whether the application container is normal: docker ps -a | grep tongtai |grep container You can view the name of the deployed application.
BCS Management Creating a BCS Service Querying Creation Status of a BCS Service Querying a BCS Service Modifying a BCS Service Creating Channels Querying Channel Information Adding Peers to a Channel Removing Organizations from a Channel Downloading Certificates Downloading the SDK
BCS Consortium Inviting Tenants to Join a Consortium Processing an Invitation Querying All Notifications Listing Consortium Members Deleting Invitation Information Exiting a Consortium Parent topic: APIs (Enhanced Hyperledger Fabric)
BCS Monitoring Querying BCS Alarms Querying BCS Alarm Statistics Querying BCS Monitoring Data Listing Entity Monitoring Data of a BCS Service Querying Entity Monitoring Details of a BCS Service Parent topic: APIs (Enhanced Hyperledger Fabric)
BCS Overview Blockchain Service (BCS) allows you to deploy instances, and manage blockchains, channels, members, and notifications. The following figure outlines the BCS usage process. BCS does not involve sensitive user information. Which, why, when, and how data is processed by
Creating a BCS Service Function This API is used to create a pay-per-use BCS service. URI POST /v2/{project_id}/blockchains Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID obtained from IAM. Generally, a project ID contains 32 characters
Deleting a BCS Service Function This API is used to delete a BCS service. This API is not supported for BCS services billed on a yearly/monthly basis. URI DELETE /v2/{project_id}/blockchains/{blockchain_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes