* add support for new table cdr_period_costs
* contract_fraud_events virtual view is reworked. It
now works with cdr_period_costs table instead of cdr
* contract_fraud_events virtual view does not require
the interval parameter anymore
Change-Id: I67aac0314b303633834b3b2f1bb2e436986d0ce7
We move all perl modules into a new libngcp-schema-perl, and the
tool into a new ngcp-schema-tools. And make the old ngcp-schema a
transitional dummy package.
We also stop installing the test.conf file, and stop depdending on
the libtest-fatal-perl package.
Change-Id: I76bd8fe831c10e50c1e7582acde29b1ac1a75d91
Since ngcp-panel is fetching numbers from billing.voip_numbers, but we
don't want to duplicate devid related data there and in
provisioning.voip_dbaliases, we have to create a relation between those.
Change-Id: Icad84e90f4ca8b7e7de51844cda8227f5fcf449f
libgtk2-gladexml-simple-perl ships /usr/share/perl5/Gtk2/GladeXML/Simple.pm
and gpsketcher, though neither of them seem to be in use by ngcp-schema.
Noticed when building against Debian/buster, which no longer
ships libgtk2-gladexml-simple-perl, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904551
Change-Id: Ifcd5b53c9bc95d164e73f8b4ff499b696e5fc8df
new resultsets:
- "legacy_billing_mappings":
fast virtual view listing a contract's billing mappings
according to the legacy table layout. this is used
by panel UI to present the mappings in the convenient,
known way.
- "actual_billing_profiles":
a resultset for joining the fast(er)
billing.v_actual_billing_profiles it is only used for
filters involving the (actual) billing profile or its
properties.
- "contracts_billing_profile_network"
- "contracts_billing_profile_network_schedule":
resultsets for the new db tables. added for completeness,
but not directly used by panel dbix code.
modified resultsets/relationships:
- "contract_fraud_events":
makes use of the fast billing.v_actual_billing_profiles
view.
- "billing_networks", "billing_profiles" and "contracts":
have their billing_mappings relationship replaced by
the billing_mappings_view resultset keep compatibility
with existing panel code (ie. input check logic).
- "contracts":
the legacy "actual_billing_mappings" relationship is
removed permanetly.
deprecated resultsets:
- "actual_billing_mappings":
this old virtualview is only kept for now to be able to
run the billing_mapping_effective_start_time.t testcases.
- "billing_mappings":
not in use any more.
Change-Id: Ica6d0e3f28873046047e0dc3636177a269fa4267
* ngcp-panel uses SET NAMES utf8mb4 and therefore
COLLATE must be also utf8mb4_bin, otherwise a
collation error is raised
Change-Id: I573daaa238c293e676f1b28ebc65c51d1b1fabea
We are in the process of removing the obsolete init scripts, so trying
to use them directly will make these operations not work at all.
In addition these actions are always denied on NGCP via our permanent
ngcp-service, so there is no point in even trying.
Change-Id: Ied55905555dfe513b011435e4a077e9d80e3acb7