Commit Graph

278 Commits

Author SHA1 Message Date
coderrob 659264dad4 Fix invalid deprecated import paths in plugins/techdocs-backend
Signed-off-by: coderrob <coderrob@users.noreply.github.com>
2023-08-03 12:53:37 -05:00
Vincenzo Scamporlino 2cccf58ef1 chore: config to rootConfig
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2023-07-31 17:11:00 +02:00
Emma Indal ab61195ea9 update api reports
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Camila Loiola <camilaibs@gmail.com>
2023-03-21 09:30:38 +01:00
Emma Indal fde0f1951a fix exports of deprecated collators/types
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Camila Loiola <camilaibs@gmail.com>
2023-03-21 09:30:34 +01:00
Camila Belo 1adc2c787e feat(search): create search collator modules
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-03-21 09:30:04 +01:00
Oleg S a09223a505 rename pluginId for todo-backend & techdocs-backend to 'todo' and 'techdocs'
Signed-off-by: Oleg S <97077423+RobotSail@users.noreply.github.com>
2023-03-10 10:03:29 -05:00
Oleg S c041efd53d exposes the techdocs plugin as an alpha plugin
Signed-off-by: Oleg S <97077423+RobotSail@users.noreply.github.com>
2023-03-10 10:03:29 -05:00
Oleg S 92b495328b expose the techdocs-backend plugin using the new system
Signed-off-by: Oleg S <97077423+RobotSail@users.noreply.github.com>
2023-03-10 10:03:28 -05:00
Morgan Bentell d384a49618 Merge pull request #16325 from RoadieHQ/improve-error
docs error more explanatory
2023-02-23 09:02:58 +01:00
Patrik Oldsberg 61055f106b update /alpha imports to fix all type issues
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-21 14:42:38 +01:00
Brian Fletcher 40298b0277 docs error more explanatory
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-02-14 08:49:37 +00:00
Morgan Bentell f9f63f7d22 Merge pull request #16116 from RoadieHQ/keep-sync-alive
keep event stream alive even if its taking a while
2023-02-13 11:52:13 +01:00
Patrik Oldsberg 5febb216fe backend-plugin-api: refactor CacheService to lift up client methods to the service
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-10 10:19:44 +01:00
Brian Fletcher 965b0155dd add test for sync heartbeat
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-02-09 08:02:22 +00:00
Andre Wanlin 943c245b6f Updated to use siteOptions object
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2023-02-08 15:21:29 +01:00
Andre Wanlin 15b6eaf533 Large refactor
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2023-02-08 15:21:29 +01:00
Andre Wanlin 339d9a5b5c Use default when no mkdocs config found
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2023-02-08 15:21:29 +01:00
Brian Fletcher 6f097023fc keep event stream alive even if its taking a while
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-02-01 15:07:59 +00:00
Johan Haals 4ae89dbce6 backend-common: Remove read method from UrlReader
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2023-01-02 16:34:54 +01:00
Eric Peterson aff7351fa5 Use non-deprecated TestPipeline static methods
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-11-25 15:22:32 +01:00
Fredrik Adelöw 7573b65232 get rid of circular imports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-10-25 11:00:05 +02:00
Johan Haals a7607b5413 backend-common: Deprecate read in favour of readUrl in UrlReader
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-10-20 15:01:49 +02:00
Eric Peterson dd6fa27a9f Merge pull request #14067 from backstage/search/tag-log-document-type
[Search] Tag indexing logs with documentType
2022-10-16 16:37:10 +02:00
Morgan 847eb6fdce format and add backticks to changeset file
Signed-off-by: Morgan <mbentell@spotify.com>
2022-10-11 09:45:50 +02:00
Eric Peterson 8006f8a602 Tag indexing logs with document type
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-10-10 18:02:33 +02:00
Morgan a64064f0d3 add optional argument to createRouter to allow injection of CatalogClient to techdocs backend
Signed-off-by: Morgan <mbentell@spotify.com>
2022-10-10 15:31:43 +02:00
Fredrik Adelöw aaab1e34da Fix linting errors after #13392
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-30 13:44:09 +02:00
Patrik Oldsberg 0d0b86fb5b techdocs-backend: fix http mock in cacheMiddleware test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-07-12 13:34:27 +02:00
Eric Peterson 61fba6e50b Limit concurrent local TechDocs builds.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-06-02 16:25:27 +02:00
blam 9b42562a1b chore: fix two problematic tests
Signed-off-by: blam <ben@blam.sh>
2022-05-31 12:33:35 +02:00
Patrik Oldsberg be89d6e7f3 fix references to search-backend-node
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-05-21 10:48:34 +02:00
Camila Belo d8a65cc89e Merge pull request #10378 from bridgetbarnes/techdocs-sync-log
[TechDocs] Use DocsSyncroniser logger to get doc build logs
2022-05-19 11:54:01 +02:00
Eric Peterson 1b3ba5d198 Work around node-fetch 2.x bug in TechDocs collator
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-05-12 15:24:18 +02:00
Bridget Barnes d147f5ca15 Use transport, not logger
Signed-off-by: Bridget Barnes <bbarnes@seek.com.au>
2022-04-28 13:41:53 +10:00
Bridget Barnes 0fffa59941 Add test
Add test

Signed-off-by: Bridget Barnes <bbarnes@seek.com.au>
2022-04-14 10:12:53 +10:00
Bridget Barnes fe5474e0c9 make optional
Signed-off-by: Bridget Barnes <bbarnes@seek.com.au>
2022-04-14 10:12:53 +10:00
Bridget Barnes 42bd92aee4 try injection
Signed-off-by: Bridget Barnes <bbarnes@seek.com.au>
2022-04-14 10:12:52 +10:00
Bridget Barnes 5de5998aa9 Use logger in syncroniser for tech docs
Signed-off-by: Bridget Barnes <bbarnes@seek.com.au>
2022-04-14 10:12:52 +10:00
Mike Lewis ada4446733 permission-common: use createCondition helper when creating conditions
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-22 14:32:38 -04:00
Eric Peterson 7762d54200 Fix TechDocs backend cache bug on HEAD request.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-03-18 11:23:50 +01:00
Fredrik Adelöw 6565f2c50b Merge pull request #10147 from rex4539/typos
Fix typos
2022-03-15 11:01:46 +01:00
Emma Indal 1bc516bdfb remove unused import
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-14 22:39:18 +01:00
Emma Indal b44692890b tests fixups
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-14 22:39:18 +01:00
Emma Indal b83063afe0 clean up deprecations of techdocs-backend plugin
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-14 22:39:18 +01:00
Dimitris Apostolou aedd4daa66 Fix typos
Signed-off-by: Dimitris Apostolou <dimitris.apostolou@icloud.com>
2022-03-13 14:12:05 +02:00
Fredrik Adelöw 3c2bc73901 add setupRequestMockHandlers to backend-test-utils
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-06 17:06:45 +01:00
Eric Peterson c938e0d61d Merge pull request #9952 from backstage/iameap/mv-techdocs-search-common 2022-03-04 20:06:39 +01:00
Eric Peterson 3e54f6c436 Use @backstage/plugin-search-common instead of @backstage/search-common
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-03-04 18:47:55 +01:00
Fredrik Adelöw ed027b8b28 just fix some random ugly comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-04 16:59:57 +01:00
Eric Peterson 91bf1e6c1a Use @backstage/plugin-techdocs-node instead of @backstage/techdocs-common
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-03-04 09:54:19 +01:00