added support for custom endpoint type

Change-Id: Ia79bcc5c1acd830c353550af1ec450bb182f63cc
4 files changed