#115 - Harmonized package names.

We now consistently use example.springdata.$store as base package name.
This commit is contained in:
Oliver Gierke
2015-07-16 09:02:24 +02:00
parent 50cb4b9bba
commit bca4e65e4f
94 changed files with 388 additions and 302 deletions

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package example.springdata.mongodb.shop;
package example.springdata.mongodb.aggregation;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Configuration;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package example.springdata.mongodb.shop;
package example.springdata.mongodb.aggregation;
import java.util.List;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package example.springdata.mongodb.shop;
package example.springdata.mongodb.aggregation;
import lombok.Data;
import lombok.RequiredArgsConstructor;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package example.springdata.mongodb.shop;
package example.springdata.mongodb.aggregation;
import java.util.ArrayList;
import java.util.Date;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package example.springdata.mongodb.shop;
package example.springdata.mongodb.aggregation;
import org.springframework.data.repository.CrudRepository;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package example.springdata.mongodb.shop;
package example.springdata.mongodb.aggregation;
/**
* The interface for repository functionality that will be implemented manually.

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package example.springdata.mongodb.shop;
package example.springdata.mongodb.aggregation;
import static org.springframework.data.mongodb.core.aggregation.Aggregation.*;
import static org.springframework.data.mongodb.core.query.Criteria.*;
@@ -43,7 +43,7 @@ class OrderRepositoryImpl implements OrderRepositoryCustom {
* to define arithmetical expressions. Note how we work with property names only and don't have to mitigate the nested
* {@code $_id} fields MongoDB usually requires.
*
* @see example.springdata.mongodb.shop.OrderRepositoryCustom#getInvoiceFor(example.springdata.mongodb.shop.Order)
* @see example.springdata.mongodb.aggregation.OrderRepositoryCustom#getInvoiceFor(example.springdata.mongodb.aggregation.Order)
*/
@Override
public Invoice getInvoiceFor(Order order) {

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package example.springdata.mongodb.shop;
package example.springdata.mongodb.aggregation;
import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.number.IsCloseTo.*;
@@ -29,6 +29,11 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import example.springdata.mongodb.aggregation.ApplicationConfiguration;
import example.springdata.mongodb.aggregation.Invoice;
import example.springdata.mongodb.aggregation.LineItem;
import example.springdata.mongodb.aggregation.Order;
import example.springdata.mongodb.aggregation.OrderRepository;
import example.springdata.mongodb.util.RequiresMongoDB;
/**