Moved discovered asset retrieval into REST controller.

AFDP-153