public void ProcessCommunicationToGraphDBTest() { var testEmail = JsonConvert.DeserializeObject <TagsSearchByTagStartTokenOrdinal>(File.ReadAllText(@"[REPO_ROOT]\CELA-Tagulous_Parsing_Service\CELA-Tags_Parsing_ServiceTests\TestRequests\TestRequest11.json")); var result = CommunicationProcessingBusinessLogic.ProcessCommunicationToGraphDB(testEmail, KnowledgeManagementDataServicesTestSettings.GraphDBHostName, KnowledgeManagementDataServicesTestSettings.GraphDBPort, KnowledgeManagementDataServicesTestSettings.GraphDBAuthKey, KnowledgeManagementDataServicesTestSettings.GraphDBDatabaseName, KnowledgeManagementDataServicesTestSettings.GraphDBCollectionName); if (!result) { Assert.Fail(); } }
public void StoreEmailToGraphStorage(EmailSearch communication) { var communicationProcessor = CommunicationProcessingBusinessLogic.ProcessCommunicationToGraphDB(communication, graphDBHostName, graphDBPort, graphDBAccessKey, graphDBDatabaseName, graphDBCollectionName); }