catalog-backend: move template mock-data call to scaffolder-backend

This commit is contained in:
Patrik Oldsberg
2020-07-29 16:22:30 +02:00
parent 9d5f9132e9
commit dc6d2db444
2 changed files with 7 additions and 8 deletions
@@ -17,11 +17,3 @@ for URL in \
--data-raw "{\"type\": \"github\", \"target\": \"https://github.com/spotify/backstage/blob/master/packages/catalog-model/examples/${URL}\"}"
echo
done
curl \
--location \
--request POST 'localhost:7000/catalog/locations' \
--header 'Content-Type: application/json' \
--data-raw "{\"type\": \"github\", \"target\": \"https://github.com/benjdlambert/cookiecutter-golang/blob/master/template.yaml\"}"
echo
@@ -12,3 +12,10 @@ for URL in \
--data-raw "{\"type\": \"file\", \"target\": \"$(pwd)/sample-templates/${URL}/template.yaml\"}"
echo
done
curl \
--location \
--request POST 'localhost:7000/catalog/locations' \
--header 'Content-Type: application/json' \
--data-raw "{\"type\": \"github\", \"target\": \"https://github.com/benjdlambert/cookiecutter-golang/blob/master/template.yaml\"}"
echo