Commit Graph

301 Commits

Author SHA1 Message Date
Vincenzo Scamporlino fcee1ce391 techdocs-backend: fix build strategy tests
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2024-05-07 15:04:54 +02:00
Vincenzo Scamporlino 8a18e9ef38 techdocs: make builder optional
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2024-05-07 14:29:57 +02:00
Camila Belo 7b77befdfb feat: create default get cookie endpoint
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-04-08 16:47:05 +02:00
Heikki Hellgren 8e28c88656 feat: allow overriding default techdocs preparers
a new extension point `TechdocsPreparerExtensionPoint` allows
registering custom preparers for the techdocs plugin.

closes #21952

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-04-02 13:14:03 +03:00
Camila Belo a846c6fd2a fix: local cookie generation on legacy app
Signed-off-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2024-03-12 09:00:52 +01:00
Camila Belo a57f830fe9 refactor: use cross tab timeout
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-03-12 09:00:52 +01:00
Camila Belo ec9e1d2103 feat: migrate non cokie endpoints
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-03-12 09:00:51 +01:00
Camila Belo de083201d2 feat: implement refresh cookie on frontend
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-03-12 09:00:51 +01:00
Camila Belo 19d00fe372 feat: add allow static cookie auth
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-03-12 09:00:51 +01:00
secustor 22e11bb48c chore: fix variable name
Signed-off-by: secustor <sebastian@poxhofer.at>
2024-02-27 21:55:32 +01:00
secustor 718b734433 feat(plugins/techdocs): add TechdocsGeneratorExtensionPoint
Signed-off-by: secustor <sebastian@poxhofer.at>
2024-02-27 11:42:31 +01:00
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