Usage of IP addresses like 1.2.3.4 is not recommended, as they
might point to actually used and non-reserved IPs.
Quoting from RFC 5737 AKA "IPv4 Address Blocks Reserved for
Documentation" (see https://datatracker.ietf.org/doc/html/rfc5737):
| The blocks 192.0.2.0/24 (TEST-NET-1), 198.51.100.0/24 (TEST-NET-2), and
| 203.0.113.0/24 (TEST-NET-3) are provided for use in documentation.
So use 203.0.113.0/24 instead.
Change-Id: I4b85120e1409af306c52693211bd86ea01ec19df
This field controls a behavior upon cancelling unsuccessful legs:
- terminate legs with CANCEL (default way)
- terminate legs with BYE
Change-Id: I2ff5c758c319714f0e6636db8b8ba5c0fd495e1f
Run pip3 install with --break-system-packages, to address new PEP 668
specific behavior of pip3, as present in Debian/bookworm:
| error: externally-managed-environment
|
| × This environment is externally managed
| ╰─> To install Python packages system-wide, try apt install
| python3-xyz, where xyz is the package you are trying to
| install.
|
| If you wish to install a non-Debian-packaged Python package,
| create a virtual environment using python3 -m venv path/to/venv.
| Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
| sure you have python3-full installed.
|
| If you wish to install a non-Debian packaged Python application,
| it may be easiest to use pipx install xyz, which will manage a
| virtual environment for you. Make sure you have pipx installed.
|
| See /usr/share/doc/python3.11/README.venv for more information.
|
| note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
| hint: See PEP 668 for the detailed specification.
Change-Id: I8b27b4dcee8e7b09cc96aff6c45f3747681213ad
* the endpoint is temporarily removed from testing until
the ngcp_type check is introduced for these tests
Change-Id: I8d5c3c1e625ce68469061f111931011664969c58
* rtcengine related logic and apps is now removed
* remove /api/rtcapps endpoint
* remove /api/rtcnetworks endpoint
* remove rtcengine relations from resellers such as
enable_rtc flags
* remove rtcengine related API tests
* remove rtcengine and comx related libraries
* remove csc webphone ui app
* remove webrtc related selenium tests
* remove rtcengine flags from /api/capabilities
Change-Id: I83a4b0457fac2e0df23d267f8dbc82841dfb3001
- Optional "role" parameter is added for POST PUT PATCH.
If "role" is provided then the passed flags are ignored and are applied internally by the server according to the provided role.
If "role" is not provided then the former flags based approach is applied.
Change-Id: Ib6e591ff6dc50122e0ec49a348153ca820fc2e03
* 'webpassword' field is becomes encrypted and will not match the
original result, as well as after PUT/PATCH, the salted password
becomes different
Change-Id: I1b091823f5a2f0c39df16e5770a7f9032bca4963
* PUT updates path of registration and DELETE
with the old path failed; deleting with new
path fixed the problem
Change-Id: Iaaf08a6e2034cb312462c5eafb0fd5daf535a2e7
Allow reusing previously created NGCP::API::TestFramework object for
running a new test scenario, while using previously collected data.
- Save 'retained' variables inside module $self object.
- Move 'unique_id' generation from the module to wrapper script.
- Allow rewriting of 'file_path' object.
Change-Id: Ie961f7d0fb34f71e04353125e026ad00715efe91
Make new 'ngcp-api-testframework' package with module:
NGCP::API::TestFramework
Move the module source from t/api/rest2/lib/ to lib/
Change paths accordingly in module files.
Change-Id: I7a4b08ecac1059533628771ea4faf2eb10dba41f
Modify NGCP API Test Framework:
1. Add support for using variables in deeply nested parameters in yaml
test scenarios, by running vars replacement in recursion.
2. Simplify vars replacement logic in RequestBuilder.pm by deleting
conditions that are relevant to TestExecutor.pm only.
3. Allow passing directory as argument to testrunner in order to run
all yaml tests in that specific directory.
4. Fix the error message of failed 'code' condition.
Change-Id: I05a310609dc1ad15d33e37574e07078dfbe38aa7
* Add the new fields to the Billing fees form
* Add the new fields to the csv order for
download and upload to work
* Change tests to include the new fees fields
Change-Id: If45bfe4f39ccd0283c72071489f5930eab2c37e9
* announcement_id had a hardcoded value
which was not present in CE; retrieving
existent one fixed the problem
Change-Id: I5dbf7976b9dd5326f855675c2c2a9239640b9777
* Only allow to assign domains for subscribers
from the same reseller as subscriber's customer
* Change Subscribers.yaml test to retrieve a
domain for testing from the same reseller
as subscriber's customer
Change-Id: I6c7cc7a9874207cfcd63360a6f87e2fd6841011c
* Add warning system: throw warnings
whenever a variable is wanted but
not present
* Migrate api-journals and api-topupvoucher
Change-Id: Iefb6f4f3ebe7d11f904d21a6d255e7940e8bb07a
* change threads number to 2 as
it temporarily fixes the 403 error
for the first two test cases
* add creating of contract in test
case SubscriberRegistration because
fetchig an existing one would fail
Change-Id: I5f27c01f39f8611004618feebc9ed1b6a7ee8066
* Separate and isolate new REST API 2 tests into 't/api-rest2'.
* Create initial Dockerfile to run new api-rest2 tests on Jenkins.
* Store test results into '/results' folder to be Docker/Jenkins compatible.
* Simplify the Perl classes naming.
* Make Perl critic happy: Magic variable "$ENV" should be assigned as "local"
Change-Id: I72f62a959ea7dce91b8f7b565bba5969e51f5259