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
github-actions[bot]
0bc1611d6e
Version Packages
2022-03-17 09:02:30 +00:00
Fredrik Adelöw
6565f2c50b
Merge pull request #10147 from rex4539/typos
...
Fix typos
2022-03-15 11:01:46 +01:00
Emma Indal
9234be033c
api reports logger fixup
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-03-15 09:35:57 +01:00
Emma Indal
da7d91fcdc
api report fixup
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-03-14 22:39:19 +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
github-actions[bot]
b6d947b67f
Version Packages
2022-03-10 11:30:23 +00:00
github-actions[bot]
1693f2dc74
Version Packages (next)
2022-03-09 16:09:04 +00:00
Patrik Oldsberg
1f87e8a376
Merge pull request #10037 from backstage/rugvip/role-lint
...
cli: introduce role-based lint configuration setup
2022-03-08 09:27:19 +01:00
dependabot[bot]
e0a69ba49f
build(deps): bump fs-extra from 9.1.0 to 10.0.1
...
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra ) from 9.1.0 to 10.0.1.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases )
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.1.0...10.0.1 )
---
updated-dependencies:
- dependency-name: fs-extra
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-08 04:23:22 +00:00
Patrik Oldsberg
09b37063f2
packages,plugins: migrate to new lint config
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-07 14:53:43 +01:00
blam
bf231ecc7f
chore: updating api-report
...
Signed-off-by: blam <ben@blam.sh >
2022-03-07 10:15:54 +00: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
github-actions[bot]
3c8bb2854d
Version Packages
2022-03-03 15:23:53 +00:00
Fredrik Adelöw
899f196af5
update to use getEntityByRef
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-03 13:27:25 +01:00
Fredrik Adelöw
36aa63022b
deprecate EntityName, introduce CompoundEntityRef
...
deprecate getEntityName, introduce getCompoundEntityRef
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-02 21:54:45 +01:00
Eric Peterson
0087554f5c
Update TechDocs Collator to be stream-based
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-03-02 17:29:13 +01:00
Nikolas Skoufis
eed6b57cf8
Update error message in tests
...
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au >
2022-03-02 11:10:14 +11:00
Nikolas Skoufis
63bb0a9644
Update comments and logs for shouldBuild
...
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au >
2022-03-02 10:10:16 +11:00
Nikolas Skoufis
4368196fba
Accept object in shouldBuild for future extensibility
...
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au >
2022-03-02 10:10:16 +11:00
Nikolas Skoufis
5adcf26b05
Refactor to a private constructor and static fromConfig
...
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au >
2022-03-01 09:26:07 +11:00
Nik Skoufis
7a22a78180
Apply suggestions from code review
...
Co-authored-by: Emma Indal <emma.indahl@gmail.com >
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au >
2022-03-01 09:26:07 +11:00
Nikolas Skoufis
588445b175
Exporting interface and adding docs
...
This makes the api reporter happy, with good reason
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au >
2022-03-01 09:26:07 +11:00
Nikolas Skoufis
f7e6a2fbc7
Add updated api report
...
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au >
2022-02-27 18:49:59 +11:00
Nikolas Skoufis
54027cb0f6
Merge branch 'master' of github.com:Niksko/backstage into docs-build-strategy
2022-02-27 18:26:57 +11:00
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
Nikolas Skoufis
2a865343c2
Add a new interface: DocsBuildStrategy
...
This adds a new interface called DocsBuildStrategy. This strategy allows
for different answers to the question: should the TechDocs backend
perform a build of the given entity?
The default implementation replicates the existing functionality, in
that if the techdocs.builder config value is set to local, then we do
trigger builds, and if the value is set to anything else, we don't
trigger builds. However the strategy has access to the entity, and so
more complex strategies are possible.
This strategy is added as an optional parameter on the RouterOptions
types, and defaults to the DefaultDocsBuildStrategy if unspecified,
allowing for backwards compatibility.
TODO: rename some of the config options, and reword errors to reflect
the new interface
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au >
2022-02-16 16:53:33 +11: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