299.3. Spring Boot Auto-Configuration

组件支持 57 选项,它们如下所列。

名称描述默认类型

camel.component.servicenow.api-url

ServiceNow REST API url

 

字符串

camel.component.servicenow.configuration.api-url

ServiceNow REST API url

 

字符串

camel.component.servicenow.configuration.api-version

ServiceNow REST API 版本, default latest

 

字符串

camel.component.servicenow.configuration.date-format

用于 Json serialization/deserialization 的日期格式

yyyy-MM-dd

字符串

camel.component.servicenow.configuration.date-time-format

用于 Json serialization/deserialization 的 date-time 格式

yyyy-MM-dd HH:mm:ss

字符串

camel.component.servicenow.configuration.display

将此参数设置为 true 以只返回选择 indicator Display 字段的 scorecard。将此参数设置为 all 以返回具有任何 Display 字段值的 scorecard。此参数默认为 true。

true

字符串

camel.component.servicenow.configuration.display-value

为参考字段返回显示值(true)、实际值(false)或(all) (默认: false)

false

字符串

camel.component.servicenow.configuration.exclude-reference-link

true 以排除参考字段的表 API 链接(默认: false)

 

布尔值

camel.component.servicenow.configuration.favorites

将此参数设置为 true 以仅返回查询用户收藏的 scorecard。

 

布尔值

camel.component.servicenow.configuration.http-client-policy

配置 http-client

 

HTTPClientPolicy

camel.component.servicenow.configuration.include-aggregates

将此参数设置为 true 以始终返回指标的所有可用聚合,包括已应用聚合的时间。如果没有指定值,则此参数默认为 false,并返回没有聚合。

 

布尔值

camel.component.servicenow.configuration.include-available-aggregates

将此参数设置为 true,以在没有应用聚合时返回指标的所有可用聚合。如果没有指定值,则此参数默认为 false,并返回没有聚合。

 

布尔值

camel.component.servicenow.configuration.include-available-breakdowns

将此参数设为 true,以返回指示器的所有可用细分。如果没有指定值,则此参数默认为 false,且不会返回 breakdowns。

 

布尔值

camel.component.servicenow.configuration.include-score-notes

将这个参数设置为 true 返回与分数关联的所有备注。备注元素包含注释文本,以及添加备注时的作者和时间戳。

 

布尔值

camel.component.servicenow.configuration.include-scores

将此参数设置为 true 以返回 scorecard 的所有分数。如果没有指定值,则此参数默认为 false,仅返回最新的分数值。

 

布尔值

camel.component.servicenow.configuration.input-display-value

true 设置输入字段的原始值(默认值: false)

 

布尔值

camel.component.servicenow.configuration.key

将此参数设置为 true 以只针对密钥指示符返回 scorecard。

 

布尔值

camel.component.servicenow.configuration.mapper

设置 Jackson's ObjectMapper for for request/reply

 

ObjectMapper

camel.component.servicenow.configuration.models

定义请求和响应模型

 

map

camel.component.servicenow.configuration.oauth-client-id

OAuth2 ClientID

 

字符串

camel.component.servicenow.configuration.oauth-client-secret

OAuth2 ClientSecret

 

字符串

camel.component.servicenow.configuration.oauth-token-url

OAuth 令牌 Url

 

字符串

camel.component.servicenow.configuration.password

ServiceNow 帐户密码,提供 MUST

 

字符串

camel.component.servicenow.configuration.per-page

输入每个查询可以返回的最大 scorecard 数量。默认值为 10,最大值为 100。

10

整数

camel.component.servicenow.configuration.proxy-authorization-policy

配置代理身份验证

 

ProxyAuthorization 策略

camel.component.servicenow.configuration.proxy-host

代理主机名

 

字符串

camel.component.servicenow.configuration.proxy-password

用于代理验证的密码

 

字符串

camel.component.servicenow.configuration.proxy-port

代理端口号

 

整数

camel.component.servicenow.configuration.proxy-user-name

用于代理身份验证的用户名

 

字符串

camel.component.servicenow.configuration.release

ServiceNow release to target, default to Helsinki See https://docs.servicenow.com

 

ServiceNowRelease

camel.component.servicenow.configuration.request-models

定义请求模型

 

map

camel.component.servicenow.configuration.resource

默认资源可以被标头 CamelServiceNowResource 覆盖

 

字符串

camel.component.servicenow.configuration.response-models

定义响应模型

 

map

camel.component.servicenow.configuration.retrieve-target-record-on-import

将此参数设置为 true,在使用 import set api 时检索目标记录。然后,导入集的结果会被目标记录替代

false

布尔值

camel.component.servicenow.configuration.sort-by

指定要在排序结果时使用的值。默认情况下,查询会根据值排序记录。

 

字符串

camel.component.servicenow.configuration.sort-dir

指定排序方向、升序或降序。默认情况下,查询以降序排列记录。使用 sysparm_sortdir=asc 以升序排序。

 

字符串

camel.component.servicenow.configuration.ssl-context-parameters

使用 SSLContextParameters 配置安全性。See http://camel.apache.org/camel-configuration-utilities.html

 

SSLContextParameters

camel.component.servicenow.configuration.suppress-auto-sys-field

True 用于抑制自动生成的系统字段(默认为 false)

 

布尔值

camel.component.servicenow.configuration.suppress-pagination-header

将此值设置为 true,从响应中删除 Link 标头。通过 Link 标头,当匹配查询的记录数超过查询限制时,可以请求其他数据页面

 

布尔值

camel.component.servicenow.configuration.table

默认表可以被标头 CamelServiceNowTable 覆盖

 

字符串

camel.component.servicenow.configuration.target

将此参数设置为 true 以仅返回具有目标的 scorecard。

 

布尔值

camel.component.servicenow.configuration.time-format

用于 Json serialization/deserialization 的时间格式

Hh:mm:ss

字符串

camel.component.servicenow.configuration.top-level-only

仅获取其父目录的类别。

 

布尔值

camel.component.servicenow.configuration.user-name

ServiceNow 用户帐户名称,提供 MUST

 

字符串

camel.component.servicenow.enabled

启用服务现在组件

true

布尔值

camel.component.servicenow.instance-name

ServiceNow 实例名称

 

字符串

camel.component.servicenow.oauth-client-id

OAuth2 ClientID

 

字符串

camel.component.servicenow.oauth-client-secret

OAuth2 ClientSecret

 

字符串

camel.component.servicenow.oauth-token-url

OAuth 令牌 Url

 

字符串

camel.component.servicenow.password

ServiceNow 帐户密码

 

字符串

camel.component.servicenow.proxy-host

代理主机名

 

字符串

camel.component.servicenow.proxy-password

用于代理验证的密码

 

字符串

camel.component.servicenow.proxy-port

代理端口号

 

整数

camel.component.servicenow.proxy-user-name

用于代理身份验证的用户名

 

字符串

camel.component.servicenow.resolve-property-placeholders

启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。

true

布尔值

camel.component.servicenow.use-global-ssl-context-parameters

启用使用全局 SSL 上下文参数。

false

布尔值

camel.component.servicenow.user-name

ServiceNow 用户帐户名称

 

字符串