From 8d55b3a80c103a0254a8a2921c255c639aab721d Mon Sep 17 00:00:00 2001 From: JUNGEUNJUNG Date: Wed, 25 Sep 2024 07:45:11 +0900 Subject: [PATCH] deployment yaml generator add modal, UI update --- applicationFE/src/api/yaml.ts | 2 +- .../src/views/generate/YamlGenerate.vue | 2 +- .../generate/components/configmapForm.vue | 18 +- .../views/generate/components/deployModal.vue | 45 ++ .../generate/components/deploymentForm.vue | 439 +++++++++++------- .../src/views/generate/components/hpaForm.vue | 4 +- .../src/views/generate/components/podForm.vue | 4 +- .../views/generate/components/serviceForm.vue | 14 +- applicationFE/src/views/type/type.ts | 2 +- 9 files changed, 339 insertions(+), 191 deletions(-) create mode 100644 applicationFE/src/views/generate/components/deployModal.vue diff --git a/applicationFE/src/api/yaml.ts b/applicationFE/src/api/yaml.ts index 16e34f6..9230e40 100644 --- a/applicationFE/src/api/yaml.ts +++ b/applicationFE/src/api/yaml.ts @@ -18,7 +18,7 @@ export const generateYamlHpa = (param:Hpa) => { // deployment YAML export const generateYamlDeployment = (param:Deployment) => { - return request.post('/yaml/deployment', param) + return request.post('/manifest/v1/generator/yaml/deployments', param) } // configmap YAML diff --git a/applicationFE/src/views/generate/YamlGenerate.vue b/applicationFE/src/views/generate/YamlGenerate.vue index dbd8346..fce8960 100644 --- a/applicationFE/src/views/generate/YamlGenerate.vue +++ b/applicationFE/src/views/generate/YamlGenerate.vue @@ -40,8 +40,8 @@ \ No newline at end of file diff --git a/applicationFE/src/views/generate/components/deploymentForm.vue b/applicationFE/src/views/generate/components/deploymentForm.vue index 68ba255..0ef3312 100644 --- a/applicationFE/src/views/generate/components/deploymentForm.vue +++ b/applicationFE/src/views/generate/components/deploymentForm.vue @@ -1,135 +1,182 @@