Commit Graph

5898 Commits

Author SHA1 Message Date
Fredrik Adelöw 92feb76252 Make the inventory backend standalone runnable
And also make a proposed split of how the loggers are handled.

Now logs look like

```
{
  "type": "incomingRequest",
  "service": "backstage",
  "timestamp": "2020-04-30T14:29:04.002Z",
  "message": "...",
  "level": "info"
}
```

for requests, and then if the plugin logs something properly

```
{
  "type": "plugin",
  "service": "backstage",
  "plugin": "inventory",
  "timestamp": "2020-04-30T14:29:04.002Z",
  "message": "...",
  "level": "info"
}
```
2020-05-01 21:59:20 +02:00
blam d7bb95b87a refactor: move to globby instead of glob library for nice promises and efficiency! 2020-05-01 18:27:43 +02:00
blam b17462af8b chore(scaffolder): compiled is now .esm not .cjs 2020-05-01 17:35:34 +02:00
blam fb71dc957c Merge branch 'master' of github.com:spotify/backstage into blam/scaffolder
* 'master' of github.com:spotify/backstage:
  packages/cli: added jest transform for .esm.js files
  plugins/graphiql: use dynamic import to load graphiql
  packages/cli: target modern browsers and switch output to module
  packages/storybook: make local core imports resolve to core src
  packages/storybook: use ts-loader for JS too
