Irina Peshinskaya
90d235c7b0
MT#13717 Avoid duplicate names for billing profiles
...
Change-Id: I8896d2f3c1d8a3f698630374f7dc6512f798cc94
10 years ago
Irina Peshinskaya
2581c10452
MT#13717 Consider necessity of recreation items with cycled dependency
...
... and no edit available (edit is forbidden)
Change-Id: I99374eef0e519c6e4dbbdb3be2fd898016efdc18
10 years ago
Irina Peshinskaya
039fd497b5
MT#12347 Make necessary changes to keep data in the test scripts
...
Adopt tests from vouchers. Suggest to use in vouchers.
Change-Id: Ia157c2c6028a2d2d323fdc1d1d766e6e1f182e56
(cherry picked from commit dd5c984e61 )
10 years ago
Rene Krenn
68d8e459c8
MT#13717 fix journal tests - reseller constraint
...
..and cosmetics in the profile schedule lists in the panel UI
Change-Id: Ieb6fe62351b0cc31be2fcaa92686bfc74e50a035
10 years ago
Gerhard Jungwirth
469b064eb3
MT#13717 fix apitests related to multi_bil_prof
...
see MT#12643
Change-Id: Ice76e3aecf40f40458a20aacbaaa3a2a74bef512
10 years ago
Rene Krenn
70936e01be
MT#13717 prevent editing profiles and networks
...
... and create system contact button
Change-Id: Ia8861c079be9a3aca80b45d9053b3f1ae69a931d
10 years ago
Rene Krenn
2537819f0d
MT#12643 billing networks and multi bill prof WIP
...
-properly validate billing mapping intervals
-api/contracts and api/customers complete
+the problem with updating the "prepaid" preference remains at the moment
+billing_mappings field contains future (editable) mappings only, the full schedule is given in a separate field
+hal-links to all occurring billing profiles and networks
-extended tests: api-customer.t and api-contract.t
-api-billingnetworks.t test
-billing networks panel controller
+search by enclosed IP address
-panel UIs for billing networks, customers, contracts
+past billing mapping intervals that cannot be edited are displayed by a seperate hfh "block" part of the billing_profiles repeatable
-profile packages api, UI
+terminating billing profiles (MT#8645) will be broken
+fixed now: profile cannot be terminated unless there are:
-zero non-terminated customers, whose mappings contain the profile with future or open end
-zero profile packages, that link to the profile in either one of their initial-, underrun- or topup profile sets
+panel edit should work, termination wip
+topup_profiles w/o amounts
+contracts/customers API profile_package_id field:
+apply the package's initial profiles
+api/customer and api/contract profile definition modes (id/profiles/package)
+api OK, api-customer.t tests
+customer and contract panel UI with selector to specify actual billing mapping, schedule or profile package (same as api)
+terminate logic harmonized: profiles, networks, packages
+api tests updated
+prepare for merging: cleanup, enable tests
Change-Id: I6c0dec72f490b5731fc673cd393d6aeb08dd8143
10 years ago
Andreas Granig
4227fd2522
MT#13201 Enhance voucher API.
...
- Use billing_data ACL grants to modify vouchers
- Use encryption in UI for voucher code
Change-Id: I7711a43db8596d5f733d6c52d2f6608f434b2463
11 years ago
Andreas Granig
2c54106fd0
MT#13201 Implement voucher API
...
Change-Id: Ia82579179a29245d51c5ae3d3ea71054ceaf1bf0
11 years ago
Alexander Lutay
0dcf76102b
MT#12897 Improve selenium test stability, check "thisshouldnotexist" with table reference
...
Change-Id: I485c69ad49e85237f0c0416d8d667b4c90c239cd
11 years ago
Rene Krenn
a750b795f1
MT#11917 align snapshots in DELETE methods
...
+error message in test descriptions texts
+with recent changes to "description" fields to "required", the strict_sql_mode flage in api-journals.t has to be set.
+missing cftimestes and cfdestinationsets DELETE methods are now finally "journalized" and tested OK.
+other tests were disabled:
>test_billingzone -> journal settings not in yaml file yet, test_customerpreferences -> a valid ncos level item has to be referred (since today?) - ncos api crud methods not journalized yet
>test_profilepreferences -> a valid rewrite rule set item has to be referred (since today?) - rewrite rule set api crud methods not journalized yet
>test_autoattendants -> journal settings not in yaml file yet
>test_subscriberpreferences -> a valid ncos level item has to be referred (since today?) - ncos api crud methods not journalized yet
Change-Id: I75b24b3eb0758d6e4e248758c7861f93abc791c0
11 years ago
Gerhard Jungwirth
d743766939
MT#12555 allow port in callforward URIs
...
Change-Id: Ic006ff0930b68f4cff20df416c4b8fbce4f8d4f7
11 years ago
Rene Krenn
5cab4a0760
MT#11917 force JSON::PP for tests
...
Change-Id: I5dd7eb2d4ab8b0750cd3647e9b6323090ca8d79a
11 years ago
Rene Krenn
6803ce7498
MT#11917 remove billingzones
...
Change-Id: I439910b08e52a870f2bda55e6660da40a620dbc1
11 years ago
Rene Krenn
bce0058915
MT#11917 test enviroment json boolean conversion
...
Change-Id: I5b880bfdd39898a14e50949aa9858f800d4bd558
11 years ago
Rene Krenn
de347c6057
MT#11917 non-empty 'description' fields
...
to pass tests...
Change-Id: Ifc847dafaf3c39d31d9c66681a120e256fc61250
11 years ago
Rene Krenn
c411ece3a9
MT#11917 'must-have' api resources complete
...
- ApplyRewrites
+ AutoAttendants
~ BillingFees
OK + BillingProfiles
+ BillingZones
- CallControls
OK * CallForwards
- CallLists
- Calls
OK * CCMapEntries
OK * CFDestinationSets
OK * CFMappings
OK * CFTimeSets
OK ~ Contracts
+ CustomerBalances
OK * CustomerContacts
OK * CustomerPreferences
OK * Customers
- CustomerZoneCosts
+ DomainPreferences
OK + Domains
~ EmailTemplates
OK * FaxserverSettings
- Interceptions
- Invoices
~ InvoiceTemplates
+ NcosLevels
+ NcosPatterns
+ PbxDeviceConfigFiles
+ PbxDeviceConfigs
+ PbxDeviceFirmwareBinaries
~ PbxDeviceFirmwares
+ PbxDeviceModelImages
+ PbxDeviceModels
+ PbxDeviceProfiles
+ PbxDevices
OK * ProfilePreferences
OK * Reminders
OK ~ Resellers
+ RewriteRules
+ RewriteRuleSets
- SoundFileRecordings
~ SoundFiles
~ SoundHandles
OK * SoundSets
OK * SpeedDials
OK * SubscriberPreferences
OK ~ SubscriberProfiles
OK ~ SubscriberProfileSets
- SubscriberRegistrations
OK * Subscribers
OK ~ SystemContacts
OK * TrustedSources
- VoicemailRecordings
- Voicemails
* VoicemailSettings
Change-Id: Ibbaf8be32c6cda71637e16c40f345a15b8c1f530
11 years ago
Rene Krenn
bcb6f1e7cd
MT#11917 CFTimeSets
...
Change-Id: I35f2d44fe0281f1f63483a4fe24d3dd0ece482fd
11 years ago
Rene Krenn
0d361710f7
MT#11917 CFTimeSets typos
...
Change-Id: I9cc3b44581906f9b26ffa1735a60fb2e05178ada
11 years ago
Rene Krenn
3bc8f283a2
MT#11917 fix typo to re-run tests
...
Change-Id: Ie17777f3b5f6b68df48d8efbbd86d2d3d7db3ed2
11 years ago
Rene Krenn
83fdc85702
MT#11917 include journal in generated API doc page
...
Change-Id: Iab13239e892823e2708f5b13b985db42be45d136
11 years ago
Rene Krenn
b5dca5e6e2
MT#11917 next batch of API resources w. journal
...
-enhanced test detail: did not detect missing CRUD operations yet
-query param 'operation' didn't work for 'recent' yournal entry of all API resources so far
-fix of several copy paste errors in existing rest api code
-...
Change-Id: I71b54212d8126b0280fcad2e568fad52a673cbf0
11 years ago
Rene Krenn
edf5da9bad
MT#12347 ngcp_panel.conf location for jenkins
...
Change-Id: Ia7e293c1329cb406974a5067e64ecd2a761e7506
11 years ago
Irina Peshinskaya
d5964c474a
MT12347 In attempt to find correct config location
...
See error message from
https://jenkins/view/All/job/ngcp-panel-rest-api/14758/
Change-Id: I3ec7bfaa96fe9ce2ce55d88c8be5cfbf47b38a6f
11 years ago
Irina Peshinskaya
9c77c88709
MT#11147 Don't use brute-forced test data clearing
...
It doesn't work for the remote db server, and hardcode is a evil.
Change-Id: I1aa5b220bd2212e2b98afbc2845c95faec4f160d
11 years ago
Rene Krenn
96c731a144
MT#11917 Journaling for first set of resources
...
the journal module introduces a change history of
resources modified by api invocations. the history of
the 'customer' resource demo is accessible at
/api/customers/x/journal.
Change-Id: I4d5d11bc3e35160feed587ce4c1db565991866b2
11 years ago
Irina Peshinskaya
957b848bec
MT#11147 use default DB account to clear test data from DB
...
Change-Id: I85b7a2f21930ccf03bafc617fb6f5c423a1a61ed
11 years ago
Irina Peshinskaya
25982e1c54
MT#11147 Return test data clearing directly in the db
...
Change-Id: Id0b76e37cd0e62e31c57f06debe658381e18e4fb
11 years ago
Irina Peshinskaya
5590b410ea
MT#11147 Move test libraries to the correct location
...
Change-Id: I0cfa8e406831e41ac1093c916ffcb69c04fbe2d0
11 years ago
Irina Peshinskaya
11979e04ad
MT#11147 Create fake data for the devicemodels and pbxdevices tests
...
Change-Id: I782bd536fe6dc18d35857519f463329fba0c9da2
11 years ago
Gerhard Jungwirth
a35314d0aa
MT#11827 validate sip uri
...
Change-Id: I19281ec28eb6708e824963bef8a4e0523499add8
11 years ago
Irina Peshinskaya
ec9c71dbe3
MT#11147 Phone extensions
...
Change-Id: Ie08f85030a26dc00fe246c71e73a81bd001a2be4
11 years ago
Andreas Granig
07016f6f7a
MT#11741 Add pbxdevicemodelimages to tests
...
Change-Id: I273ce1d67f092da9843c99fa8fb55d70bdef4d73
11 years ago
Irina Peshinskaya
6fbbc11dcd
MT#10797 Fix message in the tests.
...
Change-Id: I938dc41b9d87ca1b0ac55cb7e2d82a6102df29dd
11 years ago
Andreas Granig
299fa89266
MT#10537 Skip GET test on calllists.
...
It needs a subscriber_id also for the collection, which we don't
have in this test.
11 years ago
Andreas Granig
8b5a820b3f
MT#10537 Add calllists to test list
11 years ago
Andreas Granig
f9d954af7f
MT#10199 Add prof prefs to test.
11 years ago
Alexander Lutay
16c9418253
MT#9677 Updated test accordingly to trunk changes
...
We have disabled (by default) www_csc and split new
selfcare and admin interfaces, selenium tests should be
updated accordingly.
Change-Id: Idef367a8b4bec1624a3d11819f03ef18f1b94a16
11 years ago
Alexander Lutay
7ec63b08a2
MT#9481 Fix REST API test for changes introduced in 8122482
...
Change-Id: Ib5c6a21b2dc1d7a3ec905e41cc3a4b7c00922d2c
(cherry picked from commit d4f1a9b43f )
11 years ago
Andreas Granig
9dc97d1ed3
MT#9481 API: use correct balance link
11 years ago
Andreas Granig
eced8fc589
MT#9481 API: contract doesn't have link to balance
...
Removed on purpose.
11 years ago
Alexander Lutay
eb2e344fe0
MT#9481 REST API test fix: add new item customerbalances, see a58ac04
...
Change-Id: I7a89f9edbc76a0fadd41f403014a7b4e9be8f42b
11 years ago
Alexander Lutay
a668352876
MT#9481 REST API test fix: link contractbalances was deleted in 83bd0f9
...
Change-Id: I40d95c5050ac62fc067d8a52e3ee89e54c084044
11 years ago
Gerhard Jungwirth
ff21cd6c92
MT#9291 fix Api test cf once more
...
check both destination and simple_destination
see also MT#9263
11 years ago
Gerhard Jungwirth
cf404f1b9a
MT#2655 setup Test::Perl::Critic::Progressive
11 years ago
Gerhard Jungwirth
cc778971a8
MT#8729 api-test callforward deflation
...
new format without sip:...
11 years ago
Gerhard Jungwirth
535a44fa6d
MT#8613 add /api/interceptions to test
11 years ago
Alexander Lutay
4a897f0d19
MT#7791 Add ccmapentries to REST API test
11 years ago
Alexander Lutay
99fd32c80e
MT#7867 Add REST API check for 'invoicetemplates'
11 years ago
Gerhard Jungwirth
17f092219f
MT#7959 fix contract PUT/PATCH, tests
...
now that type is checked by form, it must be
properly passed by put/patch. Also error message changed.
(cherry picked from commit 526a6c1a19 )
11 years ago
Andreas Granig
fcdf809237
MT#7747 Adapt tests to latest change.
11 years ago
Alexander Lutay
5409d3834b
MT#7803 Late typo fix t/api-root.t
12 years ago
Alexander Lutay
b71d4cefca
MT#7803 Add invoice details REST API to t/api-root.t
12 years ago
Gerhard Jungwirth
49f14f8e8f
MT#7447 fix api customers test
...
we now show terminated customers by default, so filter for
active ones only. see also MT#7797
12 years ago
Alexander Lutay
307dbf0891
MT#7649 Update test for new RESI API links
12 years ago
Alexander Lutay
4efe1b5499
MT#7177 Restore missed contracts check, typo in 8082eec6
12 years ago
Alexander Lutay
7a9d2803d1
MT#7177 Reorder REST test links alphabetically, removed duplicates
12 years ago
Alexander Lutay
8082eec68c
MT#7177 Fix REST API test (add applyrewrites)
12 years ago
Alexander Lutay
25c9d9f3e1
MT#7177 Fix REST API test (add callcontrols check)
12 years ago
Andreas Granig
2fece899a0
MT#7495 Add customer prefs to test.
...
Check for customer prefs and related defs in test.
12 years ago
Gerhard Jungwirth
c4413fb183
MT#7447 add new collections to api test
...
ncoslevels,ncospatterns,soundhandles
12 years ago
Gerhard Jungwirth
9eda12c6fc
MT#7421 api tests
...
test OPTIONS (and GET) on all collections
12 years ago
Gerhard Jungwirth
8f5c6d0907
MT#7239 API faxserversettings
12 years ago
Gerhard Jungwirth
f942aed9e1
MT#7211 API add autoattendants to test
12 years ago
Alexander Lutay
306145510a
MT#7191 Fix tests (country selection support)
12 years ago
Gerhard Jungwirth
ac74b9774d
MT#3955 API callcosts: GET
12 years ago
Gerhard Jungwirth
582b835db6
MT#7067 fix api tests
12 years ago
Gerhard Jungwirth
718f10cf24
MT#3941 API: add voicemail relations to test
12 years ago
Gerhard Jungwirth
d71f12aff9
MT#3937 API speeddials get
...
collection and item
12 years ago
Gerhard Jungwirth
0de65edace
MT#6827 API pbxdevicemodels GET
12 years ago
Gerhard Jungwirth
313bf84e6a
MT#6827 API pbxdeviceconfigs GET
12 years ago
Gerhard Jungwirth
0430f83d46
MT#6827 API pbxdeviceprofiles GET
12 years ago
Andreas Granig
8d7db36171
MT#3931 Fix reseller fetch in customercontact test
12 years ago
Victor Seva
f1672e9c53
MT#6833 MT#6695 use api_ssl directory
12 years ago
Gerhard Jungwirth
a11b53aa3e
MT#6497 API cfmappings GET
12 years ago
Gerhard Jungwirth
2dd40a8999
MT#6497 API cftimesets
12 years ago
Gerhard Jungwirth
d4cf98646d
MT#6497 API cfdestinationsets
12 years ago
Gerhard Jungwirth
64015835d5
MT#6497 API: callforwards - tests
12 years ago
Gerhard Jungwirth
fc1c89a7c1
MT#6497 API: get callforwards (simple)
12 years ago
Gerhard Jungwirth
6acd3f210d
MT#6295 API: allow tests without invalid/unauth cert
...
which are (for now) difficult to get on test machines
12 years ago
Gerhard Jungwirth
e4d2a22ef6
MT#6295 fix api-root test
...
Update currently available links
12 years ago
Gerhard Jungwirth
46e5f4431c
MT#6195 api tests adjustments - use is
12 years ago
Gerhard Jungwirth
edd904ce45
MT#6295 API: fix tests Prefer header no longer required
12 years ago
Gerhard Jungwirth
63aa4e35f7
MT#6195 API: rewriterule/rewriteruleset basic tests
12 years ago
Gerhard Jungwirth
386b2f410f
MT#6195 api-tests: use is instead of ok
...
better diagnostics
12 years ago
Gerhard Jungwirth
cc3a7eaa2a
MT#5751 test stability: dataTables filter
...
always search for a non-existing row before searching
for the real entry, to get a fresh row, and a deterministic
dom change. (see 5751#c37775)
12 years ago
Gerhard Jungwirth
20a73ec489
MT#5751 prevent staleelement exception when searching datatables
...
if this ajax call is not yet finished it changes the table, which interferes
with the commands which follow
remove it, as there should be only one row anyways
see 5751#c37733
12 years ago
Alexander Lutay
87f5af1d16
MT#5955 Increase window size to support selenium tests with iceweasel >=24
12 years ago
Gerhard Jungwirth
cbd0438c95
MT#4871 fix domain test
...
the skip part was never executed
also make it more robust
12 years ago
Gerhard Jungwirth
d4c0d8de50
MT#4771 increase wait-timeout on admin-login test
...
see 4771#c31437
12 years ago
Gerhard Jungwirth
a66fd07e90
MT#4771 fix customer test, select product
...
see also 4871#c31665
12 years ago
Gerhard Jungwirth
fdd4c48b19
MT#4771 fix selenium resolution for reseller test
...
see comment, 4771#c31437
for more on tests, see MT#4871
12 years ago
Gerhard Jungwirth
ac17c5421d
MT#4871 Change screenres of selenium-tests to 1024x768
...
which complies with our video output
12 years ago
Andreas Granig
456df97df0
MT#3931 API: implement customer contract handling.
12 years ago
Andreas Granig
3a07a53967
MT#3925 API: Merge branch 'agranig/rest'
12 years ago
Andreas Granig
3db6117dfd
MT#3931 API: Implement customer contacts.
...
Move update parts into role.
Implement customer contacts.
12 years ago
Andreas Granig
5c5668da28
MT#3949 API: Implement reseller resource handling.
12 years ago
Andreas Granig
c0a6264507
MT#5299 API: Implement implicit zone def for fees
12 years ago
Andreas Granig
d12520982f
MT#5299 API: more billing tests and bug fixes.
12 years ago
Andreas Granig
cd2d9e47aa
MT#5255 Fix boolean handling and HFH validation
12 years ago