@@ -0,0 +1,1115 @@
+package uk.ac.ebi.subs.api.processors;%0A%0Aimport org.springframework.hateoas.Resource;%0Aimport org.springframework.hateoas.ResourceProcessor;%0Aimport org.springframework.stereotype.Component;%0Aimport uk.ac.ebi.subs.api.controllers.StatusDescriptionController;%0Aimport uk.ac.ebi.subs.repository.model.ProcessingStatus;%0A%0Aimport static org.springframework.hateoas.mvc.ControllerLinkBuilder.linkTo;%0Aimport static org.springframework.hateoas.mvc.ControllerLinkBuilder.methodOn;%0A%0A@Component%0Apublic class ProcessingStatusResourceProcessor implements ResourceProcessor%3CResource%3CProcessingStatus%3E%3E %7B%0A%0A    @Override%0A    public Resource%3CProcessingStatus%3E process(Resource%3CProcessingStatus%3E resource) %7B%0A%0A        addStatusDescriptionRel(resource);%0A%0A        return resource;%0A    %7D%0A%0A    private void addStatusDescriptionRel(Resource%3CProcessingStatus%3E resource) %7B%0A        resource.add(%0A                linkTo(%0A                        methodOn(StatusDescriptionController.class)%0A                                .processingStatus(resource.getContent().getStatus()))%0A                        .withRel(%22statusDescription%22)%0A        );%0A    %7D%0A%7D%0A

add links to the processing status description