Commit Graph

9675 Commits

Author SHA1 Message Date
Johan Haals 9afa2d24c6 scaffolder: Fix legacy publish error message 2021-02-05 15:25:34 +01:00
Johan Haals b3b766b79b Scaffolder: Remove sleep 2021-02-05 14:34:00 +01:00
Johan Haals 95cd312d55 scaffolder: Make updateCount errors ConflictError 2021-02-05 14:10:41 +01:00
Johan Haals ba3a6a9be0 Scaffolder: fix typos and log output
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-02-05 13:52:20 +01:00
Johan Haals 6ca31fb834 scaffolder: Flush events to eventstream
Co-authored-by: blam<ben@blam.sh>
2021-02-04 09:42:04 +01:00
Johan Haals 586607e417 Order events by id
Co-authored-by: blam<ben@blam.sh>
2021-02-04 09:39:05 +01:00
Johan Haals ff0eed8200 Remove sleep from prepare step 2021-02-03 10:51:48 +01:00
Johan Haals e5520064ea Drop console log 2021-02-03 10:48:34 +01:00
Johan Haals 1955c62398 Delete unused database code 2021-02-03 10:47:44 +01:00
Johan Haals 693ae8c625 Remove date precision 2021-02-03 10:41:06 +01:00
Johan Haals c386de896d Remove unused dependencies 2021-02-02 16:46:11 +01:00
Johan Haals a173d47527 Delete knexfile 2021-02-02 16:45:28 +01:00
Johan Haals 615103a631 Add changesets
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-02 16:38:04 +01:00
Johan Haals 9b0bba5439 Reshuffle api endpoints 2021-02-02 16:38:04 +01:00
Johan Haals 6608f9f5ee Drop runId, update TaskStore interface
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-02 16:38:03 +01:00
Johan Haals 88c31ab16b Add tests. Extend storage with fetch staletasks method
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-02 16:38:03 +01:00
Johan Haals 5da5e6b224 Delete MemoryTaskStore
This is replaced by running sqlite in memory.
2021-02-02 16:38:02 +01:00
Johan Haals 71dc78b01f Wire up database and rename database classes
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-02 16:38:02 +01:00
Fredrik Adelöw 605eb7f594 scaffolder: add the bare minimum of a db abstraction 2021-02-02 16:38:01 +01:00
Johan Haals 95c2719809 Rename publish to legacy:publish 2021-02-02 16:38:01 +01:00
Johan Haals 7b7230f75b Add getWorkspaceName 2021-02-02 16:38:01 +01:00
Johan Haals abff060e67 Use url from parameters
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-02 16:38:00 +01:00
Johan Haals cf896972ef Wire up task registry with legacy tasks
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-02 16:38:00 +01:00
Johan Haals 8623025c9b Wip wip 2021-02-02 16:38:00 +01:00
Johan Haals fef53431df create logger and stream that emit events 2021-02-02 16:37:59 +01:00
Johan Haals 7d13f22c3d Add eventType for closing observer stream
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-02 16:37:59 +01:00
Johan Haals dfea89fa98 Pass taskSpec in tests 2021-02-02 16:37:59 +01:00
Johan Haals 1c1ff59eba Add new apis using task broker
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-02 16:37:58 +01:00
Johan Haals 4f67e8aa21 Fix typo 2021-02-02 16:37:58 +01:00
Johan Haals 06da4425e0 Prepend broker files with Memory
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-02 16:37:57 +01:00
Johan Haals fcbfc56be8 Add dispatchResult
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-02 16:37:57 +01:00
Johan Haals 971742b6cb return undefined if no task is found 2021-02-02 16:37:56 +01:00
Johan Haals a003fffbbb Use InMemoryDatabase 2021-02-02 16:37:56 +01:00
Johan Haals 5958318b32 Implement createTask and setStatus 2021-02-02 16:37:56 +01:00
Johan Haals 5e06a9f45b Refactor into broker 2021-02-02 16:37:55 +01:00
Johan Haals 21e18aced4 Create inital class structure 2021-02-02 16:37:55 +01:00
Patrik Oldsberg 9587193208 Merge pull request #4358 from backstage/rugvip/workeys
backend-common: use separate integration test keys in CI
2021-02-02 16:03:53 +01:00
Patrik Oldsberg 2f28f821a3 backend-common: use separate integration test keys in CI 2021-02-02 15:24:34 +01:00
Patrik Oldsberg d941f6187b Merge pull request #4346 from backstage/rugvip/scaffort
scaffolder: migrate to new composability API
2021-02-02 13:56:17 +01:00
Patrik Oldsberg 98794d67e3 Merge pull request #4342 from backstage/rugvip/ports
plugins: port welcome and sonarqube plugins to new composability API
2021-02-02 13:55:59 +01:00
Patrik Oldsberg 26caa8bdc6 Merge pull request #4341 from backstage/rugvip/toptools
plugins: port user-settings, api-docs, and gcp-projects to new composability API
2021-02-02 13:53:40 +01:00
Fredrik Adelöw 503f16739a Merge pull request #4294 from adamdmharvey/warning-accordion
core: Update WarningPanel to use accordion UX
2021-02-02 13:15:30 +01:00
Andrew Thauer 17b87a9305 Merge pull request #4327 from andrewthauer/feat/custom-logger
feat(backend-common): support custom logger options
2021-02-02 06:28:32 -05:00
Andrew Thauer 161e4f918c update changeset 2021-02-02 06:12:55 -05:00
Andrew Thauer 2430ee7c2e feat(backend-common): support custom logger options 2021-02-02 06:12:55 -05:00
Himanshu Mishra 06ca8a4fe3 Merge pull request #4352 from backstage/orkohunter/microsite-docs-scroll-nav-sidebar
microsite/docs: Scroll nav sidebar to view to improve discoverability
2021-02-02 12:10:55 +01:00
Fredrik Adelöw bafc677cda Merge pull request #4339 from backstage/freben/google-analytics
docs: add a miniature article about observability
2021-02-02 12:09:30 +01:00
Patrik Oldsberg 20ca5f179f Update packages/dev-utils/src/devApp/render.tsx
Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
2021-02-02 11:34:48 +01:00
Oliver Sand 0354c676e4 Merge pull request #4306 from SDA-SE/feat/api-docs-display-owner
Display owner and system as entity page links in the tables of the `api-docs` plugin
2021-02-02 11:17:00 +01:00
Fredrik Adelöw 3637db954e Merge pull request #4315 from n2ygk/scaffolder_repo_visibility
Add repoVisibility for other-than-GitHub repos
2021-02-02 11:11:30 +01:00