services: implemented GetPlansByServiceName.

related to #669.