We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
com.ericsson.ei.services.SubscriptionService.getSubscription(String) should be used every time a subscription is retrieved from the database.
There might be a need to add functionality to subscription class to fetch additional data (e.g. getConditions etc.).
The current subscription model is generated by RAML (see issue #394 ) this might need to be changed.
Avoid using stings or Json but use the real subscription object instead. This reduces the risk for bugs.
com.ericsson.ei.subscription.RunSubscription.runSubscriptionOnObject(String, Iterator, JsonNode, String) uses JsonNode instead of a subscription object.
there are other places as well...
Cleaner code and fewer bugs.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
com.ericsson.ei.services.SubscriptionService.getSubscription(String) should be used every time a subscription is retrieved from the database.
There might be a need to add functionality to subscription class to fetch additional data (e.g. getConditions etc.).
The current subscription model is generated by RAML (see issue #394 ) this might need to be changed.
Motivation
Avoid using stings or Json but use the real subscription object instead. This reduces the risk for bugs.
Exemplification
com.ericsson.ei.subscription.RunSubscription.runSubscriptionOnObject(String, Iterator, JsonNode, String) uses JsonNode instead of a subscription object.
there are other places as well...
Benefits
Cleaner code and fewer bugs.
Possible Drawbacks
The text was updated successfully, but these errors were encountered: