300.3. Spring Boot Auto-Configuration
组件支持 57 选项,如下所列。
| Name | 描述 | 默认值 | 类型 |
|---|---|---|---|
| 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 版本,默认 latest | 字符串 | |
| camel.component.servicenow.configuration.date-format | 用于 Json 序列化/deserialization 的日期格式 | yyyy-MM-dd | 字符串 |
| camel.component.servicenow.configuration.date-time-format | 用于 Json serialization/deserialization 的 date-time 格式 | YYYY-MM-dd HH:mm:s | 字符串 |
| camel.component.servicenow.configuration.display | 将此参数设置为 true 以仅返回选中指示显示字段的 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,并返回 no 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 的 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,在使用导入 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 配置安全性。请参阅 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 用户帐户名称 | 字符串 |