From 540345bf73ae98c964e1ae7fb319237b18c566c8 Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 16 Jul 2020 13:33:30 +0200 Subject: [PATCH] feat(scaffolder): fixing the issues of loading spring boot --- .../sample-templates/springboot-grpc-template/template.yaml | 2 +- .../{{cookiecutter.component_id}}/component-info.yaml | 2 +- plugins/scaffolder-backend/scripts/mock-data.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/scaffolder-backend/sample-templates/springboot-grpc-template/template.yaml b/plugins/scaffolder-backend/sample-templates/springboot-grpc-template/template.yaml index e33e8447bd..d97e151313 100644 --- a/plugins/scaffolder-backend/sample-templates/springboot-grpc-template/template.yaml +++ b/plugins/scaffolder-backend/sample-templates/springboot-grpc-template/template.yaml @@ -2,7 +2,7 @@ apiVersion: backstage.io/v1alpha1 kind: Template metadata: name: springboot-template - title: Spring Boot Service + title: Spring Boot GRPC Service description: Standard Spring Boot (Java) microservice with recommended configuration fpr GRPRC tags: - Recommended diff --git a/plugins/scaffolder-backend/sample-templates/springboot-grpc-template/{{cookiecutter.component_id}}/component-info.yaml b/plugins/scaffolder-backend/sample-templates/springboot-grpc-template/{{cookiecutter.component_id}}/component-info.yaml index 5f479d9e47..f796df8820 100644 --- a/plugins/scaffolder-backend/sample-templates/springboot-grpc-template/{{cookiecutter.component_id}}/component-info.yaml +++ b/plugins/scaffolder-backend/sample-templates/springboot-grpc-template/{{cookiecutter.component_id}}/component-info.yaml @@ -4,6 +4,6 @@ metadata: name: {{cookiecutter.component_id}} description: {{cookiecutter.description}} spec: - type: website + type: service lifecycle: experimental owner: {{cookiecutter.owner}} diff --git a/plugins/scaffolder-backend/scripts/mock-data.sh b/plugins/scaffolder-backend/scripts/mock-data.sh index 86bf9d87f6..68d011b977 100755 --- a/plugins/scaffolder-backend/scripts/mock-data.sh +++ b/plugins/scaffolder-backend/scripts/mock-data.sh @@ -2,7 +2,7 @@ for URL in \ 'react-ssr-template' \ - 'springboot-template' \ + 'springboot-grpc-template' \ 'create-react-app' \ ; do \ curl \