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

Feat/DEVEXP-470: Voice V1 design #164

Merged
merged 37 commits into from
Oct 29, 2024
Merged

Conversation

JPPortier
Copy link
Contributor

No description provided.

…se 'v1.callouts' APIs in place of '.callouts'
….conferences' APIs in place of '.conferences'
…v1.applications' APIs in place of '.applications'
… provide SDK's user facility in place of JSON encoded String
Copy link
Contributor

github-actions bot commented Oct 15, 2024

Dependency Review

✅ No vulnerabilities or license issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA d6dd32a.
Ensure 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

@JPPortier JPPortier marked this pull request as ready for review October 18, 2024 15:23
* @param parameters Request parameters
* @since 1.4
*/
public void unAssignNumber(UnAssignNumberRequest parameters);

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 💀

Copy link
Contributor Author

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

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@@ -67,8 +58,20 @@ void callTTS() throws ApiException {
@Test
void callCustom() throws ApiException {

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()

Copy link
Contributor Author

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 {

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 :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right done

@JPPortier JPPortier requested a review from asein-sinch October 29, 2024 09:38
@JPPortier JPPortier merged commit 67bdad7 into V1.4-next Oct 29, 2024
4 checks passed
@JPPortier JPPortier deleted the feat/DEVEXP-470-voice-v1-design branch October 29, 2024 18:03
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