检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
The gateway obtained instances in different environments. 1.7.0-2020.0.x The gateway failed to be started because Web MVC was combined with the route. The gateway cannot implement route definition based on service discovery.
-- Gateway module --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-gateway</artifactId> </dependency> You are advised to use Maven Dependency Management to manage the third-party software dependencies of a project.
Error Codes If an error code starting with APIGW is returned after you call an API, rectify the fault by referring to the instructions provided in API Gateway Error Codes.
ServiceComb Error Codes If an error code starting with APIGW is returned after you call an API, rectify the fault by referring to the instructions provided in API Gateway Error Codes.
Nacos2 inputs No Map<String,String> Additional parameter of an engine. enginestateInfo No enginestateInfo object Engine status information. periodType No Integer Creation period type. enterpriseProject No enterpriseProject object Enterprise project information. vpcCidr No String Gateway
Key features of Nacos: Table 1 Features supported by Nacos Feature Sub-feature Instance management Creating a gateway Viewing instance specifications Viewing instance list Viewing instance details Deleting an instance Changing the billing mode from pay-per-use to yearly/monthly Enterprise
They need to access each other through Spring Cloud Gateway in the service domain where the microservice to be accessed is located. Dynamic Configuration Dynamic configuration is managed at the public, application, and service layers.
Introduce the following in microservice applications: <dependency> <groupId>com.huaweicloud</groupId> <artifactId>spring-cloud-starter-huawei-service-engine</artifactId> </dependency> Introduce the following to the Spring Cloud Gateway application: <dependency> <groupId>com.huaweicloud
Function Comparison Between Spring Cloud Huawei, ServiceComb, and Sermant Level-1 Feature Level-2 Feature serviccomb-java-chassis spring-cloud-huawei sermant agent Remarks Microservice gateway Rate limiting on the provider √ √ √ - Server isolation warehouse √ √ √ - Circuit breaker
azList Array of strings AZ list of a microservice engine. networkId String Subnet network ID of a microservice engine. subnetCidr String IPv4 subnet division of a microservice engine. subnetCidrV6 String IPv6 subnet division of a microservice engine. subnetGateway String Subnet gateway
Cloud native applications built based on other Spring Cloud development systems, such as Spring Cloud Alibaba and Spring Cloud Azure, are migrated to Huawei Cloud using Spring Cloud Huawei.
This includes but is not limited to virtual networks, the OS of virtual machine hosts and guests, virtual firewalls, API Gateway, advanced security services, all types of cloud services, tenant data, identity accounts, and key management.
Spring Cloud gateway has most capabilities of the common gateway and integrates the service governance capabilities of Spring Cloud to implement multi-protocol forwarding. The following figure shows a typical cloud-native Spring Cloud architecture.
The edge service has most capabilities of the common gateway and integrates the service governance capabilities of Java chassis to implement multi-protocol forwarding. The following figure shows a typical cloud-native Java chassis architecture.
azList Array of strings AZ list of a microservice engine. networkId String Subnet network ID of a microservice engine. subnetCidr String IPv4 subnet division of a microservice engine. subnetCidrV6 String IPv6 subnet division of a microservice engine. subnetGateway String Subnet gateway
The customized governance function allows you to use request marker-based governance capability in different scenarios, for example, rate limiting in the gateway scenario, and URL matching in the Java chassis scenario.