use of org.eclipse.winery.repository.rest.resources.servicetemplates.plans.PlansResource in project winery by eclipse.
the class ServiceTemplateResource method getPlansResource.
@Path("plans/")
public PlansResource getPlansResource() {
TPlans plans = this.getServiceTemplate().getPlans();
if (plans == null) {
plans = new TPlans();
this.getServiceTemplate().setPlans(plans);
}
return new PlansResource(plans.getPlan(), this);
}
Aggregations