From 59e09e26a5f4432fbfb397287f1fdd4f656d761e Mon Sep 17 00:00:00 2001 From: dc Date: Thu, 29 Oct 2026 18:34:08 +0000 Subject: [PATCH] fix(deploy): drop the deprecated service-pack deploy from the setup screen The Viya setup screen still carried a path that deployed the backend as a service pack from a viya.json (`deployServicePack`). That is no longer how a deployment works: the frontend and services arrive with the sasjs deploy, and the only thing left to do is create the control library and its configuration data, which `makedata` does - and then deletes itself. The path was already unreachable from the UI (its button had been commented out "for reference"), so the wizard only ever ran `makedata` in practice while its copy still claimed to deploy services. Removed: - `executeJson()` and the `viya.json` upload plumbing: `readFile`, `clearUploadInput`, and the fields and status flag that fed them - the "Deploy SAS Jobs" row in the completion modal, which could never show - the commented-out button and file input that kept the dead path visible The screen now says what it does: it runs the one-off job that creates the control library and its configuration data, and the status row reads "Create control library" rather than "Create database". --- .../automatic/automatic.component.html | 73 ++--------------- .../sections/automatic/automatic.component.ts | 82 +++---------------- client/src/app/services/deploy.service.ts | 18 ---- 3 files changed, 15 insertions(+), 158 deletions(-) diff --git a/client/src/app/deploy/sections/automatic/automatic.component.html b/client/src/app/deploy/sections/automatic/automatic.component.html index 5c87846..42f3964 100644 --- a/client/src/app/deploy/sections/automatic/automatic.component.html +++ b/client/src/app/deploy/sections/automatic/automatic.component.html @@ -8,20 +8,6 @@ @if (autodeployDone) {

Done


- @if (autoDeployStatus.deployServicePack !== null) { -
- @if (autoDeployStatus.deployServicePack === true) { - - } - @if (!autoDeployStatus.deployServicePack === false) { - - } -

Deploy SAS Jobs

-
- } @if (autoDeployStatus.runMakeData !== null) {
@if (autoDeployStatus.runMakeData) { @@ -33,16 +19,13 @@ @if (autoDeployStatus.runMakeData === false) { } -

Create database

+

Create control library

}
} - - - - -
- - - - - - - - -