Skip to content

Conversation

@wkirschenmann
Copy link
Contributor

@wkirschenmann wkirschenmann commented Aug 21, 2023

Begin of work.

  • Add an first API abstraction over gRPC
  • Use new APIs instead of the legacy Submitter.SubmitterClient
  • Add public API for Unified
  • Add public API for Symphony
  • Integrate new unitary tests
  • Provide Async version of the new APIs
  • Remove custom code for retry policy
  • Simplify submission batching/bufferization

@wkirschenmann wkirschenmann force-pushed the WK-clean branch 5 times, most recently from eb9c702 to 97039b2 Compare August 21, 2023 19:33
@dbrasseur-aneo
Copy link
Contributor

For the changes visible to the user, we need to document extensively all the name changes and api changes. Will be very important to create a proper changelog

/// </summary>
[PublicAPI]
public enum ArmonikStatusCode
public enum ArmonikTaskStatusCode
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public enum ArmonikTaskStatusCode
public enum ArmoniKTaskStatusCode

@wkirschenmann wkirschenmann marked this pull request as ready for review August 22, 2023 15:38
var taskRawData = new List<TaskDetailed>();

await foreach (var taskRaw in RetrieveAllTasksStats(service.GetChannel(),
await foreach (var taskRaw in RetrieveAllTasksStats(null,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why null as input ?

if (e.StatusCode == ArmonikStatusCode.TaskCancelled)
if (e.TaskStatusCode == ArmonikTaskStatusCode.TaskCancelled)
{
Log.LogWarning($"Task canceled : {taskId}. Status {e.StatusCode.ToString()} Message : {e.Message}\nDetails : {e.OutputDetails}");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.ToString may not be needed anymore

@aneojgurhem aneojgurhem marked this pull request as draft January 4, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants