Skip to content
Snippets Groups Projects

Ozg 6741 organisationseinheit link

Merged Felix Reichenbach requested to merge OZG-6741-Organisationseinheit-link into main
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -27,6 +27,7 @@ import static org.springframework.hateoas.server.mvc.WebMvcLinkBuilder.*;
import java.util.List;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.hateoas.EntityModel;
import org.springframework.hateoas.Link;
import org.springframework.hateoas.server.RepresentationModelProcessor;
@@ -38,6 +39,7 @@ import lombok.RequiredArgsConstructor;
@Component
@RequiredArgsConstructor
@ConditionalOnProperty(prefix = FeatureToggleProperties.FEATURE_TOGGLE_PREFIX, name = "organisationsEinheiten", havingValue = "true")
class OrganisationsEinheitRootProcessor implements RepresentationModelProcessor<EntityModel<Root>> {
static final String REL_ORGANISATIONS_EINHEITEN = "organisationsEinheiten";
Loading