mirror of
https://github.com/elastic/kibana.git
synced 2025-06-29 03:24:45 -04:00
## Summary
Part of https://github.com/elastic/kibana/issues/169547
View docs at [Changed
pages](https://kibana_169928.docs-preview.app.elstc.co/diff)
Add monitor api public api
### Testing
Make sure you have some monitors populated before testing this PR and
before switching to the branch
- [ ] Try editing already added monitors via API
- [ ] Test adding monitors via API, and then edit those via and
subsqeuently try editing via API the same monitor
- [ ] Test editing monitors via API
- [ ] Test deleting monitors via API
- [ ] Test getting monitors via API
- [ ] Testing private as well public locations
Basic workflow that i am interesting in testing is to make sure, you can
add/edit via both API and UI without any issues
Test each of HTTP/TCP/ICMP browser examples
<img width="1728" alt="image"
src="3575d93a
-5f04-4c80-ac62-038643f466f8">
---------
Co-authored-by: Justin Kambic <jk@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
34 lines
1.2 KiB
TypeScript
34 lines
1.2 KiB
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 { FtrConfigProviderContext } from '@kbn/test';
|
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|
const baseIntegrationTestsConfig = await readConfigFile(require.resolve('../../config.ts'));
|
|
|
|
return {
|
|
...baseIntegrationTestsConfig.getAll(),
|
|
esTestCluster: {
|
|
...baseIntegrationTestsConfig.get('esTestCluster'),
|
|
serverArgs: [
|
|
...baseIntegrationTestsConfig.get('esTestCluster.serverArgs'),
|
|
'xpack.ml.enabled=false',
|
|
],
|
|
},
|
|
kbnTestServer: {
|
|
...baseIntegrationTestsConfig.get('kbnTestServer'),
|
|
serverArgs: [
|
|
...baseIntegrationTestsConfig.get('kbnTestServer.serverArgs'),
|
|
'--xpack.uptime.service.password=test',
|
|
'--xpack.uptime.service.username=localKibanaIntegrationTestsUser',
|
|
'--xpack.uptime.service.devUrl=mockDevUrl',
|
|
'--xpack.uptime.service.manifestUrl=mockDevUrl',
|
|
],
|
|
},
|
|
testFiles: [require.resolve('.')],
|
|
};
|
|
}
|