Commit Graph

111 Commits

Author SHA1 Message Date
Brian Leathem 5c485ff60f Added a auth.session.secret config value for setting the express session secret 2020-11-20 11:57:10 -08:00
Brian Leathem 8d948b243b Implement a generic OpenIdConnect auth-provider 2020-11-20 11:57:10 -08:00
Oliver Sand 742196725f Fix some minor things from my previous PR
See #3293
2020-11-20 14:09:05 +01:00
Oliver Sand 0c21212400 Add support for reading groups and users from the Microsoft Graph API. (#3293)
* Add support for reading groups and users from the Microsoft Graph API.

* Limit amount of parallel requests

* Add helper for paging in odata collections

* Add tests for the microsoft graph reader

* Output the correct relations between groups and users
2020-11-20 12:53:12 +01:00
Patrik Oldsberg b8eba8219e config-loader: enable validation of required props in d.ts definitions + fix issues 2020-11-18 11:31:16 +01:00
Mateusz Lewtak b4204066f0 Feat: Add BuildKite CI/CD Plugin to sample app (#3248)
* Feat: Add BuildKite CI/CD Plugin to sample app

* Feat: Add EntityPage test, bump plugin version

* Feat: update package.json

* feat: run prettier

* Feat: update test code after CR
2020-11-10 16:02:13 +01:00
Tim Hansen 9a294574c8 Fix styling issue on Cost Insights product panels with no cost 2020-11-04 10:54:41 -07:00
Fredrik Adelöw 42b0dbddcb feat(catalog-client): create a basic catalog client (#3166) 2020-11-04 13:18:03 +01:00
Patrik Oldsberg af141c0766 rewrite repo location urls 2020-11-03 11:03:49 +01:00
Forrest Waters 21e071fa6c working onelogin auth implementation 2020-10-29 12:02:32 -05:00
Mattias Frinnström 7f417559bb Move working directory config to backend 2020-10-27 12:15:27 +01:00
Mattias Frinnström 4e9453d6ed Add workdir config support to scaffolder 2020-10-27 12:15:27 +01:00
Patrik Oldsberg c633158fda scaffolder-backend: default github api url to api.github.com 2020-10-26 23:29:10 +01:00
Patrik Oldsberg 4ab6f559dd app-config: merged dev config back into main config 2020-10-22 10:52:07 +02:00
Brian Fletcher 4f6d40db34 adds a sample organization set of users and groups (#2963)
The top level is the acme-corp Group. Here is the graph

               acme-corp
                  |
              infrastructure
                  |
            _______________
           |               |
   backstage             boxoffice
     |    |               |    |
  team-a team-b      team-c  team-d

The members of those groups are as follows:

team-a:          team-b:          team-c:           team-d:
Janelle Dawe     Jenny Doe        Frank Tiernan     Eva MacDowell
Nigel Manning    Jonathon Page    Tara MacGovern    Lucy Sheehan
Breanna Davison  Amelia Park      Sarah Gilroy
                 Justine Barrow   Peadar MacMahon
                 Colette Brock    Calum Leavy
2020-10-21 21:20:15 +01:00
Patrik Oldsberg a7e4377c3e Merge pull request #2934 from RoadieHQ/google-analytics
Add Google Analytics support
2020-10-17 10:38:00 +02:00
Ryan Vazquez 31e03cca48 Merge pull request #2886 from spotify/cost-insights-comparable-metrics
Cost insights comparable metrics
2020-10-16 12:05:24 -04:00
David Tuite 71de0d8aee Add Google Analytics
Specity a Google Analytics Tracking ID in the `app-config.yaml` to
enable Google Analytics tracking.

```
app:
  title:
  baseUrl:
  googleAnalyticsTrackingId: UA-000000-0
```

If the `googleAnalyticsTrackingId` is not supplied, no tracking script
is added to the application and no tracking can occur.

Includes Helm chart changes to allow overriding the GA Tracking ID.
2020-10-16 14:55:24 +01:00
Ryan Vazquez d47e2287b5 compare -> default; deprecate dailyCost as metric; cleanup 2020-10-16 09:54:28 -04:00
Fredrik Adelöw 14f9daf942 Merge pull request #2913 from markuscodes1/feature/github-scaffolder-baseurl
Scaffolder backend- provide base url for creating apps in Enterprise GitHub
2020-10-16 14:35:33 +02:00
Althaf Hameez 275b7f001a Change default organization to be set to My Company instead of Spotify / Acme Organization (#2918) 2020-10-16 08:49:25 +02:00
Fredrik Adelöw 48f2c93978 Merge pull request #2904 from spotify/iameap/hacks-newrelic
New Relic Plugin Base Improvements
2020-10-15 22:59:08 +02:00
Markus Heinemann 5c46f0d337 Rename config property for custom github scaffolder host 2020-10-15 20:35:43 +00:00
Markus Heinemann 6943ead4c6 feat: add base url config property to github scaffholders 2020-10-15 13:04:12 +00:00
Eric Peterson c64a0a47ea Use new expected proxy configs to hit New Relic API. 2020-10-14 17:54:15 +02:00
Matthew Clarke 0ede39fd08 split service locator and cluster locators (#2900)
* split service locator and cluster locators

* fix test
2020-10-14 15:46:11 +01:00
Ryan Vazquez 54504deb13 tweak custom metric verbiage 2020-10-13 16:43:45 -04:00
Ryan Vazquez 1268eadd19 add metric comparison to top panel 2020-10-13 16:01:50 -04:00
Marvin9 f05e4b9608 re: make consistent environment variables
GITHUB_PRIVATE_TOKEN & GITHUB_ACCESS_TOKEN => GITHUB_TOKEN
GITLAB_PRIVATE_TOKEN, GITLAB_ACCESS_TOKEN & SCAFFOLDER_GITLAB_PRIVATE_TOKEN => GITLAB_TOKEN
AZURE_PRIVATE_TOKEN => AZURE_TOKEN
GHE_PRIVATE_TOKEN => GHE_TOKEN
2020-10-08 10:34:06 +05:30
Fredrik Adelöw b9c8062c08 feat(catalog): add an ldap processor 2020-10-05 14:59:11 +02:00
Patrik Oldsberg 6775deef9b update docs and examples to use shorter config secret syntax 2020-10-04 16:51:00 +02:00
Patrik Oldsberg 238715aac2 config,docs: switch to using url location type 2020-10-03 11:55:23 +02:00
Patrik Oldsberg 41d55e8d76 backend-common: refactor UrlReaders and factories to be centered around predicates 2020-10-03 11:55:20 +02:00
Patrik Oldsberg 2b7c1b70f9 app-config: move catalog processor configs to new readers key 2020-10-03 11:55:19 +02:00
Emma Indal 497675538c TechDocs: browse metadata (#2682)
* feat(techdocs): TechDocsPageWrapper to take in labels prop and use TechDocsHeader component

* feat(techdocs): new TechDocsHeader component as wrapper around Header from core

* feat(techdocs): TechDocsPage metadata

* feat(techdocs): TechDocsMetadata class responsible for reading metadata from generated techdocs metadata json file

* fix(techdocs): delete TechDocsPageWrapper component

* fix(app-config): delete /docs from request url

* feat(techdocs): TechDocsHeader with labels to browse metadata

* fix(techdocs): move metadata to backend plugin

* feat(techdocs-backend): introduce two new metadata routes

* feat(techdocs): new techdocs api to be responsible to request metadata from backend

* feat(techdocs): register new api for plugin

* fix(techdocs): reader to take in onReady prop

* fix(techdocs): TechDocsHome component to use its own header

* fix(techdocs): TechDocsPage responsible to get metadata and pass it down to the TechDocsHeader

* fix(techdocs): component tests for both TechDocsHeader and TechDocsPage

* fix(techdocs): adjust api to use /docs in url since it was taken away in requestURL

* fix(tests): move assertion into act

* fix(techdocs): rename TechDocsHeader to TechDocsPageHeader

* fix(techdocs): rename TechDocsHeader to TechDocsPageHeader

* fix(techdocs-backend): add some logs

* Update plugins/techdocs/src/reader/components/TechDocsPage.test.tsx

* delete unused import
2020-10-01 10:12:24 +02:00
Althaf Hameez a06a13c30d Read from App Config to configure HomepageTimer (#2673)
* Read from Config for timezone timers

* Remove recusrive dependency on backstage/core and fix tsc errors

* Modify to use ConfigArray instead of fixed Config

* Fix lint and tsc errors

* Cean up app-config.yaml

* add back newline

* Fix prettier error on app-config.yaml

* Address review comments
2020-09-30 20:47:06 +02:00
Fredrik Adelöw dc6b1e7c79 Merge pull request #2669 from spotify/freben/github-org
feat(catalog-backend): implement github org entity ingestion
2020-09-30 15:08:24 +02:00
Fredrik Adelöw c6ba9cba49 feat(catalog-backend): implement github org entity ingestion 2020-09-30 07:33:49 +02:00
Ben Lambert 2d37f700a2 Merge pull request #2543 from mfrinnstrom/azure-scaffolder-prepare
Add Azure DevOps support to the scaffolder
2020-09-28 23:44:19 +02:00
Ryan Vazquez 0c2ed5979d Merge pull request #2637 from spotify/plugin-cost-insights
Cost Insights Plugin
2020-09-28 15:46:02 -04:00
Ryan Vazquez a4281932fb add cost insights plugin 2020-09-28 15:20:31 -04:00
Ben Lambert 2c33a29c7c Merge pull request #2621 from andrewthauer/fix/circleci-proxy-config
fix(circleci): add api route prefix to proxy rewrite path
2020-09-28 15:28:10 +02:00
Marek Calus 0ed398633a Integrate with travis-ci plugin 2020-09-28 14:39:58 +02:00
Mattias Frinnström 0f732731ef Restructure config for Azure DevOps scaffolder 2020-09-28 14:19:20 +02:00
Mattias Frinnström 56a9f8389b Add Azure DevOps publisher to scaffolder 2020-09-28 14:19:20 +02:00
Mattias Frinnström c109cbe4df Add Azure prepare stage to scaffolder 2020-09-28 14:19:19 +02:00
Andrew Thauer 572abfe121 fix(circleci): add api route prefix to proxy rewrite path 2020-09-26 06:06:51 -04:00
Fredrik Adelöw ad90193d2a fix(backend): make csp configurable to unbreak app-backend served apps not being able to fetch 2020-09-25 12:20:21 +02:00
Matthew Clarke b16e164815 K8s add cluster lookup (#2571)
* Kubernetes plugins boilerplate

* pr feedback; check for k8s annotation

* temp

* fix config

* add example local setup

* dice rolelr

* rever yarn lock update

* forgotten prettier

* prettier again

* master lock

* update lock with k8s deps

* prettier

* router tests

* internal error

* fix package.json

* PR feedback

* more pr feedback

* rename component file

* kubernetes fetcher tests

* fix test

* option constructor
2020-09-24 16:30:48 +01:00
Patrik Oldsberg 521728348d backend: change the default backend plugin mount point to /api 2020-09-23 09:39:47 +02:00