Cloudant¶
The Cloudant connector is a Palantir-provided driver for Cloudant.
To create a new Cloudant source, follow the standard setup flow for Palantir-provided drivers, then use the sections below for Cloudant-specific configuration and networking. For the complete property reference, see the official Cloudant driver documentation ↗.
Configuration¶
The properties below are mandatory or recommended.
| Property | Required? | Description | Default |
|---|---|---|---|
AuthScheme ↗ |
Mandatory | The type of authentication to use when connecting to Cloudant. | OAuth |
URL ↗ |
Mandatory | The URL used to connect to Cloudant. | https://{instance id}-bluemix.cloudantnosqldb.appdomain.cloud |
InitiateOAuth ↗ |
Recommended | Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working. | REFRESH |
Networking¶
The table below lists the domains that the source needs to be able to access in order to successfully run.
For each domain, add a corresponding egress policy. If the source is hosted on-premises and not directly reachable from Foundry, use an agent proxy egress policy instead; the agent host itself must also be able to reach the listed domains. See using an agent as a proxy for details.
| Domain | Required |
|---|---|
| \ |
If AuthScheme=OAuth OR using local instance (local instance in the format \ |
| \ |
If AuthScheme=Basic |
中文翻译¶
Cloudant¶
Cloudant 连接器是 Palantir 提供的用于 Cloudant 的驱动程序。
要创建新的 Cloudant 数据源,请遵循 Palantir 提供驱动程序的标准设置流程,然后使用以下各节进行 Cloudant 特定的配置和网络设置。有关完整的属性参考,请参阅 Cloudant 驱动程序官方文档 ↗。
配置¶
以下属性为必填或推荐项。
| 属性 | 是否必填 | 描述 | 默认值 |
|---|---|---|---|
AuthScheme ↗ |
必填 | 连接到 Cloudant 时使用的身份验证类型。 | OAuth |
URL ↗ |
必填 | 用于连接 Cloudant 的 URL。 | https://{实例 ID}-bluemix.cloudantnosqldb.appdomain.cloud |
InitiateOAuth ↗ |
推荐 | 指定获取或刷新 OAuth 访问令牌的过程,该令牌用于在已认证的授权用户工作时维持用户访问权限。 | REFRESH |
网络设置¶
下表列出了数据源为成功运行而需要能够访问的域名。
对于每个域名,请添加相应的出站策略。如果数据源部署在本地且无法从 Foundry 直接访问,请改用代理出站策略;代理主机本身也必须能够访问所列出的域名。详情请参阅使用代理作为代理服务器。
| 域名 | 是否必需 |
|---|---|
| \ |
如果 AuthScheme=OAuth 或使用本地实例(本地实例格式为 \<服务器>:\<端口>) |
| \<用户>.cloudant.com | 如果 AuthScheme=Basic |