devabhishekpal commented on code in PR #7517:
URL: https://github.com/apache/ozone/pull/7517#discussion_r1869001275


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/types/ReconTaskStatusCountResponse.java:
##########
@@ -0,0 +1,32 @@
+package org.apache.hadoop.ozone.recon.api.types;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import java.util.List;
+
+
+/**
+ * Class to represent the API response structure of task status metrics

Review Comment:
   Addressed in 
[5248373](https://github.com/apache/ozone/pull/7517/commits/5248373fede0a47e1475ef14730e4b443445b55d)



##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/types/ReconTaskStatusCountResponse.java:
##########
@@ -0,0 +1,32 @@
+package org.apache.hadoop.ozone.recon.api.types;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import java.util.List;
+
+
+/**
+ * Class to represent the API response structure of task status metrics
+ */
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class ReconTaskStatusCountResponse {
+
+  // The name of the task for which we are getting status
+  @JsonProperty("taskName")
+  private String taskName;
+
+  // The number of successes associated with the task
+  @JsonProperty("successes")
+  private int successes;

Review Comment:
   Addressed in 
[5248373](https://github.com/apache/ozone/pull/7517/commits/5248373fede0a47e1475ef14730e4b443445b55d)



##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/types/ReconTaskStatusCountResponse.java:
##########
@@ -0,0 +1,32 @@
+package org.apache.hadoop.ozone.recon.api.types;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import java.util.List;
+
+
+/**
+ * Class to represent the API response structure of task status metrics
+ */
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class ReconTaskStatusCountResponse {
+
+  // The name of the task for which we are getting status
+  @JsonProperty("taskName")
+  private String taskName;
+
+  // The number of successes associated with the task
+  @JsonProperty("successes")
+  private int successes;
+
+  // The number of failures associated with the task
+  @JsonProperty("failures")
+  private int failures;

Review Comment:
   Addressed in 
[5248373](https://github.com/apache/ozone/pull/7517/commits/5248373fede0a47e1475ef14730e4b443445b55d)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to