Commit 83db709a authored by Illya Klymov's avatar Illya Klymov

Merge branch '219921-package-file-status' into 'master'

Geo Package Files - Sync Counts

Closes #219921

See merge request gitlab-org/gitlab!34205
parents 45858e25 b29f7340
......@@ -77,6 +77,11 @@ export default {
itemValueType: VALUE_TYPE.GRAPH,
detailsPath: `${this.node.url}admin/geo/designs`,
},
{
itemTitle: s__('GeoNodes|Package files'),
itemValue: this.nodeDetails.packageFiles,
itemValueType: VALUE_TYPE.GRAPH,
},
{
itemTitle: s__('GeoNodes|Data replication lag'),
itemValue: this.dbReplicationLag(),
......
......@@ -137,6 +137,11 @@ export default class GeoNodesStore {
successCount: rawNodeDetails.design_repositories_synced_count || 0,
failureCount: rawNodeDetails.design_repositories_failed_count || 0,
},
packageFiles: {
totalCount: rawNodeDetails.package_files_count || 0,
successCount: rawNodeDetails.package_files_synced_count || 0,
failureCount: rawNodeDetails.package_files_failed_count || 0,
},
attachments: {
enabled: rawNodeDetails.attachments_replication_enabled,
totalCount: rawNodeDetails.attachments_count || 0,
......
---
title: Geo Package Files - Sync Counts
merge_request: 34205
author:
type: added
......@@ -93,6 +93,10 @@ export const rawMockNodeDetails = {
design_repositories_synced_count: 0,
design_repositories_failed_count: 0,
design_repositories_synced_in_percentage: '0.00%',
package_files_count: 25,
package_files_synced_count: 25,
package_files_failed_count: 0,
package_files_synced_in_percentage: '100.00%',
repositories_failed_count: 0,
repositories_synced_count: 12,
repositories_synced_in_percentage: '100.00%',
......@@ -208,6 +212,11 @@ export const mockNodeDetails = {
successCount: 0,
failureCount: 0,
},
packageFiles: {
totalCount: 25,
successCount: 25,
failureCount: 0,
},
attachments: {
totalCount: 0,
successCount: 0,
......
......@@ -10220,6 +10220,9 @@ msgstr ""
msgid "GeoNodes|Not checksummed"
msgstr ""
msgid "GeoNodes|Package files"
msgstr ""
msgid "GeoNodes|Pausing replication stops the sync process. Are you sure?"
msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment