mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Update the connector configuration preview format (#161976)
# Part of https://github.com/elastic/enterprise-search-team/issues/4187 ## Summary In connector service, we adopt a new connectors configuration format, to support multiple connector clients/customized connectors in one connector instance. This PR is to update the connector configuration preview to the new format: ```yaml connectors: - connector_id: {connector_id} service_type: {service_type} api_key: {api_key} ``` ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
163d78b241
commit
8960f61242
1 changed files with 7 additions and 7 deletions
|
@ -151,15 +151,15 @@ export const ConnectorConfiguration: React.FC = () => {
|
|||
</EuiText>
|
||||
<EuiSpacer />
|
||||
<EuiCodeBlock fontSize="m" paddingSize="m" color="dark" isCopyable>
|
||||
{`${
|
||||
{`connectors:
|
||||
-
|
||||
connector_id: "${index.connector.id}"
|
||||
service_type: "${index.connector.service_type || 'changeme'}"${
|
||||
apiKeyData?.encoded
|
||||
? `elasticsearch:
|
||||
api_key: "${apiKeyData?.encoded}"
|
||||
`
|
||||
? `
|
||||
api_key: "${apiKeyData?.encoded}"`
|
||||
: ''
|
||||
}connector_id: "${index.connector.id}"
|
||||
service_type: "${index.connector.service_type || 'changeme'}"
|
||||
`}
|
||||
}`}
|
||||
</EuiCodeBlock>
|
||||
<EuiSpacer />
|
||||
<EuiText size="s">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue