Commit Graph

141 Commits

Author SHA1 Message Date
Marc Rooding faf37e12a8 Reworded the supported vendors
Signed-off-by: Marc Rooding <marc@mrooding.me>
2022-07-08 15:33:35 +02:00
Marc Rooding 545db2ba6c Fix typo in docs
Signed-off-by: Marc Rooding <marc@mrooding.me>
2022-07-08 11:05:37 +02:00
Marc Rooding 03d2902685 Add support for FreeIPA as an LDAP vendor
Signed-off-by: Marc Rooding <marc@mrooding.me>
2022-07-08 11:05:37 +02:00
7Hazard ae6a4d7520 Fixed broken link in docs
GitHub Apps docs, the uppercase H really made it broken

Signed-off-by: 7Hazard <leo@zaki.se>
2022-07-05 16:16:53 +02:00
Ben Lambert 67fe99a656 Merge pull request #12195 from awanlin/topic/fix-azure-discovery-config-example
Fixed Azure Discovery config example in the docs
2022-06-23 10:14:28 +02:00
Andre Wanlin 0ae5d7858d Fixed Azure Discovery config example
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2022-06-21 17:29:35 -05:00
ivgo 1189f00d23 Set group as optional parameter. Scan everything if not present
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-20 11:48:58 +02:00
ivgo 49ff472c0b Add possibility to scan all the groups in the project
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-15 15:27:30 +02:00
ivgo 6b1ed2292d Remove rules & update some tsc errors
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-09 14:56:04 +02:00
ivgo f96cdcb9f0 Fix typo and add more explanation in the changeset
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-09 14:50:18 +02:00
ivgo eea8126171 Gitlab entity provider
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-09 14:50:18 +02:00
goenning b1f7d6c7e4 fix typo
Signed-off-by: goenning <me@goenning.net>
2022-06-01 15:48:55 +01:00
goenning e69cd23e20 code review
Signed-off-by: goenning <me@goenning.net>
2022-06-01 15:48:21 +01:00
goenning b8884fd579 introduce AzureDevOpsEntityProvider
Signed-off-by: goenning <me@goenning.net>
2022-06-01 15:48:18 +01:00
Patrick Jungermann dfc4efcbf0 feat: add BitbucketCloudEntityProvider (new plugin)
Add a new entity provider `BitbucketCloudEntityProvider`
as a new plugin `@backstage/plugin-catalog-backend-module-bitbucket-cloud`.

The new plugin utilizes `@backstage/plugin-bitbucket-cloud-common`
and it fully independent of `@backstage/plugin-catalog-backend-module-bitbucket`
which provides a catalog processors supporting Bitbucket Cloud and Bitbucket Server.

Relates-to: #9923
Relates-to: #10183
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-05-30 12:02:46 +02:00
Ruslan.Nasyrov 30824042f1 feat/catalog-backend-module-gitlab: create url location only if file exists (fixes #4)
Signed-off-by: Ruslan.Nasyrov <goququ@ya.ru>
2022-05-20 11:50:14 +05:00
Ruslan.Nasyrov 6f8dfe1071 feat/catalog-backend-module-gitlab: create url location only if file exists (fixes #3)
Signed-off-by: Ruslan.Nasyrov <goququ@ya.ru>
2022-05-18 15:04:19 +05:00
Ruslan.Nasyrov cf864e9e25 feat/catalog-backend-module-gitlab: create url location only if file exists (fixes #2)
Signed-off-by: Ruslan.Nasyrov <goququ@ya.ru>
2022-05-18 14:53:12 +05:00
Patrick Jungermann b594679ae3 feat: support array as arg for CatalogBuilder.addEntityProvider and others
Allows to use e.g.

```
builder.addEntityProvider(getArrayOfProviders());
```

instead of

```
builder.addEntityProvider(...getArrayOfProviders());
```

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-05-16 19:01:26 +02:00
Johan Haals 2a30970524 Merge pull request #11245 from backstage/jhaals/human-duration
backend-tasks: Introduce human friendly scheduling
2022-05-03 15:06:08 +02:00
Fredrik Adelöw a7de43f648 update docs for github org ingestion, and add scheduling to the provider
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-05-03 14:15:20 +02:00
Johan Haals f60c94b5cc Update task schedule examples
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-05-03 13:39:54 +02:00
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