lib/templates/resource/test/integration/neo4j/IntegrationTestConfig.java.erb in spring-gen-0.1.0 vs lib/templates/resource/test/integration/neo4j/IntegrationTestConfig.java.erb in spring-gen-0.1.1

- old
+ new

@@ -1,6 +1,6 @@ -package <%=@group_id%>.integration.<%=@model_name.downcase%>; +package <%=@package%>.integration.<%=@model_name.downcase%>; /* * Copyright (c) 2015 <%=@user_name%>. * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,23 +25,23 @@ import org.springframework.transaction.annotation.EnableTransactionManagement; import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; /** - * Configuration class for <%=@group_id%> integration test. + * Configuration class for <%=@package%> integration test. * @author <%=@user_name%> */ @Configuration -<%if @full%>@ComponentScan(basePackages = {"<%=@group_id%>.repository", - "<%=@group_id%>.controller", - "<%=@group_id%>.assembler", - "<%=@group_id%>.resource"}) -<%else%>@ComponentScan(basePackages = "<%=@group_id%>.repository")<%end%> +<%if @full%>@ComponentScan(basePackages = {"<%=@package%>.repository", + "<%=@package%>.controller", + "<%=@package%>.assembler", + "<%=@package%>.resource"}) +<%else%>@ComponentScan(basePackages = "<%=@package%>.repository")<%end%> @EnableHypermediaSupport(type = {EnableHypermediaSupport.HypermediaType.HAL}) @EnableSpringDataWebSupport @EnableWebMvc @EnableAutoConfiguration -@EnableJpaRepositories(basePackages = "<%=@group_id%>.repository") +@EnableJpaRepositories(basePackages = "<%=@package%>.repository") @EnableTransactionManagement -@EntityScan(basePackages = {"<%=@group_id%>.model"}) +@EntityScan(basePackages = {"<%=@package%>.model"}) public class <%=@model_name%>IntegrationTestConfig extends WebMvcConfigurerAdapter { }