检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
SDK方式适合完全自治的微服务,方便线下调试,但是需要引入SDK,基于SDK进行开发。 Mesher的方式需要在部署的时候准备Mesher环境,开发方便,无需引入其他的SDK。 使用Mesher场景 将非Java语言编写的业务代码改造为微服务。 老旧的Java服务改造微服务。
22ce4231441c17c5的微服务的详细信息。 GET https://{endpoint}/v4/{project_id}/registry/microservices/819706e21b7173306797d19922ce4231441c17c5 响应示例 状态码: 200
删除一个ID为e0f0da073f2c91e8979a89ff2d7c69t6的微服务。 DELETE https://{endpoint}/v4/d9f4da085f2c11e8959a00ff2d7c69b7/registry/microservices/e0f0da073f2c91e8979a89ff2d7c69t6
String 代码仓类型,支持CodeArts、Gitee、GitHub、BitBucket、GitLab。 repo_url String 代码仓url,如:https://github.com/example/demo.git。 repo_ref String 代码分支或者Tag,默认是master。
String 代码仓类型,支持CodeArts、Gitee、GitHub、BitBucket、GitLab。 repo_url 否 String 代码仓url,如:https://github.com/example/demo.git。 repo_ref 否 String 代码分支或者Tag,默认是master。
String 代码仓类型,支持CodeArts、Gitee、GitHub、BitBucket、GitLab。 repo_url String 代码仓url,如:https://github.com/example/demo.git。 repo_ref String 代码分支或者Tag,默认是master。
String 代码仓库命名空间。 repo_ref String 代码分支或者Tag,例如:master。 repo_type String 代码仓类型,例如:CodeArts、Gitee、GitHub、BitBucket、GitLab。 web_url String 代码跳转链接,例如:https://github
String 代码仓库命名空间。 repo_ref String 代码分支或者Tag,默认是master。 repo_type String 代码仓类型,支持CodeArts、Gitee、GitHub、BitBucket、GitLab。 web_url String 代码跳转链接,例如:https://github
授权信息已被移除等,例如:CodeArts的代码源,拉取不到代码,可能是创建授权的时候,用户名对应的密码输错了,导致拉取不到代码。解决方法:重新授权即可。 自己搭建的代码源仓库,和构建的节点网络不通,例如:在集群A的某一个节点上搭建了一个私有的bitbucket,使用集群B构建,
String 代码仓库命名空间。 repo_ref String 代码分支或者Tag,默认是master。 repo_type String 代码仓类型,支持CodeArts、Gitee、GitHub、BitBucket、GitLab。 web_url String 代码跳转链接,例如:https://github
授权名称,在授权列表获取。 repo_namespace 否 String 代码仓库命名空间。 repo_ref 否 String 代码分支或者Tag,默认是master。 repo_type 否 String 代码仓类型,支持CodeArts、Gitee、GitHub、BitBucket、GitLab。
"00078e9d-a61c-476e-ac63-a10c9cb2638e", "name": "development-env2", "alias": null, "description": "here is description", "project_id": "e7d2e9c589
"00078e9d-a61c-476e-ac63-a10c9cb2638e", "name": "development-env", "alias": null, "description": "", "project_id": "e7d2e9c589e5445e808a8ff0d1235aca"
"application_id": "e5213b62-0e3c-476f-9960-3e4108787350", "environment_id": "00078e9d-a61c-476e-ac63-a10c9cb2638e", "configuration": {
"id": "00078e9d-a61c-476e-ac63-a10c9cb2638e", "name": "development-env", "description": "", "project_id": "e7d2e9c589e5445e808a8ff0d1235aca"
根据应用ID获取应用详细信息 功能介绍 此API通过应用ID获取应用详细信息。 调试 您可以在API Explorer中调试该接口。 URI GET /v2/{project_id}/cas/applications/{application_id} 表1 路径参数 参数 是否必选
获取仓库文件内容 功能介绍 获取仓库文件内容。 调试 您可以在API Explorer中调试该接口。 URI GET /v1/{project_id}/git/files/{namespace}/{project}/{path} 参数说明见表1。 表1 路径参数 参数 是否必选 参数类型
查询运行时栈 功能介绍 此API用于查询运行时栈信息。 调试 您可以在API Explorer中调试该接口。 URI GET /v3/{project_id}/cas/runtimestacks 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String
"523498f1-36c4-11eb-ae36-0255ac1000c2", "name": "test", "type": "ecs" } ] } 响应示例 { "id": "00078e9d-a61c-476e-ac63-a10c9cb2638e", "name":
修改仓库文件内容 功能介绍 修改仓库文件内容。 调试 您可以在API Explorer中调试该接口。 URI PUT /v1/{project_id}/git/files/{namespace}/{project}/{path} 参数说明见表1。 表1 路径参数 参数 是否必选 参数类型