github-actions[bot]
c9da151d84
Version Packages
2022-02-24 13:54:37 +00:00
Dede Hamzah
d721f8a458
Update to filter techdocs annotation directly in get entities
...
Signed-off-by: Dede Hamzah <dehamzah@gmail.com >
2022-02-24 10:22:14 +07:00
Dede Hamzah
8e91f7a359
updating api-report
...
Signed-off-by: Dede Hamzah <dehamzah@gmail.com >
2022-02-24 10:19:52 +07:00
Dede Hamzah
bef351550f
generate api docs
...
Signed-off-by: Dede Hamzah <dehamzah@gmail.com >
2022-02-24 10:19:52 +07:00
Dede Hamzah
d2ea0473bf
Add filter parameter in DefaultTechDocsCollator to help limit scanning all entities
...
Signed-off-by: Dede Hamzah <dehamzah@gmail.com >
2022-02-24 10:19:52 +07:00
Fredrik Adelöw
d0582b2d0f
stitch targetRef and backwards compat inject it on read
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-02-23 09:38:40 +01:00
Emma Indal
68abf6e837
Update plugins/techdocs-backend/src/search/DefaultTechDocsCollator.ts
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com >
2022-02-21 13:24:56 +01:00
Emma Indal
e60175e87a
clean up deprecated code
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-21 12:06:43 +01:00
Emma Indal
81b6d0fabe
clean up api report
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-21 12:02:50 +01:00
Patrik Oldsberg
ba68ea4450
apply 0.68.1 fixes to master
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-18 11:30:15 +01:00
github-actions[bot]
408b0300cb
Version Packages
2022-02-17 10:38:59 +00:00
Patrik Oldsberg
d99c3c2177
Merge pull request #9254 from backstage/rugvip/add-roles
...
packages: add roles to all packages
2022-02-16 18:40:37 +01:00
Patrik Oldsberg
9892d74326
cli: renamed script commands to package
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-15 21:27:12 +01:00
Johan Haals
7aeb491394
catalog-model: deprecate ENTITY_DEFAULT_NAMESPACE, replace with DEFAULT_NAMESPACE
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-02-15 10:27:57 +01:00
Patrik Oldsberg
8f82d80adf
migrate all package scripts
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-14 21:50:07 +01:00
Patrik Oldsberg
bb5fcc3209
update all plugin package roles
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-14 21:50:05 +01:00
Patrik Oldsberg
b521c1b83b
detect all package roles
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-14 21:50:03 +01:00
Camila Belo
a2e5b91b1c
Merge pull request #9333 from RoadieHQ/fix-inline-docs-search
...
Fix tech docs inline search on Postgres
2022-02-14 08:17:31 +01:00
Fredrik Adelöw
453145abba
techdocs: do not use cross-fetch in backend
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-02-10 16:55:24 +01:00
Fredrik Adelöw
1ed305728b
bump node-fetch and cross-fetch
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-02-10 15:51:50 +01:00
github-actions[bot]
e4791789d1
Version Packages
2022-02-10 11:06:33 +00:00
github-actions[bot]
e74f416a00
Version Packages (next)
2022-02-08 19:38:17 +00:00
dependabot[bot]
2441d1cf59
chore(deps): bump knex from 0.95.6 to 1.0.2
...
Bumps [knex](https://github.com/knex/knex ) from 0.95.6 to 1.0.2.
- [Release notes](https://github.com/knex/knex/releases )
- [Changelog](https://github.com/knex/knex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/knex/knex/commits )
---
updated-dependencies:
- dependency-name: knex
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-07 15:51:55 +01:00
Jussi Hallila
d1eff62105
Fix tests.
...
Signed-off-by: Jussi Hallila <jussi@hallila.com >
2022-02-03 12:21:54 +01:00
Jussi Hallila
811c710a21
Fix tech docs inline search on Postgres
...
Fix bug where tech docs collator stores search indices with wrong entity ref casing. Make the collator to conform legacyPathCasing configuration option.
Signed-off-by: Jussi Hallila <jussi@hallila.com >
2022-02-03 12:15:12 +01:00
github-actions[bot]
a12bb7b065
Version Packages
2022-02-03 09:42:25 +00:00
github-actions[bot]
51eecb3f03
Version Packages (next)
2022-02-02 14:28:47 +00:00
Eric Peterson
742434a6ba
Fix TechDocs download bug when backend/app hosts are the same.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-02-01 13:39:23 +01:00
github-actions[bot]
e1580cf73a
Version Packages (next)
2022-02-01 08:53:29 +00:00
github-actions[bot]
406848efee
Version Packages
2022-01-27 11:07:27 +00:00
MT Lewis
4682340457
techdocs-backend: support authorization in DefaultTechDocsCollator
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2022-01-25 13:01:39 +00:00
github-actions[bot]
8b18d054f3
Version Packages
2022-01-20 10:33:31 +00:00
Joe Porpeglia
ffa0ecfac4
Remove unused dependency
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
f911a60baf
Update api-report
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
cd3c5b132e
Update package exports to align with ADR004
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
ccaa50511f
Make getCacheKey sync
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
63e8b8605e
Disable catalog permission middleware unless permission.enabled = true
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
17ebcb09cd
Refactor router tests
...
Adds a `createApp` helper instead of creating the express app in `beforeEach`. This allows tests to mock behavior of router creation, like toggling certain middleware based on config values.
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
f1918143e5
Compute cache keys from tokens instead of user entity refs
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
e9857d0b82
Remove 403 handling logic
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
d9afa2e882
Add tests to verify /static/docs behavior
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
c2f54048d1
Use catalog: prefix for catalog entity cache
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
413c9fab08
Cancel cache read if it takes too long
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
f5598677bf
Set cache value asynchronously
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
45f37c9835
Use CachedEntityLoader in techdocs router
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
7dcc6b1fe6
Add CachedEntityLoader for techdocs
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
b76fec242d
Verify access to related catalog entities for all techdocs api routes
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
Co-authored-by: Nataliya Issayeva <nissayeva@users.noreply.github.com >
2022-01-18 12:43:35 -05:00
github-actions[bot]
a94a2b8b3f
Version Packages (next)
2022-01-18 13:49:07 +00:00
github-actions[bot]
b04011602b
Version Packages
2022-01-13 14:23:13 +00:00
Fredrik Adelöw
5333451def
Got rid of the last brace-typed and hyphen-less params etc
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-10 09:48:12 +01:00