mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[Fix] Inference preconfigured connector for EIS missing key (#210953)
Bug in configuration of the connector definition.
This commit is contained in:
parent
7597353fea
commit
ab4f043ca6
3 changed files with 7 additions and 3 deletions
|
@ -275,7 +275,8 @@ xpack.dataUsage.enableExperimental: ['dataUsageDisabled']
|
|||
xpack.stack_connectors.enableExperimental: ['inferenceConnectorOff']
|
||||
|
||||
# This is the definition introducing pre-configured Kibana Connector for Elastic default LLM
|
||||
Elastic-Inference-Rainbow-Sprinkles:
|
||||
xpack.actions.preconfigured:
|
||||
Elastic-Inference-Rainbow-Sprinkles:
|
||||
name: Elastic-Inference-Rainbow-Sprinkles
|
||||
actionTypeId: .inference
|
||||
exposeConfig: true
|
||||
|
|
|
@ -54,8 +54,11 @@ export function ActionsAPIServiceProvider({ getService }: FtrProviderContext) {
|
|||
.get(`/api/actions/connectors`)
|
||||
.set({ ...additionalRequestHeaders, 'kbn-xsrf': 'foo' })
|
||||
.expect(200);
|
||||
|
||||
for (const connector of body) {
|
||||
// preconfigured connectors cannot be deleted
|
||||
if (connector.is_preconfigured) {
|
||||
continue;
|
||||
}
|
||||
await this.deleteConnector(connector.id, additionalRequestHeaders);
|
||||
}
|
||||
},
|
||||
|
|
|
@ -21,7 +21,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
it('server log connector screenshots', async () => {
|
||||
await pageObjects.common.navigateToApp('connectors');
|
||||
await pageObjects.header.waitUntilLoadingHasFinished();
|
||||
await testSubjects.click('createFirstActionButton');
|
||||
await testSubjects.click('createConnectorButton');
|
||||
await testSubjects.click(`.server-log-card`);
|
||||
await testSubjects.setValue('nameInput', 'Server log test connector');
|
||||
await svlCommonScreenshots.takeScreenshot('serverlog-connector', screenshotDirectories);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue