[ARIES-CDI] simplify by embedding the inject APIs Signed-off-by: Raymond Augé <rotty3000@apache.org>