John Philip
7a51a81f6a
regenerate token on every fetch to the search index
...
Signed-off-by: John Philip <jphilip@spotify.com >
2023-12-12 16:22:17 -05:00
Fredrik Adelöw
6226ea5ad5
Merge pull request #20700 from zcmander/zcmander/fix-techdocs-memory-leak
...
techdocs: fix buildLogTransport-related memory leak
2023-10-27 13:53:10 +02:00
Fredrik Adelöw
a72143c79b
Merge pull request #20576 from kuangp/feat/buildStrategyExtension
...
feat(techdocs): add extension for setting build strategy
2023-10-25 16:45:06 +02:00
Phil Kuang
b99e29ab8f
refactor(techdocs): deprecate ShouldBuildParameters type
...
Signed-off-by: Phil Kuang <pkuang@factset.com >
2023-10-24 13:06:05 -04:00
zcmander
48a61bfdca
techdocs: fix buildLogTransport-related memory leak
...
Signed-off-by: zcmander <zcmander@gmail.com >
2023-10-20 11:23:16 +03:00
Patrik Oldsberg
124ba80362
Merge pull request #20675 from drodil/techdocs_fail_message_improvement
...
chore: add info about entity if tech docs building fails
2023-10-19 13:54:02 +02:00
Heikki Hellgren
c3c5c7e514
chore: add info about entity if tech docs building fails
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2023-10-19 14:28:44 +03:00
Phil Kuang
31458f5b63
feat(techdocs): rename extension point
...
Signed-off-by: Phil Kuang <pkuang@factset.com >
2023-10-16 19:10:46 -04:00
Phil Kuang
67cff7b06f
feat(techdocs): add extension for setting build strategy
...
Signed-off-by: Phil Kuang <pkuang@factset.com >
2023-10-12 18:56:45 -04:00
Fredrik Adelöw
ba9c46bdd7
stop using SingleHostDiscovery
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2023-10-12 09:22:23 +02:00
Heikki Hellgren
344cfbcfbc
feat: allow prepared directory clean up for custom preparers
...
When using custom preparer for TechDocs, the `preparedDir` might
end up taking disk space. This requires all custom preparers to
implement a new method `shouldCleanPreparedDirectory` which indicates
whether the prepared directory should be cleaned after generation.
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2023-10-05 09:37:10 +03:00
Patrik Oldsberg
71114ac50e
plugins: refactory to use default export for new backend system
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Co-authored-by: Camila Belo <camilaibs@gmail.com >
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Co-authored-by: Philipp Hugenroth <philipph@spotify.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-09-07 18:53:48 +02:00
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