跳转至

WooCommerce

The WooCommerce connector is a Palantir-provided driver for WooCommerce.

To create a new WooCommerce source, follow the standard setup flow for Palantir-provided drivers, then use the sections below for WooCommerce-specific configuration and networking. For the complete property reference, see the official WooCommerce driver documentation ↗.

Configuration

The properties below are mandatory or recommended.

Property Required? Description Default
AuthScheme Mandatory Whether to use Basic Authentication, the one-legged OAuth 1.0 Authentication or the OAuth 2.0 Authentication when connecting to WooCommerce. Basic
URL Mandatory The URL of the WooCommerce instance. https://{serverAddress}/woocommerce/
ConsumerKey Recommended The consumer key assigned by WooCommerce when creating the authentication credentials. If this property is set, and InitiateOAuth is OFF, the provider will authenticate using one-legged OAuth1.0.
ConsumerSecret Recommended The consumer secret assigned by WooCommerce when creating the authentication credentials. If this and the ConsumerKey properties are set, and InitiateOAuth is OFF, the provider will authenticate using one-legged OAuth1.0.
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
OAuthClientId Recommended Specifies the client Id that was assigned when the custom OAuth application was created. (Also known as the consumer key.) This ID registers the custom application with the OAuth authorization server.
OAuthClientSecret Recommended Specifies the client secret that was assigned when the custom OAuth application was created. (Also known as the consumer secret). This secret registers the custom application with the OAuth authorization server.

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
\ Always. URL connection property (in format URL='http://localhost/woocommerce/')

中文翻译

WooCommerce

WooCommerce 连接器是 Palantir 提供的用于 WooCommerce 的驱动程序

要创建新的 WooCommerce 数据源,请遵循 Palantir 提供驱动程序的标准设置流程,然后使用以下各节进行 WooCommerce 特定的配置和网络设置。有关完整的属性参考,请参阅官方 WooCommerce 驱动程序文档 ↗

配置

以下属性为必填或推荐设置。

属性 是否必填 描述 默认值
AuthScheme 必填 连接到 WooCommerce 时使用基本认证(Basic Authentication)、单脚 OAuth 1.0 认证(one-legged OAuth 1.0 Authentication)还是 OAuth 2.0 认证(OAuth 2.0 Authentication)。 Basic
URL 必填 WooCommerce 实例的 URL。 https://{serverAddress}/woocommerce/
ConsumerKey 推荐 创建认证凭据时 WooCommerce 分配的消费者密钥(consumer key)。如果设置了此属性且 InitiateOAuth 为 OFF,则提供程序将使用单脚 OAuth1.0 进行认证。
ConsumerSecret 推荐 创建认证凭据时 WooCommerce 分配的消费者密钥(consumer secret)。如果设置了此属性和 ConsumerKey 属性,且 InitiateOAuth 为 OFF,则提供程序将使用单脚 OAuth1.0 进行认证。
InitiateOAuth 推荐 指定获取或刷新 OAuth 访问令牌(access token)的过程,该令牌在已认证授权用户工作时维持其访问权限。 REFRESH
OAuthClientId 推荐 指定创建自定义 OAuth 应用程序时分配的客户端 ID(client Id)。(也称为消费者密钥。)此 ID 将自定义应用程序注册到 OAuth 授权服务器。
OAuthClientSecret 推荐 指定创建自定义 OAuth 应用程序时分配的客户端密钥(client secret)。(也称为消费者密钥。)此密钥将自定义应用程序注册到 OAuth 授权服务器。

网络配置

下表列出了数据源成功运行所需访问的域名。

对于每个域名,请添加相应的出站策略。如果数据源部署在本地且无法直接从 Foundry 访问,请改用代理出站策略;代理主机本身也必须能够访问所列域名。详情请参阅使用代理作为代理服务器

域名 是否必需
\ 始终必需。URL 连接属性(格式为 URL='http://localhost/woocommerce/'