想为Upsource编写一些集成,它有API吗?我好像找不到一个.
也许创作者可以回答是否存在?
我可以使用http://pcname:42424/projectname/view.
尝试使用 IP 访问它,例如。http://192.168.1.42:42424/projectname/view产量
OAuth 2.0 错误
未经授权的客户端:未注册的重定向 URI。客户端服务“Upsource”请求未在 Hub 中注册的 URI 的授权实体:http : //192.168.3.143 : 42424/。如果您拥有 Hub 管理员权限并且可疑 URI 确实属于“Upsource”,请将此 URI 添加到 Hub 服务设置中的“重定向 URI”列表中
链接到https://www.jetbrains.com/help/hub/2.0/OAuth-2.0-Errors.html#auth.unauthorized_client
我redirectUri在 Upsource 中找不到如何设置(可能浏览了所有设置页面)。
在哪里可以找到redirectUri设置以便我可以将我的 IP 添加到其中?
更新
我在不同的盒子上设置了另一个实例,并将 URL 和端口设置为http://192.168.1.42:42424,现在它可以成功地使用 IP 远程访问。
我需要在Upsource中集成Gitlab,类似于可用的Github集成.由于目前还没有这方面的功能,我尝试编写简单的代理,将请求"转换"为Github API for Gitlab API.同样,它翻译了反应.主要的想法是将项目配置为Github项目,但实际上将Gitlab隐藏在我的代理后面.它开始起作用,例如在获取oauth令牌过程中.它也适用于获取提交和评论.但是我在检索拉取请求时遇到问题.在upsource-frontend日志中,我发现以下警告:
Head not found for pull request
Run Code Online (Sandbox Code Playgroud)
我在响应中填充了head对象的字段(根据Github API文档),但它仍然不起作用.也许你可以告诉我Upsource在获取拉取请求时需要什么?
在JetBrain的Upsource中创建项目后,在编辑项目时“项目ID”是灰色的,我该如何更改它?
我正在尝试将Upsource设置为在Traefik后面工作:https://www.jetbrains.com/help/upsource/proxy-configuration.html
traefik正在侦听端口8008和8443(因为80/443将用于另一个):
--entryPoints='Name:http Address::8008 Redirect.EntryPoint:https' --entryPoints='Name:https Address::8443 TLS'
Run Code Online (Sandbox Code Playgroud)
码头标签:
labels:
traefik.backend: upsource
traefik.enable: "true"
traefik.port: "8080"
traefik.frontend.rule: "Host:review.domain.com"
Run Code Online (Sandbox Code Playgroud)
在conf/internal/bundle.properties,base-url配置如下:
base-url=https\://review.domain.com\:8443/
Run Code Online (Sandbox Code Playgroud)
问题:
time="2017-09-20T03:23:59Z" level=error msg="Error getting ACME certificates [review.domain.com] : Cannot obtain certificates map[review.domain.com:acme: Error 400 - urn:acme:error:connection - Connection refused
Error Detail:
Validation for review.domain.com:443
Run Code Online (Sandbox Code Playgroud)
为什么它验证端口443而不是8443?
而且,要在Nginx中代理WebSockets:
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://upsourcemachine.domain.local:1111;
proxy_pass_header Sec-Websocket-Extensions;
Run Code Online (Sandbox Code Playgroud)
你能确认Traefik支持WebSockets吗?如果是这样,如何配置?
首先,我搜索了这个问题,但找不到任何东西.
问题:在安装时,我改变了port对8081.但现在它被另一个应用程序使用了.那么,有没有办法改变端口upsource?(Linux)的