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

[refine] Design Server States API #36

Open
mdabrowski1990 opened this issue Mar 17, 2021 · 1 comment
Open

[refine] Design Server States API #36

mdabrowski1990 opened this issue Mar 17, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation implementation Changes to code
Projects
Milestone

Comments

@mdabrowski1990
Copy link
Owner

mdabrowski1990 commented Mar 17, 2021

Description

As a user, I would like to have functionality of internal server state, so I would be able to simulate complex server ECUs that act the same way as the real one.
As a developer, I would like to have AbstractServerState (or similar) class defined (with its API), so I know the methods and attributes that would be implemented.

Desired state functionalities must be taked into consideration:

  • state has predefined list of possible values that it might take
  • there is exactly one state value at the moment
  • states might depend on each other (change of State1 value might result in change of State2 value), therefore - observer would probably be required
  • the state object always stores the actual value (the value is not determined upon a call, but updated without any user interaction)

Acceptance Criteria

  • API of Abstract Server State class is defined
  • there is no (or little code) - preferably only exceptions (e.g. NotImplemntedError) are raised
  • all required functionalities are satisfied by the designed API
@mdabrowski1990 mdabrowski1990 added the implementation Changes to code label Mar 17, 2021
@mdabrowski1990 mdabrowski1990 added this to To do in UDS via automation Mar 17, 2021
@mdabrowski1990
Copy link
Owner Author

Testing:

  • Integration Tests (example simulation)

@mdabrowski1990 mdabrowski1990 moved this from New to Defined in UDS Mar 24, 2021
@mdabrowski1990 mdabrowski1990 moved this from Defined to New in UDS Aug 13, 2021
@mdabrowski1990 mdabrowski1990 removed this from the X) Server Simulation milestone Sep 6, 2021
@mdabrowski1990 mdabrowski1990 changed the title Default Server States - Session, Security Access [refine] Default Server States - Session, Security Access Sep 8, 2021
@mdabrowski1990 mdabrowski1990 added this to the 4) Server Simulation milestone Sep 9, 2021
@mdabrowski1990 mdabrowski1990 added the documentation Improvements or additions to documentation label Sep 16, 2021
@mdabrowski1990 mdabrowski1990 changed the title [refine] Default Server States - Session, Security Access [refine] Design Server States API Sep 16, 2021
@mdabrowski1990 mdabrowski1990 removed the documentation Improvements or additions to documentation label Sep 16, 2021
@mdabrowski1990 mdabrowski1990 added the documentation Improvements or additions to documentation label Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation implementation Changes to code
Projects
No open projects
UDS
  
New
Development

No branches or pull requests

1 participant