import { FtrProviderContext } from '../../functional/ftr_provider_context' ; import { MachineLearningAPIProvider } from '../../functional/services/ml/api' ; import { MachineLearningCommonAPIProvider } from '../../functional/services/ml/common_api' ; import { MachineLearningCommonConfigsProvider } from '../../functional/services/ml/common_config' ; import { MachineLearningSecurityCommonProvider } from '../../functional/services/ml/security_common' ; import { MachineLearningTestExecutionProvider } from '../../functional/services/ml/test_execution' ; import { MachineLearningTestResourcesProvider } from '../../functional/services/ml/test_resources' ; export function MachineLearningProvider ( context ) { const api = MachineLearningAPIProvider ( context ) ; const commonAPI = MachineLearningCommonAPIProvider ( context ) ; const commonConfig = MachineLearningCommonConfigsProvider ( context ) ; const securityCommon = MachineLearningSecurityCommonProvider ( context ) ; const testExecution = MachineLearningTestExecutionProvider ( context ) ; const testResources = MachineLearningTestResourcesProvider ( context ) ; return { api , commonAPI , commonConfig , securityCommon , testExecution , testResources , } ; }