-
Notifications
You must be signed in to change notification settings - Fork 26
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
Component Level View with Overall System Score #99
Comments
Thanks for the idea! I can imagine making configurable at which level you want to have the entities to be scored... system (as is) or component (a new way). Or maybe have this somehow to be specified on the entity level, as some systems might be small, some large... also what kind of components would you like to score...only services? Or also web components (FE)? Should they have the same set of requirements? ....maybe entity might have own template/own set of requirements... and if its a composable entity (it has children) we might introduce some overview for this purpose... WDYT? Any thoughts? |
That’s correct, having visibility at the component and system level would be ideal, you bring up some great points, i wouldn’t personally restrict it down to the component type, but would consider making the EntityScoreCardContent more of a EntityHasScoreCardContent where it’s only displayed if there is content similar to how other plugins are doing it i.e Regarding requirements by entity kind/type. I would suggest having something like a entityScoreCardPolicy where all rules can be re-usable across any entity kind/type maybe follow a similar permission rules/policy scheme like the permissions framework?
Thinking it may make sense to have an overall “average” score as shown below where you bring up a parent entity such as a system entity where the average score is calculated based on all component scores for that system, that can be 1 or hundreds this can continue down the parent/child catalog hierarchy where you can possibly get down to the domain level, that’s when the executives start to drool 🤤 |
@regicsolutions I am sorry I didn't have time to get back to this. But it makes sense to me to make this plugin more extendable. Is this something you want to contribute with? |
Hi, I also have the need to score other kind of entities. const apiPage = (
<EntityLayout>
<EntityLayout.Route path="/" title="Overview">
<Grid container spacing={3}>
<Grid item md={6}>
<EntityAboutCard />
</Grid>
</Grid>
</EntityLayout.Route>
+ <EntityLayout.Route path="/score" title="Score">
+ <Grid container spacing={3} alignItems="stretch">
+ <Grid item xs={12}>
+ <EntityScoreCardContent />
+ </Grid>
+ </Grid>
+ </EntityLayout.Route>
</EntityLayout>
); It will try to find Now what @jvilimek proposed here #123 (comment), to have the While at it, I would replace the references to {
"entity": "api/foo"
} {
"entity": "default/api/foo"
} {
"entity": {
"kind": "component"
"name": "abc"
}
} (with I would also add a If the property Kind is set, it would also be used to fetch the I can help with the implementation. |
That's great, @jvilimek i am a bit tied up with other initiatives at the moment maybe we can assign this one to @T0RAT0RA for an initial MVP? |
Thanks! Adding a couple of thoughts
Nice, @T0RAT0RA you read my mind :)
@regicsolutions Well, it's up to @T0RAT0RA if he has time to hack something together? I will be more than happy to review/help in any way but coding as at the time we do not have any use case for it in Oriflame. |
Also, it will be probably a breaking change in terms of storing/providing the data. It would mean a couple of things on our side as well, like adjusting the paths for uploading the scoring results... but not a big deal. |
Ok I'll propose somehting in the next few days. |
Thanks a lot! Thinking of backward compatibility...maybe more calls, but it could be done also like fetching |
Allow any entity to be scored. BREAKING CHANGES: - `SystemScore` is renamed to `EntityScore` (and in a similar fashion all other `System*` components) - `systemEntityName` in `EntityScore` is replaced by `entityRef` - URL path to json files is changed from `{jsonDataUrl}/{systemEntityName}.json` to `{jsonDataUrl}/{entity-namespace}/{entity-kind}/{entity-name}.json` Signed-off-by: T0RAT0RA <stephane.reiss@gmail.com>
Good to close Thanks @T0RAT0RA |
Feature Suggestion
Love the idea of this plugin, and how everything is pure json 😀
Haven’t had a chance to play with it but looking at the screen prints I am not seeing a component view where I can see the scorecard at the component level when I open a component entity or more importantly when I bring up a system scorecard it would be nice to get a component level view where I have one system with 50 microservices / components I can see the score of each service together with an Overall System Score.
Possible Implementation
Context
The text was updated successfully, but these errors were encountered: