From f415a0898b6f1f5cee8aa43259e8aedf07d395aa Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Mon, 7 Dec 2020 13:04:11 -0800 Subject: Add DumpsStore API calls Ties in API requests to the Dumps page and adds ability to: - Create new System or BMC dump - Delete single or multiple BMC dumps. Uses ClearLog service to delete all and DELETE request for single dump deletion Signed-off-by: Yoshie Muranaka Change-Id: Iae928fa3b8fab00e549c33c0ab914a4b04de0f40 --- src/locales/en-US.json | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) (limited to 'src/locales') diff --git a/src/locales/en-US.json b/src/locales/en-US.json index 1d564ca6..ab9d8238 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -201,17 +201,23 @@ } }, "pageDumps": { - "dumpHistory": "Dump history", - "newDump": "New dump", + "dumpsAvailableOnBmc": "Dumps available on BMC", + "initiateDump": "Initiate dump", "form": { "bmcDump": "BMC dump", - "createNewDump": "Create new dump", + "initiateDump": "Initiate dump", "selectDumpType": "Select dump type", - "systemDump": "System dump (disruptive)" + "systemDump": "System dump (disruptive)", + "systemDumpInfo": "System dumps will be offloaded to the operating system and will not appear in the table below." }, "modal": { "deleteDump": "Delete dump | Delete dumps", - "deleteDumpConfirmation": "Are you sure you want to delete %{count} dump? This action cannot be undone. | Are you sure you want to delete %{count} dumps? This action cannot be undone." + "deleteDumpConfirmation": "Are you sure you want to delete %{count} dump? This action cannot be undone. | Are you sure you want to delete %{count} dumps? This action cannot be undone.", + "initiateSystemDump": "Initiate system dump", + "initiateSystemDumpMessage1": "Are you sure?", + "initiateSystemDumpMessage2": "You will not be able to initiate any other dumps while a system dump is in progress.", + "initiateSystemDumpMessage3": "Initiating a system dump will abnormally terminate all active system partitions.", + "initiateSystemDumpMessage4": "Proceed with dump initiation" }, "table": { "createdBy": "Created by", @@ -222,7 +228,14 @@ "size": "Size" }, "toast": { - "successStartDump": "Successfully started new dump." + "errorDeleteDump": "Error deleting %{count} dump. | Error deleting %{count} dumps.", + "errorStartBmcDump": "Error starting new BMC dump.", + "errorStartSystemDump": "Error starting new System dump.", + "successDeleteDump": "Successfully deleted %{count} dump. | Successfully deleted %{count} dumps.", + "successStartBmcDump": "The dump will take some time to complete. Refresh the application to see the completed dump in the table.", + "successStartBmcDumpTitle": "BMC dump started", + "successStartSystemDump": "The dump will take some time to complete. The dump will be offloaded to the operating system.", + "successStartSystemDumpTitle": "System dump started" } }, "pageEventLogs": { -- cgit v1.2.3