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

Component bottom-up #18

Closed
da-ekchajzer opened this issue Dec 9, 2021 · 1 comment
Closed

Component bottom-up #18

da-ekchajzer opened this issue Dec 9, 2021 · 1 comment

Comments

@da-ekchajzer
Copy link
Collaborator

Epic

Server

US

As an external user
I can retrieve the impact of a component
With the bottom-up methodology of Boavizta

Route(s) involved

/v1/component/[component]

Process

  • The user send data concerning the component (see components documentation.)
  • If all the data needed to apply the methodology has been given by the user, the impact is calculated and sent back to the user.
  • If not, smart complete Server components smart complete #6 is used
@da-ekchajzer
Copy link
Collaborator Author

Example of POST request body for v1/component/cpu:

{
    "core_units": 24,
    "die_size_per_core": null,
    "cpu_family": "Skylake"
}
        

Outputs:

{
    "gwp": 21.69087,
    "pe": 324.8315,
    "adp": 0.02040369518
}

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

No branches or pull requests

1 participant