Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(512)

Unified Diff: webconsole/frontend/src/app/jobs/job-run-details/job-run-details.component.html

Issue 344810043: Updates the job run details page to add the transfer counters information. (Closed)
Patch Set: Addressed patch 2 comments. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webconsole/frontend/src/app/jobs/job-run-details/job-run-details.component.html
diff --git a/webconsole/frontend/src/app/jobs/job-run-details/job-run-details.component.html b/webconsole/frontend/src/app/jobs/job-run-details/job-run-details.component.html
index e3e2e2fe6c3314779f1d95dabff802fc6faf03fd..1d65b899f164538032d50ab058fe3d69f5ce3c72 100644
--- a/webconsole/frontend/src/app/jobs/job-run-details/job-run-details.component.html
+++ b/webconsole/frontend/src/app/jobs/job-run-details/job-run-details.component.html
@@ -18,16 +18,30 @@
<dl>
<dt>Job Config Id</dt>
<dd>{{ job.name }}</dd>
- <dt>Job Run Id</dt>
- <dd>{{ job.latestOperation.name }}</dd>
- <dt>Creation Time</dt>
- <dd>{{ job.latestOperation.startTime | date:'short' }}</dd>
- <dt>Status</dt>
- <dd>{{ job.latestOperation.status | jobStatus }}</dd>
<dt>Source directory</dt>
<dd>{{ job.transferSpec.onPremFiler.directoryPath }}</dd>
<dt>Destination bucket</dt>
<dd>{{ job.transferSpec.gcsDataSink.bucketName }}</dd>
+ <div *ngIf="job.latestOperation">
+ <dt>Job Run Id</dt>
+ <dd>{{ job.latestOperation.name }}</dd>
+ <dt>Creation Time</dt>
+ <dd>{{ job.latestOperation.startTime | date:'short' }}</dd>
+ <dt>Status</dt>
+ <dd>{{ OPERATION_STATUS_TO_STRING_MAP[job.latestOperation.status] }}</dd>
+ <dt> Directories found: </dt>
+ <dd> {{ job.latestOperation.counters.directoriesFoundFromSource }} </dd>
+ <dt> Directories successfully listed: </dt>
+ <dd> {{ job.latestOperation.counters.directoriesSuccessfullyListedFromSource }} </dd>
+ <dt> Directories failed to list: </dt>
+ <dd> {{ job.latestOperation.counters.directoriesFailedToListFromSource }} </dd>
+ <dt> Files found: </dt>
+ <dd> {{ job.latestOperation.counters.objectsFoundFromSource }} </dd>
+ <dt> Files copied to Google Cloud Storage: </dt>
+ <dd> {{ job.latestOperation.counters.objectsCopiedToSink }} </dd>
+ <dt> Files failed to copy to Google Cloud Storage: </dt>
+ <dd> {{ job.latestOperation.counters.objectsFromSourceFailed }} </dd>
+ </div>
</dl>
<!-- TODO: add the counters data -->

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b