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

Bundle requests for G-meter devices without a gateway device are not … #1159

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

kroesctrl
Copy link
Contributor

@kroesctrl kroesctrl commented Jan 17, 2024

SMHE-1767: Bundle requests for G-meter devices without a gateway device are not allowed.
Do not send requests to the protocol-adapter but fail with a FunctionalException

Copy link

@@ -169,4 +174,17 @@ private void checkIfAdditionalActionIsNeeded(
}
}
}

private void checkIfBundleRequestIsAllowed(final Device smartMeter) throws FunctionalException {
if (this.isGasMeter(smartMeter.getDeviceType())) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DeviceType is een String hier......

@kroesctrl kroesctrl merged commit f001c82 into development Jan 18, 2024
3 checks passed
@jasperkamerling jasperkamerling deleted the feature/SMHE-1767_bundle_request_on_gmeter branch June 12, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants