-
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
Feat/DEVEXP-470: Voice V1 design #164
Conversation
…se 'v1.callouts' APIs in place of '.callouts'
… in place of '.calls'
….conferences' APIs in place of '.conferences'
…oks' APIs in place of '.webhooks'
…v1.applications' APIs in place of '.applications'
… provide SDK's user facility in place of JSON encoded String
…'callouts.request' package
Dependency Review✅ No vulnerabilities or license issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned Manifest Files |
* @param parameters Request parameters | ||
* @since 1.4 | ||
*/ | ||
public void unAssignNumber(UnAssignNumberRequest parameters); |
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.
Nit: unAssign
or unassign
, that is the question 💀
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.
Exact and was not confirmed to our mappingId -> name mapping table
Fixed
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.
Thanks, as discussed, there are other places where the name could be refactored to be consistent across all the code
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.
Done
client/src/main/com/sinch/sdk/domains/voice/api/v1/adapters/WebHooksService.java
Outdated
Show resolved
Hide resolved
client/src/test/java/com/sinch/sdk/domains/voice/adapters/CallsServiceTest.java
Show resolved
Hide resolved
@@ -67,8 +58,20 @@ void callTTS() throws ApiException { | |||
@Test | |||
void callCustom() throws ApiException { |
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.
Nit: to be renamed custom()
to be aligned with the name of the tested method as it has been done for conference()
and textToSpeech()
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.
Done
import org.junit.jupiter.api.Test; | ||
import org.mockito.Mock; | ||
|
||
class VoiceServiceTest { |
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.
Can you also add a test where there is a context, an application key and an application secret? Just to be sure it works when all the parameters are present :)
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.
Right done
No description provided.