Skip to content

Commit 08ac50f

Browse files
new brand packaging io.dddbyexamples
1 parent 3c8258c commit 08ac50f

File tree

130 files changed

+360
-433
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+360
-433
lines changed

adapter-commons/src/main/java/pl/com/dddbyexamples/tools/CommandRepository.java adapter-commons/src/main/java/io/dddbyexamples/tools/CommandRepository.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package pl.com.dddbyexamples.tools;
1+
package io.dddbyexamples.tools;
22

33
import org.springframework.data.repository.CrudRepository;
44
import org.springframework.data.rest.core.annotation.RestResource;

adapter-commons/src/main/java/pl/com/dddbyexamples/tools/JsonConverter.java adapter-commons/src/main/java/io/dddbyexamples/tools/JsonConverter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package pl.com.dddbyexamples.tools;
1+
package io.dddbyexamples.tools;
22

33
import com.fasterxml.jackson.annotation.JsonAutoDetect;
44
import com.fasterxml.jackson.annotation.PropertyAccessor;

adapter-commons/src/main/java/pl/com/dddbyexamples/tools/ProjectionRepository.java adapter-commons/src/main/java/io/dddbyexamples/tools/ProjectionRepository.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package pl.com.dddbyexamples.tools;
1+
package io.dddbyexamples.tools;
22

33
import org.springframework.data.repository.CrudRepository;
44
import org.springframework.data.rest.core.annotation.RestResource;

adapter-commons/src/main/java/pl/com/dddbyexamples/tools/TechnicalId.java adapter-commons/src/main/java/io/dddbyexamples/tools/TechnicalId.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package pl.com.dddbyexamples.tools;
1+
package io.dddbyexamples.tools;
22

33
import java.util.Optional;
44

adapter-commons/src/test/java/pl/com/dddbyexamples/tools/IntegrationTest.java adapter-commons/src/test/java/io/dddbyexamples/tools/IntegrationTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package pl.com.dddbyexamples.tools;
1+
package io.dddbyexamples.tools;
22

33
import org.springframework.boot.test.context.SpringBootTest;
44
import org.springframework.core.annotation.AliasFor;

app-monolith/src/main/java/pl/com/dddbyexamples/factory/AppConfiguration.java app-monolith/src/main/java/io/dddbyexamples/factory/AppConfiguration.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
package pl.com.dddbyexamples.factory;
1+
package io.dddbyexamples.factory;
22

33
import org.springframework.boot.SpringApplication;
44
import org.springframework.boot.autoconfigure.SpringBootApplication;
55
import org.springframework.boot.autoconfigure.domain.EntityScan;
66
import org.springframework.context.annotation.Bean;
77
import org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters;
88
import org.springframework.scheduling.annotation.EnableScheduling;
9-
import pl.com.dddbyexamples.factory.shortages.prediction.calculation.Stock;
10-
import pl.com.dddbyexamples.factory.warehouse.WarehouseService;
9+
import io.dddbyexamples.factory.shortages.prediction.calculation.Stock;
10+
import io.dddbyexamples.factory.warehouse.WarehouseService;
1111

1212
import java.time.Clock;
1313

Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
package pl.com.dddbyexamples.factory.delivery.planning.definition;
1+
package io.dddbyexamples.factory.delivery.planning.definition;
22

33
import lombok.AllArgsConstructor;
44
import org.springframework.data.rest.core.annotation.HandleAfterCreate;
55
import org.springframework.data.rest.core.annotation.HandleAfterSave;
66
import org.springframework.data.rest.core.annotation.RepositoryEventHandler;
77
import org.springframework.stereotype.Component;
88
import org.springframework.transaction.annotation.Transactional;
9-
import pl.com.dddbyexamples.factory.delivery.planning.projection.DeliveryForecastProjection;
9+
import io.dddbyexamples.factory.delivery.planning.projection.DeliveryForecastProjection;
1010

1111
@Component
1212
@Transactional

app-monolith/src/main/java/pl/com/dddbyexamples/factory/demand/forecasting/DemandEventsPropagation.java app-monolith/src/main/java/io/dddbyexamples/factory/demand/forecasting/DemandEventsPropagation.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
package pl.com.dddbyexamples.factory.demand.forecasting;
1+
package io.dddbyexamples.factory.demand.forecasting;
22

3+
import io.dddbyexamples.factory.delivery.planning.projection.DeliveryForecastProjection;
4+
import io.dddbyexamples.factory.demand.forecasting.command.RequiredReviewDao;
5+
import io.dddbyexamples.factory.demand.forecasting.command.RequiredReviewEntity;
6+
import io.dddbyexamples.factory.demand.forecasting.projection.CurrentDemandProjection;
7+
import io.dddbyexamples.factory.shortages.prediction.monitoring.ShortagePredictionService;
38
import lombok.AllArgsConstructor;
49
import org.springframework.context.annotation.Lazy;
510
import org.springframework.stereotype.Component;
6-
import pl.com.dddbyexamples.factory.delivery.planning.projection.DeliveryForecastProjection;
7-
import pl.com.dddbyexamples.factory.demand.forecasting.command.RequiredReviewDao;
8-
import pl.com.dddbyexamples.factory.demand.forecasting.command.RequiredReviewEntity;
9-
import pl.com.dddbyexamples.factory.demand.forecasting.projection.CurrentDemandProjection;
10-
import pl.com.dddbyexamples.factory.shortages.prediction.monitoring.ShortagePredictionService;
1111

1212
import java.time.Clock;
1313
import java.time.Instant;

app-monolith/src/main/java/pl/com/dddbyexamples/factory/product/management/ProductDescriptionEventsPropagation.java app-monolith/src/main/java/io/dddbyexamples/factory/product/management/ProductDescriptionEventsPropagation.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
package pl.com.dddbyexamples.factory.product.management;
1+
package io.dddbyexamples.factory.product.management;
22

33
import lombok.AllArgsConstructor;
44
import org.springframework.data.rest.core.annotation.HandleAfterCreate;
55
import org.springframework.data.rest.core.annotation.HandleAfterDelete;
66
import org.springframework.data.rest.core.annotation.RepositoryEventHandler;
77
import org.springframework.stereotype.Component;
88
import org.springframework.transaction.annotation.Transactional;
9-
import pl.com.dddbyexamples.factory.demand.forecasting.DemandService;
10-
import pl.com.dddbyexamples.factory.stock.forecast.ressource.StockForecastDao;
11-
import pl.com.dddbyexamples.factory.stock.forecast.ressource.StockForecastEntity;
9+
import io.dddbyexamples.factory.demand.forecasting.DemandService;
10+
import io.dddbyexamples.factory.stock.forecast.ressource.StockForecastDao;
11+
import io.dddbyexamples.factory.stock.forecast.ressource.StockForecastEntity;
1212

1313
@Component
1414
@Transactional

app-monolith/src/main/java/pl/com/dddbyexamples/factory/shortages/prediction/calculation/ForecastORMRepository.java app-monolith/src/main/java/io/dddbyexamples/factory/shortages/prediction/calculation/ForecastORMRepository.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
package pl.com.dddbyexamples.factory.shortages.prediction.calculation;
1+
package io.dddbyexamples.factory.shortages.prediction.calculation;
22

3+
import io.dddbyexamples.factory.production.planning.projection.ProductionOutputDao;
34
import lombok.AllArgsConstructor;
45
import org.springframework.stereotype.Component;
5-
import pl.com.dddbyexamples.factory.delivery.planning.projection.DeliveryForecastDao;
6-
import pl.com.dddbyexamples.factory.delivery.planning.projection.DeliveryForecastEntity;
7-
import pl.com.dddbyexamples.factory.product.management.RefNoId;
8-
import pl.com.dddbyexamples.factory.production.planning.projection.ProductionOutputDao;
9-
import pl.com.dddbyexamples.factory.shortages.prediction.calculation.ProductionForecast.Item;
10-
import pl.com.dddbyexamples.factory.warehouse.WarehouseService;
6+
import io.dddbyexamples.factory.delivery.planning.projection.DeliveryForecastDao;
7+
import io.dddbyexamples.factory.delivery.planning.projection.DeliveryForecastEntity;
8+
import io.dddbyexamples.factory.product.management.RefNoId;
9+
import io.dddbyexamples.factory.shortages.prediction.calculation.ProductionForecast.Item;
10+
import io.dddbyexamples.factory.warehouse.WarehouseService;
1111

1212
import java.time.Clock;
1313
import java.time.LocalDateTime;
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
package pl.com.dddbyexamples.factory.shortages.prediction.monitoring;
1+
package io.dddbyexamples.factory.shortages.prediction.monitoring;
22

33
import lombok.AllArgsConstructor;
44
import org.springframework.context.annotation.Lazy;
55
import org.springframework.stereotype.Component;
6-
import pl.com.dddbyexamples.factory.shortages.prediction.notification.NotificationOfShortage;
6+
import io.dddbyexamples.factory.shortages.prediction.notification.NotificationOfShortage;
77

88
@Lazy
99
@Component

app-monolith/src/main/java/pl/com/dddbyexamples/factory/stock/forecast/StockForecast.java app-monolith/src/main/java/io/dddbyexamples/factory/stock/forecast/StockForecast.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package pl.com.dddbyexamples.factory.stock.forecast;
1+
package io.dddbyexamples.factory.stock.forecast;
22

33
import lombok.Builder;
44
import lombok.Singular;

app-monolith/src/main/java/pl/com/dddbyexamples/factory/stock/forecast/StockForecastQuery.java app-monolith/src/main/java/io/dddbyexamples/factory/stock/forecast/StockForecastQuery.java

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
package pl.com.dddbyexamples.factory.stock.forecast;
1+
package io.dddbyexamples.factory.stock.forecast;
22

3+
import io.dddbyexamples.factory.demand.forecasting.projection.CurrentDemandDao;
4+
import io.dddbyexamples.factory.demand.forecasting.projection.CurrentDemandEntity;
5+
import io.dddbyexamples.factory.production.planning.projection.ProductionDailyOutputDao;
6+
import io.dddbyexamples.factory.production.planning.projection.ProductionDailyOutputEntity;
7+
import io.dddbyexamples.factory.shortages.prediction.calculation.Stock;
38
import lombok.AllArgsConstructor;
49
import org.springframework.stereotype.Component;
510
import org.springframework.transaction.annotation.Transactional;
6-
import pl.com.dddbyexamples.factory.demand.forecasting.projection.CurrentDemandDao;
7-
import pl.com.dddbyexamples.factory.demand.forecasting.projection.CurrentDemandEntity;
8-
import pl.com.dddbyexamples.factory.product.management.RefNoId;
9-
import pl.com.dddbyexamples.factory.production.planning.projection.ProductionDailyOutputDao;
10-
import pl.com.dddbyexamples.factory.production.planning.projection.ProductionDailyOutputEntity;
11-
import pl.com.dddbyexamples.factory.shortages.prediction.calculation.Stock;
12-
import pl.com.dddbyexamples.factory.stock.forecast.StockForecast.StockForecastBuilder;
13-
import pl.com.dddbyexamples.factory.warehouse.WarehouseService;
11+
import io.dddbyexamples.factory.product.management.RefNoId;
12+
import io.dddbyexamples.factory.stock.forecast.StockForecast.StockForecastBuilder;
13+
import io.dddbyexamples.factory.warehouse.WarehouseService;
1414

1515
import java.time.Clock;
1616
import java.time.LocalDate;

app-monolith/src/main/java/pl/com/dddbyexamples/factory/stock/forecast/ressource/StockForecastDao.java app-monolith/src/main/java/io/dddbyexamples/factory/stock/forecast/ressource/StockForecastDao.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
package pl.com.dddbyexamples.factory.stock.forecast.ressource;
1+
package io.dddbyexamples.factory.stock.forecast.ressource;
22

3+
import io.dddbyexamples.tools.ProjectionRepository;
34
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
45
import org.springframework.data.rest.core.config.Projection;
56
import org.springframework.stereotype.Repository;
6-
import pl.com.dddbyexamples.tools.ProjectionRepository;
77

88
@Repository
99
@RepositoryRestResource(path = "stock-forecasts",

app-monolith/src/main/java/pl/com/dddbyexamples/factory/stock/forecast/ressource/StockForecastEntity.java app-monolith/src/main/java/io/dddbyexamples/factory/stock/forecast/ressource/StockForecastEntity.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
package pl.com.dddbyexamples.factory.stock.forecast.ressource;
1+
package io.dddbyexamples.factory.stock.forecast.ressource;
22

33
import lombok.Getter;
44
import lombok.NoArgsConstructor;
55
import lombok.Setter;
6-
import pl.com.dddbyexamples.factory.stock.forecast.StockForecast;
6+
import io.dddbyexamples.factory.stock.forecast.StockForecast;
77

88
import javax.persistence.Entity;
99
import javax.persistence.Id;

app-monolith/src/main/java/pl/com/dddbyexamples/factory/stock/forecast/ressource/StockForecastResourceProcessor.java app-monolith/src/main/java/io/dddbyexamples/factory/stock/forecast/ressource/StockForecastResourceProcessor.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
package pl.com.dddbyexamples.factory.stock.forecast.ressource;
1+
package io.dddbyexamples.factory.stock.forecast.ressource;
22

33
import lombok.AllArgsConstructor;
44
import org.springframework.hateoas.Resource;
55
import org.springframework.hateoas.ResourceProcessor;
66
import org.springframework.stereotype.Component;
7-
import pl.com.dddbyexamples.factory.product.management.RefNoId;
8-
import pl.com.dddbyexamples.factory.stock.forecast.StockForecastQuery;
7+
import io.dddbyexamples.factory.product.management.RefNoId;
8+
import io.dddbyexamples.factory.stock.forecast.StockForecastQuery;
99

1010
@Component
1111
@AllArgsConstructor
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package io.dddbyexamples.factory.warehouse;
2+
3+
import io.dddbyexamples.factory.shortages.prediction.calculation.Stock;
4+
import io.dddbyexamples.factory.product.management.RefNoId;
5+
6+
public interface WarehouseService {
7+
Stock forRefNo(RefNoId refNo);
8+
}

app-monolith/src/main/java/pl/com/dddbyexamples/factory/warehouse/WarehouseService.java

-8
This file was deleted.

app-monolith/src/test/groovy/pl/com/dddbyexamples/factory/ProductTrait.groovy app-monolith/src/test/groovy/io/dddbyexamples/factory/ProductTrait.groovy

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
package pl.com.dddbyexamples.factory
2-
3-
import pl.com.dddbyexamples.factory.demand.forecasting.AdjustDemand
4-
import pl.com.dddbyexamples.factory.demand.forecasting.Adjustment
5-
import pl.com.dddbyexamples.factory.demand.forecasting.Demand
6-
import pl.com.dddbyexamples.factory.demand.forecasting.Document
7-
import pl.com.dddbyexamples.factory.demand.forecasting.command.DemandAdjustmentEntity
8-
import pl.com.dddbyexamples.factory.demand.forecasting.persistence.DocumentEntity
9-
import pl.com.dddbyexamples.factory.product.management.ProductDescription
10-
import pl.com.dddbyexamples.factory.product.management.ProductDescriptionEntity
1+
package io.dddbyexamples.factory
2+
3+
import io.dddbyexamples.factory.demand.forecasting.AdjustDemand
4+
import io.dddbyexamples.factory.demand.forecasting.Adjustment
5+
import io.dddbyexamples.factory.demand.forecasting.Demand
6+
import io.dddbyexamples.factory.demand.forecasting.Document
7+
import io.dddbyexamples.factory.demand.forecasting.command.DemandAdjustmentEntity
8+
import io.dddbyexamples.factory.demand.forecasting.persistence.DocumentEntity
9+
import io.dddbyexamples.factory.product.management.ProductDescription
10+
import io.dddbyexamples.factory.product.management.ProductDescriptionEntity
1111

1212
import java.time.Instant
1313
import java.time.LocalDate

app-monolith/src/test/groovy/pl/com/dddbyexamples/factory/integration/CallOffDocumentIntegrationSpec.groovy app-monolith/src/test/groovy/io/dddbyexamples/factory/integration/CallOffDocumentIntegrationSpec.groovy

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package pl.com.dddbyexamples.factory.integration
1+
package io.dddbyexamples.factory.integration
22

33
import org.springframework.beans.factory.annotation.Autowired
44
import org.springframework.boot.test.context.SpringBootTest
@@ -9,12 +9,12 @@ import org.springframework.core.ParameterizedTypeReference
99
import org.springframework.hateoas.Resources
1010
import org.springframework.http.HttpMethod
1111
import org.springframework.http.ResponseEntity
12-
import pl.com.dddbyexamples.factory.AppConfiguration
13-
import pl.com.dddbyexamples.factory.ProductTrait
14-
import pl.com.dddbyexamples.factory.demand.forecasting.persistence.DocumentEntity
15-
import pl.com.dddbyexamples.factory.demand.forecasting.projection.CurrentDemandEntity
16-
import pl.com.dddbyexamples.factory.product.management.ProductDescriptionEntity
17-
import pl.com.dddbyexamples.tools.IntegrationTest
12+
import io.dddbyexamples.factory.AppConfiguration
13+
import io.dddbyexamples.factory.ProductTrait
14+
import io.dddbyexamples.factory.demand.forecasting.persistence.DocumentEntity
15+
import io.dddbyexamples.factory.demand.forecasting.projection.CurrentDemandEntity
16+
import io.dddbyexamples.factory.product.management.ProductDescriptionEntity
17+
import io.dddbyexamples.tools.IntegrationTest
1818
import spock.lang.Specification
1919

2020
import java.time.Clock

app-monolith/src/test/groovy/pl/com/dddbyexamples/factory/integration/DemandAdjustmentIntegrationSpec.groovy app-monolith/src/test/groovy/io/dddbyexamples/factory/integration/DemandAdjustmentIntegrationSpec.groovy

+10-12
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
1-
package pl.com.dddbyexamples.factory.integration
1+
package io.dddbyexamples.factory.integration
22

33
import org.springframework.beans.factory.annotation.Autowired
44
import org.springframework.boot.test.context.SpringBootTest
5-
import org.springframework.boot.test.context.TestConfiguration
65
import org.springframework.boot.test.web.client.TestRestTemplate
76
import org.springframework.context.annotation.Bean
87
import org.springframework.context.annotation.Configuration
98
import org.springframework.core.ParameterizedTypeReference
109
import org.springframework.hateoas.Resources
1110
import org.springframework.http.HttpMethod
1211
import org.springframework.http.ResponseEntity
13-
import pl.com.dddbyexamples.factory.AppConfiguration
14-
import pl.com.dddbyexamples.factory.ProductTrait
15-
import pl.com.dddbyexamples.factory.demand.forecasting.Adjustment
16-
import pl.com.dddbyexamples.factory.demand.forecasting.Demand
17-
import pl.com.dddbyexamples.factory.demand.forecasting.command.DemandAdjustmentEntity
18-
import pl.com.dddbyexamples.factory.demand.forecasting.persistence.DocumentEntity
19-
import pl.com.dddbyexamples.factory.demand.forecasting.projection.CurrentDemandEntity
20-
import pl.com.dddbyexamples.factory.product.management.ProductDescriptionEntity
21-
import pl.com.dddbyexamples.tools.IntegrationTest
12+
import io.dddbyexamples.factory.AppConfiguration
13+
import io.dddbyexamples.factory.ProductTrait
14+
import io.dddbyexamples.factory.demand.forecasting.Adjustment
15+
import io.dddbyexamples.factory.demand.forecasting.Demand
16+
import io.dddbyexamples.factory.demand.forecasting.command.DemandAdjustmentEntity
17+
import io.dddbyexamples.factory.demand.forecasting.persistence.DocumentEntity
18+
import io.dddbyexamples.factory.demand.forecasting.projection.CurrentDemandEntity
19+
import io.dddbyexamples.factory.product.management.ProductDescriptionEntity
20+
import io.dddbyexamples.tools.IntegrationTest
2221
import spock.lang.Specification
2322

2423
import java.time.Clock
2524
import java.time.LocalDate
26-
import java.time.ZoneId
2725

2826
import static java.time.Instant.from
2927
import static java.time.ZoneId.systemDefault

app-monolith/src/test/groovy/pl/com/dddbyexamples/factory/integration/ShortageIntegrationSpec.groovy app-monolith/src/test/groovy/io/dddbyexamples/factory/integration/ShortageIntegrationSpec.groovy

+12-16
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,29 @@
1-
package pl.com.dddbyexamples.factory.integration
1+
package io.dddbyexamples.factory.integration
22

33
import org.springframework.beans.factory.annotation.Autowired
44
import org.springframework.boot.test.context.SpringBootTest
55
import org.springframework.boot.test.web.client.TestRestTemplate
66
import org.springframework.context.annotation.Bean
77
import org.springframework.context.annotation.Configuration
8-
import org.springframework.context.annotation.Primary
98
import org.springframework.core.ParameterizedTypeReference
109
import org.springframework.hateoas.Resource
11-
import org.springframework.hateoas.Resources
1210
import org.springframework.http.HttpMethod
1311
import org.springframework.http.ResponseEntity
14-
import pl.com.dddbyexamples.factory.AppConfiguration
15-
import pl.com.dddbyexamples.factory.ProductTrait
16-
import pl.com.dddbyexamples.factory.demand.forecasting.Adjustment
17-
import pl.com.dddbyexamples.factory.demand.forecasting.Demand
18-
import pl.com.dddbyexamples.factory.demand.forecasting.command.DemandAdjustmentEntity
19-
import pl.com.dddbyexamples.factory.demand.forecasting.persistence.DocumentEntity
20-
import pl.com.dddbyexamples.factory.demand.forecasting.projection.CurrentDemandEntity
21-
import pl.com.dddbyexamples.factory.product.management.ProductDescriptionEntity
22-
import pl.com.dddbyexamples.factory.shortages.prediction.calculation.Stock
23-
import pl.com.dddbyexamples.factory.shortages.prediction.monitoring.persistence.ShortagesEntity
24-
import pl.com.dddbyexamples.factory.warehouse.WarehouseService
25-
import pl.com.dddbyexamples.tools.IntegrationTest
12+
import io.dddbyexamples.factory.AppConfiguration
13+
import io.dddbyexamples.factory.ProductTrait
14+
import io.dddbyexamples.factory.demand.forecasting.Adjustment
15+
import io.dddbyexamples.factory.demand.forecasting.Demand
16+
import io.dddbyexamples.factory.demand.forecasting.command.DemandAdjustmentEntity
17+
import io.dddbyexamples.factory.demand.forecasting.persistence.DocumentEntity
18+
import io.dddbyexamples.factory.product.management.ProductDescriptionEntity
19+
import io.dddbyexamples.factory.shortages.prediction.calculation.Stock
20+
import io.dddbyexamples.factory.shortages.prediction.monitoring.persistence.ShortagesEntity
21+
import io.dddbyexamples.factory.warehouse.WarehouseService
22+
import io.dddbyexamples.tools.IntegrationTest
2623
import spock.lang.Specification
2724

2825
import java.time.Clock
2926
import java.time.LocalDate
30-
import java.time.ZoneId
3127

3228
import static java.time.Instant.from
3329
import static java.time.ZoneId.systemDefault
+3-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
package pl.com.dddbyexamples.factory.delivery.planning;
1+
package io.dddbyexamples.factory.delivery.planning;
22

33
import lombok.AllArgsConstructor;
44
import org.springframework.stereotype.Component;
5-
import pl.com.dddbyexamples.factory.delivery.planning.definition.DeliveryPlannerDefinitionDao;
6-
import pl.com.dddbyexamples.factory.delivery.planning.definition.DeliveryPlannerDefinitionEntity;
5+
import io.dddbyexamples.factory.delivery.planning.definition.DeliveryPlannerDefinitionDao;
6+
import io.dddbyexamples.factory.delivery.planning.definition.DeliveryPlannerDefinitionEntity;
77

88
import java.util.Collections;
99

10-
import static java.util.Optional.ofNullable;
11-
1210
@Component
1311
@AllArgsConstructor
1412
public class DeliveryAutoPlannerORMRepository {
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package pl.com.dddbyexamples.factory.delivery.planning.definition;
1+
package io.dddbyexamples.factory.delivery.planning.definition;
22

33
import lombok.AllArgsConstructor;
44
import lombok.Builder;
55
import lombok.Singular;
66
import lombok.Value;
7-
import pl.com.dddbyexamples.factory.demand.forecasting.Demand;
7+
import io.dddbyexamples.factory.demand.forecasting.Demand;
88

99
import java.time.LocalTime;
1010
import java.util.Collections;
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package pl.com.dddbyexamples.factory.delivery.planning.definition;
1+
package io.dddbyexamples.factory.delivery.planning.definition;
22

33
import org.springframework.data.jpa.repository.JpaRepository;
44
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

0 commit comments

Comments
 (0)