to prevent specifying db connections and (unencrypted)
credentials in the config.cfg file, we now support loading
it from constants.yml.
this can be enabled by specifying a path to constants.yml
in config.cfg, ie.
constants_yml = /etc/ngcp-config/constants.yml
particular values can be overloaded, and the order of
precedence is as follows:
1. values in config.cfg
2. values in constants.yml
3. values in provisioning.conf
...
Change-Id: Icc0a57f13e265c3d10bcb697c998e65f2bd6b31d
config options for .csv exports have to be exposable
in bulk-processor .cfg files, ie.
eol
sep_char
quote_char
escape_char
Change-Id: I805f11cc4d11f626bb74638680db4804488f1555
to authenticate (trusted) backend application via EWS, it boils
down to have 3 credential parameters:
tenant_id
client_id
client_secret
Change-Id: I0f42f2e48471ef2c027b6b902123fa7ccf03f1bb
AttachmentDownloader is an abstract base class for mail
services, implemented f.ex. for IMAP protocol.
This commit adds an implementation using the EWS Soap
protocol. It is the final part of the OAuth2 PoC.
Change-Id: Ibb1d115570b2ccd0891cfdc51b53266d6b55e923
EWS::Client::Role::SOAP reimplementation using
LWP::Authen::OAuth2 to support authenticating
backend apps with registered app id.
Change-Id: I607d4a3aa744e39aff27ba3dbc93e9a3a272ca4b
EWS::Client implementation overload to register
the role EWS::Client::Role::GetAttachment providing
the EWS SOAP "GetAttachment" implementation.
Change-Id: Iff3de2fd5626da94e227eabcfe2c9bdfd1d43501
This switches the output to the traditional SI binary unit suffixes, and
to the decimal metric system unit suffixes.
Change-Id: Icf3b6a0c074ad89014884eed3a9643085ee802cf
Change the function to handle bytes by default, which is what most
callers are passing. Add support for terabytes and petabytes. Switch
kbytes2gigs() to be a wrapper over humanize_bytes() for backwards
compatibility for now until all callers are switched. Remove
unnecessary int() coercion from call sites.
Change-Id: I94be536d73930a453d588e0edbb8192d6844bbe0
this tool provides loading and updating the ngcp LNP
database from customer-specific textfiles with many
GBytes and tens of mio. of rows. in a *fast* way.
Change-Id: Ie64b1a9c7dfe3251c41dd443ed937cf8da18cb36
exporting the same field (path) multiple times results
in duplicate column names, which are rejected by sqlite
or DBD::xyz.
This change introduces a "colname" field for providing
an alternative column name to prevent colliding names.
Change-Id: I904862651c1a24c4cdc6c643da6f9156e15ffbc6
This reverts commit df98b0a7c3.
This is not needed anymore, now that we use a function to fetch the
correct version for the application.
Change-Id: Ie56ba6dc01b6a75f9ac21382879891727881ccc1
The variable from the main space gets declared too late when we want to
initialize the variable in the module. Instead switch to use a function
that gets called on demand, which will have the available value at that
time. This removes the need to declare $VERSION in a BEGIN section, as
that is error-prone and easy to forget for new code.
Change-Id: I613698169dddd6d7ccf52b16a0ee9994e84b3543
This should make it easier to see the application version in contrast to
the system modules version. We initialize this at build time from the
package version, and fallback to the module version if the application
has no usable version.
Change-Id: I4b4e1a926aea517b2b3b46261794e187af0c9865