Commit caf70135 authored by Addshore's avatar Addshore 🏄
Browse files

t

parent 74abd7f0
......@@ -20,4 +20,11 @@ backend:
cors:
origin: https://backstage.toolforge.org
methods: [GET, POST, PUT, DELETE]
credentials: true
\ No newline at end of file
credentials: true
catalog:
rules:
- allow: [Component, System, API, Group, User, Resource, Location]
locations:
- type: url
target: https://github.com/addshore/wm-backstage/blob/main/data/all.yaml
\ No newline at end of file
......@@ -23,6 +23,9 @@ backend:
cache:
store: memory
# workingDirectory: /tmp # Use this to configure a working directory for the scaffolder, defaults to the OS temp-dir
reading:
allow:
- host: localhost:3001
integrations:
github:
......@@ -63,32 +66,4 @@ catalog:
- allow: [Component, System, API, Group, User, Resource, Location]
locations:
- type: url
target: https://github.com/addshore/wm-backstage/blob/main/catalog-info.yaml
- type: url
target: https://github.com/addshore/wm-backstage/blob/main/data/all-components.yaml
- type: url
target: https://github.com/addshore/wm-backstage/blob/main/data/all-systems.yaml
- type: url
target: https://github.com/addshore/wm-backstage/blob/main/data/all-apis.yaml
- type: url
target: https://github.com/addshore/wm-backstage/blob/main/data/all-resources.yaml
- type: url
target: https://github.com/addshore/wm-backstage/blob/main/data/acme.yaml
# # Backstage example templates
# - type: url
# target: https://github.com/backstage/software-templates/blob/main/scaffolder-templates/react-ssr-template/template.yaml
# rules:
# - allow: [Template]
# - type: url
# target: https://github.com/backstage/software-templates/blob/main/scaffolder-templates/springboot-grpc-template/template.yaml
# rules:
# - allow: [Template]
# - type: url
# target: https://github.com/spotify/cookiecutter-golang/blob/master/template.yaml
# rules:
# - allow: [Template]
# - type: url
# target: https://github.com/backstage/software-templates/blob/main/scaffolder-templates/docs-template/template.yaml
# rules:
# - allow: [Template]
target: http://localhost:3001/data/all.yaml
\ No newline at end of file
......@@ -2,7 +2,7 @@ apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: wikimedia
description: A collection of all Wikimedia groups
description: The Wikimedia Movement, and everything it entails
spec:
targets:
- ./acme/wmde.yaml
......
......@@ -6,10 +6,11 @@
"node": "12 || 14"
},
"scripts": {
"dev": "concurrently \"yarn start-frontend\" \"yarn start-backend\"",
"dev": "concurrently \"yarn start-frontend\" \"yarn start-backend\" \"npm run-script start-static\"",
"start": "node packages/backend --config app-config.yaml --config app-config.production.yaml",
"start-frontend": "yarn workspace app start",
"start-backend": "yarn workspace backend start",
"start-static": "node ./node_modules/.bin/http-server -p 3001 -a 127.0.0.1 --no-dotfiles ./",
"build": "lerna run build",
"build-image": "yarn workspace backend build-image",
"tsc": "tsc",
......@@ -38,6 +39,7 @@
"@backstage/cli": "^0.7.11",
"@spotify/prettier-config": "^7.0.0",
"concurrently": "^6.0.0",
"http-server": "^13.0.2",
"lerna": "^4.0.0",
"prettier": "^2.3.2"
},
......
......@@ -5560,6 +5560,11 @@ base@^0.11.1:
mixin-deep "^1.2.0"
pascalcase "^0.1.1"
 
basic-auth@^1.0.3:
version "1.1.0"
resolved "https://registry.yarnpkg.com/basic-auth/-/basic-auth-1.1.0.tgz#45221ee429f7ee1e5035be3f51533f1cdfd29884"
integrity sha1-RSIe5Cn37h5QNb4/UVM/HN/SmIQ=
basic-auth@~2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/basic-auth/-/basic-auth-2.0.1.tgz#b998279bf47ce38344b4f3cf916d4679bbf51e3a"
......@@ -6477,7 +6482,7 @@ colorette@^1.2.2, colorette@^1.3.0:
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.4.0.tgz#5190fbb87276259a86ad700bff2c6d6faa3fca40"
integrity sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==
 
colors@^1.1.2, colors@^1.2.1:
colors@^1.1.2, colors@^1.2.1, colors@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78"
integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==
......@@ -6871,6 +6876,11 @@ cors@^2.8.5:
object-assign "^4"
vary "^1"
 
corser@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/corser/-/corser-2.0.1.tgz#8eda252ecaab5840dcd975ceb90d9370c819ff87"
integrity sha1-jtolLsqrWEDc2XXOuQ2TcMgZ/4c=
cosmiconfig@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982"
......@@ -9882,7 +9892,7 @@ hastscript@^6.0.0:
property-information "^5.0.0"
space-separated-tokens "^1.0.0"
 
he@1.2.0, he@^1.2.0:
he@1.2.0, he@^1.1.0, he@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==
......@@ -10097,7 +10107,7 @@ http-proxy-middleware@^2.0.0:
is-plain-obj "^3.0.0"
micromatch "^4.0.2"
 
