检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
调用说明 CSE提供了REST(Representational State Transfer)风格API,支持您通过HTTPS请求调用。 微服务、契约、微服务实例、依赖关系接口只在华北-北京一、华北-北京四、华北-乌兰察布一、华东-上海一、华东-上海二、华南-广州、西南-贵阳一
在“项目列表”中查看项目ID。 图1 查看项目ID 调用API获取项目ID 项目ID还可通过调用查询指定条件下的项目信息API获取。 获取项目ID的接口为“GET https://{Endpoint}/v3/projects”,其中{Endpoint}为IAM的终端节点,可以从地区和终端节点获取。接口的认证鉴权请参见认证鉴权。
servicecomb-java-chassis开源框架 开源社区:https://github.com/apache/servicecomb-java-chassis/issues 开发者指导:https://servicecomb.apache.org/references
included in the request 相关软件下载及安装 Jenkins下载安装 下载链接:https://mirrors.jenkins.io/war-stable/,参考https://www.jenkins.io/zh/doc/book/installing/进行安装。 安装git用于拉取代码进行构建命令
"repo_type": "github", "repo_host": "https://api.github.com", "repo_home": "https://github.com/tom-repo", "repo_user":
"repo_host": "https://api.github.com", "repo_home": "https://github.com/tom-repo", "repo_user": "tom-repo", "avartar": "https://avatars
curl -k -H "x-domain-name:default" -H "x-auth-token:$Token" -XPOST "https://{cse_endpoint}/v4/default/registry/microservices" -d '{ "service":
"Content-Type:application/json;charset=utf8" -H "X-Auth-Token:$Token" -X POST "https://{servicestage_endpoint}/v3/{project_id}/cas/applications" -d ' {
授权重定向URL。 请求示例 无 响应示例 { "url": "https://github.com/login/oauth/authorize?client_id=2993bccf255673ba****&redirect_uri=https%3A%2F%2Fconsole.huaweicloud
Cloud版本为2021.0.5 适配的Spring Boot版本为2.6.13 Spring Cloud微服务开发框架的版本说明请参见:https://github.com/huaweicloud/spring-cloud-huawei/releases。 Java Chassis
代码仓类型,支持CodeArts、Gitee、GitHub、BitBucket、GitLab。 repo_url 否 String 代码仓url,如:https://github.com/example/demo.git。 repo_ref 否 String 代码分支或者Tag,默认是master。
代码仓类型,支持CodeArts、Gitee、GitHub、BitBucket、GitLab。 repo_url 否 String 代码仓url,如:https://github.com/example/demo.git。 repo_ref 否 String 代码分支或者Tag,默认是master。
HTTP请求方式针对的是提供HTTP/HTTPS服务的应用组件,集群周期性地对该应用发起HTTP/HTTPS GET请求,如果HTTP/HTTPS response返回码属于200~399范围,则证明探测成功,否则探测失败。使用HTTP请求探测必须指定应用监听的端口和HTTP/HTTPS的请求路径。 例
"Content-Type:application/json;charset=utf8" -H "X-Auth-Token:$Token" -X POST "https://{servicestage_endpoint}/v3/{project_id}/cas/environments" -d ' {
{ "kie": { "masterEntrypoint": "https://192.168.0.169:30110", "masterEntrypointIpv6": "https://[2407:c080:11f0:11:b11d:675c:97ab:65f6]:30110"
单击“复制命令”,复制窗口下方自动生成的命令,即为Agent安装命令。 “委托授权”模式,命令示例如下: export AGENT_INSTALL_URL=https://${Region_Name}-servicestage-vmapp.obs.${Region_Name}.${Domain_Nam
BCDEFG....”,则调用接口时将“X-Auth-Token: ABCDEFG....”加到请求消息头即可,如下所示。 POST https://iam.cn-north-4.myhuaweicloud.com/v3.0/OS-USER/users Content-Type:
代码仓类型,支持CodeArts、Gitee、GitHub、BitBucket、GitLab。 repo_url String 代码仓url,如:https://github.com/example/demo.git。 repo_ref String 代码分支或者Tag,默认是master。
{ "kie": { "masterEntrypoint": "https://192.168.0.169:30110", "masterEntrypointIpv6": "https://[2407:c080:11f0:11:b11d:675c:97ab:65f6]:30110"
代码仓类型,支持CodeArts、Gitee、GitHub、BitBucket、GitLab。 repo_url String 代码仓url,如:https://github.com/example/demo.git。 repo_ref String 代码分支或者Tag,默认是master。