-
Notifications
You must be signed in to change notification settings - Fork 1
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
MTM-41851 C# REST SDK to be on par with Java #3
MTM-41851 C# REST SDK to be on par with Java #3
Conversation
…notifications classes and representations.
...rc/Cumulocity.SDK.Client/Rest/API/Messaging.Notifications/NotificationSubscriptionApiImpl.cs
Show resolved
Hide resolved
...rc/Cumulocity.SDK.Client/Rest/API/Messaging.Notifications/NotificationSubscriptionApiImpl.cs
Show resolved
Hide resolved
...rc/Cumulocity.SDK.Client/Rest/API/Messaging.Notifications/NotificationSubscriptionApiImpl.cs
Show resolved
Hide resolved
...rc/Cumulocity.SDK.Client/Rest/API/Messaging.Notifications/NotificationSubscriptionApiImpl.cs
Show resolved
Hide resolved
...rc/Cumulocity.SDK.Client/Rest/API/Messaging.Notifications/NotificationSubscriptionApiImpl.cs
Outdated
Show resolved
Hide resolved
REST-SDK/src/Cumulocity.SDK.Client/Rest/Model/Buffering/FileBasedPersistentProvider.cs
Show resolved
Hide resolved
REST-SDK/src/Cumulocity.SDK.Client/Rest/Model/Buffering/FileBasedPersistentProvider.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ashhSAG93,
Based on my understanding of C#, I did review, but we may need a short session together to get more clarity on certain aspects.
A couple of observations
- We are in general missing journal logging (both old and new code), which needs to be improved without significantly affecting the performance.
- Also, I see you have added many tests, which is very good. But since there are so many changes, it would be easier to generate a code coverage report and implement more tests to cover the missing classes/methods and code lines.
Thanks,
Bhaskar.
...rc/Cumulocity.SDK.Client/Rest/API/Messaging.Notifications/NotificationSubscriptionApiImpl.cs
Show resolved
Hide resolved
...rc/Cumulocity.SDK.Client/Rest/API/Messaging.Notifications/NotificationSubscriptionApiImpl.cs
Show resolved
Hide resolved
…handling. Add missing documentation for methods
.../src/Cumulocity.SDK.Client/Rest/API/Notification/Transport/CumulocityLongPollingTransport.cs
Show resolved
Hide resolved
...SDK/src/Cumulocity.SDK.Client/Rest/API/Notification/Subscriber/SubscriptionResultListener.cs
Show resolved
Hide resolved
...umulocity.SDK.Client.UnitTest/Messaging.Notifications/NotificationSubscriptionApiImplTest.cs
Show resolved
Hide resolved
REST-SDK/src/Cumulocity.SDK.Client/Rest/API/Messaging.Notifications/ITokenApi.cs
Show resolved
Hide resolved
REST-SDK/src/Cumulocity.SDK.Client/Rest/API/Messaging.Notifications/TokenApiImpl.cs
Show resolved
Hide resolved
...umulocity.SDK.Client.UnitTest/Messaging.Notifications/NotificationSubscriptionApiImplTest.cs
Show resolved
Hide resolved
...umulocity.SDK.Client.UnitTest/Messaging.Notifications/NotificationSubscriptionApiImplTest.cs
Show resolved
Hide resolved
...umulocity.SDK.Client.UnitTest/Messaging.Notifications/NotificationSubscriptionApiImplTest.cs
Show resolved
Hide resolved
REST-SDK/test/Cumulocity.SDK.Client.UnitTest/Messaging.Notifications/TokenApiImplTest.cs
Show resolved
Hide resolved
…tch and add tests
REST-SDK/src/Cumulocity.SDK.Client/Rest/API/Messaging.Notifications/TokenClaims.cs
Show resolved
Hide resolved
...SDK/src/Cumulocity.SDK.Client/Rest/API/Notification/Subscriber/SubscriptionResultListener.cs
Outdated
Show resolved
Hide resolved
REST-SDK/src/Cumulocity.SDK.Client/Rest/API/Notification/Transport/MessageExchange.cs
Outdated
Show resolved
Hide resolved
REST-SDK/src/Cumulocity.SDK.Client/Rest/API/Notification/Transport/MessageExchange.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implement the comments
REST-SDK/src/Cumulocity.SDK.Client/Rest/API/Notification/Transport/MessageExchange.cs
Outdated
Show resolved
Hide resolved
REST-SDK/src/Cumulocity.SDK.Client/Rest/API/Notification/Transport/MessageExchange.cs
Outdated
Show resolved
Hide resolved
REST-SDK/src/Cumulocity.SDK.Client/Rest/API/Notification/Watchers/ConnectionHeartBeatWatcher.cs
Outdated
Show resolved
Hide resolved
REST-SDK/src/Cumulocity.SDK.Client/Rest/API/Notification/Watchers/ConnectionHeartBeatWatcher.cs
Outdated
Show resolved
Hide resolved
.../Rest/Representation/Messaging.Notifications/NotificationSubscriptionFilterRepresentation.cs
Show resolved
Hide resolved
....SDK.Client/Rest/Representation/Messaging.Notifications/NotificationSubscriptionMediaType.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
MTM-41851 C# REST SDK to be on par with Java