Commit 9c3de0bf authored by femiadeyemi's avatar femiadeyemi
Browse files

rename package entities to entity

parent a3d5a946
Pipeline #73482 passed with stages
in 7 minutes
......@@ -32,9 +32,9 @@ import javax.validation.Valid;
import javax.validation.constraints.Min;
import java.util.List;
import de.helmholtz.marketplace.cerebrum.entities.MarketService;
import de.helmholtz.marketplace.cerebrum.entities.relationship.Management;
import de.helmholtz.marketplace.cerebrum.entities.relationship.ServiceProvider;
import de.helmholtz.marketplace.cerebrum.entity.MarketService;
import de.helmholtz.marketplace.cerebrum.entity.relationship.Management;
import de.helmholtz.marketplace.cerebrum.entity.relationship.ServiceProvider;
import de.helmholtz.marketplace.cerebrum.errorhandling.CerebrumApiError;
import de.helmholtz.marketplace.cerebrum.service.MarketServiceService;
import de.helmholtz.marketplace.cerebrum.utils.CerebrumControllerUtilities;
......
......@@ -35,8 +35,8 @@ import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;
import de.helmholtz.marketplace.cerebrum.entities.MarketUser;
import de.helmholtz.marketplace.cerebrum.entities.relationship.Affiliation;
import de.helmholtz.marketplace.cerebrum.entity.MarketUser;
import de.helmholtz.marketplace.cerebrum.entity.relationship.Affiliation;
import de.helmholtz.marketplace.cerebrum.errorhandling.CerebrumApiError;
import de.helmholtz.marketplace.cerebrum.service.MarketUserService;
import de.helmholtz.marketplace.cerebrum.utils.CerebrumControllerUtilities;
......
......@@ -32,7 +32,7 @@ import javax.validation.Valid;
import javax.validation.constraints.Min;
import java.util.List;
import de.helmholtz.marketplace.cerebrum.entities.Organization;
import de.helmholtz.marketplace.cerebrum.entity.Organization;
import de.helmholtz.marketplace.cerebrum.errorhandling.CerebrumApiError;
import de.helmholtz.marketplace.cerebrum.service.OrganizationService;
import de.helmholtz.marketplace.cerebrum.utils.CerebrumControllerUtilities;
......
package de.helmholtz.marketplace.cerebrum.entities;
package de.helmholtz.marketplace.cerebrum.entity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
......
package de.helmholtz.marketplace.cerebrum.entities;
package de.helmholtz.marketplace.cerebrum.entity;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
......@@ -16,8 +16,8 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import de.helmholtz.marketplace.cerebrum.entities.relationship.Management;
import de.helmholtz.marketplace.cerebrum.entities.relationship.ServiceProvider;
import de.helmholtz.marketplace.cerebrum.entity.relationship.Management;
import de.helmholtz.marketplace.cerebrum.entity.relationship.ServiceProvider;
import de.helmholtz.marketplace.cerebrum.utils.CerebrumEntityUuidGenerator;
import static de.helmholtz.marketplace.cerebrum.utils.CerebrumEntityUuidGenerator.generate;
......
package de.helmholtz.marketplace.cerebrum.entities;
package de.helmholtz.marketplace.cerebrum.entity;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
......@@ -11,8 +11,8 @@ import org.neo4j.ogm.annotation.Relationship;
import javax.validation.constraints.Size;
import java.util.List;
import de.helmholtz.marketplace.cerebrum.entities.relationship.Affiliation;
import de.helmholtz.marketplace.cerebrum.entities.relationship.Management;
import de.helmholtz.marketplace.cerebrum.entity.relationship.Affiliation;
import de.helmholtz.marketplace.cerebrum.entity.relationship.Management;
@Setter(AccessLevel.PUBLIC)
@Getter(AccessLevel.PUBLIC)
......
package de.helmholtz.marketplace.cerebrum.entities;
package de.helmholtz.marketplace.cerebrum.entity;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
......@@ -15,8 +15,8 @@ import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Objects;
import de.helmholtz.marketplace.cerebrum.entities.relationship.Affiliation;
import de.helmholtz.marketplace.cerebrum.entities.relationship.ServiceProvider;
import de.helmholtz.marketplace.cerebrum.entity.relationship.Affiliation;
import de.helmholtz.marketplace.cerebrum.entity.relationship.ServiceProvider;
import de.helmholtz.marketplace.cerebrum.utils.CerebrumEntityUuidGenerator;
import static de.helmholtz.marketplace.cerebrum.utils.CerebrumEntityUuidGenerator.generate;
......
package de.helmholtz.marketplace.cerebrum.entities;
package de.helmholtz.marketplace.cerebrum.entity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
......
package de.helmholtz.marketplace.cerebrum.entities.relationship;
package de.helmholtz.marketplace.cerebrum.entity.relationship;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.neo4j.ogm.annotation.EndNode;
......@@ -9,8 +9,8 @@ import org.neo4j.ogm.annotation.StartNode;
import java.util.Objects;
import de.helmholtz.marketplace.cerebrum.entities.MarketUser;
import de.helmholtz.marketplace.cerebrum.entities.Organization;
import de.helmholtz.marketplace.cerebrum.entity.MarketUser;
import de.helmholtz.marketplace.cerebrum.entity.Organization;
@RelationshipEntity(type = "BELONGS_TO")
public class Affiliation
......
package de.helmholtz.marketplace.cerebrum.entities.relationship;
package de.helmholtz.marketplace.cerebrum.entity.relationship;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.neo4j.ogm.annotation.EndNode;
......@@ -10,8 +10,8 @@ import org.neo4j.ogm.annotation.StartNode;
import java.util.Arrays;
import java.util.Objects;
import de.helmholtz.marketplace.cerebrum.entities.MarketService;
import de.helmholtz.marketplace.cerebrum.entities.MarketUser;
import de.helmholtz.marketplace.cerebrum.entity.MarketService;
import de.helmholtz.marketplace.cerebrum.entity.MarketUser;
@RelationshipEntity(type = "MANAGES")
public class Management
......
package de.helmholtz.marketplace.cerebrum.entities.relationship;
package de.helmholtz.marketplace.cerebrum.entity.relationship;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.neo4j.ogm.annotation.EndNode;
......@@ -9,8 +9,8 @@ import org.neo4j.ogm.annotation.StartNode;
import java.util.Objects;
import de.helmholtz.marketplace.cerebrum.entities.MarketService;
import de.helmholtz.marketplace.cerebrum.entities.Organization;
import de.helmholtz.marketplace.cerebrum.entity.MarketService;
import de.helmholtz.marketplace.cerebrum.entity.Organization;
@RelationshipEntity(type = "HOSTED_BY")
public class ServiceProvider
......
......@@ -6,7 +6,7 @@ import org.springframework.data.repository.query.Param;
import java.util.Optional;
import de.helmholtz.marketplace.cerebrum.entities.MarketService;
import de.helmholtz.marketplace.cerebrum.entity.MarketService;
public interface MarketServiceRepository extends Neo4jRepository<MarketService, Long>
{
......
......@@ -6,7 +6,7 @@ import org.springframework.data.repository.query.Param;
import java.util.Optional;
import de.helmholtz.marketplace.cerebrum.entities.MarketUser;
import de.helmholtz.marketplace.cerebrum.entity.MarketUser;
public interface MarketUserRepository extends Neo4jRepository<MarketUser, Long>
{
......
......@@ -5,7 +5,7 @@ import org.springframework.data.repository.query.Param;
import java.util.Optional;
import de.helmholtz.marketplace.cerebrum.entities.Organization;
import de.helmholtz.marketplace.cerebrum.entity.Organization;
public interface OrganizationRepository extends Neo4jRepository<Organization, Long>
{
......
......@@ -11,11 +11,11 @@ import org.springframework.web.util.UriComponentsBuilder;
import java.lang.reflect.Field;
import de.helmholtz.marketplace.cerebrum.entities.MarketService;
import de.helmholtz.marketplace.cerebrum.entities.MarketUser;
import de.helmholtz.marketplace.cerebrum.entities.Organization;
import de.helmholtz.marketplace.cerebrum.entities.relationship.Management;
import de.helmholtz.marketplace.cerebrum.entities.relationship.ServiceProvider;
import de.helmholtz.marketplace.cerebrum.entity.MarketService;
import de.helmholtz.marketplace.cerebrum.entity.MarketUser;
import de.helmholtz.marketplace.cerebrum.entity.Organization;
import de.helmholtz.marketplace.cerebrum.entity.relationship.Management;
import de.helmholtz.marketplace.cerebrum.entity.relationship.ServiceProvider;
import de.helmholtz.marketplace.cerebrum.repository.MarketServiceRepository;
import de.helmholtz.marketplace.cerebrum.service.common.CerebrumServiceBase;
......
......@@ -12,9 +12,9 @@ import org.springframework.web.util.UriComponentsBuilder;
import java.lang.reflect.Field;
import de.helmholtz.marketplace.cerebrum.entities.MarketUser;
import de.helmholtz.marketplace.cerebrum.entities.Organization;
import de.helmholtz.marketplace.cerebrum.entities.relationship.Affiliation;
import de.helmholtz.marketplace.cerebrum.entity.MarketUser;
import de.helmholtz.marketplace.cerebrum.entity.Organization;
import de.helmholtz.marketplace.cerebrum.entity.relationship.Affiliation;
import de.helmholtz.marketplace.cerebrum.repository.MarketUserRepository;
import de.helmholtz.marketplace.cerebrum.service.common.CerebrumServiceBase;
......
......@@ -7,7 +7,7 @@ import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
import org.springframework.web.util.UriComponentsBuilder;
import de.helmholtz.marketplace.cerebrum.entities.Organization;
import de.helmholtz.marketplace.cerebrum.entity.Organization;
import de.helmholtz.marketplace.cerebrum.repository.OrganizationRepository;
import de.helmholtz.marketplace.cerebrum.service.common.CerebrumServiceBase;
......
......@@ -31,7 +31,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import de.helmholtz.marketplace.cerebrum.entities.MarketService;
import de.helmholtz.marketplace.cerebrum.entity.MarketService;
import de.helmholtz.marketplace.cerebrum.repository.MarketServiceRepository;
import static org.assertj.core.api.Assertions.assertThat;
......
......@@ -31,7 +31,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import de.helmholtz.marketplace.cerebrum.entities.MarketUser;
import de.helmholtz.marketplace.cerebrum.entity.MarketUser;
import de.helmholtz.marketplace.cerebrum.repository.MarketUserRepository;
import static org.assertj.core.api.Assertions.assertThat;
......
......@@ -29,7 +29,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import de.helmholtz.marketplace.cerebrum.entities.Organization;
import de.helmholtz.marketplace.cerebrum.entity.Organization;
import de.helmholtz.marketplace.cerebrum.repository.OrganizationRepository;
import static org.assertj.core.api.Assertions.assertThat;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment