Пример #1
0
        public static void UpdateEsbTask(this ICakeContext context, Models.UpdateEsbTaskSettings esbTaskSettings, TalendAdminApiSettings settings)
        {
            var api = new TalendAdminApi(settings.TalendAdminAddress, settings.TalendAdminUsername, settings.TalendAdminPassword);

            api.UpdateEsbTask(esbTaskSettings);
        }
Пример #2
0
        public static IEnumerable <Models.EsbTask> GetEsbTaskList(this ICakeContext context, TalendAdminApiSettings settings)
        {
            var api = new TalendAdminApi(settings.TalendAdminAddress, settings.TalendAdminUsername, settings.TalendAdminPassword);

            return(api.GetEsbTaskList());
        }
Пример #3
0
        public static int GetEsbTaskIdByName(this ICakeContext context, string esbTaskName, TalendAdminApiSettings settings)
        {
            var api = new TalendAdminApi(settings.TalendAdminAddress, settings.TalendAdminUsername, settings.TalendAdminPassword);

            return(api.GetEsbTaskIdByName(esbTaskName));
        }
Пример #4
0
        public static void UndeployEsbTask(this ICakeContext context, int taskId, TalendAdminApiSettings settings)
        {
            var api = new TalendAdminApi(settings.TalendAdminAddress, settings.TalendAdminUsername, settings.TalendAdminPassword);

            api.UndeployEsbTask(taskId);
        }