Commit Graph

119 Commits

Author SHA1 Message Date
Patrik Oldsberg 89bb53685c vale: prune accepted vocabulary
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-27 18:44:55 +02:00
blam 264a189389 docs: reworking some more things
t
Signed-off-by: blam <ben@blam.sh>
2022-04-26 14:48:24 +02:00
Niklas Aronsson 6673babab9 GerritUrlReader: Implemented "readTree"
"readTree" has been implemented for the "GerritUrlReader". Gerrit have
a REST API's to download repo contents but there are a number of
limitations that makes it unusable.

This implementation works as follows:
* The project and branch is parsed from the url.
* The current revision is fetched from the Gerrit REST API.
* The revision string is used as "etag".
* If the etag has changed a temporary directory is created.
* The project is cloned to the temporary directory.
* The cloned content is read into a "Readable Stream".
* The temporary directory is removed.
* "readTree" returns a response using "fromTarArchive" as read from the
  temporary directory.

Also added an option to specify the base "cloneUrl" has been added to the
gerrit integration config.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-04-22 14:52:02 +02:00
Johan Haals 3feeeef3b6 Merge pull request #10669 from anicke/gerrit-entity-provider
New plugin: "plugin-catalog-backend-module-gerrit"
2022-04-21 14:20:23 +02:00
Johan Haals 34e7d8af0d Merge pull request #10736 from Bonial-International-GmbH/PJ_bitbucket_split
Split bitbucket support into bitbucketCloud and bitbucketServer
2022-04-21 10:37:31 +02:00
Niklas Aronsson 566407bf8a New plugin: "plugin-catalog-backend-module-gerrit"
The "plugin-catalog-backend-module-gerrit" exports an entity
provider for discovering catalog entities from Gerrit
repositories. The provider uses the "List Projects" API in Gerrit
to get a list of repositories and will automatically ingest all
"catalog-info.yaml" files stored in the root of the matching
projects.

Also added the "getGerritProjectsApiUrl" function to the Gerrit
integration. This returns the url to the "List Projects" API for
a given integration.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-04-21 07:33:40 +02:00
Johan Haals ccd052d230 chore: Change title to GitHub Apps
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-20 13:20:12 +02:00
Johan Haals 5a045a61f9 docs: Restructure Github apps documentation
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-20 11:11:55 +02:00
Patrick Jungermann 1b4e1e2306 feat: split integrations.bitbucket -> bitbucketCloud / bitbucketServer
Split `integrations.bitbucket` into `integrations.bitbucketCloud`
and `integrations.bitbucketServer`
while staying backwards compatible for now
(== `BitbucketIntegration` loads from the new configs, too, if the old is not used).

Relates-to: #9923
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-04-19 19:20:55 +02:00
Fredrik Adelöw fedff63fd6 update dependencies needed in the docs
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-04-09 15:50:53 +02:00
Niklas Aronsson 3f8aae6ffa Added url schemas to Gerrit location doc examples
Also added the Gerrit location docs to the microsite.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-04-08 15:07:22 +02:00
Johan Haals c5f523064f Merge pull request #10694 from anicke/gerrit-location-docs
Gerrit: Added location docs
2022-04-08 13:49:27 +02:00
Niklas Aronsson 89b0af9b4b Gerrit: Added location docs
Documentation have been added that describes how to configure Gerrit
integrations.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-04-07 14:09:27 +02:00
Patrick Jungermann 5969c4b65c feat: add AwsS3EntityProvider as replacement for AwsS3DiscoveryProcessor
Add a new provider `AwsS3EntityProvider` as a replacement for the now deprecated
`AwsS3DiscoveryProcessor`.

The new provider will scan configured S3 buckets (with optional) prefix and
add `Location` entities for all discovered catalog files.

These `Location` entities will then be processed as usual.

At each execution, the provider will apply a full mutation, replacing all previous
entities with the new entities/state.

