apache-nifi - Nifi-Registry - 与 git 集成
问题描述
我正在使用 Apache NiFi-Registry 并希望将其与 git 集成。因此,我有一个注册表 docker 容器,其中包含 git rep 所在的主机目录的卷。我使用 https 克隆了代表,并在容器中使用了不安全的 nifi-registry 实例。providers.xml 文件如下所示:
<flowPersistenceProvider>
<class>org.apache.nifi.registry.provider.flow.git.GitFlowPersistenceProvider</class>
<property name="Flow Storage Directory">rep</property>
<property name="Remote To Push">origin</property>
<property name="Remote Access User">myuser</property>
<property name="Remote Access Password">mypass</property>
</flowPersistenceProvider>
提交工作正常,但没有推送:
错误 [GitFlowMetaData 推送线程] oanrpflow.git.GitFlowMetaData 由于 org.eclipse.jgit.api.errors.TransportException 无法将提交推送到源:https://myuser@xxx/path/to/rep.git:安全连接到https://myuser@xxx/path/to/rep.git 由于 SSL 问题无法建立 org.eclipse.jgit.api.errors.TransportException: https://myuser@xxx/path/to/rep.git : 由于 SSL 问题,无法建立到 https://myuser@xxx/path/to/rep.git 的安全连接
我已经在我的代表中运行了这个命令:
git config http.sslVerify false
知道该怎么做吗?
解决方案
推荐阅读
- javascript - 如何在模板之外打开 v-dialog?
- python-3.x - 训练损失曲线急剧下降
- python - 不同预处理技术的不同 F1 分数 - sklearn
- r - 使用不同的布局矩阵保存多个 ggplots
- python - 熊猫数据帧上带有 IF 条件的 Python 循环给了我不完整的结果或 KeyError
- web - 我的 IIS 网站无法使用 IP 地址
- kubernetes - 在 k8s 上启用服务拓扑:kube-proxy config
- postman - 比较 Postman 中的两个 API 测试运行
- reactjs - Firestore 火力基地
- python - 在for循环python中嵌套if语句