300.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 版本,默认最新的 | 字符串 | |
| camel.component.servicenow.configuration.date-format | 用于 Json 序列化/deserialization 的日期格式 | yyyy-MM-dd | 字符串 |
| camel.component.servicenow.configuration.date-time-format | 用于 Json 序列化/反序列化的日期格式 | 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 用来排除参考字段的 Table 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 以返回与分数关联的所有备注。Note 元素包含备注文本,以及添加备注时的作者和时间戳。 | 布尔值 | |
| camel.component.servicenow.configuration.include-scores | 将此参数设置为 true,以返回 scorecard 的所有分数。如果没有指定值,则此参数默认为 false,仅返回最新的分数值。 | 布尔值 | |
| camel.component.servicenow.configuration.input-display-value | true 设置输入字段的原始值(默认为 false) | 布尔值 | |
| camel.component.servicenow.configuration.key | 将此参数设置为 true,以只返回 key 指示符的 scorecard。 | 布尔值 | |
| camel.component.servicenow.configuration.mapper | 设置 Jackson 的 ObjectMapper 用于请求/回复 | 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 帐户密码,必须提供 | 字符串 | |
| 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 发行版本到目标,默认为 Helsinki,请参阅 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 序列化/deserialization 的时间格式 | HH:mm:ss | 字符串 |
| camel.component.servicenow.configuration.top-level-only | 仅获取其父级为目录的类别。 | 布尔值 | |
| camel.component.servicenow.configuration.user-name | ServiceNow 用户帐户名称,必须提供 | 字符串 | |
| camel.component.servicenow.enabled | 启用 servicenow 组件 | 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 用户帐户名称 | 字符串 |