- use kraft instead of zookeeper
- add handlers in case of cfg changes
- create a separate user for the kafka service
- bump kafka version
- make the role more configurable
HierarchyPath parser now returns nil when
the path is empty (instead of a string slice with one
EmptyString element).
If the prefix is set to true, when calling the AsString
method on a nil HierarchyPath, only the separator will
be returned. This avoids a nil expr error coming from
the xmlquery library.
Use the Query and QueryAll functions from the xmlquery
package to be able to handle the errors ourselves and
avoid panics.
Added an integration tes for the special case where the
xml_root_path field is left empty. Before the change it
used to trim the root element from the path slice when
attempting to retrieve a the relative path slice.
Adjusted rng-tools binary path.
Removed redundant distribution, since we can just use the branch
directly.
Removed checks related to the master branch.
Removed clone_repository variable from defaults. Now if it's not found
we will assume it's true.
In the cgrates building task we are not forcibly sourcing the /etc/profile
script anymore since it's redundant (we are using bash -lc to execute the
script, where -l will do that automatically).
Make sure we create symbolic links for all binaries we build (not just cgr-engine).
This meant the migrator task environment field could be removed as well.
The FormatCost function in cdr.go now accepts an additional parameter of type *config.RSRParser. This is
then used to extract the value from its path as opposed to always using the value of the Cost field directly.
Improved the unit test for the FormatCost function. Now it has become a table-driven test and it handles
cases when the cost is retrieved from different fields other than from the CDR.