Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow a domain entity to have an optional domain #17125

Merged
merged 11 commits into from
Apr 22, 2024

Conversation

dawngerpony
Copy link
Contributor

@dawngerpony dawngerpony commented Mar 27, 2023

For large organisations, a hierarchy of domains might make life easier. This PR introduces an optional domain field into the Domain entity so that a domain can have a parent domain.

Hey, I just made a Pull Request!

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)

@github-actions github-actions bot added area:catalog Related to the Catalog Project Area documentation Improvements or additions to documentation labels Mar 27, 2023
@backstage-goalie
Copy link
Contributor

backstage-goalie bot commented Mar 27, 2023

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage/catalog-model packages/catalog-model minor v1.4.5
@backstage/plugin-catalog-backend plugins/catalog-backend minor v1.21.1

@dawngerpony dawngerpony changed the title Allow a domain entity to have a domain so that a domain hierarchy can… Allow a domain entity to have an optional domain Mar 27, 2023
@backstage-goalie
Copy link
Contributor

Thanks for the contribution!
All commits need to be DCO signed before they are reviewed. Please refer to the the DCO section in CONTRIBUTING.md or the DCO status for more info.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 27, 2023

Uffizzi Ephemeral Environment deployment-20442

☁️ https://app.uffizzi.com/github.com/backstage/backstage/pull/17125

📄 View Application Logs etc.

What is Uffizzi? Learn more!

@github-actions
Copy link
Contributor

github-actions bot commented Apr 3, 2023

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot added the stale label Apr 3, 2023
@dawngerpony dawngerpony marked this pull request as ready for review April 5, 2023 12:40
@dawngerpony dawngerpony requested a review from a team as a code owner April 5, 2023 12:40
@dawngerpony dawngerpony requested a review from freben April 5, 2023 12:40
@github-actions github-actions bot removed the stale label Apr 5, 2023
Copy link
Member

@freben freben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! One thing that's missing here is the corresponding update to the corresponding processor.

},
"domain": {
"type": "string",
"description": "An entity reference to the domain that the system belongs to.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to adjust the wording here

@freben
Copy link
Member

freben commented Apr 5, 2023

Ping @backstage/catalog-core

@@ -1240,6 +1240,7 @@ metadata:
description: Everything about artists
spec:
owner: artist-relations-team
domain: audio-domain
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are more details about the specific fields and their semantics nearby. Need to add that with the appropriate table just like other relations, explaining that the default kind is Domain and the default namespace is the same as this same domain etc.

Also might want to adjust well-known relations to mention the Domain kind around the intended relations.

Also, you call this domain. Another candidate would have been parent. Are you avoiding that since you intend to not use the parentOf/childOf relations?

@github-actions
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot added the stale label Apr 12, 2023
@freben freben removed the stale label Apr 13, 2023
@github-actions
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot added the stale label Apr 20, 2023
@freben freben removed the stale label Apr 20, 2023
@freben
Copy link
Member

freben commented Apr 20, 2023

Pinging @backstage/catalog-maintainers here again

@github-actions
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot added the stale label Apr 27, 2023
@freben freben removed the stale label Apr 27, 2023
@github-actions
Copy link
Contributor

github-actions bot commented May 4, 2023

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot added the stale label May 4, 2023
@freben freben removed the stale label May 4, 2023
@github-actions
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot removed search Things related to Search area:scaffolder Everything and all things related to the scaffolder project area area:permission Related to the Permission Project Area area:discoverability Related to the Discoverability Project Area labels Apr 9, 2024
@dawngerpony
Copy link
Contributor Author

hey @freben, I think this PR is now ready for re-review! Thank you to @janogonzalez for going the last mile and finishing off my work properly 🙏

{ defaultKind: 'Domain', defaultNamespace: selfRef.namespace },
RELATION_PART_OF,
RELATION_HAS_PART,
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does need an additional changeset to get shipped

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted, CC @janogonzalez

dawngerpony and others added 10 commits April 17, 2024 16:45
… be represented.

Signed-off-by: Dawn James <dawnj@spotify.com>
Signed-off-by: Dawn James <dawnj@spotify.com>
Signed-off-by: Dawn James <dawnj@spotify.com>
Signed-off-by: Jano González <info@janogonzalez.com>
Signed-off-by: Dawn James <dawnj@spotify.com>
Signed-off-by: Jano González <info@janogonzalez.com>
Signed-off-by: Dawn James <dawnj@spotify.com>
Signed-off-by: Jano González <info@janogonzalez.com>
Signed-off-by: Dawn James <dawnj@spotify.com>
Signed-off-by: Dawn James <dawnj@spotify.com>
Signed-off-by: Jano González <info@janogonzalez.com>
Signed-off-by: Dawn James <dawnj@spotify.com>
Signed-off-by: Jano González <info@janogonzalez.com>
Signed-off-by: Dawn James <dawnj@spotify.com>
Signed-off-by: Jano González <info@janogonzalez.com>
Signed-off-by: Dawn James <dawnj@spotify.com>
@benjdlambert benjdlambert removed their request for review April 22, 2024 08:39
Copy link
Member

@freben freben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Would love for @backstage/catalog-maintainers to sign off too

docs/features/software-catalog/descriptor-format.md Outdated Show resolved Hide resolved
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
@freben freben merged commit 910d725 into backstage:master Apr 22, 2024
29 of 30 checks passed
Copy link
Contributor

Thank you for contributing to Backstage! The changes in this pull request will be part of the 1.27.0 release, scheduled for Tue, 14 May 2024.

@vinzscam vinzscam mentioned this pull request May 13, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:catalog Related to the Catalog Project Area documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants