Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Split deploy app wizard service into smaller chunks #1202

Merged
merged 9 commits into from
Aug 17, 2017
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@
vm.hasMessage = false;
vm.busyMessage = false;

vm.showBusy = showBusy;

if (vm.workflow.initControllers) {
vm.workflow.initControllers(vm);
}
Expand Down Expand Up @@ -144,7 +146,6 @@
vm.switchToFirstReadyStep = switchToFirstReadyStep;
vm.always = always;
vm.allowCancel = allowCancel;
vm.showBusy = showBusy;

vm.initPromise.then(function () {
vm.onInitSuccess();
Expand Down
29 changes: 17 additions & 12 deletions components/cf-app-push/frontend/i18n/en_US/app-push.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@
"deploy-app-dialog": {
"title": "Deploy Application",
"button-deploy": "Deploy",
"step-info": {
"title": "Destination and Source",
"step-destination": {
"title": "Destination",
"busy": "Updating Cloud Foundry Data",
"enter-failed": "Failed to refresh cloud foundry data. Please try again. If this error persists, please contact the Administrator."
},
"step-source": {
"title": "Source",
"choose-label": "Source Type",
"choose-placeholder": "Select the source type",
"github": {
"label": "Public Github",
"project-label": "Project",
Expand All @@ -19,8 +26,8 @@
"branch-last-commit-committer": ""
},
"source": {
"file": "Select a GitHub project, select a local archive file, or drag and drop a GitHub url or an archive file",
"folder": "Select a GitHub project, select a local archive file or folder, or drag and drop a GitHub url, an archive file or folder"
"file": "Select a source or drag and drop a GitHub url or an archive file",
"folder": "Select a source or drag and drop a GitHub url, an archive file or folder"
},
"local": {
"file": {
Expand All @@ -43,9 +50,7 @@
"description": "For existing apps, if the relative path to your manifest.yml is not in the root please supply it below.",
"path-label": "Path to manifest",
"path-placeholder": "Relative path of manifest to root of app directory"
},
"busy": "Updating Cloud Foundry Data",
"enter-failed": "Failed to refresh cloud foundry data. Please try again. If this error persists, please contact the Administrator."
}
},
"step-deploying": {
"title": "Deploy Application",
Expand All @@ -61,15 +66,15 @@
"event-type": {
"CLOSE_FAILED_NO_BRANCH": "Failed to clone repository (invalid branch), please ensure github details are correct",
"CLOSE_FAILED_CLONE": "Failed to clone repository, please ensure github details are correct and try again",
"CLOSE_FAILURE": "Unknown failure",
"CLOSE_INVALID_MANIFEST": "Invalid manifest in repository",
"CLOSE_NO_MANIFEST": "Failed to find manifest in repository",
"CLOSE_PUSH_ERROR": "[[@:cloud-foundry]] push unsuccessful",
"CLOSE_FAILURE": "Unknown failure. See log for more information.",
"CLOSE_INVALID_MANIFEST": "Invalid manifest",
"CLOSE_NO_MANIFEST": "Failed to find manifest",
"CLOSE_PUSH_ERROR": "[[@:cloud-foundry]] push unsuccessful. See log for details.",
"CLOSE_NO_SESSION": "Failed to create session",
"CLOSE_NO_CNSI": "Unknown [[@:cloud-foundry]] instance",
"CLOSE_NO_CNSI_USERTOKEN": "Invalid [[@:cloud-foundry]] token"
},
"failed-connection": "Failed to open connection",
"failed-connection": "Failed to open socket connection",
"failed-unknown": "Unknown failure"
}
}
Expand Down

This file was deleted.

Loading