2020-05-01 17:19:55 +02:00
Patrik Oldsberg 85452a02b7 plugins/graphiql: use dynamic import to load graphiql 2020-05-01 15:55:48 +02:00
Patrik Oldsberg b87d266c74 packages/cli: target modern browsers and switch output to module 2020-05-01 15:55:47 +02:00
blam 3be8104c5b chore: woops wrong name here 2020-05-01 04:13:46 +02:00
blam c795d6fbbf Merge branch 'master' of github.com:spotify/backstage into blam/scaffolder
* 'master' of github.com:spotify/backstage:
  404 page (#681)
  packages/core: remove old widget related things
  Address comments
  Add TabbedCard and CardTab to the exported layouts components
  Add a backend-common package with common concerns such as logging
  Move backend lint config to cli config
  Translate SortableTable to Typescript
2020-05-01 03:44:30 +02:00
Ivan Shmidt 00efbfe87e feat: save token to session storage and read from it 2020-04-30 16:37:07 +02:00
Ivan Shmidt 6082897382 feat: proper api flow implementation 2020-04-30 16:19:00 +02:00
Nikita Nek Dudnik a0c9155272 feat: build name, status and ID 2020-04-30 11:55:22 +02:00
Ivan Shmidt 564c0954ec feat(circleci-plugin): nice table view 2020-04-30 11:29:43 +02:00
Ivan Shmidt cbda9adb45 feat: token input and showing list of builds 2020-04-29 17:05:29 +02:00
Nikita Nek Dudnik 6f58e92fc7 Create plugin draft 2020-04-29 16:34:35 +02:00
Fredrik Adelöw 69a3fa79e7 Move backend lint config to cli config 2020-04-29 11:01:40 +02:00
blam 247e58689b Merge branch 'blam/scaffolder' of github.com:spotify/backstage into blam/scaffolder
* 'blam/scaffolder' of github.com:spotify/backstage: (34 commits)
  yarn.lock: bump eslint-plugin-notice
  packages/dev-utils: use doc comments + text fix in README
  darkMode: fix HorizontalScrollGrid (#666) (#668)
  darkMode: fix bottom link (#664)
  Add padding for all Stories (#663)
  Use useInterval() hook to refetch audit status in lighthouse plugin WIP (#623)
  run yarn install against master yarn.lock
  changed object to Partial type
  adjust getBBox polyfill logic
  re-ran yarn.lock
  added initial docs
  added tests for RadarPage
  re-ran yarn install
  add polyfill for SVGElement.prototype.getBBox (not supported in JSDOM)
  migrated RadarBubble to material-ui styles
  migrated RadarEntry to material-ui styles
  migrated RadarFooter to material-ui styles
  migrated RadarLegend to material-ui styles
  migrated RadarGrid to material-ui styles
  removed css modules from css
  ...
2020-04-28 22:55:04 +02:00
blam 62b917f41b chore(scaffolder): fixing linting issues in the repo 2020-04-28 22:53:59 +02:00
Ben Lambert 48d0c61f2a Merge branch 'master' into blam/scaffolder 2020-04-28 22:46:02 +02:00
blam 9635983e5a feat(scaffolder): adding some more stuff and some initial sample template 2020-04-28 22:38:34 +02:00
Patrik Oldsberg 49049665d4 Merge pull request #653 from spotify/rugvip/dev-utils
Add new dev-utils package with createDevApp() to simplify plugin dev setup
2020-04-28 16:20:30 +02:00
blam e104fb007c chore: remworking some files after PR comment 2020-04-28 01:06:29 +02:00
blam 96929febac chore(scaffolder) fixing likes 2020-04-27 18:02:46 +02:00
blam 5111ca4f90 chore(scaffolder): cleanup 2020-04-27 18:02:42 +02:00
blam c62c43d12f feat(scaffolder): working more on the scaffolder to make it nice 2020-04-27 18:02:35 +02:00
blam a86f111b97 feat(scaffolder): make the scaffolder repository a little more flexible so we can load from multiple sources 2020-04-27 18:02:24 +02:00
blam 142f57949d feat: using some of the latest work from @freben to align with the backend plugin strategy 2020-04-27 18:02:02 +02:00
Jose Balanza Martinez ea880db04a Use useInterval() hook to refetch audit status in lighthouse plugin WIP (#623)
* Fix error when using yarn lint

* Update logic for create app

* Add eslint-react-hooks

* Move common utils to utils.ts

* Add AuditListRow that refetches the audit

* Fixed Audit state using a react component

* Change AuditListRow to AuditRow

* Fixed some eslint-react-hooks warnings

* Change AuditListRow to AuditRow

* Merge

* Fixes tests in AuditListTable.test.tsx

* Refactored based on freben's review

* Remove eslint-plugin-react-hooks
2020-04-27 16:59:52 +02:00
Bilawal Hameed e7f25aa91b changed object to Partial type 2020-04-27 15:02:40 +02:00
Bilawal Hameed e9ba3895a9 adjust getBBox polyfill logic 2020-04-27 15:02:40 +02:00
Bilawal Hameed 9fdc99c3e8 added initial docs 2020-04-27 15:02:40 +02:00
Bilawal Hameed 4faf199f72 added tests for RadarPage 2020-04-27 15:02:40 +02:00
Bilawal Hameed e6af811771 add polyfill for SVGElement.prototype.getBBox (not supported in JSDOM) 2020-04-27 15:02:40 +02:00
Bilawal Hameed 521015ed26 migrated RadarBubble to material-ui styles 2020-04-27 15:02:40 +02:00
Bilawal Hameed 6b6d31a556 migrated RadarEntry to material-ui styles 2020-04-27 15:02:40 +02:00
Bilawal Hameed 60f4ca9797 migrated RadarFooter to material-ui styles 2020-04-27 15:02:40 +02:00
Bilawal Hameed d09c5332bf migrated RadarLegend to material-ui styles 2020-04-27 15:02:40 +02:00
Bilawal Hameed 1c3c6aa2a4 migrated RadarGrid to material-ui styles 2020-04-27 15:02:40 +02:00
Bilawal Hameed c521e175f9 removed css modules from css 2020-04-27 15:02:40 +02:00
Bilawal Hameed 54908acd59 fixed linting errors 2020-04-27 15:02:40 +02:00
Bilawal Hameed 02969e44e5 added example implementation 2020-04-27 15:02:39 +02:00
Bilawal Hameed cdcb414412 migrated tech radar from internal implementation 2020-04-27 15:02:39 +02:00
Bilawal Hameed 1660be5f84 added packages: d3-force, colors, prop-types 2020-04-27 15:02:39 +02:00
Bilawal Hameed 822701684b added skeleton 2020-04-27 15:02:39 +02:00
Fredrik Adelöw 6fdef8ac9b Address comments 2020-04-27 10:01:57 +02:00
Fredrik Adelöw c89f7d000e Add skeleton for inventory plugin 2020-04-27 09:22:30 +02:00
Patrik Oldsberg 6ab99a2052 plugins/graphiql: move dev and test utils to devDependencies 2020-04-26 17:26:49 +02:00
Patrik Oldsberg e62bd2b431 plugins/home-page: use dev-utils to set up dev app 2020-04-26 17:26:49 +02:00
Patrik Oldsberg b81ebe7e72 packages/dev-utils: refactor to be more like createApp 2020-04-26 17:26:48 +02:00
Patrik Oldsberg 53c0d19e8d plugins/graphiql: use dev-utils to set up dev serve 2020-04-26 14:19:20 +02:00
Patrik Oldsberg 2526eebdf1 Merge pull request #646 from spotify/rugvip/graphiql
[Plugin] Add GraphiQL Plugin
2020-04-26 14:18:52 +02:00