Commit Graph

10021 Commits

Author SHA1 Message Date
Hasan Ozdemir 950003f5f3 Update plugins/jenkins-backend/src/service/jenkinsApi.test.ts
Co-authored-by: MT Lewis <mtlewis@users.noreply.github.com>
Signed-off-by: Hasan Oezdemir <21654050+nodify-at@users.noreply.github.com>
2022-03-02 13:41:23 +01:00
Ben Lambert 677081fb5d Merge pull request #9894 from backstage/blam/catalog/useEntityOwnershit
remove the `EntityName` codepath from the `useEntityOwnership` hook
2022-03-02 12:59:57 +01:00
Ben Lambert 81c3c81e33 Merge pull request #9872 from backstage/blam/catalog-deprecations
🧹 tidy up the `useEntity` hook, and introduce `useAsyncEntity`
2022-03-02 12:57:58 +01:00
MT Lewis a54f8ffe70 Merge pull request #9878 from backstage/catalog-common-alpha
catalog-common: mark permission-related exports as alpha
2022-03-02 11:47:37 +00:00
MT Lewis 5249f19a71 Merge pull request #9881 from backstage/catalog-create-permission-no-resource-type
catalog-common: remove resourceType from catalogEntityCreatePermission
2022-03-02 10:54:36 +00:00
blam 6ed51204ff chore: woops - api-report needed update
Signed-off-by: blam <ben@blam.sh>
2022-03-02 11:32:45 +01:00
Fredrik Adelöw abc66904b1 Merge pull request #9856 from backstage/freben/catalog-rearrange
Rearrange a bit inside the catalog backend
2022-03-02 11:05:49 +01:00
blam fd061e47ee chore: code review comments
Signed-off-by: blam <ben@blam.sh>
2022-03-02 10:38:10 +01:00
blam 2de1d82bd1 chore: added changeset
Signed-off-by: blam <ben@blam.sh>
2022-03-02 10:23:30 +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
Hasan Oezdemir 70f29c5423 (feature): remove unused configuration and improved permission management, describe the permission integration in detail.
Signed-off-by: Hasan Oezdemir <21654050+nodify-at@users.noreply.github.com>
2022-03-01 23:45:01 +01:00
Harry Hogg 0c8ba31d72 plugin-auth-backend: Added validation to ensure any custom auth resolvers are using EntityRefs for subject claims
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-03-01 17:52:41 +00:00
MT Lewis da0675bf9f Merge pull request #9882 from backstage/add-permission-api-docs
permission-common: add apidocs for permission properties
2022-03-01 16:38:31 +00:00
Ben Lambert 50d3d1a3b2 Merge pull request #9855 from backstage/blam/fix-scaffolder-ui-schema-props
🧹 Removing the component exports for `CustomFieldExtensions` in `plugin-scaffolder`
2022-03-01 16:55:09 +01:00
Mike Lewis 81273e95cf catalog-common: mark permission-related exports as alpha
Marks all strictly permission-related exports in catalog-common as
alpha.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-01 14:39:09 +00:00
Ben Lambert 7a7be78234 Merge pull request #9880 from backstage/blam/catalog-route-refs
🧹 Clean up the routes in `catalog-react`
2022-03-01 15:36:53 +01:00
blam 141af65385 chore: fixing the api-report and clean up the types
Signed-off-by: blam <ben@blam.sh>
2022-03-01 15:34:47 +01:00
blam 8e1df15a95 chore: fix up the interface a little bit
Signed-off-by: blam <ben@blam.sh>
2022-03-01 15:32:04 +01:00
blam 194011ce84 chore: fixing up the types to actually be correct and use the returnValue types
Signed-off-by: blam <ben@blam.sh>
2022-03-01 15:27:58 +01:00
Mike Lewis 79b9d8a861 permission-common: add apidocs for permission properties
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-01 14:09:37 +00:00
Fredrik Adelöw 83a83381b0 rearrange
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-01 14:44:59 +01:00
Mike Lewis e3c2bfef11 catalog-common: remove resourceType from catalogEntityCreatePermission
The resourceType on permissions refers to the resource whose ref is
expected to be passed along with the permission during authorization.
This allows the permission-backend to make the decision based on
characteristics of the resource.

