[#8] refactor extension api model and tests.

Change-Id: Ib838a028dec39d928ab9811e47977f36daf4fd4f
Merge branch 'identity' of github.com:rcbops-qa/cloudcafe into identity