BUG-981: Migrate from deprecated private method to public

Change-Id: I8c75db4700351f53843fd273286df5d0849731b0
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
Merge "BUG-981: Migrate from deprecated private method to public"