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

API for interaction with TMA's components #39

Open
alexmbraga opened this issue Jun 29, 2018 · 5 comments
Open

API for interaction with TMA's components #39

alexmbraga opened this issue Jun 29, 2018 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@alexmbraga
Copy link
Contributor

alexmbraga commented Jun 29, 2018

Develop API for interactions among dashboard and other TMA's components.

  • Events/notifications for interaction with knowledge listener, quality model, etc.

@felipengaia gives details, please.

@alexmbraga alexmbraga added the enhancement New feature or request label Jun 29, 2018
@felipengaia
Copy link
Contributor

@brenofranca83 Is the GitHub diagram updated?

@brenofranca83
Copy link
Contributor

@felipengaia , which diagram? the astah file or the README.md? The astah file I believe not. I need to merge with the quality model version.

@felipengaia
Copy link
Contributor

// update all values of trustworthiness dashboard.
updateTrustworthinessValues(times[], values[])

// update the last value (y axis) of trustworthiness dashboard.
updateTrustworthinessLastValue(time, value)

// update all values of properties dashboard.
updatePropertiesValues(properties[], times[][], values[][]) - or use a dictionary/map

// update the last value (y axis) of properties dashboard.
updatePropertiesLastValue(properties[], times[][], values[][]) - or use a dictionary/map

@felipengaia
Copy link
Contributor

In the architecture diagram the correct name of the method is "notify".

Should we use "notify" or "update"?

@brenofranca83
Copy link
Contributor

@felipengaia does this guy helps?
https://github.com/angular/ngSocket
It is a socket for angular, so we could push events to it, notifying to refresh from the quality model.

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

No branches or pull requests

3 participants