/// <summary>Does the process.</summary> /// <param name="context">The context.</param> /// <param name="command">The command.</param> /// <returns></returns> public override void DoProcess(CluedIn.Core.ExecutionContext context, AnonymiseDataCommand command) { var query = JsonConvert.DeserializeObject <MeshQuery>(command.HttpPostData); try { var configurationDataStore = context.ApplicationContext.Container.Resolve <IConfigurationRepository>(); if (command.ProviderDefinitionId != null) { var gdprRepository = context.Organization.DataStores.GetDataStore <GDPRMessage>(); var providerDefinition = context.Organization.Providers.GetProviderDefinition(context, command.ProviderDefinitionId); var jobDataCheck = context.ApplicationContext.Container.ResolveAll <IProvider>().FirstOrDefault(providerInstance => providerDefinition != null && providerInstance.Id == providerDefinition.ProviderId); var configStoreData = configurationDataStore.GetConfigurationById(context, command.ProviderDefinitionId); } } catch (Exception exception) { context.Log.Error(new { command.HttpHeaders, command.HttpQueryString, command.HttpPostData }, () => "Could not process web hook message", exception); } }
public override void DoProcess(CluedIn.Core.ExecutionContext context, MeshDataCommand command, IDictionary <string, object> jobData, MeshQuery query) { return; }