Added resource dependecy. Made dummy rest service invocation.