mirror of
https://github.com/elastic/kibana.git
synced 2025-06-29 03:24:45 -04:00
## Summary Add `/internal/spaces/space/default/solution'` with an attribute solution_type for Control Panel to set the solution for the left navigation in kibana for an instant deployment. ``` curl -X PUT "http://yourserver/internal/spaces/space/default/solution'" \ -H "kbn-xsrf: kibana" \ -H "x-elastic-internal-origin: cloud" -H "Content-Type: application/json" \ -d '{"solution_type": "observability"}' ``` ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
18 lines
715 B
TypeScript
18 lines
715 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import { FtrProviderContext } from '../../ftr_provider_context';
|
|
|
|
export default function ({ loadTestFile }: FtrProviderContext) {
|
|
describe('spaces', function () {
|
|
loadTestFile(require.resolve('./get_active_space'));
|
|
loadTestFile(require.resolve('./saved_objects'));
|
|
loadTestFile(require.resolve('./space_attributes'));
|
|
loadTestFile(require.resolve('./get_content_summary'));
|
|
loadTestFile(require.resolve('./set_solution_space'));
|
|
});
|
|
}
|