Relates-to: #10183
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-04-07 08:44:01 +02:00
eskerda 757bf20040 docs: update github discovery processing example
Signed-off-by: eskerda <eskerda@gmail.com>
2022-04-04 16:58:05 +02:00
LvffY 0f290356b9 [#10432] 📝 Apply suggestion.
See https://github.com/backstage/backstage/pull/10528#discussion_r838597752

Signed-off-by: LvffY <louberger@hotmail.fr>
2022-03-30 16:20:47 +02:00
LvffY e0cd63145b [#10432] 📝 Fix grammar
Signed-off-by: LvffY <louberger@hotmail.fr>
2022-03-30 15:58:26 +02:00
LvffY 65c03243b6 [#10432] 📝 Update documentation to use azure-discovery
Signed-off-by: LvffY <louberger@hotmail.fr>
2022-03-30 15:53:50 +02:00
LvffY f3101fb9d2 [#10459] 📝 Update documentation to use yarn --cwd arg
Signed-off-by: LvffY <louberger@hotmail.fr>
2022-03-30 15:53:05 +02:00
LvffY 22bd2bead1 [#10459] 📝 Update documentation to use yarn --cwd arg
Signed-off-by: LvffY <louberger@hotmail.fr>
2022-03-29 21:59:53 +02:00
Fredrik Adelöw 2a5a36ca2a remove unnecessary addendum (no longer a default-installed thing anyway)
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-29 11:39:13 +02:00
Fredrik Adelöw 1d587f7bb7 fix the allow entries that should be lists
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-29 09:52:33 +02:00
Fredrik Adelöw 1691c6c5c2 Make User and Group not default allowed by rules
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-28 17:04:50 +02:00
Simone Fumagalli d7f4e45fe1 Added info about scopes needed by the token
Signed-off-by: Simone Fumagalli <simone@iliveinperego.com>
2022-03-25 12:45:58 +01:00
Iain Billett 1fc19dd3ec Add docs
Signed-off-by: Iain Billett <iain@roadie.io>
2022-03-16 15:56:41 +00:00
Alex Crome 9a28bcd8d8 Updated Azure discovery docs after move to seperate package
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2022-03-14 10:21:19 +00:00
Fredrik Adelöw 89c7e47967 make the backend plugin ts files consistent
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-13 19:27:46 +01:00
Fredrik Adelöw d4934e19b1 move gitlab to a separate package too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-10 10:45:54 +01:00
Fredrik Adelöw 47a5ae5dd2 move out bitbucket into a separate module too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-10 09:34:27 +01:00
Marcus Crane 5cb5463c0a Merge branch 'master' of github.com:backstage/backstage into s3-backend-docs 2022-03-10 12:05:58 +13:00
Marcus Crane fd2d285f86 Clarify that users need to install the S3 backend plugin
Signed-off-by: Marcus Crane <marcus.crane@lightspeedhq.com>
2022-03-10 11:39:29 +13:00
Fredrik Adelöw 257af4c80e Merge pull request #10018 from backstage/freben/ldap-org-sched
Add a `schedule` parameter to `LdapOrgEntityProvider`
2022-03-08 11:33:46 +01:00
Fredrik Adelöw e6b4b32958 fix typo
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-08 09:20:44 +01:00
Patrick Jungermann 616f02ade2 feat(integration,bitbucket): discover catalog files using Bitbucket Cloud's code search
Support discovering catalog files using Bitbucket Cloud's code search
which allows finding multiple catalog files per repository (e.g., monorepo)
as well as creating Location entities for existing locations only.
(compared to creating an optional Location per matching repository using the
defined static path for the catalog file).

Closes: #9765
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-03-07 22:48:06 +01:00
Fredrik Adelöw 74663277fb rename to createScheduledTaskRunner
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-07 15:32:13 +01:00
Fredrik Adelöw 9461f73643 try a convenience thing for scheduling providers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-07 14:51:08 +01:00
Fredrik Adelöw 66ba5d9023 Create azure and gitlab catalog modules, move related processors into them
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-06 19:58:26 +01:00
Fredrik Adelöw 09728ef208 Merge pull request #10014 from backstage/freben/no-more-aws
moved AwsS3DiscoveryProcessor to where it should live
2022-03-05 18:40:14 +01:00
Fredrik Adelöw f115a7f8fd moved AwsS3DiscoveryProcessor to where it should live
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-05 17:11:19 +01:00
Fredrik Adelöw 53c16b506d switch around the ldap org docs to prefer provider over processor
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-05 16:01:18 +01:00
Callen Barton 336cea247c Fixing typo. Changing Github to Azure
Signed-off-by: Callen Barton <7515844+cal5barton@users.noreply.github.com>
2022-02-24 17:45:51 -07:00
Patrik Oldsberg 010df9c0cf Merge pull request #9585 from backstage/timbonicus/github-scopes
Better GitHub scope/permission documentation
2022-02-17 10:26:18 +01:00
Tim Hansen 5ee1def55d De-emphasize replaceProcessors in GitHub org doc
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2022-02-16 13:55:01 -07:00
Tim Hansen 25889e1dea Better GitHub scope/permission documentation
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2022-02-16 13:38:52 -07:00
Patrik Oldsberg 4fb3347370 Merge pull request #9181 from backstage/rugvip/pretty
docs: remove prettier configuration with proseWrap setting
2022-01-27 10:54:36 +01:00
Daniel Tibbing 5760229149 chore: updated docs according to comments
Signed-off-by: Daniel Tibbing <daniel.tibbing@king.com>
2022-01-26 16:18:13 +01:00
Patrik Oldsberg 4cad73ca7f run prettier
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-26 12:02:06 +01:00
Daniel Tibbing fef86fe600 Updated LDAP docs with Provider usage
Signed-off-by: Daniel Tibbing <daniel.tibbing@king.com>
2022-01-26 11:55:05 +01:00
Fredrik Adelöw 69c082065c Merge pull request #8649 from nigelwright-roam/s3-discovery-docs
Added additional S3 Discovery instructions
2022-01-13 20:07:27 +01:00
Lalit Kumar Singla 13536d6d30 Update org.md
Update documentation for env.config and logger

Signed-off-by: lalit kumar <lalit.kumar@socialinnovation.ca>
2022-01-12 17:04:03 -05:00