From 2a0371c306c7390f48bacef9a3dbc1e0f7c5d254 Mon Sep 17 00:00:00 2001 From: blam Date: Sat, 20 Jun 2020 05:59:40 +0200 Subject: [PATCH] chore(scaffolder): resetting loading the mock data --- plugins/scaffolder-backend/scripts/mock-data | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/plugins/scaffolder-backend/scripts/mock-data b/plugins/scaffolder-backend/scripts/mock-data index 7f534fec97..be3fa2b6cf 100755 --- a/plugins/scaffolder-backend/scripts/mock-data +++ b/plugins/scaffolder-backend/scripts/mock-data @@ -1,14 +1,8 @@ #!/usr/bin/env bash -# curl \ -# --location \ -# --request POST 'localhost:7000/catalog/locations' \ -# --header 'Content-Type: application/json' \ -# --data-raw "{\"type\": \"file\", \"target\": \"$(pwd)/sample-templates/react-ssr-template/template.yaml\"}" - - curl \ - --location \ - --request POST 'localhost:7000/catalog/locations' \ - --header 'Content-Type: application/json' \ - --data-raw "{\"type\": \"github\", \"target\": \"https://github.com/benjdlambert/backstage-graphql-template/blob/master/template.yaml\"}" +--location \ +--request POST 'localhost:7000/catalog/locations' \ +--header 'Content-Type: application/json' \ +--data-raw "{\"type\": \"file\", \"target\": \"$(pwd)/sample-templates/react-ssr-template/template.yaml\"}" +