-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(dedicated): add iplb delete option for us #14243
base: master
Are you sure you want to change the base?
Conversation
ref: MANAGER-15666 Signed-off-by: soufien mhelhali <[email protected]>
Quality Gate failedFailed conditions |
"iplb_terminate_service_success": "Votre demande de suppression de votre service a été prise en compte. Un e-mail contenant la procédure vous a été envoyé.", | ||
"iplb_terminate_service_error": "Une erreur est survenue lors de la demande de suppression de votre service. {{error}}", | ||
"iplb_terminate_service_confirm_input": "Entrez \"TERMINATE\" dans le champ ci-dessous pour confirmer", | ||
"iplb_terminate_service_terminate_valide": "Valider", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"iplb_terminate_service_terminate_valide": "Valider", | |
"iplb_terminate_service_terminate_valid": "Valider", |
}, | ||
redirectTo: (transition) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we removing this redirection for empty case ?
terminate() { | ||
this.$http | ||
.post(`/ipLoadbalancing/${this.service.serviceName}/terminate`) | ||
.then(() => { | ||
this.Alerter.success( | ||
this.$translate.instant('iplb_terminate_service_success'), | ||
); | ||
}) | ||
.catch((err) => { | ||
this.Alerter.error( | ||
this.$translate.instant('iplb_terminate_service_error', { | ||
t0: err.data ? err.data.message : err.message, | ||
}), | ||
this.alertId, | ||
); | ||
}); | ||
this.$uibModalInstance.close(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
terminate() { | |
this.$http | |
.post(`/ipLoadbalancing/${this.service.serviceName}/terminate`) | |
.then(() => { | |
this.Alerter.success( | |
this.$translate.instant('iplb_terminate_service_success'), | |
); | |
}) | |
.catch((err) => { | |
this.Alerter.error( | |
this.$translate.instant('iplb_terminate_service_error', { | |
t0: err.data ? err.data.message : err.message, | |
}), | |
this.alertId, | |
); | |
}); | |
this.$uibModalInstance.close(); | |
} | |
terminate() { | |
this.isDeleting = true; | |
this.$http | |
.post(`/ipLoadbalancing/${this.service.serviceName}/terminate`) | |
.then(() => { | |
this.Alerter.success( | |
this.$translate.instant('iplb_terminate_service_success'), | |
); | |
this.$uibModalInstance.close(); | |
}) | |
.catch((err) => { | |
this.Alerter.error( | |
this.$translate.instant('iplb_terminate_service_error', { | |
t0: err.data ? err.data.message : err.message, | |
}), | |
this.alertId, | |
); | |
this.$uibModalInstance.dismiss(); | |
}) | |
.finally(() => { | |
this.isDeleting = false; | |
}); | |
} |
this.$http = $http; | ||
this.Alerter = Alerter; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$onInit() { | |
this.isDeleting = false; | |
} |
master
/release/**
/develop
Description
Related