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

(VEN) Return EventResponse/OadrCreatedEvent with specific responseCode #165

Open
alexcarnero97 opened this issue Feb 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@alexcarnero97
Copy link
Contributor

Hi, I am using the OpenADR Test Tool to test my VEN and I am running some tests related to the EiEvent service. In some of them, the tool expects me to return an EventResponse/OadrCreatedEvent message with a specific error code in case of an event with a wrong ID or invalid signal type. According to this, I understand that the supposed VTN could receive an 'optIn' response to an event even though some of the above failures occur. However, I can't find how I can do this as in all the examples the event handler simply returns an 'optIn' or 'optOut' string. If, on the other hand, I throw a SignalNotSupportedError exception, for example, the handler detects the error and returns an 'optOut' directly. How could I manage to do this? Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants