SAP Web IDE & Git 内部部署

SAP Web IDE & Git On-Premise

根据此 link,可以从 SAP Web IDE:

连接到企业 Git

https://help.hana.ondemand.com/webide/frameset.htm?b8427ec16ae64347b97d2d46fb28f7cd.html

我设置了 Git,启用了 HTTPS 访问,安装了 SAP Cloud Connector,配置了 Cloud to On-Premise 隧道,配置了可用资源,连接到 SAP Cloud Platform,为内部部署 Git,启用 "Corp. Git Link for SAP Web IDE" 服务,检查每一步的连接,一切似乎都很好。

Git 可以在 https://githost:4431/Repository.git 上访问 Intranet 中的存储库(使用基本身份验证)。

SAP Cloud Connector 中的虚拟主机是 "git",端口是“4432”。

SAP Cloud Plaftorm 中的目标名称是 "GIT_HTTPS"(我尝试过使用和不使用身份验证)。

但是,我无法在 SAP Web IDE 中克隆存储库。无论我在 URL 文本框中输入什么,我都会收到“502 找不到主机”错误。

我应该指定什么URL?

好的,我已经弄明白了。文档中有错误。而不是:

When you define the cloud connector, there are two types of hosts: Internal and Virtual. Make sure to use the internal host.

..应该阅读:

When you define the cloud connector, there are two types of hosts: Internal and Virtual. Make sure to use the virtual host.

所以正确的地址是:

https://git:4332/Repository.git