add java agent attributes, recipe, and template