http-proxy@^1.18.1:
http-proxy@^1.18.0, http-proxy@^1.18.1:
version "1.18.1"
resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549"
integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==
......@@ -10106,6 +10116,24 @@ http-proxy@^1.18.1:
follow-redirects "^1.0.0"
requires-port "^1.0.0"
 
http-server@^13.0.2:
version "13.0.2"
resolved "https://registry.yarnpkg.com/http-server/-/http-server-13.0.2.tgz#36f8a8ae0e1b78e7bf30a4dfb01ae89b904904ef"
integrity sha512-R8kvPT7qp11AMJWLZsRShvm6heIXdlR/+tL5oAWNG/86A/X+IAFX6q0F9SA2G+dR5aH/759+9PLH0V34Q6j4rg==
dependencies:
basic-auth "^1.0.3"
colors "^1.4.0"
corser "^2.0.1"
he "^1.1.0"
http-proxy "^1.18.0"
mime "^1.6.0"
minimist "^1.2.5"
opener "^1.5.1"
portfinder "^1.0.25"
secure-compare "3.0.1"
union "~0.5.0"
url-join "^2.0.5"
http-signature@~1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
......@@ -12853,7 +12881,7 @@ mime-types@^2.0.8, mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.31, m
dependencies:
mime-db "1.49.0"
 
mime@1.6.0:
mime@1.6.0, mime@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"
integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==
......@@ -13892,6 +13920,11 @@ openapi-sampler@^1.0.0-beta.15:
"@types/json-schema" "^7.0.7"
json-pointer "^0.6.1"
 
opener@^1.5.1:
version "1.5.2"
resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598"
integrity sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==
openid-client@^4.2.1:
version "4.7.5"
resolved "https://registry.yarnpkg.com/openid-client/-/openid-client-4.7.5.tgz#44b672911dab4d014189699440301f1275ee5537"
......@@ -14592,7 +14625,7 @@ popper.js@1.16.1-lts:
resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.16.1-lts.tgz#cf6847b807da3799d80ee3d6d2f90df8a3f50b05"
integrity sha512-Kjw8nKRl1m+VrSFCoVGPph93W/qrSO7ZkqPpTf7F4bk/sqcfWK019dWBUpE/fBOsOQY1dks/Bmcbfn1heM/IsA==
 
portfinder@^1.0.28:
portfinder@^1.0.25, portfinder@^1.0.28:
version "1.0.28"
resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.28.tgz#67c4622852bd5374dd1dd900f779f53462fac778"
integrity sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA==
......@@ -15137,7 +15170,7 @@ qs@6.7.0:
resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc"
integrity sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==
 
qs@^6.10.1, qs@^6.7.0, qs@^6.9.1, qs@^6.9.4:
qs@^6.10.1, qs@^6.4.0, qs@^6.7.0, qs@^6.9.1, qs@^6.9.4:
version "6.10.1"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.1.tgz#4931482fa8d647a5aab799c5271d2133b981fb6a"
integrity sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==
......@@ -16399,6 +16432,11 @@ screenfull@^5.0.0, screenfull@^5.1.0:
resolved "https://registry.yarnpkg.com/screenfull/-/screenfull-5.1.0.tgz#85c13c70f4ead4c1b8a935c70010dfdcd2c0e5c8"
integrity sha512-dYaNuOdzr+kc6J6CFcBrzkLCfyGcMg+gWkJ8us93IQ7y1cevhQAugFsaCdMHb6lw8KV3xPzSxzH7zM1dQap9mA==
 
secure-compare@3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/secure-compare/-/secure-compare-3.0.1.tgz#f1a0329b308b221fae37b9974f3d578d0ca999e3"
integrity sha1-8aAymzCLIh+uN7mXTz1XjQypmeM=
select-hose@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca"
......@@ -18250,6 +18288,13 @@ union-value@^1.0.0:
is-extendable "^0.1.1"
set-value "^2.0.1"
 
union@~0.5.0:
version "0.5.0"
resolved "https://registry.yarnpkg.com/union/-/union-0.5.0.tgz#b2c11be84f60538537b846edb9ba266ba0090075"
integrity sha512-N6uOhuW6zO95P3Mel2I2zMsbsanvvtgn6jVqJv4vbVcz/JN0OkL9suomjQGmWtxJQXOCqUJvquc1sMeNz/IwlA==
dependencies:
qs "^6.4.0"
uniqs@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02"
......@@ -18389,6 +18434,11 @@ urix@^0.1.0:
resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72"
integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=
 
url-join@^2.0.5:
version "2.0.5"
resolved "https://registry.yarnpkg.com/url-join/-/url-join-2.0.5.tgz#5af22f18c052a000a48d7b82c5e9c2e2feeda728"
integrity sha1-WvIvGMBSoACkjXuCxenC4v7tpyg=
url-loader@^4.1.0:
version "4.1.1"
resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-4.1.1.tgz#28505e905cae158cf07c92ca622d7f237e70a4e2"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment