@@ -0,0 +1,1301 @@
+package com.cgi.eoss.fstep.api.controllers;%0A%0Aimport java.util.stream.Collectors;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.data.rest.webmvc.BasePathAwareController;%0Aimport org.springframework.hateoas.Resources;%0Aimport org.springframework.web.bind.annotation.GetMapping;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.RestController;%0Aimport com.cgi.eoss.fstep.model.FstepService;%0Aimport com.cgi.eoss.fstep.persistence.service.ServiceDataService;%0Aimport com.cgi.eoss.fstep.services.DefaultFstepServices;%0Aimport lombok.RequiredArgsConstructor;%0Aimport lombok.extern.log4j.Log4j2;%0A%0A@RestController%0A@BasePathAwareController%0A@RequestMapping(%22/services%22)%0A@RequiredArgsConstructor(onConstructor = @__(@Autowired))%0A@Log4j2%0Apublic class ServicesApiExtension %7B%0A%0A    private final ServiceDataService serviceDataService;%0A%0A    @GetMapping(%22/defaults%22)%0A    public Resources%3CFstepService%3E getDefaultServices() %7B%0A        // Use the default service list, but retrieve updated objects from the database%0A        return new Resources%3C%3E(DefaultFstepServices.getDefaultServices().stream()%0A                .map(s -%3E serviceDataService.getByName(s.getName()))%0A                .collect(Collectors.toList()));%0A    %7D%0A%0A%7D

Add services API extension for help desk page