[Yan Qian] change url pattern from service to resources.