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

Feature Request: Connections between bundle categories #11

Open
ErikKoppenhagen opened this issue Jan 24, 2020 · 4 comments
Open

Feature Request: Connections between bundle categories #11

ErikKoppenhagen opened this issue Jan 24, 2020 · 4 comments

Comments

@ErikKoppenhagen
Copy link

Bundle categories can be used to group bundles in archtectural layers, business components or other things. The "connection" button in the top right corner of each element shows the connection between boundles, services and so on.
When opening bundle categories, it would be nice to have this functionality to. Doing so, we could find unauthorized access of business components or breaks in the architectural layers.

@NiklasRentzCAU
Copy link
Member

Up until now I intentionally left this out, as it becomes unclear what to connect bundles to when they are included in multiple bundle categories. Therefore for my initial idea every bundle would have to connect to every instance of every bundle it requires / is required by, which can very quickly become overwhelming and unclear if bundles are included in multiple categories.

I just thought about another idea though that can make this work: If every bundle category is directly to all bundle categories that contain bundles with dependencies, this will also show unauthorized access between bundle categories clearly with less clutter. The connection than would state which bundle requirements are causing it.
If you think this idea might help, I will prototype this.

@ErikKoppenhagen
Copy link
Author

ErikKoppenhagen commented Feb 3, 2020

I just thought about another idea though that can make this work: If every bundle category is directly to all bundle categories that contain bundles with dependencies, this will also show unauthorized access between bundle categories clearly with less clutter. The connection than would state which bundle requirements are causing it.

Could you explain that more detailed, please? I am not quite sure what you mean, but "this will also show unauthorized access between bundle categories" sounds good.

@NiklasRentzCAU
Copy link
Member

Let me show this via a quick drawing:

bundleCategoryConnection

When there are bundle categories with bundles that have dependencies between each other, a view like this will just show the dependency between the categories and even show the detail on why that dependency exists via the bundle IDs that cause the dependency.
For this example maybe no non-ui bundle should have a dependency to any ui bundle, so this view would quickly show if this is true or if some bundle may be uncategorized / not be categorized correctly / have an illegal dependency.

@ErikKoppenhagen
Copy link
Author

That sounds like a great idea. I'd like thtat feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants