Add template for endpoint render

Adjust some logic in svc and rc templates.

Change-Id: I292d9bc68c62afa4d082ae3a7231c500f5b93b1f
Related-prod: PROD:27350
6 files changed