Since the entity being created by definition doesn't yet exist, it's
not correct for this permission to include a resourceType.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-01 13:42:49 +00:00
MT Lewis 5d342c7169 Merge pull request #9857 from backstage/catalog-backend-permission-alpha
catalog-backend: mark permission-related exports as alpha
2022-03-01 13:42:38 +00:00
Johan Haals 194c64b5b1 Merge pull request #9877 from backstage/jhaals/result-entityref
catalog-backend: Remove entityRef from CatalogProcessorRelationResult
2022-03-01 14:34:00 +01:00
Johan Haals 3415b7153e Merge pull request #9871 from backstage/jhaals/remove-handleError
catalog-backend: Remove catalogProcessor.handleError
2022-03-01 14:33:11 +01:00
Johan Haals 66a7c72f63 Merge pull request #9870 from backstage/jhaals/dep-BitbucketRepositoryParser
catalog-backend: inline and deprecate BitbucketRepositoryParser type
2022-03-01 14:32:52 +01:00
blam dd7e34b4b8 chore: added additional changeset
Signed-off-by: blam <ben@blam.sh>
2022-03-01 14:04:44 +01:00
blam aa69677928 chore: fixing tests
Signed-off-by: blam <ben@blam.sh>
2022-03-01 14:03:08 +01:00
Mike Lewis e02960f30f catalog-backend: add alpha setup to package.json
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-01 12:56:42 +00:00
Johan Haals b19061a547 update api report
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-01 13:47:25 +01:00
Johan Haals 1f2dbbbeaa Merge pull request #9820 from backstage/jhaals/mark-useEntityPermission-alpha
catalog-react: mark useEntityPermission as alpha
2022-03-01 13:44:06 +01:00
Johan Haals 862e416239 catalog-backend: Remove entityRef from CatalogProcessorRelationResult
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-01 13:34:38 +01:00
blam 6fe5d70cac chore: fix up the changeset
Signed-off-by: blam <ben@blam.sh>
2022-03-01 12:49:04 +01:00
Vincenzo Scamporlino 7e0a0109bf Export permission criteria utilities
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-03-01 12:44:06 +01:00
blam f2b4b747a6 chore: removing deprecated routeRefs from catalog-react
Signed-off-by: blam <ben@blam.sh>
2022-03-01 11:57:36 +01:00
blam 44403296e7 chore: added changeset
Signed-off-by: blam <ben@blam.sh>
2022-03-01 11:39:49 +01:00
Johan Haals c85292b768 catalog-backend: Remove catalogProcessor.handleError
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-01 11:28:59 +01:00
blam babb280c77 chore: deprecate some of the loading things from useEntity and force entity to be present
Signed-off-by: blam <ben@blam.sh>
2022-03-01 11:27:37 +01:00
Johan Haals be68702834 catalog-backend: inline and deprecate BitbucketRepositoryParser type
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-01 11:13:28 +01:00
Johan Haals bb2bb36651 core-plugin-api: Remove deprecated get method from StorageApi
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-01 10:50:23 +01:00
Patrik Oldsberg 2638cd044c Merge pull request #9669 from backstage/rugvip/starred
catalog-react: move DefaultStarredEntitiesApi to catalog plugin + fixes
2022-03-01 10:47:21 +01:00
blam 2d5783aa5b chore: sort out the exporting
Signed-off-by: blam <ben@blam.sh>
2022-03-01 09:44:44 +01:00
Johan Haals 6fa174810f Merge pull request #9804 from backstage/jhaals/cleanup-auth
core-app-api: Remove deprecated auth ApiRefs
2022-03-01 09:39:34 +01:00
Hasan Oezdemir 1543dcf31a (feature): remove integration router and use catalog resource type since we use the same resources required by the catalog entity
Signed-off-by: Hasan Oezdemir <21654050+nodify-at@users.noreply.github.com>
2022-03-01 00:08:35 +01: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
Mike Lewis 0c9cf2822d catalog-backend: mark permission-related exports as alpha
Marks all strictly permission-related exports in catalog-backend as
alpha. There are permission-related properties on other exports, so
this doesn't entirely protect us from future breaking changes, but
it will certainly reduce the number.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-02-28 18:38:04 +00:00