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

updates and statistics tests #79

Merged
merged 4 commits into from
Feb 28, 2023
Merged

updates and statistics tests #79

merged 4 commits into from
Feb 28, 2023

Conversation

ckoegel
Copy link
Contributor

@ckoegel ckoegel commented Feb 28, 2023

No description provided.

@ckoegel ckoegel requested a review from a team February 28, 2023 15:29
@ckoegel ckoegel merged commit 0601a37 into DX-2937 Feb 28, 2023
@ckoegel ckoegel deleted the stats branch February 28, 2023 15:35
ckoegel added a commit that referenced this pull request Mar 2, 2023
* DX-2937 Calls Integration Tests

* update ignore

* separate tests

* remove test.rb

* split tests and add 4xx tests

* add 403

* update call test

* update call

* clearer variable name and update env vars

* secrets.

* finish calls

* add env vars, refactoring, and recording tests

* conferences test

* more recordings tests

* finish recordings

* add asserts for response objects

* finalize calls

* reorder recordings

* finish conferences

* complete or partial

* fix test.yml

* spaces

* updates and statistics tests (#79)

* use stricter type matching for asserts

* stricter asserts

* add statistics tests

* add retry logic to call cleanup

* add sleep and retry less
ckoegel added a commit that referenced this pull request Sep 26, 2023
* OpenAPI Generator SDK Feature Branch

* remove old sdk

* Update to OpenAPI Generator v6.3 (#66)

* use version 6.3 of the generator

* regenerate tests

* drop ruby 2.6

* add 3.2 to test matrix

* split tests and do messaging integration as test

* remove from test.rb

* checkout v3

* tests in readme

* put constant env vars in spec_helper

* remove constants from messaging

* add unit and integration tasks to rake

* move other unit tests to unit folder

* clean up integration test files

* remove messaging integration tests to put in separate pr

* gitignore gemfile.lock

* update bw spec and use v6.4.0 of the generator (#72)

* Remove webrtc (#73)

* remove webrtc files

* update files

* Small changes to clean up repo for beta release (#74)

* DX-2940 Messaging Integration Tests (#67)

* DX-2940 Messaging Integration Tests

* remove ssl_verify

* switch to 1 set of 4xx tests

* set config once

* assert response objects

* DX-2941 MFA Integration Tests (#68)

* DX-2941 MFA Integration Tests

* 4xx

* finish mfa tests

* undo changes to test.rb

* standardize response name

* assert response objects

* DX-2942 TN Lookup Integration Tests (#69)

* DX-2942 TN Lookup Integration Tests

* remove unused after block

* update comment

* remove unused variable

* separate tests

* assert response objects

* DX-2938 Media Integration Tests (#70)

* DX-2938 Media Integration Tests

* upload and list tests

* happy path

* add attr_accessor for return_binary_data

* add 404

* remove unused after block

* update with comment from my parent project PR

* remove unused files

* assert response object

* use stricter asserts

* Add BXML Verbs (#75)

* Add Root Classes for BXML Verbs

* remove unfinished verbs from sdk requires

* add unit tests for Bxml and Response

* add ffi to install libxml2 for windows

* use 3.2.2 of libxml

* switch to libxml require

* Try Using Ox (#78)

* ox dump instead of to_s

* use attribute map in verb

* standardize expected bxml var

* typos

* Add Terminal Verbs (#76)

* Add Terminal Verbs

* update bridge and add unit test

* add unit test for root verb module

* bridge test

* bridge comment

* update conference

* add terminal verb unit test

* verb test

* all attributes in bridge test

* add conference and test

* add conference to sdk

* remove backslash escaping

* test number

* use real booleans for conference

* add comment to bridge

* add pause and test

* conference timeout is a Number

* add forward and test

* add explicit empty hash to tag

* add hangup and test

* add pause_recording and test

* add phone_number and test

* add play_audio and test

* comments for params

* add record and test

* add redirect and test

* add resume_recording and test

* add ring and test

* add send_dtmf and test

* add sip_uri and test

* add speak_sentence and test

* add start_gather and test

* add start_recording and test

* add stop_gather and test

* add stop_recording and test

* add stop_stream and test

* _name for stop_stream

* add stream_param and test

* add test for tag verb

* turn ssml regex into constants

* test decimals in ring verb

* test decimals in conference

* comment clean up

* Add Non-Terminal Verbs (#77)

* Add Non-Terminal Verbs

* merge SWI-1730

* update gather and add tests

* period in gather comment

* add start_stream and test

* add transfer and test

* remove add_verb method

* update response and bxml class tests

* update non-terminal verbs and tests

* refactor base verb classes (#80)

* use call id for bridge test

* update gem ox dependency

* Apply suggestions from code review

Co-authored-by: Matthew Martin <105743990+matthewkmartin@users.noreply.github.com>

---------

Co-authored-by: Matthew Martin <105743990+matthewkmartin@users.noreply.github.com>

* Calls, Recordings, Conferences, and Statistics Integration Tests (#71)

* DX-2937 Calls Integration Tests

* update ignore

* separate tests

* remove test.rb

* split tests and add 4xx tests

* add 403

* update call test

* update call

* clearer variable name and update env vars

* secrets.

* finish calls

* add env vars, refactoring, and recording tests

* conferences test

* more recordings tests

* finish recordings

* add asserts for response objects

* finalize calls

* reorder recordings

* finish conferences

* complete or partial

* fix test.yml

* spaces

* updates and statistics tests (#79)

* use stricter type matching for asserts

* stricter asserts

* add statistics tests

* add retry logic to call cleanup

* add sleep and retry less

* update version

* SWI-1988 Update SDK with `expiration` field (#87)

* SWI-1988 Update SDK with `expiration` field

* update pre-release name regex

* remove application id assert from recordings test because its not guaranteed (#90)

* update tests workflows for feature branch

* Task: Update Manteca Test IDs (#89)

* SWI-2788 Add Transcription BXML to Feature Branch (#100)

* SWI-2788 Add Transcription BXML to Feature Branch

* update workflow

* update workflows with formatting

* SWI-2821 Prep for GA (#101)

* update spec and use 6.6

* changes we'd need to automate

* newline in readme

* remove config tests

* revert config back to working version

* regenerate with v6.5.0

* fix other files

* dont try to clean up calls since voice api is slow

* update spec

* add custom templates and update readme badge

* update test workflow name

* add openapitools

* add sdk update workflow

* add config test file and fix it

* update config test

* update integration tests

* Revert "update integration tests"

This reverts commit 77545d9.

* add client option to rakefile

* update version logic and ignore file

* remove unnecessary env vars from build wf

* revert version change

* remove unnecessary spec_helper imports

* lots of small changes based on rubocop linting

* update custom templates

* add rubocop badge to README

* add gem version badge to readme

* remove unnecessary deploy action

* update codeowners

* update workflows

* add gem version env var to test wfs

* SWI-1771 Add Unit Tests  (#103)

* update spec and use 6.6

* changes we'd need to automate

* newline in readme

* remove config tests

* revert config back to working version

* regenerate with v6.5.0

* fix other files

* dont try to clean up calls since voice api is slow

* update spec

* add custom templates and update readme badge

* update test workflow name

* add openapitools

* add sdk update workflow

* add config test file and fix it

* update config test

* update integration tests

* Revert "update integration tests"

This reverts commit 77545d9.

* add client option to rakefile

* update version logic and ignore file

* remove unnecessary env vars from build wf

* revert version change

* remove unnecessary spec_helper imports

* lots of small changes based on rubocop linting

* update custom templates

* add rubocop badge to README

* add gem version badge to readme

* remove unnecessary deploy action

* update codeowners

* update workflows

* add gem version env var to test wfs

* remove newlines from bxml tests

* unit tests for acc stats

* comment

* fix eventTime data type

* answer callback tests and improve

* bridge callback and improve

* bridge target

* enum tests

* test desc

* delete unused spec files for unit tests

* update message time to be date-time

* add suite of encompassing unit tests

* update gitignore

* fix small logic error in bxml library

* calls_api unit tests

* remove unnecessary require

* update calls tests to be better and add conferences tests

* add webmock

* move 4xx tests to client suite

* skip all integration tests

* skip 4xx tests for now (TODO: fix these)

* rubocop linting for calls and conferences

* add comment to document test skips

* spacing

* fix hashes

* media tests

* remove unnecessary flag from media integration

* rubocop doesnt like my newline

* add argument error tests to media

* reorganizing

* recordings tests

* update list message item receive time

* messages tests

* add argument error tests to messages

* fix expects

* update messages

* mfa tests

* i can test basic auth in the client, not needed in apis

* assert arrays

* be_a -> be_instance_of

* tnlookup tests

* statistics tests

* add gems to Gemfile and template

* bring back statistics integration tests

* bring back mfa

* remove json dep

* tnlookup

* enforce single quotes

* more quotes changes

* single quotes

* media

* add string interpolation rule

* quotes in tests

* dont do config

* exclude files from rubocop

* ignore rubocop

* messages

* calls

* newline

* assertion cleanup

* conferences

* consistency

* recordings

* update model tests

* start on client tests

* configuration tests

* small changes

* update openapi-generator-ignore to ignore all tests

* update error checking

* error checking

* lots of client tests

* lowercase require?

* use @uri

* refactor to use let

* use let for rest of unit tests

* use let

* final client tests

* use let in integration tests

* rubocop save me

* rubocop newlines around blocks

* add ApiError tests

* no longer need to install hub

* update unit tests

* finalize workflow

* add limitTotalCount (new msg param)

* SWI-2821 Improve BXML Library (#106)

* fix deploy workflow

* please deploy this time

* SWI-3149 Update to Generator Version 7.0.0 (#107)

* SWI-3149 Update to Generator Version 7.0.0

* update tests

* fix tests again

* update workflow

* SWI-3336 Update SDK to OpenAPI Generator 7.0.0 (#108)

* SWI-3336 Update SDK to OpenAPI Generator 7.0.0

* update generator config

* update bw spec

* update sdk to 7.0.0

* add `display_name` to calls tests

* remove assignee from Jira

* SWI-3338 Update SDK for GA (#109)

* SWI-3338 Update SDK for GA

* update beta regex to normal release regex

* update version

* update README to include generate command

* update deploy workflow to update gem version before release

* test wf

* update test

* remove test

* revert pre-release regex

* update call state test

* update release regex

* remove ruby-notes and old sdk files

---------

Co-authored-by: Matthew Martin <105743990+matthewkmartin@users.noreply.github.com>
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.

None yet

1 participant